File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 88 os : [ubuntu-latest]
99 ruby : [2.5, 2.6, 2.7]
1010 runs-on : ${{ matrix.os }}
11+
12+ services :
13+ mongodb :
14+ image : mongo
15+ ports :
16+ - 27017:27017
17+
1118 steps :
1219 - uses : actions/checkout@v2
1320 - uses : ruby/setup-ruby@v1
Original file line number Diff line number Diff line change 99# and thereby pushing ActiveAdmin::Generators::InstallGenerator to use our empty create_migrations method.
1010
1111Rails ::Generators ::NamedBase . class_eval do
12-
1312 def create_migrations
1413 end
1514
1615 def self . inherited ( klass )
1716 super
1817 if klass . name == "ActiveAdmin::Generators::InstallGenerator"
1918
20- klass . class_eval do
19+ klass . class_eval do
2120 def self . method_added ( method_name )
2221 super
2322 remove_method method_name if method_name == :create_migrations
@@ -26,4 +25,3 @@ def self.method_added(method_name)
2625 end
2726 end
2827end
29-
You can’t perform that action at this time.
0 commit comments