aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/rails
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/rails
parent5a83f054244288032a7c41c13c870674e61b14ae (diff)
downloadrails-95b2a6abc7c9ac46ddbabe96a26e280f25a78aa7.tar.gz
rails-95b2a6abc7c9ac46ddbabe96a26e280f25a78aa7.tar.bz2
rails-95b2a6abc7c9ac46ddbabe96a26e280f25a78aa7.zip
adds missing requires
Diffstat (limited to 'activerecord/lib/rails')
-rw-r--r--activerecord/lib/rails/generators/active_record/migration/migration_generator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb b/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb
index 54c958e30b..de03550ec2 100644
--- a/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb
+++ b/activerecord/lib/rails/generators/active_record/migration/migration_generator.rb
@@ -1,4 +1,5 @@
require 'rails/generators/active_record'
+require 'active_support/core_ext/regexp'
module ActiveRecord
module Generators # :nodoc: