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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Harris Kunakira](https://uploads.teamtreehouse.com/production/profile-photos/815562/micro_Penguins.jpg)
Harris Kunakira
6,157 PointsI got the error NoMethodError in Devise::Registrations#new
Hi, I tried to do everything you did in the video but I still get error message. I can't find any solution for it anywhere. I'm using rails 4.1.1 I'm not sure if it because of different rails version or what.
Here's the message. https://drive.google.com/file/d/0B2UmSdhbmJtxTk92a3IxcFVrTXc/edit?usp=sharing
Thanks for your answer Sam
1 Answer
![Nick Fuller](https://secure.gravatar.com/avatar/1ccb86f42e0a1265fa81e5719c3860df?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Nick Fuller
9,027 PointsHi Sam,
Did you migrate the database? You need to add the "first_name" field to your users table. If you did, open your migration file and make sure you spelled it correctly. It should look like something like this
t.string :first_name
Harris Kunakira
6,157 PointsHarris Kunakira
6,157 PointsThank you for your answer nick. It turned out my rake db:migrate didn't work. So, I just restarted my laptop and it's working ok