RailsCasts Pro episodes are now free!

Learn more or hide this

jbstate's Profile

GitHub User: jbstate

Comments by


After doing everything that is said in this tutorial, and after running the rake db:migrate command, I get an error that says:
NoMethodError in Active_admin/devise/sessions#new
/var/lib/gems/1.9.1/gems/activeadmin0.5.1/app/views/active_admin**/devise/sessions/new.html.erb where line #7 raised:

undefined method `username' for #AdminUser:0xa2ccb6c

I am new to rails, and not sure how to solve this. Any help is appreciated.