rails/rails — pull request #5759 by romanvbabenko (2012-04-06 05:07:42+00:00)
Title: Class variables has been fixed to Singleton instance variables at Rails ...

...module

At class << self we should manipulate with singleton class variables, such as @_env(not @@_env) http://goo.gl/1TtX1