aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations/with.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2016-10-25 09:35:21 +0900
committerAkira Matsuda <ronnie@dio.jp>2016-10-25 09:35:21 +0900
commitbe623bf55fee51f26d38f96cbba46b95b1933c4c (patch)
treeed8ccfea3dad8f313feb1644abbe626596144881 /activemodel/lib/active_model/validations/with.rb
parentd9bd2f5b8b393f7192636229517bf6ba8da80af8 (diff)
downloadrails-be623bf55fee51f26d38f96cbba46b95b1933c4c.tar.gz
rails-be623bf55fee51f26d38f96cbba46b95b1933c4c.tar.bz2
rails-be623bf55fee51f26d38f96cbba46b95b1933c4c.zip
Missing require extract_options
Diffstat (limited to 'activemodel/lib/active_model/validations/with.rb')
-rw-r--r--activemodel/lib/active_model/validations/with.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/validations/with.rb b/activemodel/lib/active_model/validations/with.rb
index 6de01b3392..6ae9630d82 100644
--- a/activemodel/lib/active_model/validations/with.rb
+++ b/activemodel/lib/active_model/validations/with.rb
@@ -1,3 +1,5 @@
+require "active_support/core_ext/array/extract_options"
+
module ActiveModel
module Validations
class WithValidator < EachValidator # :nodoc: