[Rails] Escaping Arithmetic Symbols

Joshua Schairbaum devlists-rubyonrails at devlists.com
Wed Mar 1 01:01:09 GMT 2006


On Tuesday, February 28, 2006, at 10:23 PM, Jim Cheetham wrote:
>
>Well, what do you *want* to have happen?
>And what *actually* happens?
>
>Looks like you're trying to do arithmetic on those values - are you
>sure they're numeric? Perhaps one of them is a string or something?
>

I'm sure that they're both numbers.  I cannot remember the exact error  
number because I'm not at work, but the gist of it was the operation  
could not be completed.

I think I'm going to try to install the arithmetic plugin for Rick  
Olson...or wait for 1.1, all I'm trying to do is get an average value of  
an attribute for a collection.




-- 
Posted with http://DevLists.com.  Sign up and save your time!


More information about the Rails mailing list