Sha256: 7959412d2d82e0fc0944e1cebc496a083e1552682bf10afeef572db06305c6b2

Contents?: true

Size: 168 Bytes

Versions: 18

Compression:

Stored size: 168 Bytes

Contents

class Address < ActiveRecord::Base
  belongs_to :addressable, polymorphic: true
  has_one :geo_location
  has_many :squishies, as: :squishable, dependent: :destroy
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
poly_belongs_to-1.0.0 test/dummy/app/models/address.rb
poly_belongs_to-0.3.0 test/dummy/app/models/address.rb
poly_belongs_to-0.2.9 test/dummy/app/models/address.rb
poly_belongs_to-0.2.8 test/dummy/app/models/address.rb
poly_belongs_to-0.2.7 test/dummy/app/models/address.rb
poly_belongs_to-0.2.6 test/dummy/app/models/address.rb
poly_belongs_to-0.2.5 test/dummy/app/models/address.rb
poly_belongs_to-0.2.4 test/dummy/app/models/address.rb
poly_belongs_to-0.2.3 test/dummy/app/models/address.rb
poly_belongs_to-0.2.2 test/dummy/app/models/address.rb
poly_belongs_to-0.2.1 test/dummy/app/models/address.rb
poly_belongs_to-0.2.0 test/dummy/app/models/address.rb
poly_belongs_to-0.1.10 test/dummy/app/models/address.rb
poly_belongs_to-0.1.9 test/dummy/app/models/address.rb
poly_belongs_to-0.1.8 test/dummy/app/models/address.rb
poly_belongs_to-0.1.7 test/dummy/app/models/address.rb
poly_belongs_to-0.1.6 test/dummy/app/models/address.rb
poly_belongs_to-0.1.5 test/dummy/app/models/address.rb