aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-09-26 13:19:52 +0200
committerXavier Noria <fxn@hashref.com>2009-09-26 13:19:52 +0200
commita14a8a6e54803856f298434c2902f5f19005bf52 (patch)
tree7843a0d4c3e46f449b17bbd237a44c6d38a943e9 /railties/guides/source
parentcee2ee808e96b9deca46acae0faa643ba6fe0261 (diff)
downloadrails-a14a8a6e54803856f298434c2902f5f19005bf52.tar.gz
rails-a14a8a6e54803856f298434c2902f5f19005bf52.tar.bz2
rails-a14a8a6e54803856f298434c2902f5f19005bf52.zip
typo
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/active_support_overview.textile2
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 0462b47ec6..460778deb1 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>
-hash.diff(hash2).diff(hash2) == hash1
+hash.diff(hash2).diff(hash2) == hash
</ruby>
Diffing hashes may be useful for error messages related to expected option hashes for example.