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.
Showing
想要评论请 注册 或 登录