mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
b4fffc3c68
Previously configs of the form `config.active_job.X` were only forwarded to `ActiveJob::Base`. This teaches Active Job to set them on `ActiveJob` directly instead, if the setter exists. For consistency, this more or less mirrors the way that Active Record does it. Co-authored-by: Adrianna Chang <adrianna.chang@shopify.com> Co-authored-by: Sam Bostock <sam.bostock@shopify.com> --- Fix use_big_decimal_serializer Rails 7.1 default This config should be enabled for new Rails 7.1 apps, or apps that have updated their config to `load_defaults 7.1`, not disabled. This also clarifies the config accessor comment. --- Add contributor documentation comment to load_defaults The process for introducing a change in behavior in Rails can be confusing to new contributors, so a comment is added roughly explaining how to do so, and what belongs in `load_defaults` and `new_framework_defaults`. This comment is aimed at contributors, not consumers, so it is added within the method, rather than above it. |
||
---|---|---|
.. | ||
active_job | ||
rails/generators/job | ||
active_job.rb |