Workaround for ActiveRecord::Base.default_timezone must be :utc to use Groupdate
rafaelfvalim opened this issue · comments
Rafael Valim commented
Workaround for ActiveRecord::Base.default_timezone must be :utc to use Groupdate
I tried this solution but line_chart does not work
create initializer file (/config/initializers/search.rb) :
module Searchjoy
class Search < ActiveRecord::Base
def self.default_timezone
:utc
end
end
end
any idea?