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

Generating 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

Install RVM and switch the versions of Ruby and Rails you are using.

you want me to go back from new to old ? i want to know how i can do that in new version.

I believe Kirill posted a solution on the board some days ago on the forum.

I believe Kirill posted a solution on the board some days ago

can you provide link please

+1 for providing a link

click on the next button about ten times.

hey 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..