diff --git a/lib/generators/active_record/devise_generator.rb b/lib/generators/active_record/devise_generator.rb index 2198310da7..6018c934de 100644 --- a/lib/generators/active_record/devise_generator.rb +++ b/lib/generators/active_record/devise_generator.rb @@ -5,7 +5,7 @@ module ActiveRecord module Generators - class DeviseGenerator < ActiveRecord::Generators::Base + class DeviseGenerator < Base argument :attributes, type: :array, default: [], banner: "field:type field:type" class_option :primary_key_type, type: :string, desc: "The type for primary key"