handle the ActiveRecord::RecordNotFound