<?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: The sql_logging Debugging Plug-In</title>
	<atom:link href="http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/feed/" rel="self" type="application/rss+xml" />
	<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-&amp;seed_title=The+sql_logging+Debugging+Plug-In</link>
	<description>Thoughts on Rails, iPhone and software consulting from a Columbus indie developer.</description>
	<lastBuildDate>Mon, 26 Jul 2010 19:34:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Steve</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-1953&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-1953</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 12 Sep 2008 21:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-1953</guid>
		<description>Hi, Rob.  Thanks for the heads-up about edge Rails and the patch.  I&#039;ll need to verify it still works with older Rails releases, but once that&#039;s done I&#039;ll check in a fix.</description>
		<content:encoded><![CDATA[<p>Hi, Rob.  Thanks for the heads-up about edge Rails and the patch.  I&#8217;ll need to verify it still works with older Rails releases, but once that&#8217;s done I&#8217;ll check in a fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Anderton</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-1952&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-1952</link>
		<dc:creator>Rob Anderton</dc:creator>
		<pubDate>Fri, 12 Sep 2008 21:29:45 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-1952</guid>
		<description>Hi,

Firstly, thanks for this really useful plugin, it&#039;s been a big help in identifying potential bottlenecks as we develop our apps.

Unfortunately a recent commit to edge Rails (http://github.com/rails/rails/commit/de0e7507de826bf77fd57cc2a51e27388cb62ff7) has broken the plugin. Quite simple to fix though: the active_record_runtime method no longer takes a parameter, so simply removing it from the redefined method in the plugin fixed it. I&#039;ve pastied a patch here: http://pastie.org/271509 (you&#039;ll have to ignore the whitespace changes!)

Thanks,
Rob</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Firstly, thanks for this really useful plugin, it&#8217;s been a big help in identifying potential bottlenecks as we develop our apps.</p>
<p>Unfortunately a recent commit to edge Rails (<a href="http://github.com/rails/rails/commit/de0e7507de826bf77fd57cc2a51e27388cb62ff7" rel="nofollow">http://github.com/rails/rails/commit/de0e7507de826bf77fd57cc2a51e27388cb62ff7</a>) has broken the plugin. Quite simple to fix though: the active_record_runtime method no longer takes a parameter, so simply removing it from the redefined method in the plugin fixed it. I&#8217;ve pastied a patch here: <a href="http://pastie.org/271509" rel="nofollow">http://pastie.org/271509</a> (you&#8217;ll have to ignore the whitespace changes!)</p>
<p>Thanks,<br />
Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srijith</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-1266&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-1266</link>
		<dc:creator>Srijith</dc:creator>
		<pubDate>Fri, 13 Jun 2008 10:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-1266</guid>
		<description>Hi 
 i am using sql_logging plugin but i am getting error 
undefined local variable or method `rows&#039; for #
what does it mean.Please reply soon.</description>
		<content:encoded><![CDATA[<p>Hi<br />
 i am using sql_logging plugin but i am getting error<br />
undefined local variable or method `rows&#8217; for #<br />
what does it mean.Please reply soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-332&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-332</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 10 Mar 2008 14:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-332</guid>
		<description>AC: I haven&#039;t been able to find a source file called &quot;pg&quot; on my system anywhere and the plug-in appears to load and work fine in the absence of a PostgreSQL gem.  I&#039;m wondering if you don&#039;t have an old gem or something lying around that&#039;s causing problems.

I&#039;m happy to continue helping you troubleshoot this, but if you don&#039;t mind, send me an email so the comments here aren&#039;t overwhelmed with our back-and-forth.</description>
		<content:encoded><![CDATA[<p>AC: I haven&#8217;t been able to find a source file called &#8220;pg&#8221; on my system anywhere and the plug-in appears to load and work fine in the absence of a PostgreSQL gem.  I&#8217;m wondering if you don&#8217;t have an old gem or something lying around that&#8217;s causing problems.</p>
<p>I&#8217;m happy to continue helping you troubleshoot this, but if you don&#8217;t mind, send me an email so the comments here aren&#8217;t overwhelmed with our back-and-forth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AC</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-323&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-323</link>
		<dc:creator>AC</dc:creator>
		<pubDate>Sun, 09 Mar 2008 06:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-323</guid>
		<description>~ ./script/server -p 4000 
=&gt; Booting Mongrel (use &#039;script/server webrick&#039; to force WEBrick)
=&gt; Rails application starting on http://0.0.0.0:4000
=&gt; Call with -d to detach
=&gt; Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:4000
** Starting Rails with development environment...
Exiting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#039;
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb:7:in `require_library_or_gem&#039;
vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings&#039;
vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb:5:in `require_library_or_gem&#039;
vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:4
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#039;
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/plugins/sql_logging/lib/sql_logging/postgresql.rb:1
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#039;
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/plugins/sql_logging/lib/sql_logging/summary.rb:123
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#039;
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/plugins/sql_logging/init.rb:1:in `evaluate_init_rb&#039;
./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:79:in `evaluate_init_rb&#039;
vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings&#039;
./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:75:in `evaluate_init_rb&#039;
./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:39:in `load&#039;
./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:33:in `load_plugins&#039;
./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `each&#039;
./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `load_plugins&#039;
vendor/rails/railties/lib/initializer.rb:173:in `load_plugins&#039;
vendor/rails/railties/lib/initializer.rb:89:in `process&#039;
vendor/rails/railties/lib/initializer.rb:49:in `send&#039;
vendor/rails/railties/lib/initializer.rb:49:in `run&#039;
vironment.rb:13
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#039;
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/rails.rb:147:in `rails&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:113:in `cloaker_&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:149:in `call&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:149:in `listener&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:99:in `cloaker_&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:50:in `call&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:50:in `initialize&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:84:in `new&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:84:in `run&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/command.rb:212:in `run&#039;
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:281
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load&#039;
vendor/rails/railties/lib/commands/servers/mongrel.rb:64
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#039;
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#039;
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#039;
vendor/rails/railties/lib/commands/server.rb:39
./script/server:4:in `require&#039;
./script/server:4</description>
		<content:encoded><![CDATA[<p>~ ./script/server -p 4000<br />
=&gt; Booting Mongrel (use &#8216;script/server webrick&#8217; to force WEBrick)<br />
=&gt; Rails application starting on <a href="http://0.0.0.0:4000" rel="nofollow">http://0.0.0.0:4000</a><br />
=&gt; Call with -d to detach<br />
=&gt; Ctrl-C to shutdown server<br />
** Starting Mongrel listening at 0.0.0.0:4000<br />
** Starting Rails with development environment&#8230;<br />
Exiting<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb:7:in `require_library_or_gem&#8217;<br />
vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings&#8217;<br />
vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb:5:in `require_library_or_gem&#8217;<br />
vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:4<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/plugins/sql_logging/lib/sql_logging/postgresql.rb:1<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/plugins/sql_logging/lib/sql_logging/summary.rb:123<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/plugins/sql_logging/init.rb:1:in `evaluate_init_rb&#8217;<br />
./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:79:in `evaluate_init_rb&#8217;<br />
vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings&#8217;<br />
./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:75:in `evaluate_init_rb&#8217;<br />
./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:39:in `load&#8217;<br />
./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:33:in `load_plugins&#8217;<br />
./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `each&#8217;<br />
./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `load_plugins&#8217;<br />
vendor/rails/railties/lib/initializer.rb:173:in `load_plugins&#8217;<br />
vendor/rails/railties/lib/initializer.rb:89:in `process&#8217;<br />
vendor/rails/railties/lib/initializer.rb:49:in `send&#8217;<br />
vendor/rails/railties/lib/initializer.rb:49:in `run&#8217;<br />
vironment.rb:13<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/rails.rb:147:in `rails&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:113:in `cloaker_&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:149:in `call&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:149:in `listener&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:99:in `cloaker_&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:50:in `call&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:50:in `initialize&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:84:in `new&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:84:in `run&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/lib/mongrel/command.rb:212:in `run&#8217;<br />
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:281<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load&#8217;<br />
vendor/rails/railties/lib/commands/servers/mongrel.rb:64<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require&#8217;<br />
vendor/rails/railties/lib/commands/server.rb:39<br />
./script/server:4:in `require&#8217;<br />
./script/server:4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-317&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-317</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 08 Mar 2008 01:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-317</guid>
		<description>AC: Unfortunately, I think the useful information is buried in the &quot;... 34 levels ...&quot; part of that backtrace.  Mind hacking up your script/server to look like this and sending me the output?

#!/usr/bin/env ruby
begin
require File.dirname(__FILE__) + &#039;/../config/boot&#039;
require &#039;commands/server&#039;
rescue Exception =&gt; e
puts e.backtrace
end</description>
		<content:encoded><![CDATA[<p>AC: Unfortunately, I think the useful information is buried in the &#8220;&#8230; 34 levels &#8230;&#8221; part of that backtrace.  Mind hacking up your script/server to look like this and sending me the output?</p>
<p>#!/usr/bin/env ruby<br />
begin<br />
require File.dirname(__FILE__) + &#8216;/../config/boot&#8217;<br />
require &#8216;commands/server&#8217;<br />
rescue Exception => e<br />
puts e.backtrace<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AC</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-316&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-316</link>
		<dc:creator>AC</dc:creator>
		<pubDate>Fri, 07 Mar 2008 23:24:52 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-316</guid>
		<description>I encounter a missing file error when attempting to run my application...

~ piston import http://svn.lightyearsoftware.com/svn/plugins/sql_logging vendor/plugins/sql_logging

Exported r659 from &#039;http://svn.lightyearsoftware.com/svn/plugins/sql_logging&#039; to &#039;vendor/plugins/sql_logging&#039;

~ ./script/console 

Loading development environment (Rails 2.0.2)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#039;: no such file to load -- pg (MissingSourceFile)
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#039;
         ... 34 levels...
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:251:in `load_modules&#039;
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:21:in `setup&#039;
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:54:in `start&#039;
        from /usr/bin/irb:13</description>
		<content:encoded><![CDATA[<p>I encounter a missing file error when attempting to run my application&#8230;</p>
<p>~ piston import <a href="http://svn.lightyearsoftware.com/svn/plugins/sql_logging" rel="nofollow">http://svn.lightyearsoftware.com/svn/plugins/sql_logging</a> vendor/plugins/sql_logging</p>
<p>Exported r659 from &#8216;http://svn.lightyearsoftware.com/svn/plugins/sql_logging&#8217; to &#8216;vendor/plugins/sql_logging&#8217;</p>
<p>~ ./script/console </p>
<p>Loading development environment (Rails 2.0.2)<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;: no such file to load &#8212; pg (MissingSourceFile)<br />
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;<br />
         &#8230; 34 levels&#8230;<br />
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:251:in `load_modules&#8217;<br />
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:21:in `setup&#8217;<br />
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:54:in `start&#8217;<br />
        from /usr/bin/irb:13</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JM</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-311&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-311</link>
		<dc:creator>JM</dc:creator>
		<pubDate>Wed, 05 Mar 2008 17:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-311</guid>
		<description>FYI, I&#039;m having trouble reaching your SVN repository.</description>
		<content:encoded><![CDATA[<p>FYI, I&#8217;m having trouble reaching your SVN repository.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-310&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-310</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 05 Mar 2008 14:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-310</guid>
		<description>Hi, Andy.  While I understand why you&#039;re asking for that, it isn&#039;t very appropriate for anything but the smallest of Rails applications.  In order to track what you&#039;re asking for, you&#039;d need to store that kind of information in the database itself so you could collect the data over a variable number of back-end processes and across restarts.  Then you&#039;d have to augment the plug-in to not collect data on the SQL that queries/updates the statistics in order to keep things relevant.  Finally, you&#039;ll need some kind of cron job that purges old rows so your database does fill up with data about your SQL instead of your application&#039;s data.

This is well beyond the scope of a simple plug-in like sql_logging.

It&#039;s an interesting idea, and something I&#039;ve seen in larger organizations in the past.  Who knows, maybe I&#039;ll find a need to do something like this in the future.</description>
		<content:encoded><![CDATA[<p>Hi, Andy.  While I understand why you&#8217;re asking for that, it isn&#8217;t very appropriate for anything but the smallest of Rails applications.  In order to track what you&#8217;re asking for, you&#8217;d need to store that kind of information in the database itself so you could collect the data over a variable number of back-end processes and across restarts.  Then you&#8217;d have to augment the plug-in to not collect data on the SQL that queries/updates the statistics in order to keep things relevant.  Finally, you&#8217;ll need some kind of cron job that purges old rows so your database does fill up with data about your SQL instead of your application&#8217;s data.</p>
<p>This is well beyond the scope of a simple plug-in like sql_logging.</p>
<p>It&#8217;s an interesting idea, and something I&#8217;ve seen in larger organizations in the past.  Who knows, maybe I&#8217;ll find a need to do something like this in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://lightyearsoftware.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Flightyearsoftware.com%2Fblog%2F2008%2F02%2Fthe-sql_logging-debugging-plug-in%2F%23comment-307&amp;seed_title=The+sql_logging+Debugging+Plug-In/comment-page-1/#comment-307</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Tue, 04 Mar 2008 08:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://lightyearsoftware.com/blog/2008/02/the-sql_logging-debugging-plug-in/#comment-307</guid>
		<description>thanks for the great work.

it&#039;d be nice if you keep track of top X queries in every category(most time spent on execution, most bytes returned, etc) in lat X days instead of just per request.  Then we just really know which ones need tuning application-wise.</description>
		<content:encoded><![CDATA[<p>thanks for the great work.</p>
<p>it&#8217;d be nice if you keep track of top X queries in every category(most time spent on execution, most bytes returned, etc) in lat X days instead of just per request.  Then we just really know which ones need tuning application-wise.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
