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 trialMarco Roman
5,527 PointsCreating An Authentication System Login Error
I've followed the video set very closely and I am sure that my code is the same as Jason's, but every time I migrate, check the routes and start my rails server to create a new user , I am greeted with an error of:
Marco Roman
5,527 PointsAimee,
I am running ruby 1.9.3p392 and rails (3.2.12)
Aimee Knight
9,701 PointsUnless you're positive you set those attributes as attr_accessible in user.rb I'm not sure why that error is happening. I'll be curious to know the outcome.
1 Answer
Jason Seifer
Treehouse Guest TeacherI think Aimee Knight is right. Can you paste your user model here?
Aimee Knight
9,701 PointsAimee Knight
9,701 PointsWhat version of Rails are you on?