Handle nil backtrace_locations in ActiveSupport::SyntaxErrorProxy.
Eugene Kenny
Fix ActiveSupport::JSON.encode to prevent duplicate keys.
If the same key exist in both String and Symbol form it could
lead to the same key being emitted twice.
Manish Sharma
Fix ActiveSupport::Cache::Store#read_multi when using a cache namespace
and local cache strategy.
Mark Oleson
Fix Time.now/DateTime.now/Date.today to return results in a system timezone after #travel_to.
There is a bug in the current implementation of #travel_to:
it remembers a timezone of its argument, and all stubbed methods start
returning results in that remembered timezone. However, the expected
behaviour is to return results in a system timezone.
Aleksei Chernenkov
Fix :unless_exist option for MemoryStore#write (et al) when using a
cache namespace.
S. Brent Faulkner
Fix ActiveSupport::Deprecation to handle blaming generated code.
Jean Boussier, fatkodima
Active Model
No changes.
Active Record
Fix Migrations with versions older than 7.1 validating options given to
add_reference.
Fix Migrations with versions older than 7.1 validating options given to
add_reference.
Hartley McGuire
Ensure reload sets correct owner for each association.
Dmytro Savochkin
Fix view runtime for controllers with async queries.
fatkodima
Fix load_async to work with query cache.
fatkodima
Fix polymorphic belongs_to to correctly use parent's query_constraints.
fatkodima
Fix Preloader to not generate a query for already loaded association with query_constraints.
fatkodima
Fix multi-database polymorphic preloading with equivalent table names.
When preloading polymorphic associations, if two models pointed to two
tables with the same name but located in different databases, the
preloader would only load one.
Ari Summer
Fix encrypted_attribute? to take into account context properties passed to encrypts.
Maxime Réty
Fix find_by to work correctly in presence of composite primary keys.
fatkodima
Fix async queries sometimes returning a raw result if they hit the query cache.
ShipPart.async_count could return a raw integer rather than a Promise
if it found the result in the query cache.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps activerecord from 7.1.2 to 7.1.3.
Release notes
Sourced from activerecord's releases.
... (truncated)
Changelog
Sourced from activerecord's changelog.
... (truncated)
Commits
36c1591
Preparing for 7.1.3 releasea0eef52
Merge pull request #50767 from rporrasluc/fix-db-runtime-calculation4b699da
Merge pull request #50680 from skipkayhil/hm-fix-legacy-add-reference9cf3c5b
Fix CHANGELOG21dff57
Add changelog entry for #4638357a50f5
Merge pull request #46383 from dmytro-savochkin/fix-activerecord-reload-assoc...81c8023
Sync changelog620d335
Add examples to #slice and #values_at documentation [ci-skip] (#50679) (#50736)1f8c6c3
:scissors:1c90604
Merge pull request #50382 from summera/polymorphic-multi-db-preload-fixDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show