Sha256: 67747b3c8d48b004a89b53fdd12f700d10f4a1a456649c45a941a8c518f06d60

Contents?: true

Size: 121 Bytes

Versions: 61

Compression:

Stored size: 121 Bytes

Contents

class ContextableItem
  include Mongoid::Document
  field :title
  validates :title, presence: true, on: :in_context
end

Version data entries

61 entries across 56 versions & 3 rubygems

Version Path
mongoid-7.0.13 spec/app/models/contextable_item.rb
mongoid-7.0.12 spec/app/models/contextable_item.rb
mongoid-6.4.8 spec/app/models/contextable_item.rb
mongoid-7.0.11 spec/app/models/contextable_item.rb
mongoid-7.0.10 spec/app/models/contextable_item.rb
mongoid-6.4.7 spec/app/models/contextable_item.rb
mongoid-6.4.5 spec/app/models/contextable_item.rb
mongoid-7.0.8 spec/app/models/contextable_item.rb
mongoid-7.0.7 spec/app/models/contextable_item.rb
mongoid-7.0.6 spec/app/models/contextable_item.rb
mongoid-5.4.1 spec/app/models/contextable_item.rb
mongoid-7.0.5 spec/app/models/contextable_item.rb
mongoid-7.0.4 spec/app/models/contextable_item.rb
mongoid-6.4.4 spec/app/models/contextable_item.rb
mongoid-7.0.3 spec/app/models/contextable_item.rb
mongoid-6.4.2 spec/app/models/contextable_item.rb
mongoid-7.0.2 spec/app/models/contextable_item.rb
mongoid-7.0.1 spec/app/models/contextable_item.rb
mongoid-6.4.1 spec/app/models/contextable_item.rb
mongoid-5.4.0 spec/app/models/contextable_item.rb