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