From c9e2fa22cbf74f8184e502e7726fcfbe33bdb3e6 Mon Sep 17 00:00:00 2001 From: wangjohn Date: Wed, 14 Aug 2013 21:50:49 -0700 Subject: Fixing multi-word automatic inverse detection. Currently, ActiveRecord models with multiple words cannot have their inverse associations detected automatically. --- activerecord/test/models/man.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/test/models/man.rb') diff --git a/activerecord/test/models/man.rb b/activerecord/test/models/man.rb index 4bff92dc98..f4d127730c 100644 --- a/activerecord/test/models/man.rb +++ b/activerecord/test/models/man.rb @@ -6,4 +6,5 @@ class Man < ActiveRecord::Base # These are "broken" inverse_of associations for the purposes of testing has_one :dirty_face, :class_name => 'Face', :inverse_of => :dirty_man has_many :secret_interests, :class_name => 'Interest', :inverse_of => :secret_man + has_one :mixed_case_monkey end -- cgit v1.2.3