spec/dummy_app/config/application.rb in tabulatr-0.3.0 vs spec/dummy_app/config/application.rb in tabulatr-0.4.0

- old
+ new

@@ -39,7 +39,7 @@ # Configure sensitive parameters which will be filtered from the log file. config.filter_parameters += [:password] end end -USE_MONGOID = File.exists?(File.join(Rails::root, 'tmp', 'use_mongoid.txt')) -puts("Using #{USE_MONGOID ? 'Mongoid' : 'ActiveRecord'}") \ No newline at end of file +USE_MONGOID = ENV['USE_MONGOID'] +puts("Using #{USE_MONGOID ? 'Mongoid' : 'ActiveRecord'}")