Created by: dependabot-preview[bot]
Bumps activerecord from 6.1.0 to 6.1.1.
Release notes
Sourced from activerecord's releases.
6.1.1
Active Support
Change
IPAddr#to_jsonto match the behavior of the json gem returning the string representation instead of the instance variables of the object.Before:
IPAddr.new("127.0.0.1").to_json # => "{\"addr\":2130706433,\"family\":2,\"mask_addr\":4294967295}"After:
IPAddr.new("127.0.0.1").to_json # => "\"127.0.0.1\""Active Model
- No changes.
Active Record
Fix fixtures loading when strict loading is enabled for the association.
Alex Ghiculescu
Fix
wherewith custom primary key for belongs_to association.Ryuta Kamizono
Fix
wherewith aliased associations.Ryuta Kamizono
Fix
composed_ofwith symbol mapping.Ryuta Kamizono
Don't skip money's type cast for pluck and calculations.
Ryuta Kamizono
... (truncated)
Changelog
Sourced from activerecord's changelog.
Rails 6.1.1 (January 07, 2021)
Fix fixtures loading when strict loading is enabled for the association.
Alex Ghiculescu
Fix
wherewith custom primary key for belongs_to association.Ryuta Kamizono
Fix
wherewith aliased associations.Ryuta Kamizono
Fix
composed_ofwith symbol mapping.Ryuta Kamizono
Don't skip money's type cast for pluck and calculations.
Ryuta Kamizono
Fix
whereon polymorphic association with non Active Record object.Ryuta Kamizono
Make sure
db:prepareworks even the schema file doesn't exist.Rafael Mendonça França
Fix complicated
has_many :throughwith nested where condition.Ryuta Kamizono
Handle STI models for
has_many dependent: :destroy_async.Muhammad Usman
Restore possibility of passing
falseto :polymorphic option ofbelongs_to.Previously, passing
falsewould trigger the option validation logic to throw an error saying :polymorphic would not be a valid option.glaszig
Allow adding nonnamed expression indexes to be revertible.
Fixes #40732.
Previously, the following code would raise an error, when executed while rolling back,
... (truncated)
Commits
-
5f3ff60Preparing for 6.1.1 release -
b52b804Fix has_many_inversing with touch: true on a belongs_to association with inverse -
8163312Merge pull request #41037 from mkasztelnik/remove-update_table_definition-fro... -
45e01fcMerge pull request #41029 from kamipo/fix_has_many_through_with_through_scope... -
4e8fa5cMerge pull request #41025 from uxxman/destroy_async_sti_fix -
563b496Merge pull request #41023 from kuldeepaggarwal/patch-1 -
6fb3884Merge pull request #41012 from kamipo/fix_complicated_through_association -
480862bMerge pull request #40992 from kamipo/fix_enum_with_mangling_collision -
94bdc2cMerge pull request #40974 from kamipo/dont_mangle_enum_names_for_unicode_letters -
fb5b2e1Make sure db:prepare works even the schema file doesn't exist - Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)