Managing User Accounts with Rails 3 and Devise -
i have implemented devise in rails 3 application , need admin users able manage users. users not registerable , therefore admin must create accounts. best way go this?
it doesn't seem dry create own userscontroller
when devise provides devise::registrationcontroller
don't see other options.
i opted create own userscontroller
along side registrationcontroller
. makes sense have own restful controller admin purposes. it's not devise's job manage user records , maintain administrative fields associated them. is, after all, authentication framework. seems correct leave designed for. required create own user model reason.
Comments
Post a Comment