aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorebyrds <emmanuel_pajaro@hotmail.com>2018-11-23 23:55:31 +0000
committerebyrds <emmanuel_pajaro@hotmail.com>2018-11-23 23:55:31 +0000
commit4c8c31774a7c44080099f4a9c7e21d76fa097e09 (patch)
tree033ed02ede94d51f56b225f2dd9b8060c1c3a287 /activerecord/CHANGELOG.md
parentf0330b620282b6c999679674ec54f7b2b9f83324 (diff)
downloadrails-4c8c31774a7c44080099f4a9c7e21d76fa097e09.tar.gz
rails-4c8c31774a7c44080099f4a9c7e21d76fa097e09.tar.bz2
rails-4c8c31774a7c44080099f4a9c7e21d76fa097e09.zip
Raises error when attempting to modify enum values
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 24a64e9deb..95f9cf6d14 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Values of enum are frozen, raising an error when attempting to modify them.
+
+ *Emmanuel Byrd*
+
* Move `ActiveRecord::StatementInvalid` SQL to error property and include binds as separate error property.
`ActiveRecord::ConnectionAdapters::AbstractAdapter#translate_exception_class` now requires `binds` to be passed as the last argument.