<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: database code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 07 Sep 2008 04:19:17 GMT</pubDate>
    <description>DZone Snippets: database code</description>
    <item>
      <title>disable SQL / MySQL in rails logging in development mode</title>
      <link>http://snippets.dzone.com/posts/show/4727</link>
      <description>// description of your code here&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ActiveRecord::Base.logger = Logger.new("#{RAILS_ROOT}/log/#{RAILS_ENV}_database.log")&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;goes at end of config/env</description>
      <pubDate>Fri, 02 Nov 2007 00:09:50 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4727</guid>
      <author>jm3 (john manoogian III)</author>
    </item>
  </channel>
</rss>
