Hello,

I've got a got a question about how and where to load initial data that
is necessary in order to make the website work (menu structure, page
contents, ...)

I know it's preference and everybody can do it as s/he wants but I just
wanna know if there's any convention or something like that.

First of all, how do I normally load necessary data as mentioned above?
Put it in a fixture and load it while migrating or type it directly into
the migration?

Secondly what about data that is not needed to run the make the
application work but makes my life easier (e.g. a user account so I
don't have to register myself each time after resetting the migrations)?

Thanks,
Hans
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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