Forum: Ruby on Rails How to install view_debug_helper in my rails app

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
anakintang (Guest)
on 2007-05-04 22:06
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/ra...

Any idea?

Thanks in advance.
Ben M. (Guest)
on 2007-05-05 11:55
(Received via mailing list)
Run this in the root of your project:

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

(all one line)

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

b
BraveDave (Guest)
on 2007-05-06 18:23
(Received via mailing list)
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>
JSeidel (Guest)
on 2007-05-06 21:24
(Received via mailing list)
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
This topic is locked and can not be replied to.