i just tried it for myself. it's working correctly. so i advice to put
a debugger at the beginning of your action and look what you are
getting for price and where the error occurrs (whether it's inside
that method or even before).
thank you for trying it out for me.. and for the advice too..
I ran over the steps again.. and it works fine now..
I found out why too..
when I added a new column "price" to the table.. I forgot to write
its :precesion and :scale ..
I hope I don't make mistakes like that no more..