RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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.

https://medium.com/little-programming-joys/be-aware-of-time-operations-when-using-cache-with-expires-in-ed8d8b5a93be#.tn210vigs

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in