Has ActiveRecord a macro style method for mapping collections of value
objects? something like composed_of (used for one value object) but for
a collection of value object.
A second question:
Does ActiveRecord use .eql? to check instances for modifications?
Has ActiveRecord a macro style method for mapping collections of value
objects? something like composed_of (used for one value object) but for
a collection of value object.
A second question:
Does ActiveRecord use .eql? to check instances for modifications?
No. equality in activerecord means equality of primary key.