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.242 lib/address.rb
ish_models-0.0.33.241 lib/address.rb
ish_models-0.0.33.240 lib/address.rb
ish_models-0.0.33.239 lib/address.rb
ish_models-0.0.33.238 lib/address.rb
ish_models-0.0.33.237 lib/address.rb
ish_models-0.0.33.236 lib/address.rb
ish_models-0.0.33.235 lib/address.rb
ish_models-0.0.33.234 lib/address.rb
ish_models-0.0.33.233 lib/address.rb
ish_models-0.0.33.232 lib/address.rb
ish_models-0.0.33.231 lib/address.rb
ish_models-0.0.33.230 lib/address.rb
ish_models-0.0.33.229 lib/address.rb
ish_models-0.0.33.228 lib/address.rb
ish_models-0.0.33.227 lib/address.rb
ish_models-0.0.33.226 lib/address.rb
ish_models-0.0.33.225 lib/address.rb
ish_models-0.0.33.224 lib/address.rb
ish_models-0.0.33.222 lib/address.rb