aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rwxr-xr-xactiverecord/lib/active_record/associations.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index 6285a59882..596542c9d6 100755
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -564,11 +564,7 @@ module ActiveRecord
begin
require(Inflector.underscore(class_name))
rescue LoadError
- if logger
- logger.info "#{self.to_s} failed to require #{class_name}"
- else
- STDERR << "#{self.to_s} failed to require #{class_name}\n"
- end
+ # Failed to load the associated class -- let's hope the developer is doing the requiring himself.
end
end
end