diff options
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index a66a6c9a5c..0f40cce32c 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -19,7 +19,7 @@ class << Object #:nodoc: def const_missing(class_id) begin - require_association(Inflect.underscore(Inflector.demodulize(class_id.to_s))) + require_association(Inflector.underscore(Inflector.demodulize(class_id.to_s))) rescue LoadError pre_association_const_missing(class_id) end |