Update cache_model.rb

for mongoid