[RUN AS-IF-FOSS] Update Rails to v6.1.4.1
What does this MR do and why?
This MR updates Rails from 6.1.3.2 to 6.1.4.1
Changes:
- rails: https://my.diffend.io/gems/rails/6.1.3.2/6.1.4.1
- actionpack: https://my.diffend.io/gems/actionpack/6.1.3.2/6.1.4.1
- activerecord: https://my.diffend.io/gems/activerecord/6.1.3.2/6.1.4.1
- activestorage: https://my.diffend.io/gems/activestorage/6.1.3.2/6.1.4.1
Release notes: https://github.com/rails/rails/releases
Rails changes that affected this upgrade
ActiveRecord
-
Clear @cache_keys cache even when eager loading
-
⚠ Broke a lot of specs withArgumentError: wrong number of arguments (given 0, expected 1)
-
-
Clear @cache_keys cache after update_all, delete_all, destroy_all
-
⚠ Broke N+1 spec inspec/models/design_management/design_at_version_spec.rb:303
-
-
Do not try to rollback transactions that failed due to a
ActiveRecord::TransactionRollbackError
-
⚠ Brokespec/models/namespace/traversal_hierarchy_spec.rb:82
-
ActionPack
-
Allow 'private, no-store' Cache-Control header
-
⚠ Broke many specs that were expectingresponse_headers['Cache-Control']
to be equalno-store
-
Other
-
Should not change serializable value for the enum attribute (commit).
- This is enum difference:
Model.where(enum: [:a, :b])
will now fail withActiveRecord::StatementInvalid: PG::InvalidTextRepresentation
if any of the keys are not present in the enum definition. Before6.1.4.1
, such keys would be silently removed from the SQL query. -
⚠ Brokespec/requests/api/graphql/project/pipeline_spec.rb
- This is enum difference:
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Dmitry Gruzd