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 trialaviral prakash
518 PointsProblem with the page
I was going through the video of generate the devise views on my windows laptop. When i opened my user.rb i found here was no attr_accessible variable there! if i define it myself it gives error. what should i do
3 Answers
Sebastian Paiva
Full Stack JavaScript Techdegree Student 9,076 Pointsattr_accessible is no longer supported in Rails 4.
You can add to your gemfile this gem or Use Rails 3
Anyways you should see the Strong parameters documentation.
Regards.
aviral prakash
518 PointsThanks a ton!
aviral prakash
518 PointsThanks a ton!