From 5b22538ae501f79e3e6e3691b3d2a430a5305427 Mon Sep 17 00:00:00 2001 From: santu essence Date: Thu, 17 Aug 2023 10:25:06 +0530 Subject: [PATCH] Inherit from only base. --- lib/generators/active_record/devise_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"