Let rails handle RecordNotFound in orders controller

Fixes #4044