From 2f3eb484f2712ba1833fea758ee85e49c374fc5b Mon Sep 17 00:00:00 2001 From: Gabriel Sobrinho Date: Sun, 12 Aug 2012 17:38:22 -0300 Subject: Accept a symbol for `:in` option on inclusion and exclusion validators --- activemodel/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activemodel/CHANGELOG.md') 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* -- cgit v1.2.3