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_json
to 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
where
with custom primary key for belongs_to association.Ryuta Kamizono
Fix
where
with aliased associations.Ryuta Kamizono
Fix
composed_of
with 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
where
with custom primary key for belongs_to association.Ryuta Kamizono
Fix
where
with aliased associations.Ryuta Kamizono
Fix
composed_of
with symbol mapping.Ryuta Kamizono
Don't skip money's type cast for pluck and calculations.
Ryuta Kamizono
Fix
where
on polymorphic association with non Active Record object.Ryuta Kamizono
Make sure
db:prepare
works even the schema file doesn't exist.Rafael Mendonça França
Fix complicated
has_many :through
with nested where condition.Ryuta Kamizono
Handle STI models for
has_many dependent: :destroy_async
.Muhammad Usman
Restore possibility of passing
false
to :polymorphic option ofbelongs_to
.Previously, passing
false
would 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
-
5f3ff60
Preparing for 6.1.1 release -
b52b804
Fix has_many_inversing with touch: true on a belongs_to association with inverse -
8163312
Merge pull request #41037 from mkasztelnik/remove-update_table_definition-fro... -
45e01fc
Merge pull request #41029 from kamipo/fix_has_many_through_with_through_scope... -
4e8fa5c
Merge pull request #41025 from uxxman/destroy_async_sti_fix -
563b496
Merge pull request #41023 from kuldeepaggarwal/patch-1 -
6fb3884
Merge pull request #41012 from kamipo/fix_complicated_through_association -
480862b
Merge pull request #40992 from kamipo/fix_enum_with_mangling_collision -
94bdc2c
Merge pull request #40974 from kamipo/dont_mangle_enum_names_for_unicode_letters -
fb5b2e1
Make 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 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 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) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will 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)