Seeding a database

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

Add some fixtures and do
rake load_fixtures

Seb
Le 2 juil. 06 à 07:31, Peter M. a écrit :

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs