if !@app_key
# throw error here for unknown app
Rails.logger.error { "Invalid APP Key provided #{app_key}" }
render :status => 412, :error => "Invalid App Key", :nothing => true
end
レンダリングを一致させる方法:status => 412、:error => "Invalid App Key"