diff options
author | Xavier Noria <fxn@hashref.com> | 2011-11-28 11:07:01 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-11-28 11:07:01 +0100 |
commit | 152bd3c510a735dfb493017ecb487e931e9791a8 (patch) | |
tree | 7d8f496cc3e6617ef71cab915cda7d419449f7d0 /actionpack/lib/action_view.rb | |
parent | ad5c8b0d5228c32355621162e1be211208ae3f5c (diff) | |
download | rails-152bd3c510a735dfb493017ecb487e931e9791a8.tar.gz rails-152bd3c510a735dfb493017ecb487e931e9791a8.tar.bz2 rails-152bd3c510a735dfb493017ecb487e931e9791a8.zip |
Revert "Used any? instead of length call"
Reason: This is slower, and any? is not equivalent in the
general case.
See discussion in https://github.com/rails/rails/pull/3779
This reverts commit 20cbf8eddc3844126d20f1218f068889d17b0dcf.
Diffstat (limited to 'actionpack/lib/action_view.rb')
0 files changed, 0 insertions, 0 deletions