aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-27 02:31:39 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-27 03:40:53 +0900
commitd333d85254d27cd572e6ecce8ee850c107a4f340 (patch)
treeee09f2979268cc1f3831ce83ef7d366418157750 /activestorage
parentb78e3b5e21b9924324c4391cc58afac8c7b4cccb (diff)
downloadrails-d333d85254d27cd572e6ecce8ee850c107a4f340.tar.gz
rails-d333d85254d27cd572e6ecce8ee850c107a4f340.tar.bz2
rails-d333d85254d27cd572e6ecce8ee850c107a4f340.zip
Don't cache `find_by` statements on STI subclasses
Caching `find_by` statements on STI subclasses is unsafe, since `type IN (?,?,?,?)` part is dynamic, and we don't have SQL statements cache invalidation when a STI subclass is created or removed for now.
Diffstat (limited to 'activestorage')
0 files changed, 0 insertions, 0 deletions