Displaying 1 result from an estimated 1 matches for "time_spent".
Did you mean:
time_span
2006 Jul 27
1
Form entries with decimals generating float errors
I have "time estimated" and a "time spent" fields in my task form. In my
tasks table I have the "time_estimated" and "time_spent" rows assigned
as float types. I''ve also tried setting them to decimal (4,2) with no
luck.
When I submit the form the error reads "NoMethodError in
TasksController#create" then "Undefined method `size'' for 1.5:Float".
The 1.5 is what I entered as a te...