diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-27 02:31:39 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-27 03:40:53 +0900 |
commit | d333d85254d27cd572e6ecce8ee850c107a4f340 (patch) | |
tree | ee09f2979268cc1f3831ce83ef7d366418157750 /actionview/test/activerecord | |
parent | b78e3b5e21b9924324c4391cc58afac8c7b4cccb (diff) | |
download | rails-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 'actionview/test/activerecord')
0 files changed, 0 insertions, 0 deletions