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?
Off the top of my head: using flash[:warning]?
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.