Skip to content

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

License

Notifications You must be signed in to change notification settings

bennibu/localize_input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages