aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2014-11-24 20:46:12 -0700
committerSean Griffin <sean@seantheprogrammer.com>2014-11-24 20:46:12 -0700
commit009f6f1924400bc6015a8fa1c988a14cc77415b6 (patch)
tree89d7a4216b2963635362db580607abe90b82370b
parentd886a278b05921ce352f0f90f3a8eb0d60d66b61 (diff)
parent1faf222b934d61844d8b8bd4f40e1ef1d2b49433 (diff)
downloadrails-009f6f1924400bc6015a8fa1c988a14cc77415b6.tar.gz
rails-009f6f1924400bc6015a8fa1c988a14cc77415b6.tar.bz2
rails-009f6f1924400bc6015a8fa1c988a14cc77415b6.zip
Merge pull request #17760 from zzak/release-not-for-17743
Add release note for #17743 [ci skip]
-rw-r--r--guides/source/4_2_release_notes.md13
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.