Generic Error: Error calculating input for field, String can't be coerced into Fixnum
Created by: Alvin Ee
Modified on: Mon, Apr 24, 2017 at 2:39 PM
Error: Error calculating input for field, String can't be coerced into Fixnum
What does this mean?:
This occurs when you try to use "+" in a field using formula mode when the first pill is a number. For example, you have the formula below. You want the Job URL to be one line after the Job ID, so you try to add "\n" to add another line. However, because Job ID is a number, it takes the "+" as a numeric operator, and when the formula tries to add a number to a string, it will fail and give an error. Its like how in arithmetic math you can't get an answer from "1 + a"
Convert the pill that is affecting the formula to a string by using the .to_s function.