I have a requirement where a site needs to have a “Super User” and
one of those could be created.
The flow would be like this
- User installs the app
- the web app comes up
- the first thing that the webapp does it to prompt creation of super
- the super user is logged in and goes on to create other users.
- the super user login page is never shown again
- there can be only one superuser.
I’m on Rails 3. What’d be the best way of accomplishing this?