Rails5.1から render nothing: true が MissingTemplate になる
これだとダメになってた
class UsersController < ApplicationController def show render nothing: true end end
5.1だとどちらかで書けるようになっている
class UsersController < ApplicationController def show render body: nil end end
class UsersController < ApplicationController def show head :ok end end