Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Nested forms and models with Rails 4


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.