HI ALL, i am new to rails and having a hard time understanding some
things..

I have a Model called person and have this code fragment in my VIew
1  <%= form_for :person do |f| %>
2   First name: <%= f.text_field :first_name %><br />
3  <% end %>

does anybody know what :first_name means or what it does in line 2? In
my person model i have a first_name field.. Is that an object or the
field itself im calling or what?

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to