Sha256: 8e472452c6e624ec64b4aba1fc0038948c1b1a35178e5c7956b72db8de97485b

Contents?: true

Size: 211 Bytes

Versions: 27

Compression:

Stored size: 211 Bytes

Contents

# frozen_string_literal: true
# encoding: utf-8

class Favorite
  include Mongoid::Document
  field :title
  validates_uniqueness_of :title, case_sensitive: false
  embedded_in :perp, inverse_of: :favorites
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
mongoid-7.1.5 spec/app/models/favorite.rb
mongoid-7.2.0.rc1 spec/support/models/favorite.rb
mongoid-7.1.4 spec/app/models/favorite.rb
mongoid-7.1.2 spec/app/models/favorite.rb
mongoid-7.1.1 spec/app/models/favorite.rb
mongoid-7.1.0 spec/app/models/favorite.rb
mongoid-7.1.0.rc0 spec/app/models/favorite.rb