Commit f84f43b1 authored by Yorick Peterse's avatar Yorick Peterse

require rails/generators for generators

Because this code resides in lib/ it may be eager loaded. Rails in turn
doesn't define Rails::Generators by default unless you explicitly
require "rails/generators".
parent 3981f9f9
Pipeline #4832860 failed with stages
in 60 minutes and 5 seconds
require 'rails/generators'
module Rails
class PostDeploymentMigrationGenerator < Rails::Generators::NamedBase
def create_migration_file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment