diff options
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/whiny_nil.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/whiny_nil.rb b/activesupport/lib/active_support/whiny_nil.rb index 11b05efac1..0b68e936f6 100644 --- a/activesupport/lib/active_support/whiny_nil.rb +++ b/activesupport/lib/active_support/whiny_nil.rb @@ -26,7 +26,7 @@ # mode. class NilClass WHINERS = [::Array] - WHINERS << ::ActiveRecord::Base if defined? ::ActiveRecord + WHINERS << ::ActiveRecord::Base if defined? ::ActiveRecord::Base METHOD_CLASS_MAP = Hash.new |