##Set auto expiration for rails models.
This is a simple view logic that moves objects based on a predetermined date.
Let's say we have a bunch of events(or posts) on our index page and we want to sort out which of these are still active and which are not (based on the time).
We want the active ones to be clickable and prominent, we want the non-active ones to be greyed-out or even hidden. So how do we do this?
Rails provide a simple yet powerful method: future?()