DEV: Enable all the ActiveRecord goodness in development env.

DEV: Enable all the ActiveRecord goodness in development env.

diff --git a/config/environments/development.rb b/config/environments/development.rb
index 2a612c7..0adc84a 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -39,7 +39,7 @@ Discourse::Application.configure do
 
   config.log_level = ENV['DISCOURSE_DEV_LOG_LEVEL'] if ENV['DISCOURSE_DEV_LOG_LEVEL']
 
-  if ENV['RAILS_VERBOSE_QUERY_LOGS']
+  if ENV['RAILS_VERBOSE_QUERY_LOGS'] != 0
     config.active_record.verbose_query_logs = true
   end
 
@@ -78,6 +78,10 @@ Discourse::Application.configure do
   end
 
   config.after_initialize do
+    if ENV["RAILS_COLORIZE_LOGGING"] != "0"
+      config.colorize_logging = true
+    end
+
     if ENV['BULLET']
       Bullet.enable = true
       Bullet.rails_logger = true

GitHub sha: 1d04fb24