Tag: Rails4/データベース
Book.create(title: "title1", author: 'author1', summary: 'summary1') Book.create(title: "title2", author: 'author2', summary: 'summary2')
bundle exec rake db:seed RAILS_ENV=development
bundle exec rake db:reset RAILS_ENV=development