From 499c6aa684263feb1bd24faea70e6dde79ab238b Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 13 Mar 2014 12:02:32 -0700 Subject: [PATCH] require actions rather than create_file thor's create_file seems to have a circular dependency on itself when used with our constant loading stuff. fixes #14319 --- railties/lib/rails/generators/actions/create_migration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/lib/rails/generators/actions/create_migration.rb b/railties/lib/rails/generators/actions/create_migration.rb index 9c3332927f..cf3b7acfff 100644 --- a/railties/lib/rails/generators/actions/create_migration.rb +++ b/railties/lib/rails/generators/actions/create_migration.rb @@ -1,4 +1,4 @@ -require 'thor/actions/create_file' +require 'thor/actions' module Rails module Generators