mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge branch 'master' of github.com:rails/docrails
This commit is contained in:
commit
14354f1955
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ def create
|
|||
end
|
||||
```
|
||||
|
||||
The `render` method here is taking a very simple hash with a key of `plain` and
|
||||
The `render` method here is taking a very simple hash with a key of `:plain` and
|
||||
value of `params[:article].inspect`. The `params` method is the object which
|
||||
represents the parameters (or fields) coming in from the form. The `params`
|
||||
method returns an `ActiveSupport::HashWithIndifferentAccess` object, which
|
||||
|
|
Loading…
Reference in a new issue