lib/lotus/model.rb in lotus-model-0.2.3 vs lib/lotus/model.rb in lotus-model-0.2.4

- old
+ new

@@ -129,10 +129,10 @@ # Lotus::Model.configuration.adapter_config.uri # => 'sqlite3://uri' # MyApp::Model.configuration.adapter_config.uri # => 'sqlite3://uri' # MyApi::Model.configuration.adapter_config.uri # => 'postgresql://uri' def self.dupe dup.tap do |duplicated| - duplicated.configuration = configuration.duplicate + duplicated.configuration = Configuration.new end end # Duplicate the framework and generate modules for the target application #