aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/bin/test
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2016-05-02 16:36:17 -0500
committerSean Griffin <sean@seantheprogrammer.com>2016-05-02 16:36:17 -0500
commit98264a1343fad6bb6637893a37fd571916b4158c (patch)
treebd92269be100b52382e69a485f9675c1fa6fda7f /activemodel/bin/test
parente0a9baa044022eea52b8c4b36689396dac165944 (diff)
downloadrails-98264a1343fad6bb6637893a37fd571916b4158c.tar.gz
rails-98264a1343fad6bb6637893a37fd571916b4158c.tar.bz2
rails-98264a1343fad6bb6637893a37fd571916b4158c.zip
Do not delegate `AR::Base#empty?` to `all`
Unlike `one?` and `none?`, `empty?` has interactions with methods outside of enumerable. It also doesn't fit in the same vein. `Topic.any?` makes sense. `Topic.empty?` does not, as `Topic` is not a container. Fixes #24808 Close #24812
Diffstat (limited to 'activemodel/bin/test')
0 files changed, 0 insertions, 0 deletions