undefined method `devise_for' in rails

Yeddie picture Yeddie · Jan 26, 2011 · Viewed 28k times · Source

After I install devise and create a user model. I rake db:migrate and then I rake routes. I then get a error with "undefined method `devise_for' for #". What could be causing this error?

Answer

Serge Paquet picture Serge Paquet · Jan 29, 2011

Remember to restart your rails server after installing and configuring devise.