rails/rails — Issue #4580: Rails 3.2: NameError: uninitialized constant ActiveSupport::TaggedLogging::ERROR 
Author: dmke
Created: 2012-01-21 18:32:55+00:00
State: open

I first discovered that Devise won't work in Rails 3.2 (neither 1.5.7, nor 2.0.0.rc, nor master). It boils down to these steps:

``` bash
$ rails new myapp
$ cd myapp
$ echo -n '\ngem "execjs"\ngem "therubyracer" >> Gemfile' # Ubuntu system
$ bundle
$ bundle exec rails c
> logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
> logger.silence
NameError: uninitialized constant ActiveSupport::TaggedLogging::ERROR
from .../activesupport-3.2.0/lib/active_support/tagged_logging.rb:30:in `silence'
...
```

Looks like [this](https://github.com/rails/rails/blob/3-2-stable/activesupport/lib/active_support/tagged_logging.rb#L30) `ERROR` default value is not in the same scope as the silence method...

—Dominik