RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: steventen
Site: stevenyue.com
I have a question.
For the expression:
Rails.cache.fetch([:category, category_id, :name], expires_in: 5.minutes)
Why you didnt use :category_id here, why category_id do not need to symbolize, but category and name need to?
How can u get rid of the "page=1" on the url link?
Seems there's something wrong with the coffee indent. I'm new to this. What's wrong with it?
Hi, I followed the tutorial step by step
but my remove function won't work.
add function work fine, remove using checkbox works fine. Why?
I have a question.
For the expression:
Rails.cache.fetch([:category, category_id, :name], expires_in: 5.minutes)
Why you didnt use :category_id here, why category_id do not need to symbolize, but category and name need to?
How can u get rid of the "page=1" on the url link?
Seems there's something wrong with the coffee indent. I'm new to this. What's wrong with it?
Hi, I followed the tutorial step by step
but my remove function won't work.
add function work fine, remove using checkbox works fine. Why?