Changed Base.default_timezone to default_timezone

This commit is contained in:
Luiz F Picolo 2023-09-11 22:25:26 -04:00
parent d8d30b99c8
commit 6a246665f4

View File

@ -2,7 +2,7 @@ require 'speedtest'
require 'sinatra/activerecord'
Time.zone = "America/Campo_Grande"
ActiveRecord::Base.default_timezone = :local
ActiveRecord.default_timezone = :local
class Rate < ActiveRecord::Base
def self.transfer(type_transfer)