aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/project.rb
blob: 1ccf39d7cfe36c11bba0e1f02a67ab24918b7177 (plain) (blame)
1
2
3
4
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