Be aware of time operations when using cache with expires_in
In the last post I exposed some methods to calculate time difference in seconds, minutes and hours using Ruby on Rails. Today, we will explore how a small difference on time operations can become a nightmare when dealing with cache with expires_in parameter.
Post a comment