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

Matthew Bell
Matthew Bell
228 Points

Getting an error

I'm getting an error: http://www.screencast.com/t/hUMvwedETF4

Here's my code: http://www.screencast.com/t/kpeWgf5

What am I doing wrong?

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

Please upload your project to GitHub and link it here. Also, the second link does not work.

Aaron Kaye
Aaron Kaye
10,948 Points

Also what is does your users schema look like?

1 Answer

You skipped a section on the previous video: https://teamtreehouse.com/library/build-a-simple-ruby-on-rails-application/creating-an-authentication-system/generating-the-user-model .

You need to add the first_name, last_name and profile_name to the User table. You can see the step for this around the 4.07 mark on the video linked above.

If this didn't work or you have the code in the migration already just make sure you ran 'rake db:migrate'.