Precision and scale support for BigDecimals in ActiveRecord

Hello all,
We have been building a financial application on RoR, and let me say,
it has been great. We are currently trying to ensure that decimal
numbers are handled correctly in our application and thus we are very
interested in this bug that speaks to the integration of BigDecimals
into Rails via ActiveRecord:

http://dev.rubyonrails.org/ticket/5454

We notice that it was closed, and the changes checked into the
ActiveRecord SVN trunk well before the latest ActiveRecord release on
August 8. Since we don’t know anything about the release process,
could someone tell us when we might be able to get a stable version of
ActiveRecord with these changes?

Thanks.

graham

Part of my application is financial based, and I avoided the problem
by using the “dollars and cents” plugin. It treats your money columns
as cents in integers, but in your model you have the “normal”
attributes with a fractional cents part. Working well so far.

On 9/25/06, [email protected] [email protected] wrote:

We notice that it was closed, and the changes checked into the


When a man says he approves of something in principle, it means he
hasn’t the slightest intention of putting it into practice. –
Bismarck

On 9/26/06, [email protected] [email protected] wrote:

We notice that it was closed, and the changes checked into the
ActiveRecord SVN trunk well before the latest ActiveRecord release on
August 8. Since we don’t know anything about the release process,
could someone tell us when we might be able to get a stable version of
ActiveRecord with these changes?

Just guessing here, but I assume this won’t be out until the next
stable release of rails (1.2/2.0?). Any AR updates in the meantime are
probably just maintenance/bugfix releases on the 1.1.6 branch.

As for when that happens, I have no idea.

Would love to see an official road map of kinds, if not containing
dates, at least features/strategy/area of focus. Anyone aware of such
a thing?

Isak

Isak,
Thanks for the info. I, too, would like to see a roadmap… but
failing that, does anyone on the rails team have any idea when the
included ActiveRecord will be revved?

graham