From 27014bbf513ebb2dde143ebd745283496e7db558 Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Tue, 17 Jul 2012 16:21:22 -0700 Subject: Add nodocs to delegation module and docs for merge! --- activerecord/lib/active_record/relation/spawn_methods.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/lib/active_record/relation/spawn_methods.rb') diff --git a/activerecord/lib/active_record/relation/spawn_methods.rb b/activerecord/lib/active_record/relation/spawn_methods.rb index 80d087a9ea..d21f02cd5f 100644 --- a/activerecord/lib/active_record/relation/spawn_methods.rb +++ b/activerecord/lib/active_record/relation/spawn_methods.rb @@ -34,6 +34,7 @@ module ActiveRecord end end + # Like #merge, but applies changes in place. def merge!(other) klass = other.is_a?(Hash) ? Relation::HashMerger : Relation::Merger klass.new(self, other).merge -- cgit v1.2.3