[Rails] Automatically populate database fields?
Hello,
I have a table that holds certain places (cities) in them. Is there a
way to pre-populate my database during production with all the cities
I want included? My application relies on pre submitted cities to run
properly. ( I have about 400 of them)
I looked around the internet, and people have been using different
approaches to this problem. I don't want to get steered wrong, so what
is the best way to do this?
Thank you.
-David Zhu
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home