aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-09-15 01:25:12 +0200
committerXavier Noria <fxn@hashref.com>2009-09-15 01:25:12 +0200
commit193133555f33c433098c7674b0f01c4ee74cea59 (patch)
treee7e2c04ecefa52124fc77181f13acc67058afc60 /railties
parent08aa954805597e0236c592c2280a91394d22a65f (diff)
downloadrails-193133555f33c433098c7674b0f01c4ee74cea59.tar.gz
rails-193133555f33c433098c7674b0f01c4ee74cea59.tar.bz2
rails-193133555f33c433098c7674b0f01c4ee74cea59.zip
AS guide: documents reverse_update
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/active_support_overview.textile5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/guides/source/active_support_overview.textile b/railties/guides/source/active_support_overview.textile
index 442407f916..9682a6ee4b 100644
--- a/railties/guides/source/active_support_overview.textile
+++ b/railties/guides/source/active_support_overview.textile
@@ -1143,6 +1143,11 @@ options.reverse_merge!(:length => 30, :omission => "...")
WARNING. Take into account that +reverse_merge!+ may change the hash in the caller, which may or may not be a good idea.
+h5. +reverse_update+
+
+The method +reverse_update+ is an alias for +reverse_merge!+, explained above.
+
+WARNING. Note that +reverse_update+ has no bang.
h5. +deep_merge+ and +deep_merge!+