rake doc:status_codes

Hi,

I regularly search the Rails docs for the table of HTTP status codes and symbols (e.g. 418 :im_a_teapot) and make use of http://httpstatus.es/

Would a pull request be welcome with a rake task rake doc:status_codes that prints the status codes with their associated symbols to the console?

Kindest regards,

Eliot

Eliot,

Take a look at the ‘cheat’ gem

Andrew

‘cheat’ gem is not maintained anymore. I did a similar one called cheatly: http://cheatly.arthurnn.com/

Thanks Andrew, thanks Arthur, these cheat gems are good references.

If any devs would like a dedicated rake task for status codes: rspec-rails-examples/status_codes.rake at master · eliotsykes/rspec-rails-examples · GitHub

http://httpstatus.es/ alternative http://httpstatusdogs.com/

Hi,

I don’t know what editor/IDE you use but RubyMine completes the status in many places (e.g. when specified as an argument to render status:).

Best regards