Skip to content

Instantly share code, notes, and snippets.

@totutote
totutote / README.md
Created April 22, 2012 14:47 — forked from wtnabe/README.md
import seed data from .csv or .yml for Rails 3.2+ Ruby 1.9.3+

Rails SeedImporter

  1. Put this code at #{Rails.root}/db/seeds.rb
  2. type rake db:setup

rake db:seed で変更のあったレコードのみ更新

Limitation