Skip to content

About

Rails plugin for replacing seperators in numeric input with appropriate database format

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

LocalizeInput
=============

This plugin extends ActiveRecord and replaces the seperator of numbers in non us languages, .e.g german.
It uses the seperator, which comes with the I18n module. So the seperator has to be defined in the appropriate
yaml file.


Example
=======

class Article < ActiveRecord::Base
    # Replace seperator for attribute price to allow input with commata
    localize_input_of :price
end


Copyright (c) 2012 bennibu, released under the MIT license

About

Rails plugin for replacing seperators in numeric input with appropriate database format

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages