diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-05-28 00:06:02 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-07-30 00:03:16 +0900 |
commit | 975fa15b47e4ef47a3b46f0e946860a076167149 (patch) | |
tree | 055e43b7bb8306e16ba89d66784c38deab1e0ea4 /activerecord/test/cases | |
parent | 14931e537f3dcd522b68a5b640aa47272602a137 (diff) | |
download | rails-975fa15b47e4ef47a3b46f0e946860a076167149.tar.gz rails-975fa15b47e4ef47a3b46f0e946860a076167149.tar.bz2 rails-975fa15b47e4ef47a3b46f0e946860a076167149.zip |
Extract `Relation#update_counters` for internal use
The target object for counter cache is not always determined by the
primary key value on the model. I'd like to extract `update_couters`
onto the `Relation` for the internal use.
Diffstat (limited to 'activerecord/test/cases')
0 files changed, 0 insertions, 0 deletions