aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-01 11:39:08 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-01 11:39:09 -0200
commitfb42520252477d83560f2e2a2550c7f377e07bc1 (patch)
tree4f544b5edd34a0989404409d779d5d5457f1dbca /guides/source
parent0dc1417185aeeec333e7ead0bab340e4e188df4e (diff)
downloadrails-fb42520252477d83560f2e2a2550c7f377e07bc1.tar.gz
rails-fb42520252477d83560f2e2a2550c7f377e07bc1.tar.bz2
rails-fb42520252477d83560f2e2a2550c7f377e07bc1.zip
Fix typo in AS guide [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_support_core_extensions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index 79ff945495..6f69d5389d 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -3727,13 +3727,13 @@ Extensions to `Marshal`
Active Support adds constant autoloading support to `load`.
-For example, the file cache store deserializes this way:
+For example, the file cache store deserializes this way:
```ruby
File.open(file_name) { |f| Marshal.load(f) }
```
-If the cached data refers to a constant that is unknown at that point, the autoloading mechanism is triggered and if it succeeds the desarialization is retried transparently.
+If the cached data refers to a constant that is unknown at that point, the autoloading mechanism is triggered and if it succeeds the deserialization is retried transparently.
WARNING. If the argument is an `IO` it needs to respond to `rewind` to be able to retry. Regular files respond to `rewind`.