Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update middleware docs regarding ActionDispatch::LoadInterlock [ci skip] #22857

Merged
merged 1 commit into from
Jan 31, 2016

Conversation

bdewater
Copy link
Contributor

Noticed that the guides didn't mention this feature yet. Figured it was safe to remove the Rack::Lock references for the cache middleware because it's not something that is encountered in default configurations.

r? @matthewd

@rails-bot
Copy link

Thanks for the pull request, and welcome! The Rails team is excited to review your changes, and you should hear from @matthewd (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@@ -215,9 +215,9 @@ Much of Action Controller's functionality is implemented as Middlewares. The fol

* Used to serve static files from the public directory. Disabled if `config.public_file_server.enabled` is `false`.

**`Rack::Lock`**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this one should stay (in addition to the new one), as we still use it sometimes? ¯_(ツ)_/¯

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The list mirrors the output of rails middleware from a fresh app. I'd say it's covered in configuring.md.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping @matthewd - you still think Rack::Lock should be in there even though it is explained in configuring.md?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bdewater lets keep this for a comprehensive list. This list doesn't say its only from "rails middleware" output.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vipulnsward ok, I just force pushed a new commit so Rack::Lock is back in.

@matthewd
Copy link
Member

Thanks!

vipulnsward added a commit that referenced this pull request Jan 31, 2016
Update middleware docs regarding ActionDispatch::LoadInterlock [ci skip]
@vipulnsward vipulnsward merged commit acddd03 into rails:master Jan 31, 2016
@vipulnsward
Copy link
Member

Thanks @bdewater !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants