fix markup of controllers guide
This commit is contained in:
parent
0ddae9fcf6
commit
3aa3880cfb
|
@ -232,7 +232,7 @@ The permitted scalar types are `String`, `Symbol`, `NilClass`,
|
||||||
`StringIO`, `IO`, `ActionDispatch::Http::UploadedFile` and
|
`StringIO`, `IO`, `ActionDispatch::Http::UploadedFile` and
|
||||||
`Rack::Test::UploadedFile`.
|
`Rack::Test::UploadedFile`.
|
||||||
|
|
||||||
To declare that the value in `params+ must be an array of permitted
|
To declare that the value in `params` must be an array of permitted
|
||||||
scalar values map the key to an empty array:
|
scalar values map the key to an empty array:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
|
|
Loading…
Reference in New Issue