# How to install view\_debug\_helper in my rails app

**URL:** <https://www.ruby-forum.com/t/how-to-install-view-debug-helper-in-my-rails-app/103366>\
**Category:** Rails\
**Created:** [May 4, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/how-to-install-view-debug-helper-in-my-rails-app/103366 "2007-05-04T20:06:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anakintang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/5fc32e/32.png) [@anakintang](https://www.ruby-forum.com/u/anakintang)\
**Post date:** [May 4, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/how-to-install-view-debug-helper-in-my-rails-app/103366/1 "2007-05-04T20:06:28Z")

</div>

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](http://www.realityforge.org/articles/2006/03/20/rails-plugin-to-help-debug-views)

Any idea?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![anakintang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/5fc32e/32.png) [@anakintang](https://www.ruby-forum.com/u/anakintang)\
**Post date:** [May 5, 2007, 9:55am UTC](https://www.ruby-forum.com/t/how-to-install-view-debug-helper-in-my-rails-app/103366/2 "2007-05-05T09:55:28Z")

</div>

Run this in the root of your project:

script/plugin install  
[http://www.realityforge.org/svn/code/debug-view-helper/trunk/](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

---

<div class="post-metadata">

**Author:** ![anakintang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/5fc32e/32.png) [@anakintang](https://www.ruby-forum.com/u/anakintang)\
**Post date:** [May 6, 2007, 4:23pm UTC](https://www.ruby-forum.com/t/how-to-install-view-debug-helper-in-my-rails-app/103366/3 "2007-05-06T16:23:43Z")

</div>

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](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![anakintang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/5fc32e/32.png) [@anakintang](https://www.ruby-forum.com/u/anakintang)\
**Post date:** [May 6, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/how-to-install-view-debug-helper-in-my-rails-app/103366/4 "2007-05-06T19:24:58Z")

</div>

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
