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

[0.9 stable] Avoid loading ActionController::TestCase in production #2464

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

casperisfine
Copy link

Ref: Shopify#3

By referencing that object, it brings in all of the patches defined
in ActionController::TestCase to the development and production
environment, including behaviours like disabling the threading
implementation of ActionController::Live

Extracted from: #2461

cc @bf4

lib/active_model_serializers.rb Outdated Show resolved Hide resolved
@casperisfine casperisfine force-pushed the 0-9-stable-ac-test-case-lazy branch 2 times, most recently from 06263e0 to 078afe9 Compare April 9, 2024 14:58
@byroot byroot changed the title Avoid loading ActionController::TestCase in production [0.9 stable] Avoid loading ActionController::TestCase in production Apr 9, 2024
Ref: #3

> By referencing that object, it brings in all of the patches defined
> in `ActionController::TestCase` to the development and production
> environment, including behaviours like disabling the threading
> implementation of `ActionController::Live`
@byroot byroot merged commit 98b90ad into rails-api:0-9-stable Apr 9, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants