aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorGriffin Smith <wildgriffin45@gmail.com>2015-07-10 11:32:18 -0400
committerGriffin Smith <wildgriffin45@gmail.com>2016-01-09 14:49:00 -0500
commit21c0a1f3016b1de81f455f2a242803db91f96f17 (patch)
treeddd93f8de3d51333bd0ab18fb2f7181368c5500e /activerecord/CHANGELOG.md
parent9d681fc74c6251d5f2b93fa9576c9b2113116680 (diff)
downloadrails-21c0a1f3016b1de81f455f2a242803db91f96f17.tar.gz
rails-21c0a1f3016b1de81f455f2a242803db91f96f17.tar.bz2
rails-21c0a1f3016b1de81f455f2a242803db91f96f17.zip
Support :if and :unless in has_secure_token
Pass through :if and :unless options from has_secure_token to the generated before_create callback
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 3199951f68..56ac3b95b3 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Support `:if` and `:unless` options in `has_secure_token`
+
+ *Griffin Smith*
+
* Use `version` column as primary key for schema_migrations table because
schema_migrations versions are guaranteed to be unique.