Permalink
Browse files

Forgot a "or" in Inflector

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
dhh committed Dec 20, 2004
1 parent 3e5a880 commit 5df6128bfdb7abaedc0a4f28aba1032a263b9a8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/associations.rb
@@ -19,7 +19,7 @@ def require_association(file_name)
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

0 comments on commit 5df6128

Please sign in to comment.