Method: ActiveRecord::DatabaseConnectionError.username_error

Defined in:
activerecord/lib/active_record/errors.rb

.username_error(username) ⇒ Object



102
103
104
105
106
107
# File 'activerecord/lib/active_record/errors.rb', line 102

def username_error(username)
  DatabaseConnectionError.new(<<~MSG)
    There is an issue connecting to your database with your username/password, username: #{username}.\n
    Please check your database configuration to ensure the username/password are valid.
  MSG
end