stex / setting_accessors

Global key-value-store and database-persisted attribute accessors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[AR >= 5.1] Do not change updated_at on create_or_update if nothing was changed

stex opened this issue · comments

Currently, a record's updated_at column is altered on create_or_update calls (save, update_attributes, ...) even if neither attributes nor settings were changed.

In vanilla AR >= 5.1, this is not the case and setting_accessors should therefore behave the same way and not change the updated_at column.