aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/organization.rb
blob: 1da342a0bd50f390c80cfda686be681c10316c48 (plain) (tree)
1
2
3
4
5
6


                                                
 
                                    
  
class Organization < ActiveRecord::Base
  has_many :member_details
  has_many :members, :through => :member_details

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