method

hostname_error

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: DatabaseConnectionError
hostname_error(hostname) public

No documentation

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

Hide source
# File activerecord/lib/active_record/errors.rb, line 99
      def hostname_error(hostname)
        DatabaseConnectionError.new(<<~MSG)
          There is an issue connecting with your hostname: #{hostname}.\n
          Please check your database configuration and ensure there is a valid connection to your database.
        MSG
      end
Register or log in to add new notes.