diff options
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/active_support_overview.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_overview.textile b/railties/guides/source/active_support_overview.textile index abb7ca9491..0462b47ec6 100644 --- a/railties/guides/source/active_support_overview.textile +++ b/railties/guides/source/active_support_overview.textile @@ -1382,7 +1382,7 @@ The method +diff+ returns a hash that represents a diff of the receiver and the An important property of this diff hash is that you can retrieve the original hash by applying +diff+ twice: <ruby> -hash1.diff(hash2).diff(hash2) == hash1 +hash.diff(hash2).diff(hash2) == hash1 </ruby> Diffing hashes may be useful for error messages related to expected option hashes for example. |