Sha256: 699fab6e7af43745e254d43fe4ef4e55d0a0c2188068154f2f69d39019c8139b
Contents?: true
Size: 575 Bytes
Versions: 7
Compression:
Stored size: 575 Bytes
Contents
# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }]) # Mayor.create(:name => 'Daley', :city => cities.first) Octopus.using(:asia) do User.create!(:name => "Asia User") end Octopus.using(:america) do users_america = User.create([{ :name => 'America User 1' }, { :name => 'America User 2' }]) end User.create!(:name => "Teste")
Version data entries
7 entries across 7 versions & 1 rubygems