blob: 87d4a719635ff278a58d0ee44ff5bf51a7a7aa94 (
plain) (
tree)
|
|
class Reference < ActiveRecord::Base
belongs_to :person
belongs_to :job
has_many :agents_posts_authors, :through => :person
end
class BadReference < ActiveRecord::Base
self.table_name ='references'
default_scope :conditions => {:favourite => false }
end
|