Here''s a great tutorial on rake,
http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial.
You may want to check out the seed_fu plugin,
http://intridea.com/2008/4/20/seed-fu-simple-seed-data-for-rails.
best.
mike
On May 25, 8:03 pm, joel
<joel.soor...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hello,
>
> just wanted to know how to create a rake db task to populate data into
> a database.
>
> Thanks
>
> Joel
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---