<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: How to Show Response Time in a Rails Page with Mongrel</title>
	<atom:link href="http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/feed/" rel="self" type="application/rss+xml" />
	<link>http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/</link>
	<description>Brian Morearty's Blog</description>
	<lastBuildDate>Fri, 06 Nov 2009 03:28:37 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: phx</title>
		<link>http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/#comment-21</link>
		<dc:creator>phx</dc:creator>
		<pubDate>Mon, 02 Jun 2008 07:32:40 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=9#comment-21</guid>
		<description>Hey Brian,

i come to the same conclusion as you. Seems not to be working right now with NetBeans 6.1.

Perhaps somebody else figure out an soloution.

I keep watching the comments :)</description>
		<content:encoded><![CDATA[<p>Hey Brian,</p>
<p>i come to the same conclusion as you. Seems not to be working right now with NetBeans 6.1.</p>
<p>Perhaps somebody else figure out an soloution.</p>
<p>I keep watching the comments <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Morearty</title>
		<link>http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/#comment-20</link>
		<dc:creator>Brian Morearty</dc:creator>
		<pubDate>Wed, 28 May 2008 17:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=9#comment-20</guid>
		<description>phx, I just realized that when you said &quot;I&#039;m using NetBeans&quot; you meant you are trying to get the response time to show when running Mongrel from within NetBeans. I have not yet tried doing that, although I agree it would be nice to do. 

What I&#039;ve gotten working is running mongrel_rails from the command line.

When I run from within NetBeans I don&#039;t get to see the response time on my pages. If you do figure out how to do that, it would be nice if you could post the solution as a comment here for others to see. From what I&#039;ve seen so far of NetBeans&#039; Rails integration, it looks like it doesn&#039;t currently have the flexibility to override how it runs the server.</description>
		<content:encoded><![CDATA[<p>phx, I just realized that when you said &#8220;I&#8217;m using NetBeans&#8221; you meant you are trying to get the response time to show when running Mongrel from within NetBeans. I have not yet tried doing that, although I agree it would be nice to do. </p>
<p>What I&#8217;ve gotten working is running mongrel_rails from the command line.</p>
<p>When I run from within NetBeans I don&#8217;t get to see the response time on my pages. If you do figure out how to do that, it would be nice if you could post the solution as a comment here for others to see. From what I&#8217;ve seen so far of NetBeans&#8217; Rails integration, it looks like it doesn&#8217;t currently have the flexibility to override how it runs the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hemanth</title>
		<link>http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/#comment-19</link>
		<dc:creator>hemanth</dc:creator>
		<pubDate>Wed, 28 May 2008 06:59:20 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=9#comment-19</guid>
		<description>Brian,

  thanks a lot Brian.</description>
		<content:encoded><![CDATA[<p>Brian,</p>
<p>  thanks a lot Brian.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phx</title>
		<link>http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/#comment-18</link>
		<dc:creator>phx</dc:creator>
		<pubDate>Wed, 28 May 2008 06:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=9#comment-18</guid>
		<description>Thanks for your reply!

I just created the http_handlers folder and drop the benchmark_filter.rb into it, without success :)

But i suppose that my parameters: &quot;-S lib/http_handlers/benchmark_filter.rb&quot; are not at the right place for the NetBeans build-in Mongrel Server.

I googled this wiki entry: http://wiki.netbeans.org/FaqRailsMongrel and write ARGV+=%w(mongrel_rails start -S lib/http_handlers/benchmark_filter.rb) at the end of scripts/server File, but still not working.</description>
		<content:encoded><![CDATA[<p>Thanks for your reply!</p>
<p>I just created the http_handlers folder and drop the benchmark_filter.rb into it, without success <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But i suppose that my parameters: &#8220;-S lib/http_handlers/benchmark_filter.rb&#8221; are not at the right place for the NetBeans build-in Mongrel Server.</p>
<p>I googled this wiki entry: <a href="http://wiki.netbeans.org/FaqRailsMongrel" rel="nofollow">http://wiki.netbeans.org/FaqRailsMongrel</a> and write ARGV+=%w(mongrel_rails start -S lib/http_handlers/benchmark_filter.rb) at the end of scripts/server File, but still not working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Morearty</title>
		<link>http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/#comment-17</link>
		<dc:creator>Brian Morearty</dc:creator>
		<pubDate>Wed, 28 May 2008 06:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=9#comment-17</guid>
		<description>Good question, phx. I&#039;m not sure if there&#039;s an &quot;approved&quot; place to put Mongrel filters. I placed it in a subfolder I called http_handlers in my Rails lib folder. Not in the Mongrel lib folder.</description>
		<content:encoded><![CDATA[<p>Good question, phx. I&#8217;m not sure if there&#8217;s an &#8220;approved&#8221; place to put Mongrel filters. I placed it in a subfolder I called http_handlers in my Rails lib folder. Not in the Mongrel lib folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phx</title>
		<link>http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/#comment-16</link>
		<dc:creator>phx</dc:creator>
		<pubDate>Wed, 28 May 2008 06:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=9#comment-16</guid>
		<description>Hey Brian, thanks for your post, im looking for this feature for a while, but have a few questions.

Where should i put the benchmark_filter.rb?
(In the Rails App Lib Folder or in the Mongrel Lib Folder?)
Im using NetBeans 6.1.


Sorry,  but im really new to the whole rails stuff.</description>
		<content:encoded><![CDATA[<p>Hey Brian, thanks for your post, im looking for this feature for a while, but have a few questions.</p>
<p>Where should i put the benchmark_filter.rb?<br />
(In the Rails App Lib Folder or in the Mongrel Lib Folder?)<br />
Im using NetBeans 6.1.</p>
<p>Sorry,  but im really new to the whole rails stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Morearty</title>
		<link>http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/#comment-15</link>
		<dc:creator>Brian Morearty</dc:creator>
		<pubDate>Tue, 27 May 2008 15:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=9#comment-15</guid>
		<description>Hemanth,

I don&#039;t know of a way to access the Rails ROOT_PATH from inside the BenchmarkFilter class because BenchmarkFilter is a Mongrel filter so it&#039;s one level above Rails. It&#039;s not running inside Rails so it doesn&#039;t have access to the Rails environment.

The RailsHandler class, which is part of Mongrel, is what passes requests on to Rails. Maybe if you take a close look at that class you&#039;ll find an answer to your question.</description>
		<content:encoded><![CDATA[<p>Hemanth,</p>
<p>I don&#8217;t know of a way to access the Rails ROOT_PATH from inside the BenchmarkFilter class because BenchmarkFilter is a Mongrel filter so it&#8217;s one level above Rails. It&#8217;s not running inside Rails so it doesn&#8217;t have access to the Rails environment.</p>
<p>The RailsHandler class, which is part of Mongrel, is what passes requests on to Rails. Maybe if you take a close look at that class you&#8217;ll find an answer to your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hemanth</title>
		<link>http://bmorearty.wordpress.com/2008/05/21/how-to-show-response-time-in-a-rails-page-with-mongrel/#comment-14</link>
		<dc:creator>hemanth</dc:creator>
		<pubDate>Tue, 27 May 2008 12:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=9#comment-14</guid>
		<description>hi Brian,

  i tried to access the rails ROOT_PATH from inside the BenchmarkFilter class
  but its returning the handler.rb&#039;s path.

  how should i get the rails ROOT_PATH.


HEMANTH</description>
		<content:encoded><![CDATA[<p>hi Brian,</p>
<p>  i tried to access the rails ROOT_PATH from inside the BenchmarkFilter class<br />
  but its returning the handler.rb&#8217;s path.</p>
<p>  how should i get the rails ROOT_PATH.</p>
<p>HEMANTH</p>
]]></content:encoded>
	</item>
</channel>
</rss>
