This project is archived and is in readonly mode.
Mysql Adapter quoting bug when searching with BigDecimal
Reported by Steve Martocci | September 13th, 2008 @ 08:36 PM | in 2.x
BigDecimals must be converted to strings but without quotes when being used in mysql querys in order to match results. The current implementation in mysql_adapter does the proper formatting, but wraps it in single quotes. This is a simple one line fix with major implications for those using :decimal columns.
Here is a Gist of the change
Comments and changes to this ticket
-
Frederick Cheung December 10th, 2008 @ 02:39 PM
- State changed from new to duplicate
Duplicate of #1168 (since fixed)
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>