I have a contrller that receives data (by POST requests) from an external system. The external system formats the number according to danish traditon, that is PI=3,1415, and 3/4 = 0,75. This gives me problems in my activerecord when specifying these attributes to numeric, that is using validates_numericality_of :danish_number in my AR model. Even when that is solved, I also want the AR framework to automatically coerce these values as numbers (not strings), so when the INSERT statement is generated, the DB will not generate errors. All my other contrllers and AR models use standard formatting. What is the best approach? I would like to specify this on the AR model level. Jarl -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.