Sha256: f1b421f5582f6bb57a3720f566bd39865a6dc499d9c32115b26316903d15605c

Contents?: true

Size: 884 Bytes

Versions: 15

Compression:

Stored size: 884 Bytes

Contents

# A .seed file is a .conf file which stores
# database seed data and rules.
#

# Model class to use
#
# ! required
model Setting

# Attribute name or a list of attribute names to be used as key(s)
# when finding objects
#
# Usage:
#   find_by :name
# or
#   find_by [:first_name, :last_name]
#
# ! required
find_by :name

# Values of attributes listed here will be set even
# if they exist already in the matching database object.
#
# Other attributes in the seed data will be treated as a default value,
# i.e. they will only be set if the matching database object does not exist
# or its corresponding attribute is not set.
#
# Usage:
#   force :value
# or:
#   force [:value, :description]
#
# default is: no fields are forced
force :value

seeds [
{ name: 'abc', value: '123' },
{ name: 'def', value: '456' },
{ name: 'ghi', value: '789' },
{ name: 'abcdef', value: '123456' }
]

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
aerogel-pages-1.4.16 db/seed/seed.template
aerogel-pages-1.4.14 db/seed/seed.template
aerogel-pages-1.4.12 db/seed/seed.template
aerogel-core-1.4.12 db/seed/seed.template
aerogel-core-1.4.11 db/seed/seed.template
aerogel-core-1.4.10 db/seed/seed.template
aerogel-media-1.4.0 db/seed/seed.template
aerogel-core-1.3.0 db/seed/seed.template
aerogel-core-1.1.1 db/seed/seed.template
aerogel-core-1.1.0 db/seed/seed.template
aerogel-core-1.0.4 db/seed/seed.template
aerogel-core-1.0.3 db/seed/seed.template
aerogel-core-1.0.2 db/seed/seed.template
aerogel-core-1.0.1 db/seed/seed.template
aerogel-core-1.0.0 db/seed/seed.template