Skip to content

Commit

Permalink
Configure to_time_preserves_timezone
Browse files Browse the repository at this point in the history
This hides a warning when running tests.
  • Loading branch information
joeldrapper committed Feb 16, 2025
1 parent fd527d9 commit 2ac984f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/quickdraw.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class App < Rails::Application
config.autoload_paths << "#{root}/app/view_components"
config.secret_key_base = "secret-key"
config.action_dispatch.show_exceptions = :rescuable
config.active_support.to_time_preserves_timezone = :zone

routes.append do
resources :posts
Expand Down

0 comments on commit 2ac984f

Please sign in to comment.