rails/activerecord/test/cases/adapters
Sean Griffin f1a0fa9e19 Refactor microsecond precision to be database agnostic
The various databases don't actually need significantly different
handling for this behavior, and they can achieve it without knowing
about the type of the object.

The old implementation was returning a string, which will cause problems
such as breaking TZ aware attributes, and making it impossible for the
adapters to supply their logic for time objects.
2015-02-10 11:55:59 -07:00
..
mysql Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
mysql2 Refactor microsecond precision to be database agnostic 2015-02-10 11:55:59 -07:00
postgresql Refactor microsecond precision to be database agnostic 2015-02-10 11:55:59 -07:00
sqlite3 Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30