Creating an admin user in Devise on Rails beta 3
- by erskingardner
Ok, I'm probably going to feel quite dumb when someone answers this one with a simple thing that I'm missing but... here goes:
I've got a brand new app on rails 3 beta and I'm using devise for the authentication. I've run all the comments and everything is working perfectly at the moment. I've created a user role and an admin role (following these instructions: http://wiki.github.com/plataformatec/devise/adding-an-admin-role) and I've registered myself as the first user but how to do I register or create an admin role user? The directions from the devise guys setup the admin role to not be registerable but I'm unsure how you're supposed to create the admin if you can't register?!
Any help would be appreciated! Thanks!