Skip to content

Commit c11c5cb

Browse files
Fix code blocks that caused lint failures
1 parent ebfca90 commit c11c5cb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

guides/source/configuring.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,19 +1930,19 @@ config.action_dispatch.rescue_responses = {
19301930
'ActionController::RoutingError' => :not_found,
19311931
'AbstractController::ActionNotFound' => :not_found,
19321932
'ActionController::MethodNotAllowed' => :method_not_allowed,
1933-
'ActionController::UnknownHttpMethod'=> :method_not_allowed,
1933+
'ActionController::UnknownHttpMethod' => :method_not_allowed,
19341934
'ActionController::NotImplemented' => :not_implemented,
1935-
'ActionController::UnknownFormat'=> :not_acceptable,
1935+
'ActionController::UnknownFormat' => :not_acceptable,
19361936
'ActionController::InvalidAuthenticityToken' => :unprocessable_entity,
1937-
'ActionController::InvalidCrossOriginRequest'=> :unprocessable_entity,
1937+
'ActionController::InvalidCrossOriginRequest' => :unprocessable_entity,
19381938
'ActionDispatch::Http::Parameters::ParseError' => :bad_request,
19391939
'ActionController::BadRequest' => :bad_request,
19401940
'ActionController::ParameterMissing' => :bad_request,
1941-
'Rack::QueryParser::ParameterTypeError'=> :bad_request,
1941+
'Rack::QueryParser::ParameterTypeError' => :bad_request,
19421942
'Rack::QueryParser::InvalidParameterError' => :bad_request,
19431943
'ActiveRecord::RecordNotFound' => :not_found,
19441944
'ActiveRecord::StaleObjectError' => :conflict,
1945-
'ActiveRecord::RecordInvalid'=> :unprocessable_entity,
1945+
'ActiveRecord::RecordInvalid' => :unprocessable_entity,
19461946
'ActiveRecord::RecordNotSaved' => :unprocessable_entity
19471947
}
19481948
```
@@ -3547,7 +3547,7 @@ Database Pooling
35473547

35483548
Active Record database connections are managed by `ActiveRecord::ConnectionAdapters::ConnectionPool` which ensures that a connection pool synchronizes the amount of thread access to a limited number of database connections. This limit defaults to 5 and can be configured in `database.yml`.
35493549

3550-
```ruby
3550+
```yaml
35513551
development:
35523552
adapter: sqlite3
35533553
database: storage/development.sqlite3
@@ -3563,7 +3563,7 @@ If you try to use more connections than are available, Active Record will block
35633563
you and wait for a connection from the pool. If it cannot get a connection, a
35643564
timeout error similar to that given below will be thrown.
35653565

3566-
```ruby
3566+
```
35673567
ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5.000 seconds (waited 5.000 seconds)
35683568
```
35693569

0 commit comments

Comments
 (0)