diff options
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/whiny_nil.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/whiny_nil.rb b/activesupport/lib/active_support/whiny_nil.rb index 3612c6acbf..5176e64185 100644 --- a/activesupport/lib/active_support/whiny_nil.rb +++ b/activesupport/lib/active_support/whiny_nil.rb @@ -6,9 +6,8 @@ # by the framework users will see a message explaining what type of object # was expected. - class NilClass - WHINERS = [ ActiveRecord::Base, Array ] + WHINERS = [ ::ActiveRecord::Base, ::Array ] @@method_class_map = Hash.new |