How to use fixtures for test and structural rails

I understand that seed.rb is used to seed the database with data for the application during production.

I want to create some data for use with tests, as well as for development.

Where should I put code to create this data?

thank

Rails 3.2

+3
source share

All Articles