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
maithreya reddy addula
3,761 PointsGenerating the devise:views
I am getting errors because in the new version of devise there is no attr_accessible i have searched online and found this
https://github.com/plataformatec/devise#strong-parameters
but i am unable to understand. help needed please
4 Answers
Michael Wiss
19,233 PointsInstall RVM and switch the versions of Ruby and Rails you are using.
Michael Wiss
19,233 PointsI believe Kirill posted a solution on the board some days ago
maithreya reddy addula
3,761 Pointscan you provide link please
jadaml
11,593 Points+1 for providing a link
Michael Wiss
19,233 Pointsclick on the next button about ten times.
Shyam Pillai
282 Pointshey just download the gem 'strong attributes'..rails 4 doesnt have it by default..god knows why they removed it..anyways leave the code as it is..i mean your assignment to attr...it should work..
maithreya reddy addula
3,761 Pointsmaithreya reddy addula
3,761 Pointsyou want me to go back from new to old ? i want to know how i can do that in new version.
Michael Wiss
19,233 PointsMichael Wiss
19,233 PointsI believe Kirill posted a solution on the board some days ago on the forum.