Fix method call typo [ci skip]

This commit is contained in:
Zachary Scott 2015-05-02 00:50:14 -07:00
parent 1a02de7098
commit 1e7640e68d
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ Title: Rails debugging guide
### `to_yaml`
Alternatively, calling `to_yaml` on any object converts it to YAML. You can pass this converted object into the `simple format` helper method to format the output. This is how `debug` does its magic.
Alternatively, calling `to_yaml` on any object converts it to YAML. You can pass this converted object into the `simple_format` helper method to format the output. This is how `debug` does its magic.
```html+erb
<%= simple_format @article.to_yaml %>