rbur004/vincenty

Float#to_d

ivanovv opened this issue · 6 comments

Float#to_d is used to convert to decimal, after I include vincenty into my Gemfile, all my AR decimal columns become float instead of BigDecimal.

Is there is a way to rename it or scope the changes?

On 6/08/14 2:21 am, Victor Ivanov wrote:

Float#to_d is used to convert to decimal, after I include vincenty
into my Gemfile, all my AR decimal columns become float instead of
BigDecimal.

Is there is a way to rename t


Reply to this email directly or view it on GitHub
#1.

Will do.

Rob Burrowes Ph: +64 9 923 2308 (Internal 82308)
System Lead, NeSI Auckland Cell: +64 27 4731856 (internal 64209)
Research Data Services Technical Lead
Centre for eResearch
The University of Auckland
Private Bag 92019 http://www.sit.auckland.ac.nz/~rob
Auckland Mail Centre http://www.burrowes.org/
Auckland 1142 http://www.wikarekare.org/
NEW ZEALAND

Many thanks!

Any luck with this one?

On 19/08/14 8:58 pm, Victor Ivanov wrote:

Any luck with this one?


Reply to this email directly or view it on GitHub
#1 (comment).

Snowed in for the past week or so. Got a chance to update the code base
to change the aliases for to_d to to_deg.
The build of the gem failed though, so I need to check out what has
change in Hoe.

Rob Burrowes Ph: +64 9 923 2308 (Internal 82308)
System Lead, NeSI Auckland Cell: +64 27 4731856 (internal 64209)
Research Data Services Technical Lead
Centre for eResearch
The University of Auckland
Private Bag 92019 http://www.sit.auckland.ac.nz/~rob
Auckland Mail Centre http://www.burrowes.org/
Auckland 1142 http://www.wikarekare.org/
NEW ZEALAND

On 6/08/14 2:21 AM, Victor Ivanov wrote:

Float#to_d is used to convert to decimal, after I include vincenty
into my Gemfile, all my AR decimal columns become float instead of
BigDecimal.

Is there is a way to rename t


Reply to this email directly or view it on GitHub
#1.

Try updating your gem now. The new one is 1.6.
the alias to_d is replaced with to_deg.

Rob Burrowes Ph: +64 9 923 2308 (Internal 82308)
Research Data Services Cell: +64 27 4731856 (internal 64209)
Technical Lead
Centre for eResearch
The University of Auckland
Private Bag 92019 http://www.sit.auckland.ac.nz/~rob
Auckland Mail Centre http://www.burrowes.org/
Auckland 1142 http://www.wikarekare.org/
NEW ZEALAND

Thanks a lot, Rob! BigDecimals are back to normal on my project.