In a `rails 3.2 , ruby 1.9.3` app
Trying to perform a simple `-1` action on an integer:
doing this on the model:

```
order_details[:quantity].to_i - 1

```

and getting the `ArgumentError: invalid radix -1`

Tried to look this up online , and found very little documentation.

Any help, pls?