diff options
author | windock <godwindock@gmail.com> | 2010-03-03 01:59:42 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-03 09:41:17 +0100 |
commit | 6feffe5f38ad82d50b112ed102f8370ed934c8c1 (patch) | |
tree | ec556af7a586c88759cc5aa8a6bda745a72e6e30 /activesupport/lib | |
parent | b4b0c4cb4154984c89a3bbbcd9970a00d8bd3cb5 (diff) | |
download | rails-6feffe5f38ad82d50b112ed102f8370ed934c8c1.tar.gz rails-6feffe5f38ad82d50b112ed102f8370ed934c8c1.tar.bz2 rails-6feffe5f38ad82d50b112ed102f8370ed934c8c1.zip |
whiny nil shouldn't depend on Active Record [#4092 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activesupport/lib')
-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 |