File tree 3 files changed +4
-2
lines changed
no_active_record/app/models/in_memory
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ namespace :no_active_record do
160
160
sh "rm -f #{ bindir } /rails"
161
161
sh "bundle exec rails new #{ example_app_dir } --no-rc --skip-active-record --skip-javascript --skip-bootsnap " \
162
162
"--skip-sprockets --skip-git --skip-test-unit --skip-listen --skip-bundle --skip-spring " \
163
- "--template=example_app_generator/generate_app.rb"
163
+ "--skip-action-text -- template=example_app_generator/generate_app.rb"
164
164
165
165
in_example_app ( app_dir : example_app_dir ) do
166
166
sh "./ci_retry_bundle_install.sh 2>&1"
Original file line number Diff line number Diff line change 1
1
raise "ActiveRecord is defined but should not be!" if defined? ( ::ActiveRecord )
2
2
3
+ require 'active_model'
4
+
3
5
module InMemory
4
6
module Persistence
5
7
def all
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ require_file_stub 'config/environment' do
28
28
require "action_view/railtie"
29
29
if Rails ::VERSION ::STRING >= '6'
30
30
require "action_cable/engine"
31
- require "action_mailbox/engine "
31
+ require "active_job/railtie "
32
32
end
33
33
34
34
# Require the gems listed in Gemfile, including any gems
You can’t perform that action at this time.
0 commit comments