aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-05-09 17:31:13 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-05-09 17:31:13 -0700
commitdbb0bd8f3a43df9881033136421be4ad219b19b5 (patch)
tree87683270c37e82851abf364e20bde93da4384e10 /activerecord/test/cases
parent73a7b52f0182a789bf45d4b0c23384911d1ed034 (diff)
downloadrails-dbb0bd8f3a43df9881033136421be4ad219b19b5.tar.gz
rails-dbb0bd8f3a43df9881033136421be4ad219b19b5.tar.bz2
rails-dbb0bd8f3a43df9881033136421be4ad219b19b5.zip
skip dealing with params if none are provided
This lets us avoid 1. A slow call to Hash#slice 2. An is_a? test 3. Extra hash allocations (from slice) 4. String allocations etc.
Diffstat (limited to 'activerecord/test/cases')
0 files changed, 0 insertions, 0 deletions