[Rails] seeding a database

Sébastien Gruhier
Sun, 02 Jul 2006 06:31:33 -0000

Add some fixtures and do
rake load_fixtures

Seb
Le 2 juil. 06 ? 07:31, Peter Michaux a ?crit :

> Hi,
>
> I have set up my Rails app to use Migrations. At the end of the
> migrations the database is empty. I would like to do something, a
> single step, after the migrations to seed the data so I can click
> around my site and see some actual content. What is the best way to do
> this?
>
> Thanks,
> Peter
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>