Sha256: 3300346e039a9fdc7644fb263f2593d450c61ed0cd45c8f41175eab745e24d11

Contents?: true

Size: 293 Bytes

Versions: 73

Compression:

Stored size: 293 Bytes

Contents

class Address
  include Mongoid::Document
  include Mongoid::Timestamps

  belongs_to :profile, :class_name => '::Ish::UserProfile'
  validates :profile, :presence => true

  field :name
  field :address_1
  field :address_2
  field :city
  field :state
  field :zipcode
  field :phone

end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
ish_models-0.0.33.178 lib/address.rb
ish_models-0.0.33.177 lib/address.rb
ish_models-0.0.33.176 lib/address.rb
ish_models-0.0.33.175 lib/address.rb
ish_models-0.0.33.174 lib/address.rb
ish_models-0.0.33.173 lib/address.rb
ish_models-0.0.33.172 lib/address.rb
ish_models-0.0.33.170 lib/address.rb
ish_models-0.0.33.169 lib/address.rb
ish_models-0.0.33.168 lib/address.rb
ish_models-0.0.33.167 lib/address.rb
ish_models-0.0.33.166 lib/address.rb
ish_models-0.0.33.164 lib/address.rb