Permalink
Browse files

Fix typo in AS guide [ci skip]

  • Loading branch information...
carlosantoniodasilva committed Dec 1, 2012
1 parent 0dc1417 commit fb42520252477d83560f2e2a2550c7f377e07bc1
Showing with 2 additions and 2 deletions.
  1. +2 −2 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`.

1 comment on commit fb42520

@fxn

This comment has been minimized.

Show comment Hide comment
@fxn

fxn Dec 1, 2012

Owner
Owner

fxn commented on fb42520 Dec 1, 2012

Please sign in to comment.