How to install view_debug_helper in my rails app


#1

All,

I was trying to install view_debug_helper in my rails app, but I am
quite new to rails, so I don’t know where to put the
view_debug_helper.rb and init.rb in my app and any thing else I need to
put in my application controller to make it work.

I got the plugin here:
http://www.realityforge.org/articles/2006/03/20/rails-plugin-to-help-debug-views

Any idea?

Thanks in advance.


#2

Run this in the root of your project:

script/plugin install
http://www.realityforge.org/svn/code/debug-view-helper/trunk/

(all one line)

You can execute script/plugin (or just about any rails script) without
any args to get help.

b


#3

All,
Would you mind explaining why you’re using the “view_debug_help” and
how you intend to benefit from this?
I’m obviously new to Rails and am trying to create a standardized
approach to developing my projects. I’ve learned how to put a
‘breakpoint’ into my code and also print messages of variables during
execution.
I long for the days of working in Delphi where I could ‘walk’ my way
through the code. Is this what you plan to do?
Thank you,
David

On May 4, 1:06 pm, anakintang removed_email_address@domain.invalid


#4

Dave… I finally got breakpoint working (had to upgrade to Ruby 1.8.6
and Rails 1.2.3) but still haven’t figured out how to print messages
during execution (my puts just disappear and I’ve got some classes
that won’t let me use logger).

Care to share?

Thanks…jon