Sha256: dcbf04d844a9f5b2dcc1b4beefc4e541ca66b70e75f12b0bd1a323d39843ae2e
Contents?: true
Size: 309 Bytes
Versions: 3
Compression:
Stored size: 309 Bytes
Contents
class Address < MassiveRecord::ORM::Embedded embedded_in :person embedded_in :addressable, :inverse_of => :addresses, :polymorphic => true field :street field :number, :integer field :nice_place, :boolean, :default => true field :zip, :column => :postal_code validates_presence_of :street end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
massive_record-0.2.2 | spec/orm/models/address.rb |
massive_record-0.2.2.rc2 | spec/orm/models/address.rb |
massive_record-0.2.2.rc1 | spec/orm/models/address.rb |