Is this an OK question to ask on the site? It's not exactly a "what's wrong with this code", but a "how can I do this".
When a user starts up my app for the first time, I would like to be able to display a one-time only route for setup, in order to allow them to create an admin account and set settings (like database).
A good example for this is how WordPress's installation works, which I would like to mimic in my Ruby on Rails app.
Is there a way to only route to a controller action when it hasn't been routed to before, and is there in a "safe" way to set the database configuration?
Is creating a separate server (Sinatra) good for this?