2014-02-27から1日間の記事一覧
grape側のAPIで { error: "not exist cache" }.to_json format :json 指定したらいらないらしいto_jsonを行った場合に以下のような違いが出てくる。 expected: "{\"error\":\"not exist cache\"}" got: "\"{\\\"error\\\":\\\"not exist cache\\\"}\"" テス…
grape側のAPIで { error: "not exist cache" }.to_json format :json 指定したらいらないらしいto_jsonを行った場合に以下のような違いが出てくる。 expected: "{\"error\":\"not exist cache\"}" got: "\"{\\\"error\\\":\\\"not exist cache\\\"}\"" テス…