method
username_error
rails latest stable - Class:
ActiveRecord::DatabaseConnectionError
username_error(username)public
No documentation available.
# File activerecord/lib/active_record/errors.rb, line 106
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