blob: 2feb15d706434b331d5275e96d135cc4109b0971 (
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
|