I have a rails project where I need to add some default values to the database table. I want to know the best way of doing these (im using rails 2.3.3 which doesn’t have seed.rb file :()
1 – Creating a sql script
2 – creating a migration
3 – creating a rake task
4 – other (Please explain)
thanks in advance
cheers
sameera
Take a look at seed-fu.