Sha256: aaf1527edd3f058597d409b7dbc7db99467f03c7ecc2c0ba71cb65796989c0da
Contents?: true
Size: 190 Bytes
Versions: 5
Compression:
Stored size: 190 Bytes
Contents
class Site include Mongoid::Document field :name has_many :users, inverse_of: :site, order: :email.desc, counter_cache: true validates :name, presence: true, uniqueness: true end
Version data entries
5 entries across 5 versions & 2 rubygems