Sha256: 342bc1bdf00113898396633085d9e68c2d966ddfa984eacf04b5b2595e20dc0e

Contents?: true

Size: 789 Bytes

Versions: 19

Compression:

Stored size: 789 Bytes

Contents

# frozen_string_literal: true

class Catalog
  include Mongoid::Document

  field :array_field, type: Array
  field :big_decimal_field, type: BigDecimal
  field :boolean_field, type: Boolean
  field :date_field, type: Date
  field :date_time_field, type: DateTime
  field :float_field, type: Float
  field :hash_field, type: Hash
  field :integer_field, type: Integer
  field :object_id_field, type: BSON::ObjectId
  field :binary_field, type: BSON::Binary
  field :range_field, type: Range
  field :regexp_field, type: Regexp
  field :set_field, type: Set
  field :string_field, type: String
  field :stringified_symbol_field, type: StringifiedSymbol
  field :symbol_field, type: Symbol
  field :time_field, type: Time
  field :time_with_zone_field, type: ActiveSupport::TimeWithZone
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mongoid-8.1.9 spec/support/models/catalog.rb
mongoid-8.0.9 spec/support/models/catalog.rb
mongoid-8.1.8 spec/support/models/catalog.rb
mongoid-8.1.7 spec/support/models/catalog.rb
mongoid-8.1.6 spec/support/models/catalog.rb
mongoid-8.0.8 spec/support/models/catalog.rb
mongoid-8.1.5 spec/support/models/catalog.rb
mongoid-8.1.4 spec/support/models/catalog.rb
mongoid-8.0.7 spec/support/models/catalog.rb
mongoid-8.1.3 spec/support/models/catalog.rb
mongoid-8.1.2 spec/support/models/catalog.rb
mongoid-8.0.6 spec/support/models/catalog.rb
mongoid-8.1.1 spec/support/models/catalog.rb
mongoid-8.0.5 spec/support/models/catalog.rb
mongoid-8.1.0 spec/support/models/catalog.rb
mongoid-8.0.4 spec/support/models/catalog.rb
mongoid-8.0.3 spec/support/models/catalog.rb
mongoid-8.0.2 spec/support/models/catalog.rb
mongoid-8.0.1 spec/support/models/catalog.rb