{"shas":[["518ffcd168776cfaaae49faad9650621b32f148e","96835dd8bfa718bd6447ccc87af89ae1675daeca@popdog.net","Escape regex in controller_runtime_test to actually check that the ActiveRecord message appears","Tom Ward"],["6d961242848ffe0eac69f190fd02f44aaeef3e0a","96835dd8bfa718bd6447ccc87af89ae1675daeca@popdog.net","Reset ActiveRecord::LogSubscriber runtime at the start of each request\n\nPreviously 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.","Tom Ward"],["c4837f6ce3f9864c4b98c9051f99e1f0b428f9d6","0c2436ea76ed86e37cc05f66dea18d48ef390882@gmail.com","Merge pull request #554 from tomafro/reset-activerecord-runtime-before-each-request\n\nActiveRecord::LogSubscriber.runtime should be reset at the start of each request","José Valim"]],"repo":"rails/rails","actor":"josevalim","ref":"refs/heads/master","size":3,"head":"c4837f6ce3f9864c4b98c9051f99e1f0b428f9d6","actor_gravatar":"e837f6b7fd146ab16ed3d663476c063e","push_id":31350313}