lib/daengine.rb in daengine-0.0.5 vs lib/daengine.rb in daengine-0.0.6.alpha

- old
+ new

@@ -5,10 +5,11 @@ require 'daengine/digital_asset_processor' require 'mongoid' module Daengine @config = { + :assets_path => '/digital-assets' } @mongoid_config = { 'database' => 'ssc_assets', # mongoid database name 'host' => 'localhost', # mongoid server @@ -22,9 +23,10 @@ config_options.each {|k,v| @config[k.to_sym] = v} config_options.each {|k,v| @mongoid_config[k.to_sym] = v if @valid_mongoid_keys.include? k.to_sym} Mongoid.configure do |config| config.from_hash(@mongoid_config) end + p "configured with keys #{@config.keys}" end def self.config @config end