rails-api-12: displaying validation errors