mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
s/words_connnector/words_connector/
[ci skip]
This commit is contained in:
parent
43cb7acc01
commit
e8e9b6f25e
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ A few pieces of older code are deprecated in this release:
|
|||
* Some integration test helpers have been removed. `response.headers["Status"]` and `headers["Status"]` will no longer return anything. Rack does not allow "Status" in its return headers. However you can still use the `status` and `status_message` helpers. `response.headers["cookie"]` and `headers["cookie"]` will no longer return any CGI cookies. You can inspect `headers["Set-Cookie"]` to see the raw cookie header or use the `cookies` helper to get a hash of the cookies sent to the client.
|
||||
* `formatted_polymorphic_url` is deprecated. Use `polymorphic_url` with `:format` instead.
|
||||
* The `:http_only` option in `ActionController::Response#set_cookie` has been renamed to `:httponly`.
|
||||
* The `:connector` and `:skip_last_comma` options of `to_sentence` have been replaced by `:words_connnector`, `:two_words_connector`, and `:last_word_connector` options.
|
||||
* The `:connector` and `:skip_last_comma` options of `to_sentence` have been replaced by `:words_connector`, `:two_words_connector`, and `:last_word_connector` options.
|
||||
* Posting a multipart form with an empty `file_field` control used to submit an empty string to the controller. Now it submits a nil, due to differences between Rack's multipart parser and the old Rails one.
|
||||
|
||||
Credits
|
||||
|
|
Loading…
Reference in a new issue