activegraph
activegraph copied to clipboard
Allow specify column(s) to touch
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
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.
Code Climate has analyzed commit a4844a2c and detected 0 issues on this pull request.
View more on Code Climate.