lib/rails/generators/mongoid/config/templates/mongoid.yml in mongoid-3.0.0.rc vs lib/rails/generators/mongoid/config/templates/mongoid.yml in mongoid-3.0.0
- old
+ new
@@ -56,5 +56,13 @@
# User Active Support's time zone in conversions. (default: true)
# use_activesupport_time_zone: true
# Ensure all times are UTC in the app side. (default: false)
# use_utc: false
+test:
+ sessions:
+ default:
+ database: <%= database_name || app_name %>_test
+ hosts:
+ - localhost:27017
+ options:
+ consistency: :strong