rails 404 when page not found or post date is wrong