Are there any solutions for translating measurement units on Rails?

Posted by Leonid Shevtsov on Stack Overflow See other posts from Stack Overflow or by Leonid Shevtsov
Published on 2010-06-09T19:13:00Z Indexed on 2010/06/09 19:32 UTC
Read the original article Hit count: 249

I'd like to implement measurement unit preferences in a Ruby on Rails app.

For instance, the user should be able to select between displaying distances in miles or in kilometers. And, obviously, not only displaying, but entering values, too.

I suppose all values should be stored in one global measurement system to simplify calculations.

Are there any drop-in solutions for this? Or should I maybe write my own?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby