|
Re: [Rails I18n] [PATCH] to Globalize::Currency: msg#00009lang.ruby.rails.i18n
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 Railsi18n-discussion@xxxxxxxxxxxxx http://rubyforge.org/mailman/listinfo/railsi18n-discussion
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [Rails I18n] Locale Currency format, Kadoudal |
|---|---|
| Next by Date: | Re: [Rails I18n] Locale Currency format, Roland |
| Previous by Thread: | [Rails I18n] [PATCH] to Globalize::Currency, Kadoudal |
| Next by Thread: | [Rails I18n] Locale Currency format, Kadoudal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |