Closed ck3g closed 9 years ago
Now I'm not sure if deprecation is a good thing =)
We can get rid of that warning and just leave it as an alias.
Or keep :success
in docs but change it to :ok
under the hood before passing to the Rack::Utils.status_code
Good spot - I will update this shortly.
Hey @ck3g - thanks for this. I've removed the deprecation and just replaced it if :success is used.
To receive 200 response code
Rack::Utils.status_code
should receive:ok
as argument value instead of:success
.http://rubydoc.info/github/rack/rack/Rack/Utils