Sha256: eba0e6ac3725a77c1a50f28eabdcc1ae3a28d4e66d8597bdf08d4663dfb44e4b

Contents?: true

Size: 192 Bytes

Versions: 29

Compression:

Stored size: 192 Bytes

Contents

# coding: utf-8

class DummyMoneyWithDefaultWithCurrency
  include Mongoid::Document
  include Mongoid::MoneyField

  field :description

  money_field :price, default: '1.00 GBP'
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
mongoid_money_field-7.3.1 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-7.3.0 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-7.1.0 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-7.0.1 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-7.0.0 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-6.0.3 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-6.0.2 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-6.0.1 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-6.0.0 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-4.0.8 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-4.0.7 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-5.2.1 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-5.2.0 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-4.0.6 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-4.0.5 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-4.0.4 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-4.0.3 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-5.1.0 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-4.0.2 spec/support/dummy_money_with_default_with_currency.rb
mongoid_money_field-5.0.4 spec/support/dummy_money_with_default_with_currency.rb