Skip to content

Commit

Permalink
AS guide: documents reverse_update
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Sep 14, 2009
1 parent 08aa954 commit 1931335
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions railties/guides/source/active_support_overview.textile
Expand Up @@ -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!+

Expand Down

0 comments on commit 1931335

Please sign in to comment.