Displaying 1 result from an estimated 1 matches for "seed_mani".
Did you mean:
seed_many
2010 Mar 26
7
seed data
Hi
I am using seed_fu to seed initial data to tables
(http://github.com/mbleigh/seed-fu) . And in db/fixtures/state.rb
I have values like (I am filling only two data for simplicity)
State.seed_many(:name, :abbr,:fips,:country_id, [
{ :name => "Alberta", :abbr => ''AB'',:fips => ''01'', :country_id =>
2 },
{ :name =>