A platform for community discussion. Free, open, simple.
DEV: Enable all the ActiveRecord goodness in development env.
Guo Xiang Tan1d04fb24f8cb
diff --git a/config/environments/development.rb b/config/environments/development.rbindex 2a612c7164f..0adc84a086e 100644--- a/config/environments/development.rb+++ b/config/environments/development.rb@@ -39,7 +39,7 @@ Discourse::Application.configure doconfig.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'] != 0config.active_record.verbose_query_logs = trueend@@ -78,6 +78,10 @@ Discourse::Application.configure doendconfig.after_initialize do+ if ENV["RAILS_COLORIZE_LOGGING"] != "0"+ config.colorize_logging = true+ end+if ENV['BULLET']Bullet.enable = trueBullet.rails_logger = true