Kad Kerforn wrote:
> Thanks Roland, got it !
> parsing is correct, I get my @cents as it should be..
> 
> unfortunatly when saving @product.save
> I get an error from Globalize::currency         (not linked to your
> patch... I also got it wo the patc...°
> 
> RuntimeError: can only compare with money or integer
>
> I believe it comes from my validations in Product class....
yes, looks like...
This is from your other mail:
> script/../config/../app/models/product.rb:29:in `validate'

could you show us your product.rb? or look at it, line 29, somewhere 
there might be the problem :)
(maybe you are comparing with a float? something like 1.5?)

> Hurry up Germany to the final...  !!!
we're trying hard :) what's with france? :)

Greetings,
Roland

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to