method

adapter_class

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Rails::DBConsole
adapter_class() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/dbconsole/dbconsole_command.rb, line 52
      def adapter_class
        if ActiveRecord::Base.respond_to?(db_config.adapter_class_method)
          ActiveRecord::Base.public_send(db_config.adapter_class_method)
        else
          ActiveRecord::ConnectionAdapters::AbstractAdapter
        end
      end
Register or log in to add new notes.