lib/apimaster/generators/templates/config/initializer.rb.erb in apimaster-0.0.2 vs lib/apimaster/generators/templates/config/initializer.rb.erb in apimaster-0.0.3
- old
+ new
@@ -8,6 +8,6 @@
setting_files = "./config/settings/{app,oauth}.yml"
Apimaster::Setting.environment = ENV["RACK_ENV"]
Apimaster::Setting.load_file(setting_files)
# Database setting
-# Mongoid.load!("./config/settings/mongoid.yml")
+Mongoid.load!("./config/settings/mongoid.yml")