1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

@ -54,7 +54,7 @@ Title: Rails debugging guide
### `to_yaml` ### `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 ```html+erb
<%= simple_format @article.to_yaml %> <%= simple_format @article.to_yaml %>