Skip to content
Browse files

whiny nil shouldn't depend on Active Record [#4092 status:resolved]

Signed-off-by: José Valim <>
  • Loading branch information...
1 parent b4b0c4c commit 6feffe5f38ad82d50b112ed102f8370ed934c8c1 @windock windock committed with josevalim Mar 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/whiny_nil.rb
2 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

2 comments on commit 6feffe5

snusnu commented on 6feffe5 Mar 3, 2010

I tried to dig at the root of this problem, and my findings can be found at

Ruby on Rails member

Yes, you are right! Could you please provide a patch?

Please sign in to comment.
Something went wrong with that request. Please try again.