Modifies the way Rails generates the attribute value getters / setters so that the correct decimal separator is used when a value is shown in a text_field and when the value entered by the user is parsed.
timoi/localized_decimals
Localizes the decimal separator for BigDecimal and Float attributes in Ruby on Rails framework
Ruby