Thursday, August 9, 2012

[Rails] Re: Nested form with has_many :through -- how to modify the "through" attributes

Walter Davis wrote in post #1071859:
> SOLVED: Note to future self:
>
>
> The trick was to not try to build a bridge in mid-air. The foo could
> find a baz, but that found baz did not seem to have any notion of which
> bar was standing between the two. Nesting my forms one layer at a time
> did the trick. fields_for bars then contained fields_for baz.
>
> Walter

Thank you very much i appreciate it!!!

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate