aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_controller_overview.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-12-04 14:33:31 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-12-04 14:33:31 +0900
commit4d7354aa352b94ec3a10ad053cff04890c534080 (patch)
treeacba17f5b5c2a65d61ee6dcee06d82d742491ecb /guides/source/action_controller_overview.md
parent6ca6478a67ecdff58c29d10cd408b7259ed89e2b (diff)
downloadrails-4d7354aa352b94ec3a10ad053cff04890c534080.tar.gz
rails-4d7354aa352b94ec3a10ad053cff04890c534080.tar.bz2
rails-4d7354aa352b94ec3a10ad053cff04890c534080.zip
Ensure that `delete_all` on collection proxy returns affected count
Unlike the `Relation#delete_all`, `delete_all` on collection proxy doesn't return affected count. Since the `CollectionProxy` is a subclass of the `Relation`, this inconsistency is probably not intended, so it should return the count consistently.
Diffstat (limited to 'guides/source/action_controller_overview.md')
0 files changed, 0 insertions, 0 deletions