On Mon, Dec 28, 2009 at 6:59 AM, brianp <[email protected]> wrote: > Hey, > I was just wondering what you do to handle the initial user setup with > a project using authlogic. > > I'm still in development but what i find annoying is the create new > users function is obviously kept in the admin section. I can't get > into the admin section without a user... You see the problem. > > In most cases i have an admin user setup but now that i'm so far in > development everything is being locked down (ie user creating behind > closed doors) and if I make a db change and migrate my user table gets > wiped out. > > How should I go about migrating with an initial admin user ? > OK, your question is a bit specific for your application but, one thing you can do is to create a rake task for creating this admin user.
-- Leonardo Mateo. There's no place like ~ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

