aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/dynamic_matchers.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-07-24 21:29:29 +0200
committerXavier Noria <fxn@hashref.com>2016-07-24 21:29:29 +0200
commit95b2a6abc7c9ac46ddbabe96a26e280f25a78aa7 (patch)
tree930413f2f8fc5e4369efb39dc5a7a2c827213ccb /activerecord/lib/active_record/dynamic_matchers.rb
parent5a83f054244288032a7c41c13c870674e61b14ae (diff)
downloadrails-95b2a6abc7c9ac46ddbabe96a26e280f25a78aa7.tar.gz
rails-95b2a6abc7c9ac46ddbabe96a26e280f25a78aa7.tar.bz2
rails-95b2a6abc7c9ac46ddbabe96a26e280f25a78aa7.zip
adds missing requires
Diffstat (limited to 'activerecord/lib/active_record/dynamic_matchers.rb')
-rw-r--r--activerecord/lib/active_record/dynamic_matchers.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/dynamic_matchers.rb b/activerecord/lib/active_record/dynamic_matchers.rb
index 88cb66d977..0bdebb3989 100644
--- a/activerecord/lib/active_record/dynamic_matchers.rb
+++ b/activerecord/lib/active_record/dynamic_matchers.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/regexp'
+
module ActiveRecord
module DynamicMatchers #:nodoc:
def respond_to?(name, include_private = false)