Skip to content

Commit

Permalink
Active Record
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Jan 23, 2025
1 parent 69f7024 commit d9f7bef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ class Application < Rails::Application
# the new default of `true` breaks redirecting to shields.io.
config.action_controller.raise_on_open_redirects = false

config.active_support.executor_around_test_case = false

# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
config.force_ssl = (ENV["FORCE_SSL"] == "1")
config.ssl_options = {redirect: {exclude: ->(request) { request.path.match?(/^\/ping(\/|$)/) }}}
Expand Down

0 comments on commit d9f7bef

Please sign in to comment.