method

config

config()
public

No documentation available.

# File railties/lib/rails/commands/dbconsole/dbconsole_command.rb, line 88
    def config
      @config ||= begin
        if configurations[environment].blank?
          raise ActiveRecord::AdapterNotSpecified, "'#{environment}' database is not configured. Available configuration: #{configurations.inspect}"
        else
          configurations[environment]
        end
      end
    end