Method: ActiveRecord::DatabaseConnectionError.hostname_error
- Defined in:
- lib/active_record/errors.rb
.hostname_error(hostname) ⇒ Object
74 75 76 77 78 79 |
# File 'lib/active_record/errors.rb', line 74 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 |