aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/interest.rb
blob: ec79416ee7f843cbaa93f7ee3862d223435b707f (plain) (tree)
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