Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Mysql Adapter quoting bug when searching with BigDecimal

#1041

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

http://gist.github.com/10643

Reported by Steve Martocci · September 13th, 2008 @ 08:36 PM

State: duplicate
Milestone: 2.x
Assigned to: nobody
Importance: none