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 Build a Simple Ruby on Rails Application Creating an Authentication System Generating the Devise Views

Wesley Vance
Wesley Vance
7,931 Points

attr_accessible In Rails v4???

In the video it explains how to add the attar_accessible into the user.rb file. However this doesn't work for me, as I am using rails 4 and after some research it handles the "attr_accessible" differently? Is there a different way to get this to work?

Thank you!

1 Answer

Wesley Vance
Wesley Vance
7,931 Points

And i should have looked before I asked... Its been asked a ton of times on the forms! Sorry guys...

https://teamtreehouse.com/forum/devise-updated-with-ruby-211-and-rails-403