Sha256: 6c13ce70168ce854aed5700e70d25d29cfca4bd93dce3e65a75b182b26bdf5e9
Contents?: true
Size: 501 Bytes
Versions: 3
Compression:
Stored size: 501 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) unless MasterApiKey::ApiKey.where(:group => :master_key).count > 0 MasterApiKey::ApiKey.create do |master_key| master_key.group = :master_key end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
master_api_key-1.2.0 | db/seeds.rb |
master_api_key-1.1.1 | db/seeds.rb |
master_api_key-1.1.0 | db/seeds.rb |