Skip to content

Commit 549ef60

Browse files
committed
Fix indentation
1 parent 8c5bade commit 549ef60

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

activerecord/lib/active_record/errors.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,14 @@ def initialize(message = nil)
225225
class << self
226226
def db_error(db_name)
227227
NoDatabaseError.new(<<~MSG)
228-
We could not find your database: #{db_name}. Which can be found in the database configuration file located at config/database.yml.
228+
We could not find your database: #{db_name}. Which can be found in the database configuration file located at config/database.yml.
229229
230-
To resolve this issue:
230+
To resolve this issue:
231231
232-
- Did you create the database for this app, or delete it? You may need to create your database.
233-
- Has the database name changed? Check your database.yml config has the correct database name.
232+
- Did you create the database for this app, or delete it? You may need to create your database.
233+
- Has the database name changed? Check your database.yml config has the correct database name.
234234
235-
To create your database, run:\n\n bin/rails db:create
235+
To create your database, run:\n\n bin/rails db:create
236236
MSG
237237
end
238238
end
@@ -246,15 +246,15 @@ def initialize(message = nil)
246246
class << self
247247
def hostname_error(hostname)
248248
DatabaseConnectionError.new(<<~MSG)
249-
There is an issue connecting with your hostname: #{hostname}.\n
250-
Please check your database configuration and ensure there is a valid connection to your database.
249+
There is an issue connecting with your hostname: #{hostname}.\n
250+
Please check your database configuration and ensure there is a valid connection to your database.
251251
MSG
252252
end
253253

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

0 commit comments

Comments
 (0)