gmiller-1C+dK8sS/kZS9+/vyTsGKA@public.gmane.org
2006-Sep-25 22:28 UTC
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Michael Campbell
2006-Sep-26 04:24 UTC
Re: Precision and scale support for BigDecimals in ActiveRecord
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, gmiller-1C+dK8sS/kZS9+/vyTsGKA@public.gmane.org <graham.miller-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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 > > > > >-- When a man says he approves of something in principle, it means he hasn''t the slightest intention of putting it into practice. -- Bismarck --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Isak Hansen
2006-Sep-26 08:09 UTC
Re: Precision and scale support for BigDecimals in ActiveRecord
On 9/26/06, gmiller-1C+dK8sS/kZS9+/vyTsGKA@public.gmane.org <graham.miller-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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?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> > Thanks. > > graham > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
gmiller
2006-Sep-27 21:44 UTC
Re: Precision and scale support for BigDecimals in ActiveRecord
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---