diff options
Diffstat (limited to 'activerecord/test/models/club.rb')
-rw-r--r-- | activerecord/test/models/club.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/models/club.rb b/activerecord/test/models/club.rb new file mode 100644 index 0000000000..171445df3e --- /dev/null +++ b/activerecord/test/models/club.rb @@ -0,0 +1,6 @@ +class Club < ActiveRecord::Base + has_many :memberships + has_many :members, :through => :memberships + has_many :current_memberships + has_many :sponsors +end
\ No newline at end of file |