aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/CHANGELOG.md
diff options
context:
space:
mode:
authorGabriel Sobrinho <gabriel.sobrinho@gmail.com>2012-08-12 17:38:22 -0300
committerGabriel Sobrinho <gabriel.sobrinho@gmail.com>2012-08-24 15:26:17 -0300
commit2f3eb484f2712ba1833fea758ee85e49c374fc5b (patch)
tree119c197b8f2b746ed55e6cac2ab2f3d562a2659c /activemodel/CHANGELOG.md
parent2c571b3f0544a6457db4818e752f4cd4bacd48b4 (diff)
downloadrails-2f3eb484f2712ba1833fea758ee85e49c374fc5b.tar.gz
rails-2f3eb484f2712ba1833fea758ee85e49c374fc5b.tar.bz2
rails-2f3eb484f2712ba1833fea758ee85e49c374fc5b.zip
Accept a symbol for `:in` option on inclusion and exclusion validators
Diffstat (limited to 'activemodel/CHANGELOG.md')
-rw-r--r--activemodel/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md
index a8f470397b..1916c3439a 100644
--- a/activemodel/CHANGELOG.md
+++ b/activemodel/CHANGELOG.md
@@ -1,5 +1,11 @@
## Rails 4.0.0 (unreleased) ##
+* Changed inclusion and exclusion validators to accept a symbol for `:in` option.
+
+ This allows to use dynamic inclusion/exclusion values using methods, besides the current lambda/proc support.
+
+ *Gabriel Sobrinho*
+
* `AM::Validation#validates` ability to pass custom exception to `:strict` option.
*Bogdan Gusiev*