handle record_not_found exception with a redirect to root_url