aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping/default.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-03-16 08:22:35 +0100
committerXavier Noria <fxn@hashref.com>2016-03-16 08:32:01 +0100
commit4b80395130946094a45279ede9ad6a627ff02b08 (patch)
tree748b4142eac7df88ea4f38c40427d7736d049227 /activerecord/lib/active_record/scoping/default.rb
parent49f9dce5b9686ffe759239cb3b9fba78deae4fcf (diff)
downloadrails-4b80395130946094a45279ede9ad6a627ff02b08.tar.gz
rails-4b80395130946094a45279ede9ad6a627ff02b08.tar.bz2
rails-4b80395130946094a45279ede9ad6a627ff02b08.zip
removes unreachable code
This array literal cannot be reached. The previous begin either returns to the caller via the explicit return in the ensure block if all goes well, or else propagates whatever make the begin block abort execution. I have investigated the origin of this a bit. In the past the ensure block didn't have a return call, see for example c08547d. Later on the return was added in 4da4506, but the trailing literal was left there.
Diffstat (limited to 'activerecord/lib/active_record/scoping/default.rb')
0 files changed, 0 insertions, 0 deletions