I would like to use unit settings in a Ruby on Rails application.
For example, the user should be able to choose between displaying distances in miles or kilometers. And, obviously, not only the display, but also the input of values.
I believe that all values ββshould be stored in one global measuring system in order to simplify the calculations.
Are there any solutions for this? Or should I write my own?
units-of-measurement ruby ruby-on-rails internationalization localization
Leonid Shevtsov
source share