lib/lotus/commands/db/console.rb in lotusrb-0.3.2 vs lib/lotus/commands/db/console.rb in lotusrb-0.4.0

- old
+ new

@@ -8,11 +8,11 @@ def initialize(name, environment) @name = name @environment = environment @env_options = environment.to_options - load_config + @environment.require_application_environment end def start exec connection_string end @@ -41,13 +41,9 @@ Lotus::Utils::Class.load_from_pattern!(adapter_config.class_name, Lotus::Model::Adapters) end def connection_string adapter_class.new(mapper, adapter_config.uri).connection_string - end - - def load_config - require @env_options[:env_config] end end end end end