Ruby on Rails Discussions
Accessing belongs_to objects from a form_for context
rubyonrails-talk
Michael_Schuerig1
(Michael Schuerig)
August 22, 2006, 4:17am
1
Have look at the docs for fields_for
It looks like that's what you need.
Michael
Related topics
Topic
Replies
Views
Activity
form_for and belongs_to
rubyonrails-talk
1
106
January 29, 2008
FormHelper#fields_for: second argument to the block
rubyonrails-core
1
160
October 26, 2012
help with FormOptionsHelper
rubyonrails-talk
2
209
February 27, 2008
Nested forms: Can you access the object from within fields_for?
rubyonrails-talk
2
128
April 13, 2010
Question regarding form_for
rubyonrails-talk
5
89
April 26, 2007