Rake db task

Hello,

just wanted to know how to create a rake db task to populate data into a database.

Thanks

Joel

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