Skip to content

Commit

Permalink
Remove Ruby 2.4 to_time fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Oct 31, 2023
1 parent 26f68c1 commit b3656b8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions config/initializers/new_framework_defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@
# Enable origin-checking CSRF mitigation. Previous versions had false.
Rails.application.config.action_controller.forgery_protection_origin_check = false

# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
# Previous versions had false.
ActiveSupport.to_time_preserves_timezone = false

# Require `belongs_to` associations by default. Previous versions had false.
Rails.application.config.active_record.belongs_to_required_by_default = false

0 comments on commit b3656b8

Please sign in to comment.