<?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/"
		>
<channel>
	<title>Comments on: Set Rails Logging on Fire</title>
	<atom:link href="http://fuelyourcoding.com/set-rails-logging-on-fire/feed/" rel="self" type="application/rss+xml" />
	<link>http://fuelyourcoding.com/set-rails-logging-on-fire/</link>
	<description></description>
	<lastBuildDate>Tue, 17 Jan 2012 16:57:58 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Manuite</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-5071</link>
		<dc:creator>Manuite</dc:creator>
		<pubDate>Thu, 26 May 2011 10:32:26 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-5071</guid>
		<description>Great tuto thanks!
I had to use jquery latest cdn to have the icons show up properly:

  
  

It looks great in safari but kinda strange in ios simulator (i don&#039;t have an iphone):
http://gyazo.com/8e157a1600728a4c7617e728f0112f50.png</description>
		<content:encoded><![CDATA[<p>Great tuto thanks!<br />
I had to use jquery latest cdn to have the icons show up properly:</p>
<p>It looks great in safari but kinda strange in ios simulator (i don&#8217;t have an iphone):<br />
<a href="http://gyazo.com/8e157a1600728a4c7617e728f0112f50.png" rel="nofollow">http://gyazo.com/8e157a1600728a4c7617e728f0112f50.png</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-4786</link>
		<dc:creator>Christoph</dc:creator>
		<pubDate>Wed, 05 Jan 2011 15:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-4786</guid>
		<description>Any news on this? Seems like it doesn&#039;t work in Rails 3 after all and the lib/ directory is not autoloaded...</description>
		<content:encoded><![CDATA[<p>Any news on this? Seems like it doesn&#8217;t work in Rails 3 after all and the lib/ directory is not autoloaded&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-3400</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sat, 18 Sep 2010 21:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-3400</guid>
		<description>Well, I found the cause. I&#039;m calling a controller method from javascript and it doesn&#039;t appear to that env[&#039;firebug.logs&#039;] gets set if the content type is javascript.</description>
		<content:encoded><![CDATA[<p>Well, I found the cause. I&#8217;m calling a controller method from javascript and it doesn&#8217;t appear to that env['firebug.logs'] gets set if the content type is javascript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-3399</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sat, 18 Sep 2010 19:56:44 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-3399</guid>
		<description>I can&#039;t seem to get this working. I&#039;ve installed everything but when I try to print something to Firebug I don&#039;t see anything.

I also tried this: request.env[&#039;firebug.logs&#039;] = [[:info, &quot;hello from rack!&quot;]] within a controller.

I&#039;m using rails 2.3.5</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to get this working. I&#8217;ve installed everything but when I try to print something to Firebug I don&#8217;t see anything.</p>
<p>I also tried this: request.env['firebug.logs'] = [[:info, "hello from rack!"]] within a controller.</p>
<p>I&#8217;m using rails 2.3.5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerod Santo</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-2194</link>
		<dc:creator>Jerod Santo</dc:creator>
		<pubDate>Fri, 07 May 2010 14:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-2194</guid>
		<description>Daniel-

You are absolutely right! My mistake, fixed now.</description>
		<content:encoded><![CDATA[<p>Daniel-</p>
<p>You are absolutely right! My mistake, fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel T</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-2083</link>
		<dc:creator>Daniel T</dc:creator>
		<pubDate>Tue, 06 Apr 2010 20:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-2083</guid>
		<description>It should go in lib/ not app/lib.</description>
		<content:encoded><![CDATA[<p>It should go in lib/ not app/lib.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Malvestuto</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-2062</link>
		<dc:creator>Bruno Malvestuto</dc:creator>
		<pubDate>Fri, 02 Apr 2010 14:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-2062</guid>
		<description>Thank&#039;s for replying.

I did that and it get back to normal, actually every rack middleware
I&#039;ve enabled ran into the same problem, I also tried with a blank rails application.

I&#039;m pretty sure that it&#039;s a bug of rails and rack. I&#039;m still using rails 2.3.5, so that I don&#039;t know if it still happens at rails 3.</description>
		<content:encoded><![CDATA[<p>Thank&#8217;s for replying.</p>
<p>I did that and it get back to normal, actually every rack middleware<br />
I&#8217;ve enabled ran into the same problem, I also tried with a blank rails application.</p>
<p>I&#8217;m pretty sure that it&#8217;s a bug of rails and rack. I&#8217;m still using rails 2.3.5, so that I don&#8217;t know if it still happens at rails 3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerod Santo</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-2046</link>
		<dc:creator>Jerod Santo</dc:creator>
		<pubDate>Wed, 31 Mar 2010 13:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-2046</guid>
		<description>Hi Sharron-

Rails 3 still autloads everything in the &#039;lib&#039; directory, so that shouldn&#039;t be the problem. You can confirm this by loading the console and typing:

firebug = ::Rack::FirebugLogger.new(&quot;&quot;)

It looks like you can just call &#039;use&#039; inside of the ApplicationController in Rails 3 instead of adding a config line to development.rb.

class ApplicationController &lt; ActionController::Base
  use Rack::FirebugLogger
end

However, I just tried it and I get an error the second time the middleware is used. Once Rails 3 comes out of beta I will update the middleware to work properly and update this post.</description>
		<content:encoded><![CDATA[<p>Hi Sharron-</p>
<p>Rails 3 still autloads everything in the &#8216;lib&#8217; directory, so that shouldn&#8217;t be the problem. You can confirm this by loading the console and typing:</p>
<p>firebug = ::Rack::FirebugLogger.new(&#8221;")</p>
<p>It looks like you can just call &#8216;use&#8217; inside of the ApplicationController in Rails 3 instead of adding a config line to development.rb.</p>
<p>class ApplicationController &lt; ActionController::Base<br />
  use Rack::FirebugLogger<br />
end</p>
<p>However, I just tried it and I get an error the second time the middleware is used. Once Rails 3 comes out of beta I will update the middleware to work properly and update this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerod Santo</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-2045</link>
		<dc:creator>Jerod Santo</dc:creator>
		<pubDate>Wed, 31 Mar 2010 12:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-2045</guid>
		<description>Hi Bruno-

Try disabling the middleware piece (just comment out the line added to development.rb) and restart the application. If you still get an unknown action error then its not firebug_logger&#039;s fault.

Let me know what happens, I&#039;ll be glad to take a look at it otherwise.</description>
		<content:encoded><![CDATA[<p>Hi Bruno-</p>
<p>Try disabling the middleware piece (just comment out the line added to development.rb) and restart the application. If you still get an unknown action error then its not firebug_logger&#8217;s fault.</p>
<p>Let me know what happens, I&#8217;ll be glad to take a look at it otherwise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharron</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-2030</link>
		<dc:creator>Sharron</dc:creator>
		<pubDate>Thu, 25 Mar 2010 11:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-2030</guid>
		<description>Hi

I have followed you instructions but I cannot get the autoloading &quot;xxx/lib/rack/firebug_logger.rb&quot;  after running this in my dev env

config.middleware.use ::Rack::FirebugLogger

I&#039;m using rails 3 - is there some extra trick?

thanks! x</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I have followed you instructions but I cannot get the autoloading &#8220;xxx/lib/rack/firebug_logger.rb&#8221;  after running this in my dev env</p>
<p>config.middleware.use ::Rack::FirebugLogger</p>
<p>I&#8217;m using rails 3 &#8211; is there some extra trick?</p>
<p>thanks! x</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Malvestuto</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-2019</link>
		<dc:creator>Bruno Malvestuto</dc:creator>
		<pubDate>Tue, 23 Mar 2010 20:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-2019</guid>
		<description>It was a great idea to put a rack middleware  and firebug together. It has been remendously helpful to me, but I&#039;ve ran into a problem that I think may be a  bug. 

The middleware works fine, until you try to map a route from within a namespace just like the following:

map.namespace :admin do &#124;admin&#124;                                              
  admin.resources :subjects do &#124;subjects&#124;                                   
    subjects.resources :topics do &#124;topics&#124;

    end
end

Whenever I try to access &quot;admin/subjects/1/topics&quot; URI, it throws an unknown action error.

I&#039;ve tried to debug by putting a &quot;return @app.call(env)&quot; into call method, it keep throwing though, therefore I think it&#039;s a Rack bug.</description>
		<content:encoded><![CDATA[<p>It was a great idea to put a rack middleware  and firebug together. It has been remendously helpful to me, but I&#8217;ve ran into a problem that I think may be a  bug. </p>
<p>The middleware works fine, until you try to map a route from within a namespace just like the following:</p>
<p>map.namespace :admin do |admin|<br />
  admin.resources :subjects do |subjects|<br />
    subjects.resources :topics do |topics|</p>
<p>    end<br />
end</p>
<p>Whenever I try to access &#8220;admin/subjects/1/topics&#8221; URI, it throws an unknown action error.</p>
<p>I&#8217;ve tried to debug by putting a &#8220;return @app.call(env)&#8221; into call method, it keep throwing though, therefore I think it&#8217;s a Rack bug.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rack, and Firebug, and Fuel. Oh Hai! &#124; blogt0sk1</title>
		<link>http://fuelyourcoding.com/set-rails-logging-on-fire/comment-page-1/#comment-2007</link>
		<dc:creator>Rack, and Firebug, and Fuel. Oh Hai! &#124; blogt0sk1</dc:creator>
		<pubDate>Sat, 20 Mar 2010 06:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://fuelyourcoding.com/?p=842#comment-2007</guid>
		<description>[...] for quick debugging. If that possibility excites you, head over to my recently published article on Fuel Your Coding to read all about [...]</description>
		<content:encoded><![CDATA[<p>[...] for quick debugging. If that possibility excites you, head over to my recently published article on Fuel Your Coding to read all about [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

