activegraph icon indicating copy to clipboard operation
activegraph copied to clipboard

Allow specify column(s) to touch

Open JacobGalati opened this issue 4 years ago • 2 comments

Fixes #

This pull introduces/changes:

  • Implementing similar touch functionality to ActiveRecord
  • Allows specifying column(s) to touch in addition to updated_at.
  • If no attributes are passed, it will simply touch updated_at

JacobGalati avatar May 05 '20 00:05 JacobGalati

ActiveRecord's touch does not trigger update callbacks, but ActiveGraph does. I was considering changing that as well, but that would introduce backwards compatibility issues.

JacobGalati avatar May 05 '20 00:05 JacobGalati

Code Climate has analyzed commit a4844a2c and detected 0 issues on this pull request.

View more on Code Climate.

codeclimate[bot] avatar May 05 '20 00:05 codeclimate[bot]