lib/logster/configuration.rb in logster-0.8.4.pre vs lib/logster/configuration.rb in logster-0.8.4.1.pre
- old
+ new
@@ -8,10 +8,10 @@
@current_context = lambda{ |_, &block| block.call }
@environments = [:development, :production]
@subdirectory = nil
@allow_grouping = false
- if defined?(::Rails) && Rails.env.production?
+ if defined?(::Rails) && ::Rails.env.production?
@allow_grouping = true
end
end
def subdirectory