wiz561-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-16 14:08 UTC
Am I on the Right Track?
Hi! I''m just starting to pickup learning ruby on rails. I started with it for awhile, but then quit because I was lost...and now I''m picking it back up again. My question is, am I on the right track? I''m trying to develop an application, and so far, it''s working well. But, in the app/views folder, there is a _form.rhtml file. If I wanted to change the form around, can I edit that file, or is there another file that I should be using? Thanks! Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
wiz561-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > My question is, am I on the right track? I''m trying to develop an > application, and so far, it''s working well. But, in the app/views > folder, there is a _form.rhtml file. If I wanted to change the form > around, can I edit that file, or is there another file that I should > be using? >Pick up Dave Thomas''s book, Agile Development with Rails, as it''s very good for beginners.. As for your question, anything with a "_" preceding an "rhtml" file is termed a "partial" in Rails terminology and is meant to display one (or a collection) of your models to the user for viewing or editing. Partials always exist nested within another partial or view and you are supposed to edit partials to your taste so I would say that you are probably on the right track but to be on the best track, pick up a book first.. :) ilan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---