Skip to content

Conversation

@c960657
Copy link
Contributor

@c960657 c960657 commented Dec 22, 2025

In Mongoid 8, BigDecimal::mongoize returns a BSON::Decimal128 instance which does not have a to_f method.

It seems it isn't necessary to call #mongoize explicitly.

sunny
sunny previously approved these changes Dec 22, 2025
Copy link
Member

@sunny sunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a line into the changelog as well? 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants