Sha256: 34456393936210248382eef9654056c97199a51c535b419b6d8a361928bc4de6
Contents?: true
Size: 593 Bytes
Versions: 18
Compression:
Stored size: 593 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) Person.new(:name => "Abc", :age => 26).save(:validate => false) Person.new(:age => 7).save(:validate => false) Person.new(:name => "Abc", :age => 66).save(:validate => false) Person.new(:name => "Abc", :age => 66).save(:validate => false)
Version data entries
18 entries across 18 versions & 1 rubygems