This project is archived and is in readonly mode.
Dirty Tracking (partial updates) don't see decimal column updates
Reported by Daniel Morrison | August 4th, 2008 @ 04:45 PM | in 2.x
Changing a decimal column (which gets turned into a BigDecimal) doesn't show up as a change for partial updates.
I've included a failing test case. I don't have the time to dig in deeper today.
Comments and changes to this ticket
-
josh November 22nd, 2008 @ 07:50 PM
- State changed from new to stale
Staling out, please let me know if its still an issue.
-
CancelProfileIsBroken August 3rd, 2009 @ 07:45 PM
- Tag changed from activerecord, bug, edge to activerecord, bug, bugmash, edge
-
Tom Ward August 4th, 2009 @ 02:20 PM
The attached test looks flawed to me. It changes big_bank_balance, then checks to see whether world_population has changed. As you'd expect, it hasn't.
Altering the test to change big_bank_balance then test if the change has persisted doesn't fail. I don't believe this issue is valid any more.
-
Matt Duncan August 8th, 2009 @ 02:21 AM
Not Reproducible.
Fixed the original test based on Tom's findings and no failures are reported.
I've attached a patch.
-
Rizwan Reza August 8th, 2009 @ 06:21 PM
-1 Both patches are not applying for me in both branches, master and 2-3-stable.
-
CancelProfileIsBroken August 9th, 2009 @ 11:06 PM
- State changed from stale to invalid
- Tag changed from activerecord, bug, bugmash, edge to activerecord, bug, edge
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>