View seeds.rb
=begin | |
This file should contain all the record creation needed to seed the database with its default values. | |
The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). | |
Examples: | |
movies = [{:title => 'Aladdin', :rating => 'G', :release_date => '25-Nov-1992'}, | |
{:title => 'The Terminator', :rating => 'R', :release_date => '26-Oct-1984'}, | |
# ... | |
{:title => 'Chicken Run', :rating => 'G', :release_date => '21-Jun-review_count00'}, | |
] |