aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-21 12:13:13 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-21 12:13:13 -0700
commit8325d4c4737aa26692a0693b1289932e78e617af (patch)
tree91c2a6b91e994123d4dabb783be16e78b825d652 /actionpack
parentfb9a39f4fa9a3836eca6e33703691ede17737411 (diff)
downloadrails-8325d4c4737aa26692a0693b1289932e78e617af.tar.gz
rails-8325d4c4737aa26692a0693b1289932e78e617af.tar.bz2
rails-8325d4c4737aa26692a0693b1289932e78e617af.zip
update changelog for mime changes
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 73a833a23b..bffe9a85a8 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,3 +1,16 @@
+* Accessing mime types via constants like `Mime::HTML` is deprecated. Please
+ change code like this:
+
+ Mime::HTML
+
+ To this:
+
+ Mime::Types[:HTML]
+
+ This change is so that Rails will not manage a list of constants, and fixes
+ an issue where if a type isn't registered you could possibly get the wrong
+ object.
+
* `url_for` does not modify its arguments when generating polymorphic URLs.
*Bernerd Schaefer*