How do I expire a view cached fragment from console?

前端 未结 4 887
耶瑟儿~
耶瑟儿~ 2020-12-28 16:53

Something like

Rails.cache.delete(\'site_search_form\')

doesn\'t seem to work. Is this possible? Thanks.

4条回答
提交回复
热议问题