Welcome to the Treehouse Community
Looking to learn something new?
Customizing Forms: undefined method `user_name' for #<>
Hi, I'm having a small problem I'm hoping someone could help with. After working through the 'Creating an Authentication System' exercise for treebook, I'm finding that I encounter the following error when trying to post a new status: 'undefined method `name' for #<Status:0x007faad53aedf0>'. The error is emanating from the /app/views/statuses/_form.html.erb file with the line of code '<%= f.text_field :name %>' My GitHub repository URL is https://github.com/csunsong/treebook.git. Any ideas? Thanks!
Hi Josh, it appeared I had some sort of issue with my database migration. Try making sure all your databases are up to date then run