Skip to content

Commit

Permalink
support rails 8 deprecation
Browse files Browse the repository at this point in the history
- continues to use current existing behaviour of :offset
  • Loading branch information
asmega committed Nov 28, 2024
1 parent 8f9957c commit 97bdcad
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 @@ -73,5 +73,7 @@ class Application < Rails::Application
config.active_record.yaml_column_permitted_classes = [BigDecimal, Date, Symbol]

config.email_regexp = /\A[a-zA-Z0-9.!\#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+\z/

config.active_support.to_time_preserves_timezone = :offset
end
end

0 comments on commit 97bdcad

Please sign in to comment.