Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Nested forms and models with Rails 4

Hi,

Could I get an explanation how to create nested forms on models with many to many associations?

I try to check stackoverflow, and rails casts... but I can't find any good documentation for how this is really done... I know we have the strong_attributes which do not make any sense, and then fields_for I can't get either... I don't have any code because I'm lost in this regard. There are a lot of blogs for past version of rails that do not work anymore.

Please help.