You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mastermike14 edited this page May 23, 2011
·
15 revisions
Devise is great because of its flexibility. Performing basic CRUD actions on the User model is actually no different than creating CRUD actions for anything else in Rails.
There are a couple things to remember though:
Make sure to put your map.resources :users below the map.devise_for :users route (devise_for :users and resources :users for Rails 3).
You can also set
devise_for :users, :path_prefix => ‘d’
resources :users
to isolate the devise logic from your crud user controller.