Path: | doc/release_notes/5.4.0.txt |
Last Update: | Sat Jun 02 02:04:22 +0000 2018 |
This can speed up model loaded in certain cases when the auto_validations plugin is used.
It only makes sense to use this extension when the times in the database are stored in UTC but not returned with timezone information, the timezone for the Database instance (or Sequel.database_timezone) is set to :utc (not the default), and Time is used as the datetime_class (the default).
Model#save now checks for a false value returned by Dataset#insert_select, and does not issue another INSERT statement in that case.
DB.extend_datasets do def supports_timestamp_usecs? false end end