class Apartment::Adapters::PostgresqlAdapter
Default adapter when not using Postgresql Schemas
Default adapter when not using Postgresql Schemas
Protected Instance Methods
connect_to_new(database)
click to toggle source
Connect to new database Abstract adapter will catch generic ActiveRecord
error Catch specific adapter errors here
@param {String} database Database
name
Calls superclass method
Apartment::Adapters::AbstractAdapter#connect_to_new
# File lib/apartment/adapters/jdbcpostgresql_adapter.rb, line 26 def connect_to_new(database) super rescue PGError raise DatabaseNotFound, "Cannot find database #{environmentify(database)}" end