0 notes &
Caching Views is Not the View’s Job!
Хорошая статья о том, как правильно кэшировать фрагменты (и не только) в Rails с помощью cells.
class CartCell < Cell::Rails cache :show def show(items) @items = items render end
0 notes &
Хорошая статья о том, как правильно кэшировать фрагменты (и не только) в Rails с помощью cells.
class CartCell < Cell::Rails cache :show def show(items) @items = items render end