Browse files

AS guide: touches an example that confounds the indexer

  • Loading branch information...
1 parent cbcdb19 commit cee2ee808e96b9deca46acae0faa643ba6fe0261 @fxn fxn committed Sep 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/active_support_overview.textile
2 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:
-hash1.diff(hash2).diff(hash2) == hash1
+hash.diff(hash2).diff(hash2) == hash1
Diffing hashes may be useful for error messages related to expected option hashes for example.

0 comments on commit cee2ee8

Please sign in to comment.