aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/club.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/club.rb')
-rw-r--r--activerecord/test/models/club.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/club.rb b/activerecord/test/models/club.rb
index 7d7c205041..816c5e6937 100644
--- a/activerecord/test/models/club.rb
+++ b/activerecord/test/models/club.rb
@@ -1,6 +1,6 @@
class Club < ActiveRecord::Base
has_one :membership
- has_many :memberships, :automatic_inverse_of => false
+ has_many :memberships, :inverse_of => false
has_many :members, :through => :memberships
has_many :current_memberships
has_one :sponsor