Hello! I have a task to create some static data in database (for
instance, bunch of user roles or administrator account).

Certainly, we should not create it up in our migrations.

If  we create them in initializers, we'll have to check if data is
already in DB and even if such table exists (otherwise, rake tasks,
even db:migrate will fail).

So, is there some brilliant solution?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to