Changed Base.default_timezone to default_timezone
This commit is contained in:
parent
d8d30b99c8
commit
6a246665f4
@ -2,7 +2,7 @@ require 'speedtest'
|
|||||||
require 'sinatra/activerecord'
|
require 'sinatra/activerecord'
|
||||||
|
|
||||||
Time.zone = "America/Campo_Grande"
|
Time.zone = "America/Campo_Grande"
|
||||||
ActiveRecord::Base.default_timezone = :local
|
ActiveRecord.default_timezone = :local
|
||||||
|
|
||||||
class Rate < ActiveRecord::Base
|
class Rate < ActiveRecord::Base
|
||||||
def self.transfer(type_transfer)
|
def self.transfer(type_transfer)
|
||||||
|
Loading…
Reference in New Issue
Block a user