I am using a legacy database with mysql.
I am working stuff through in the console and it tells me…
So I need to coerce this into a float…
I added to app/controllers/application_controller.rb (at the very bottom
of the file)…
Provides extension to Numerics to provide subject decimal places
which used to work fine for me in Rails 1.2.6…but in the 2.3.2
NoMethodError: undefined method `to_fl’ for
How do I get the float value of ‘big decimal’ ?
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.