Skip to content

Instantly share code, notes, and snippets.

@avocade avocade/seeds.rb
Created Jul 11, 2012

Embed
What would you like to do?
puts 'creating admins'
Admin.create :name => 'superadmin', :password => 'rollercoaster'
puts 'creating countries'
countries = []
countries << { :name => 'sweden', :iso_code => 'se' }
countries << { :name => 'sweden', :iso_code => 'se' }
countries << { :name => 'usa', :iso_code => 'us' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.