Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Active Record] require => require_relative | Akira Matsuda | 2017-10-21 | 1 | -1/+1 |
| | | | | This basically reverts 9d4f79d3d394edb74fa2192e5d9ad7b09ce50c6d | ||||
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 1 | -0/+2 |
| | |||||
* | [Active Record] require => require_relative | Akira Matsuda | 2017-07-01 | 1 | -1/+1 |
| | |||||
* | Privatize unneededly protected methods in Active Record | Akira Matsuda | 2016-12-24 | 1 | -0/+2 |
| | |||||
* | Describe what we are protecting | Akira Matsuda | 2016-12-23 | 1 | -0/+2 |
| | |||||
* | applies new string literal convention in activerecord/lib | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Check if the logger exists before trying to use it | Rafael Mendonça França | 2016-07-17 | 1 | -1/+1 |
| | |||||
* | Don't invoke sql_runtime if logger is not set to info | eileencodes | 2015-04-04 | 1 | -1/+1 |
| | | | | | | | | | `sql_runtime` was getting invoked even when the logger was set to fatal. This ensures that does not happen by checking that the logger is set to info level before logging the view runtime. This reduces the number of times `sql_runtime` is called for integration tests with a fatal logger from 6 to 2. | ||||
* | fix db_runtime attribute value after raising ActionView::MissingTemplate ↵ | Igor | 2013-02-27 | 1 | -1/+2 |
| | | | | exception | ||||
* | nodoc AR::Railtie [ci skip] | Francesco Rodriguez | 2012-09-21 | 1 | -2/+2 |
| | |||||
* | Take into account time spent in AR even if a redirect occurs or if it is ↵ | Frederick Cheung | 2011-05-23 | 1 | -1/+3 |
| | | | | after the render | ||||
* | Add missing require | Santiago Pastorino | 2011-05-17 | 1 | -0/+1 |
| | |||||
* | Added some docs to controller runtime. | José Valim | 2011-05-14 | 1 | -1/+4 |
| | |||||
* | Reset ActiveRecord::LogSubscriber runtime at the start of each request | Tom Ward | 2011-05-14 | 1 | -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.current | José Valim | 2010-07-26 | 1 | -3/+2 |
| | |||||
* | Cache connection access. | José Valim | 2010-07-25 | 1 | -2/+3 |
| | |||||
* | Move runtime back to connection. | José Valim | 2010-07-25 | 1 | -2/+2 |
| | |||||
* | Revert the previous three commits. | José Valim | 2010-07-25 | 1 | -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 once | Aaron Patterson | 2010-07-25 | 1 | -2/+3 |
| | |||||
* | use a hash to collect optional statistics about the instrumentation | Aaron Patterson | 2010-07-25 | 1 | -2/+2 |
| | |||||
* | Move runtime to log subscriber. | José Valim | 2010-07-25 | 1 | -2/+2 |
| | |||||
* | Do not send the whole controller in notifications, cherry pick required pieces. | José Valim | 2010-01-15 | 1 | -2/+9 |
| | |||||
* | Tidy up ActiveRecord and Views runtime information on process action logger. | José Valim | 2010-01-14 | 1 | -3/+3 |
| | |||||
* | Fix up AR extension by using Railties module instead of Rails and requiring ↵ | Jeremy Kemper | 2009-12-30 | 1 | -0/+31 |
ControllerRuntime at initialization time instead of boot |