Hi,
I just released a plugin to help debug views. The plugin makes it easy
to add a button that will popup a new window that displays the
following debug data;
- Request Parameters
- Session Variables
- Flash Variables
- Assigned Template Variables
It was derived from code that traces back to Marten Veldthuis in
Epilog. You can check out webpage and plugin via;
http://www.realityforge.org/articles/2006/03/20/rails-plugin-to-help-debug-views
–
Cheers,
Peter D.
Peter D. wrote:
It was derived from code that traces back to Marten Veldthuis in
Epilog. You can check out webpage and plugin via;
http://www.realityforge.org/articles/2006/03/20/rails-plugin-to-help-debug-views
Nice! I had modified the original to also do inline debugging, so
rather than doing <%= debug_popup %>, you just do <%= debug_inline %>
I merged my inline stuff with your code (attached), if you want it.
The code is pretty ugly, but it works.
John
Hi,
On 3/20/06, John D. [email protected] wrote:
Nice! I had modified the original to also do inline debugging, so
rather than doing <%= debug_popup %>, you just do <%= debug_inline %>
I merged my inline stuff with your code (attached), if you want it.
I did not use the code directly but I incorporated your idea and updated
http://www.realityforge.org/articles/2006/03/20/rails-plugin-to-help-debug-views
to reflect this fact. Thanks!
–
Cheers,
Peter D.