Sha256: 08c5afc8fce337453f7ded0caae317d484f35cea13465a5bcbbcde6cda755695

Contents?: true

Size: 257 Bytes

Versions: 26

Compression:

Stored size: 257 Bytes

Contents

class Club < ActiveRecord::Base
  has_many :memberships
  has_many :members, :through => :memberships
  has_many :current_memberships
  has_one :sponsor
  has_one :sponsored_member, :through => :sponsor, :source => :sponsorable, :source_type => "Member"
end

Version data entries

26 entries across 26 versions & 8 rubygems

Version Path
activerecord-2.1.0 test/models/club.rb
activerecord-2.1.1 test/models/club.rb
antfarm-0.3.0 rails/vendor/rails/activerecord/test/models/club.rb
antfarm-0.4.0 rails/vendor/rails/activerecord/test/models/club.rb
radiant-0.7.0 vendor/rails/activerecord/test/models/club.rb
radiant-0.7.1 vendor/rails/activerecord/test/models/club.rb