aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/interest.rb
blob: f772bb1c7fb9da96b0e333450ae4fe96b76a6d7c (plain) (blame)
1
2
3
4
5
class Interest < ActiveRecord::Base
  belongs_to :man, :inverse_of => :interests, :automatic_inverse_of => false
  belongs_to :polymorphic_man, :polymorphic => true, :inverse_of => :polymorphic_interests
  belongs_to :zine, :inverse_of => :interests
end