Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrew Hacking ahacking

  • Brisbane, Australia
View GitHub Profile
@wtnabe
wtnabe / README.md
Created Dec 15, 2010
import seed data from .csv or .yml for Rails 2.3.4+
View README.md

Rails SeedImporter

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

Limitation

It supports only `id' primary key.

You can’t perform that action at this time.