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
Pavey nganpi
Courses Plus Student 132 Pointsuser id not been saved, in the building social features in ruby on rails
hey guys i am using rails4, and after i have created an index of users_id , and also made a relationship between the users and the statuses in my status model, that is belongs_to user, when i post a status and try to edit it, i dont see the users id i created in the users form just as in the video, please help, i can go forward with this since i have errors in the next steps. thanks
1 Answer
Jason Seifer
Treehouse Guest TeacherHey Pavey nganpi try adding the user_id to the permitted parameters in the controller.