Hello all,

I'm new to DataMapper (and really liking it!), and I need to model
Money (amount, currency). What's the best way to do this?

In ActiveRecord, you have the composed_of helper to cleanly create the
Embedded Value pattern. I've looked around, and there seems to be some
artifacts/evidence for a Embedded Value plugin/functionality existing
for DataMapper, but I'm a little confused as to its current state. It
looks like its on the roadmap, but I've seen posts from several years
ago referring to Embedded Value. The plugins page on Github lists a
composite plugin, but that repo doesn't exist! (http://github.com/
glasner/dm-composite/). What's going on here?

Thanks!
Ben

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to