diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-09-19 14:31:12 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-09-19 14:32:18 -0400 |
commit | e184d1a94e3ecfbc22823fbb9097992158a40cb2 (patch) | |
tree | 141065394a633772edfd13dbecd11bab5eba1261 /railties/lib/rails/console | |
parent | 1b90f614b1b3d06b7f02a8b9ea6cd84f15d58643 (diff) | |
download | rails-e184d1a94e3ecfbc22823fbb9097992158a40cb2.tar.gz rails-e184d1a94e3ecfbc22823fbb9097992158a40cb2.tar.bz2 rails-e184d1a94e3ecfbc22823fbb9097992158a40cb2.zip |
Don't return the same object when using find with an empty array
When you pass an empty array to find we know we shoudl return an empty
array but it is surprising that we are returning the original empty
array instead of a new one.
Diffstat (limited to 'railties/lib/rails/console')
0 files changed, 0 insertions, 0 deletions