Sha256: 673049cb2c70bc65a520ec9d625b0b7fc98c049e487c07a7473e13017ec7d54b

Contents?: true

Size: 213 Bytes

Versions: 4

Compression:

Stored size: 213 Bytes

Contents

class User < ActiveRecord::Base
  has_one  :ssn, dependent: :destroy
  has_many :tags, dependent: :destroy
  has_many :contacts, dependent: :destroy
  has_many :profiles, as: :profileable, dependent: :destroy
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
poly_belongs_to-0.1.7 test/dummy/app/models/user.rb
poly_belongs_to-0.1.6 test/dummy/app/models/user.rb
poly_belongs_to-0.1.5 test/dummy/app/models/user.rb
poly_belongs_to-0.1.4 test/dummy/app/models/user.rb