aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-07-22 13:49:50 +0900
committerArun Agrawal <arunagw@gmail.com>2013-09-10 19:57:52 +0200
commit5374960a04d7333ced9b6c4ca36b708af498b1ca (patch)
treecc3a3276b79681050424be1a2a0b3fc0a4df3de1 /activerecord/lib
parentad6adcb601a6c556a96381e887ef4e4c39c0968b (diff)
downloadrails-5374960a04d7333ced9b6c4ca36b708af498b1ca.tar.gz
rails-5374960a04d7333ced9b6c4ca36b708af498b1ca.tar.bz2
rails-5374960a04d7333ced9b6c4ca36b708af498b1ca.zip
Use Ruby 2.0 caller_locations instead of caller if available
* we no more have to manipulate the each caller strings by ourselves using caller_locations * caller_locations runs slightly faster, and creates less objects than good old caller Benchmark (loading an Engine 1000 times): caller: 262.89 ms caller_locations: 186.068 ms
Diffstat (limited to 'activerecord/lib')
0 files changed, 0 insertions, 0 deletions