Sha256: d1d26df92a9426b6a9ffb28388252a0369ccb18f9a329b07ac50c5863e8d5253
Contents?: true
Size: 198 Bytes
Versions: 28
Compression:
Stored size: 198 Bytes
Contents
# coding: utf-8 class DummyPositiveNumber include Mongoid::Document include Mongoid::MoneyField money_field :price validates_numericality_of :price, greater_than: 1, allow_nil: true end
Version data entries
28 entries across 28 versions & 1 rubygems