Sha256: da050b92ca47383ff3a027deea07c3222d7d37d17b7ccdd27e1d7c2cfdce04b4
Contents?: true
Size: 733 Bytes
Versions: 8
Compression:
Stored size: 733 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: 'Emanuel', city: cities.first) require 'visual_migrate/relation' MasterAge.update_or_create([ { id: 1, value: '~22歳' }, { id: 2, value: '23歳~27歳' }, { id: 3, value: '28歳~32歳' }, { id: 4, value: '33歳~37歳' }, { id: 5, value: '38歳~42歳' }, { id: 6, value: '43歳~49歳' }, { id: 7, value: '50代' }, { id: 8, value: '60代~' }, ])
Version data entries
8 entries across 8 versions & 1 rubygems