/ Published in: Rails
This lets you type Mandarin tones like a1, o2, e3, and so on instead of having to type the real pinyin. The tones are saved with the proper characters in the database.
URL: http://67ideas.com/blog/easily-translate-rails-form-inputs-saving