1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add ActiveRecord::Migration::CheckPending to default middlewares for API Apps

[ci skip]
This commit is contained in:
Vipul A M 2016-05-16 01:38:16 +05:30
parent 83ecf3fe56
commit 97877e1a23
No known key found for this signature in database
GPG key ID: 4C9362FE1F574587

View file

@ -212,6 +212,7 @@ An API application comes with the following middleware by default:
- `ActionDispatch::RemoteIp`
- `ActionDispatch::Reloader`
- `ActionDispatch::Callbacks`
- `ActiveRecord::Migration::CheckPending`
- `Rack::Head`
- `Rack::ConditionalGet`
- `Rack::ETag`