aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorMarcin Olichwirowicz <olichwirowicz@gmail.com>2015-08-13 01:00:49 +0200
committerMarcin Olichwirowicz <olichwirowicz@gmail.com>2015-08-13 01:00:49 +0200
commitfc22cb88ed1972444e7e0d91a28926901d280a60 (patch)
treed1e0255dfdb8592429a582c799464a771578f945 /activemodel
parent0c15b85d5d0fada21306ec6da8b2bb0470fefc68 (diff)
downloadrails-fc22cb88ed1972444e7e0d91a28926901d280a60.tar.gz
rails-fc22cb88ed1972444e7e0d91a28926901d280a60.tar.bz2
rails-fc22cb88ed1972444e7e0d91a28926901d280a60.zip
Simplify code
Since we are always responding with an array and using `any?`, we don't need to check if an array is empty
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions