diff options
Diffstat (limited to 'activerecord/test/models/membership.rb')
-rw-r--r-- | activerecord/test/models/membership.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/test/models/membership.rb b/activerecord/test/models/membership.rb new file mode 100644 index 0000000000..905f948c37 --- /dev/null +++ b/activerecord/test/models/membership.rb @@ -0,0 +1,9 @@ +class Membership < ActiveRecord::Base + belongs_to :member + belongs_to :club +end + +class CurrentMembership < Membership + belongs_to :member + belongs_to :club +end |