spec/demo/config/environment.rb in kojac-0.9.1 vs spec/demo/config/environment.rb in kojac-0.11.0
- old
+ new
@@ -1,5 +1,7 @@
-# Load the rails application
+# Load the Rails application.
require File.expand_path('../application', __FILE__)
-# Initialize the rails application
+ActiveRecord::Base.logger=Logger.new($stdout) if CONFIG[:log_db_to_stdout]==true
+
+# Initialize the Rails application.
Demo::Application.initialize!