diff options
author | Zachary Scott <e@zzak.io> | 2014-11-24 19:42:58 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-11-24 19:42:58 -0800 |
commit | 1faf222b934d61844d8b8bd4f40e1ef1d2b49433 (patch) | |
tree | 89d7a4216b2963635362db580607abe90b82370b /guides | |
parent | d886a278b05921ce352f0f90f3a8eb0d60d66b61 (diff) | |
download | rails-1faf222b934d61844d8b8bd4f40e1ef1d2b49433.tar.gz rails-1faf222b934d61844d8b8bd4f40e1ef1d2b49433.tar.bz2 rails-1faf222b934d61844d8b8bd4f40e1ef1d2b49433.zip |
Add release note for #17743 [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/4_2_release_notes.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md index 1ee3bfe0a4..0281213bf2 100644 --- a/guides/source/4_2_release_notes.md +++ b/guides/source/4_2_release_notes.md @@ -417,6 +417,19 @@ Please refer to the [Changelog][action-pack] for detailed changes. ([Commit](https://github.com/rails/rails/commit/cc26b6b7bccf0eea2e2c1a9ebdcc9d30ca7390d9)) +* Deprecated support for String keys in URL helpers: + + ```ruby + # bad + Rails.application.routes.url_helpers.root_path('controller' => 'posts', 'action' => 'index') + # good + Rails.application.routes.url_helpers.root_path(:controller => 'posts', :action => 'index') + # better :trollface: + Rails.application.routes.url_helpers.root_path(controller: 'posts', action: 'index') + ``` + + ([Pull Request](https://github.com/rails/rails/pull/17743)) + ### Notable changes * Rails will now automatically include the template's digest in ETags. |