sv7boa
Last Updated: February 25, 2016
·
2.603K
· miguelperez

Calling app request on the rails console

This one its pretty easy and helpful as well.

In those cases when you have a strange error on a controller and are on the production console and want to play with the controller code.

app.get('/application/url/here')

That will return the status code of that particular controller action.

Change the controller code and try again.