Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一些方法可以在 Ruby Web 应用程序中显示 Session、ENV、POST 和 GET 数据?
完全不像 php_info ,但你可以得到:
1)在控制台运行命令:rake about
2) http://localhost:3001/rails/info/properties=> 仅在本地主机上
http://localhost:3001/rails/info/properties
3)嵌入式erb可能会有所帮助......
<%= params.inspect %> <%= session.inspect %>