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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 anakintang wrote:> 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. >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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-... > > Any idea? > > Thanks in advance. > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On May 6, 7:22 am, BraveDave <DauntlessDa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > 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-... > > > Any idea? > > > Thanks in advance. > > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---