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

Ruby Build a Simple Ruby on Rails Application Creating an Authentication System Generating the Devise Views

Generating the Devise Views

My user.rb file does not have the code:

attr_accessible :email, :password, :password_confirmation, :remember_me, :first_name, :last_name, :profile_name

it worked before I added it however when i run it not I get an error message(NoMethodError). Is this pre-done with an updated version of devise than used in the tutorial or is there something else I need to add. Any help is appreciated :)

1 Answer

Rodrigo Castro
Rodrigo Castro
15,652 Points

Hi Jude,

I don't know if you already saw it but check the solution found by Brant Faulkner at: https://teamtreehouse.com/community/error-from-tutorial-missing-different-error-arises-afterwards.

It worked perfectly for me.