LendingHome / active_record-updated_at

Touch `updated_at` by default with calls to `update_all` and `update_column(s)`
MIT License
26 stars 5 forks source link

Refactor using `prepend` and blocks to enable/disable behavior #1

Closed shuber closed 7 years ago

shuber commented 7 years ago

Now the only method that this gem actually needs to patch is ActiveRecord::Relation#update_all since the other update_column(s) methods call out to update_all under the hood.