Difference between merging a hash in ruby and using merge_conditions of activerecord

The ruby library comes with a method called merge that allows you to
merge two hashes. So then why does merge_conditions exist in
activereocrd, which appears to be doing the same thing.

thanks for response

On 23 March 2012 21:48, John M. [email protected] wrote:

The ruby library comes with a method called merge that allows you to
merge two hashes. So then why does merge_conditions exist in
activereocrd, which appears to be doing the same thing.

I don’t think merge_conditions /does/ exist any more (in Rails 3).

Colin