hello everyone, I am looking for a way to embed log info into response, so that it can be displayed directly in View for debugging. any solution? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Off the top of my head: using flash[:warning]? On Sep 22, 9:57 am, soliiid <zhon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hello everyone, I am looking for a way to embed log info into > response, so that it can be displayed directly in View for debugging. > any solution?--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Sep 22, 2008 at 9:57 AM, soliiid <zhongqf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hello everyone, I am looking for a way to embed log info into > response, so that it can be displayed directly in View for debugging. > any solution?You could probably write something simple based on file-tail http://raa.ruby-lang.org/project/file-tail/ or elif: http://raa.ruby-lang.org/project/elif/ There are also some plugins: http://agilewebdevelopment.com/plugins/browserlogger http://agilewebdevelopment.com/plugins/daslog http://agilewebdevelopment.com/plugins/browser_logger Have used none of those. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---