sinatra/sinatra — pull request #935 by whatyouhide (2014-10-15 23:01:16+00:00)
Title: Make the `status` helper accept status messages as symbols as in Rack::Utils.status_code

Rack provides the `Rack::Utils.status_code` method which allows to retrieve a
response status code by its "symbolified" message: e.g. you can call
`status_code(:ok)` and it returns `200`. It's great also because if you pass
`'200'` or `200` to it, it still returns `200`.

By adding a call to `status_code` to the `status` method, nothing has been
removed or modified for the API. Now, however, you can call `status(:ok)` and it
will work as well.

I'm holding back from updating the docs in order to see if this PR is getting any positive feedback. If it is, I'll be glad to update the docs as well. Thanks! :heart_decoration: