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:
parent
1a02de7098
commit
1e7640e68d
1 changed files with 1 additions and 1 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue