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

Ruby: Model various ActionController methods #11058

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

hmac
Copy link
Contributor

@hmac hmac commented Oct 31, 2022

ActionController methods have access to a logger method which returns an instance of ActiveSupport::Logger.

The first commit moves the existing ActionController.ql test to be inside the action_controller directory, so that is no longer affected by changes to other test fixtures. I think we should probably do this for the remaining tests (ActionDispatch, ActionView, Core, GraphQL, PosixSpawn) at some point.

Later commits model send_data and body_stream.

hmac added 3 commits Oct 31, 2022
This test shows that we correctly identify redirect_to and render calls
inside respond_to blocks.
@hmac hmac changed the title Ruby: ActionController logger Ruby: Model various ActionController methods Nov 1, 2022
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

1 participant