aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/fixtures/project.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-12 23:28:31 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-12 23:28:31 +0100
commit2286fa94716b138a7763e95ade87a7582864bb42 (patch)
tree2add62f200f3aac7b25a9e829485cab829088c93 /actionview/test/fixtures/project.rb
parent40599d1d7468e8d13932ada859987d9d2f32cb18 (diff)
downloadrails-2286fa94716b138a7763e95ade87a7582864bb42.tar.gz
rails-2286fa94716b138a7763e95ade87a7582864bb42.tar.bz2
rails-2286fa94716b138a7763e95ade87a7582864bb42.zip
Prefer empty? to any?.
If the collection isn't empty any? will loop through it. Spare the loop and be more concise with what we're asking the collection about.
Diffstat (limited to 'actionview/test/fixtures/project.rb')
0 files changed, 0 insertions, 0 deletions