Fix delegate_missing_to allow_nil: true when called with implict self
class Person
delegate_missing_to :address, allow_nil: true
def address
nil
end
def berliner?
city == "Berlin"
end
end
Person.new.city # => nil
Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)
Jean Boussier
Active Model
No changes.
Active Record
Handle commas in Sqlite3 default function definitions.
Stephen Margheim
Fixes validates_associated raising an exception when configured with a
singular association and having index_nested_attribute_errors enabled.
Martin Spickermann
The constant ActiveRecord::ImmutableRelation has been deprecated because
we want to reserve that name for a stronger sense of "immutable relation".
Please use ActiveRecord::UnmodifiableRelation instead.
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 rails from 7.2.0.beta3 to 7.2.0.rc1.
Release notes
Sourced from rails's releases.
... (truncated)
Commits
41d50f4
Preparing for 7.2.0.rc1 releasea7aeadb
Implement new versioning scheme for npm packagesa2ec4a7
Merge pull request #52363 from eugeneius/autosave_has_one_loaded6be58c9
Merge pull request #51889 from fatkodima/db_prepare-migration-ordering43530b4
Merge pull request #52500 from GarrisonD/main56f647b
Implement the bin/rails boot command0b1bb95
Merge pull request #52301 from y-yagi/fix_enqueue_after_transaction_commit_wi...3c04fb0
Merge pull request #52484 from excid3/fix-enqueue-after-transaction-commit-in...8f679be
Merge pull request #52471 from rails/rm-new-policy3af5ed3
Merge pull request #52477 from matthewd/7-2-rackDependabot 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