Skip to content

Commit

Permalink
Test pass except for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
lcreid committed Oct 19, 2023
1 parent c045356 commit e362fc6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion demo/bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FileUtils.chdir APP_ROOT do
# end

puts "\n== Preparing database =="
system! "bin/rails db:prepare"
system! "bin/rails db:setup"

puts "\n== Removing old logs and tempfiles =="
system! "bin/rails log:clear tmp:clear"
Expand Down
4 changes: 2 additions & 2 deletions demo/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
module Dummy
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.1
config.load_defaults([Rails::VERSION::MAJOR, Rails::VERSION::MINOR].join("."))

# Please, add to the `ignore` list any other `lib` subdirectories that do
# not contain `.rb` files, or that should not be reloaded or eager loaded.
# Common ones are `templates`, `generators`, or `middleware`, for example.
config.autoload_lib(ignore: %w(assets tasks))
config.autoload_lib(ignore: %w(assets tasks)) if config.respond_to?(:autoload_lib)

# Configuration for the application, engines, and railties goes here.
#
Expand Down
2 changes: 1 addition & 1 deletion demo/config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@
# config.action_cable.disable_request_forgery_protection = true

# Raise error when a before_action's only/except options reference missing actions
config.action_controller.raise_on_missing_callback_actions = true
# config.action_controller.raise_on_missing_callback_actions = true
end
2 changes: 1 addition & 1 deletion demo/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
# config.action_view.annotate_rendered_view_with_filenames = true

# Raise error when a before_action's only/except options reference missing actions
config.action_controller.raise_on_missing_callback_actions = true
# config.action_controller.raise_on_missing_callback_actions = true
end

0 comments on commit e362fc6

Please sign in to comment.