Frage

Is there some method to show Session, ENV, POST, and GET data in a Ruby web app?

War es hilfreich?

Lösung

Exactly not like php_info , but you can get :

1) On console run command : rake about

2) http://localhost:3001/rails/info/properties => only on localhost

3) embedded erb might be helpful...

<%= params.inspect %>

<%= session.inspect %>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top