Sha256: 514585433cdc6b35b74d57eda99f9296f093cde4c00a31f342212872077a94af

Contents?: true

Size: 310 Bytes

Versions: 75

Compression:

Stored size: 310 Bytes

Contents

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

  belongs_to :profile, :class_name => '::IshModels::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

75 entries across 75 versions & 1 rubygems

Version Path
ish_models-0.0.33.140 lib/co_tailors/address.rb
ish_models-0.0.33.139 lib/co_tailors/address.rb
ish_models-0.0.33.138 lib/co_tailors/address.rb
ish_models-0.0.33.137 lib/co_tailors/address.rb
ish_models-0.0.33.136 lib/co_tailors/address.rb
ish_models-0.0.33.135 lib/co_tailors/address.rb
ish_models-0.0.33.134 lib/co_tailors/address.rb
ish_models-0.0.33.133 lib/co_tailors/address.rb
ish_models-0.0.33.132 lib/co_tailors/address.rb
ish_models-0.0.33.131 lib/co_tailors/address.rb
ish_models-0.0.33.130 lib/co_tailors/address.rb
ish_models-0.0.33.129 lib/co_tailors/address.rb
ish_models-0.0.33.128 lib/co_tailors/address.rb
ish_models-0.0.33.127 lib/co_tailors/address.rb
ish_models-0.0.33.124 lib/co_tailors/address.rb
ish_models-0.0.33.123 lib/co_tailors/address.rb
ish_models-0.0.33.122 lib/co_tailors/address.rb
ish_models-0.0.33.121 lib/co_tailors/address.rb
ish_models-0.0.33.120 lib/co_tailors/address.rb
ish_models-0.0.33.119 lib/co_tailors/address.rb