ordering by date for previous and next post using rails 4 syntax