instance method
warmup
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
warmup(sandbox)
No documentation comment.
Parameters
-
sandboxreq
Source
# File actionpack/lib/action_controller/request_profiler.rb, line 115
def warmup(sandbox)
Benchmark.realtime { sandbox.run(false) }
end
Defined in actionpack/lib/action_controller/request_profiler.rb line 115
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestProfiler