1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models/organization.rb
2010-01-18 04:38:19 +05:30

6 lines
No EOL
157 B
Ruby

class Organization < ActiveRecord::Base
has_many :member_details
has_many :members, :through => :member_details
scope :clubs, { :from => 'clubs' }
end