Open dennisquintel opened 8 years ago
This is another type casting done wrong. units
is interpreted as as String
probably due to a faulty CSV import. In Excel, when the CSV is exported, the numbers are being seen as a String
due to a fauly separator setting (?) would be my guess.
Airbrake error: #4776 Airbrake project: ETMoses
Error type:
ArgumentError
Error message:comparison of String with 0 failed
Where:testing_grounds#update
Occurred at: Sep 01, 2016 12:04:40 UTC First seen at: Sep 01, 2016 12:04:40 UTC Occurrences: 1 (1 since last deploy on Jul 18, 2016 11:54:39 UTC)URL: https://moses.energytransitionmodel.com/testing_grounds/539 File:
[PROJECT_ROOT]/app/models/testing_ground.rb
Backtrace: