aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/organization.rb
blob: c85726169eeabba68728b5c770ca26559aa2d632 (plain) (blame)
1
2
3
4
5
6
class Organization < ActiveRecord::Base
  has_many :member_details
  has_many :members, :through => :member_details

  named_scope :clubs, { :from => 'clubs' }
end