Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix HomogeneousIn for serialized attributes
Previously, `proc_for_binds` was introduced to address missing attribute names when logging binds. However, this causes double serialization, impacting searches involving serialized attributes. This commit fixes the issue by replacing the type with `ActiveModel::Type.default_value` so that the 2nd serialization is effectively a no-op. Fixes #48072. Fixes #48535. Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
- Loading branch information
1 parent
a409c63
commit fb5773b
Showing
4 changed files
with
8 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters