From ce696631311cfb531127ccd3ba979f7faf197ebb Mon Sep 17 00:00:00 2001 From: Grzegorz Jakubiak Date: Sun, 4 Jul 2021 18:39:35 +0200 Subject: [PATCH] Run rubocop --- lib/activeadmin-mongoid.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/activeadmin-mongoid.rb b/lib/activeadmin-mongoid.rb index 57ddd40..36bf582 100644 --- a/lib/activeadmin-mongoid.rb +++ b/lib/activeadmin-mongoid.rb @@ -9,7 +9,6 @@ # and thereby pushing ActiveAdmin::Generators::InstallGenerator to use our empty create_migrations method. Rails::Generators::NamedBase.class_eval do - def create_migrations end @@ -17,7 +16,7 @@ def self.inherited(klass) super if klass.name == "ActiveAdmin::Generators::InstallGenerator" - klass.class_eval do + klass.class_eval do def self.method_added(method_name) super remove_method method_name if method_name == :create_migrations @@ -26,4 +25,3 @@ def self.method_added(method_name) end end end -