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
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:
Remember to remove the :registerable module from the Devise model (in my case it was the User model)
Make sure to put your map.resources :users below the map.devise_for :users route
You can also set
devise_for :users, :path_prefix => ‘d’
resources :users
to isolate the devise logic from your crud user controller.