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!
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
aviral prakash518 Points
Problem 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
attr_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.