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 -