-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
I can't get Mongoid's .cache scope to work.
User.where(name: 'Bob').cache.first keeps hitting the DB. Am I doing something wrong?
I can't get Mongoid's .cache scope to work.
User.where(name: 'Bob').cache.first keeps hitting the DB. Am I doing something wrong?