Make ActiveRecord's PostgreSQL adapter use timestamptz as datetime columns.
gem install ar-timestamptz
Or add the following line to your project's Gemfile:
gem "ar-timestamptz"
That's it! You don't have to configure anything.
For more details about how to contribute, please read https://github.com/fnando/ar-timestamptz/blob/main/CONTRIBUTING.md.
The gem is available as open source under the terms of the MIT License. A copy of the license can be found at https://github.com/fnando/ar-timestamptz/blob/main/LICENSE.md.
Everyone interacting in the ar-timestamptz project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.