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

Marco Roman
Marco Roman
5,527 Points

Creating 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:

https://gist.github.com/marcoroman89/6099031

Aimee Knight
Aimee Knight
9,701 Points

What version of Rails are you on?

Marco Roman
Marco Roman
5,527 Points

Aimee,

I am running ruby 1.9.3p392 and rails (3.2.12)

Aimee Knight
Aimee Knight
9,701 Points

Unless 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
STAFF
Jason Seifer
Treehouse Guest Teacher

I think Aimee Knight is right. Can you paste your user model here?