Easily handle deadline-based workflow transitions in Rails