returning(...) ?

Brian Candler B.Candler at pobox.com
Tue Sep 4 17:26:26 EDT 2007


On Tue, Sep 04, 2007 at 02:02:15PM -0700, Ezra Zygmuntowicz wrote:
> I'm fine with axing it.

Should Merb's definition of Object#returning also go? Anybody who wants to
use ActiveSupport can still require it themselves.

Now that Merb is aiming to be ORM-neutral, perhaps extra care needs to be
taken with core_ext. Some users won't have ActiveSupport loaded, but others
will (e.g. because they are using ActiveRecord). There's a risk that Merb's
core extensions may clash with or be incompatible with an ORM's extensions
with the same method names.

Hash#to_xml and Hash.from_xml are particular examples that spring to mind.

Regards,

Brian.


More information about the Merb-devel mailing list