質問

In other words, how do I throw a "404 - not found" in Ramaze?

役に立ちましたか?

解決

You can use the Innate::Helper::Redirect#respond (source) method which gets included into your controller to return any response:

def my_action    
  respond("Response body", 404)
end
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top