ankane / searchjoy

Search analytics made easy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workaround for ActiveRecord::Base.default_timezone must be :utc to use Groupdate

rafaelfvalim opened this issue · comments

Workaround for ActiveRecord::Base.default_timezone must be :utc to use Groupdate

Groupdate Issue#66

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?

ezoic increase your site revenue