aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2016-06-14 12:31:08 -0400
committerArthur Neves <arthurnn@gmail.com>2016-06-14 12:37:50 -0400
commit009b2a54344eb2463fa4018d9b20cdfc4c0495ac (patch)
treec68c9d5ba83aee03675a564cbb2df572489a63ed /tools
parent596669cfac8e63d14f905bc1a8891796d3c00b02 (diff)
downloadrails-009b2a54344eb2463fa4018d9b20cdfc4c0495ac.tar.gz
rails-009b2a54344eb2463fa4018d9b20cdfc4c0495ac.tar.bz2
rails-009b2a54344eb2463fa4018d9b20cdfc4c0495ac.zip
Respect the current `connected?` method when calling `cache`
Before we enable query caching we check if the connection is connected. Before this fix we were always checking against the main connection, and not the model connection.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions