aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/railties/controller_runtime.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix db_runtime attribute value after raising ActionView::MissingTemplate ↵Igor2013-02-271-1/+2
| | | | exception
* nodoc AR::Railtie [ci skip]Francesco Rodriguez2012-09-211-2/+2
|
* Take into account time spent in AR even if a redirect occurs or if it is ↵Frederick Cheung2011-05-231-1/+3
| | | | after the render
* Add missing requireSantiago Pastorino2011-05-171-0/+1
|
* Added some docs to controller runtime.José Valim2011-05-141-1/+4
|
* Reset ActiveRecord::LogSubscriber runtime at the start of each requestTom Ward2011-05-141-0/+5
| | | | Previously the runtime was reset implicitly when #cleanup_view_runtime was called at the end of most requests. However, this doesn't happen when the request redirects, or send_file is called. Consequently, the ActiveRecord runtime recorded in the logs included the time taken for both the current request and the previous redirect. Explicitly resetting at the start of each request ensures that this can't happen, no matter what occurs previously.
* Move runtime back to the Thread.currentJosé Valim2010-07-261-3/+2
|
* Cache connection access.José Valim2010-07-251-2/+3
|
* Move runtime back to connection.José Valim2010-07-251-2/+2
|
* Revert the previous three commits.José Valim2010-07-251-3/+2
| | | | | | * AS::Notifications#instrument should not measure anything, it is not its responsibility; * Adding another argument to AS::Notifications#instrument API needs to be properly discussed;
* look up connection onceAaron Patterson2010-07-251-2/+3
|
* use a hash to collect optional statistics about the instrumentationAaron Patterson2010-07-251-2/+2
|
* Move runtime to log subscriber.José Valim2010-07-251-2/+2
|
* Do not send the whole controller in notifications, cherry pick required pieces.José Valim2010-01-151-2/+9
|
* Tidy up ActiveRecord and Views runtime information on process action logger.José Valim2010-01-141-3/+3
|
* Fix up AR extension by using Railties module instead of Rails and requiring ↵Jeremy Kemper2009-12-301-0/+31
ControllerRuntime at initialization time instead of boot