lib/daengine.rb in daengine-0.0.9.alpha vs lib/daengine.rb in daengine-0.0.10.alpha
- old
+ new
@@ -10,11 +10,12 @@
:assets_path => '/digital-assets'
}
@mongoid_config = {
'database' => 'ssc_assets', # mongoid database name
- 'hosts' => '[foo:27017]', # mongoid server
- # 'port' => 27017 # mongodb server port
+ 'host' => nil, # mongoid server
+ 'port' => nil, # mongodb server port
+ 'hosts' => nil
}
@valid_mongoid_keys = @mongoid_config.keys
# yaml file config