Merge branch 'master' of github.com:rails/docrails
This commit is contained in:
commit
14354f1955
@ -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 New Issue
Block a user