Sha256: 90d8a95cbef3bd01d08bd1518bff12a63bf29edcb3096e57425c72154eb6bde5
Contents?: true
Size: 302 Bytes
Versions: 129
Compression:
Stored size: 302 Bytes
Contents
module BusinessSupport class Sector include Mongoid::Document field :name, type: String field :slug, type: String index :slug, unique: true validates_presence_of :name validates_uniqueness_of :name validates_presence_of :slug validates_uniqueness_of :slug end end
Version data entries
129 entries across 129 versions & 1 rubygems