rescued record not found error in controller