aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/fixtures/project.rb
blob: fddea7b61c098a1abc452fa37164c2aacd2f3e1a (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                                                                             





                              
  
class Project < ActiveRecord::Base
  has_and_belongs_to_many :developers, :uniq => true
  has_and_belongs_to_many :developers_named_david, :class_name => "Developer", :conditions => "name = 'David'", :uniq => true
end

class SpecialProject < Project
  def hello_world
    "hello there!"
  end
end