instiki/vendor/rails/activerecord/test/models/interest.rb

6 lines
222 B
Ruby
Raw Normal View History

2010-05-25 19:45:45 +02:00
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