문제

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

도움이 되었습니까?

해결책

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 %>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top