Re: [Rails-core] Re: rake doc:status_codes

2015-04-28 Thread Everton Moreth
http://httpstatus.es/ alternative http://httpstatusdogs.com/ On Tue, Apr 28, 2015 at 2:59 PM, Eliot Sykes wrote: > Thanks Andrew, thanks Arthur, these cheat gems are good references. > > If any devs would like a dedicated rake task for status codes: > https://github.com/eliotsykes/rspec-rails-ex

Re: [Rails-core] ActiveRecord::ProtectedModel

2015-04-28 Thread Mohammad AbuShady
On 04/27/2015 02:10 PM, Hayden Ball wrote: Adding readonly would also prevent updates though? In fact yea it would, I didn't know how much protection you needed, if you need to update the records then yea this wouldn't work for you, because every record you'd fetch would be protected. -- You

[Rails-core] Re: rake doc:status_codes

2015-04-28 Thread Eliot Sykes
Thanks Andrew, thanks Arthur, these cheat gems are good references. If any devs would like a dedicated rake task for status codes: https://github.com/eliotsykes/rspec-rails-examples/blob/master/lib/tasks/status_codes.rake On Tuesday, 28 April 2015 14:18:52 UTC+1, Eliot Sykes wrote: > > Hi, > >

Re: [Rails-core] rake doc:status_codes

2015-04-28 Thread Arthur Neves
'cheat' gem is not maintained anymore. I did a similar one called cheatly: http://cheatly.arthurnn.com/ On Tue, Apr 28, 2015 at 10:32 AM Andrew Selder wrote: > Eliot, > > Take a look at the 'cheat' gem > > Andrew > > Sent from my iPhone > > On Apr 28, 2015, at 3:14 AM, Eliot Sykes wrote: > > Hi

Re: [Rails-core] rake doc:status_codes

2015-04-28 Thread Andrew Selder
Eliot, Take a look at the 'cheat' gem Andrew Sent from my iPhone > On Apr 28, 2015, at 3:14 AM, Eliot Sykes wrote: > > 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 r

[Rails-core] rake doc:status_codes

2015-04-28 Thread Eliot Sykes
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?