Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

jbstate's Profile

GitHub User: jbstate

Comments by

Avatar

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
Showing
/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.
Thanks