I appreciate the reply about to implement the Unit and Measure classes (as
you call them). I'm already pretty clear on how I want to handle the values
with units themselves, my questions is more about how best to use these
Measure instances in a Rails model: storing "unit-ed" values for many
di
On Tue, Jan 17, 2012 at 00:06, Dustin Frazier wrote:
> I'm working on a Rails 3 app that requires a few fields that can
> be given in multiple units of measure, e.g. miles, kilometers, etc.
> for distances, miles-per-hour, meters-per-second, etc. for speeds,
> and so on. I'm curious how others ha
I'm working on a Rails 3 app that requires a few fields that can be given
in multiple units of measure, e.g. miles, kilometers, etc. for distances,
miles-per-hour, meters-per-second, etc. for speeds, and so on. I'm curious
how others have modeled these types of compound datatypes in Rails. Some
3 matches
Mail list logo