<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Thechrisoshow's Code Snippets</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 12 Oct 2008 19:35:40 GMT</pubDate>
    <description>DZone Snippets: Thechrisoshow's Code Snippets</description>
    <item>
      <title>Ruby on Rails: Change class name into human readable string</title>
      <link>http://snippets.dzone.com/posts/show/4966</link>
      <description>This turns a class name (like LineItem) into a nice string (like "line item")&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt; line_item = LineItem.new&lt;br /&gt; puts line_item.class.name.underscore.humanize.lowcase #spits out "line item"&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Wed, 09 Jan 2008 11:04:30 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4966</guid>
      <author>thechrisoshow (Chris O'Sullivan)</author>
    </item>
    <item>
      <title>SQL Server: Search through stored procedures for code</title>
      <link>http://snippets.dzone.com/posts/show/4343</link>
      <description>This returns the names of stored procedures that contain the text you're looking for.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;select so.name as 'storProc'&lt;br /&gt;from sysobjects so&lt;br /&gt;join syscomments sc&lt;br /&gt;on so.id=sc.id&lt;br /&gt;where so.type='P'&lt;br /&gt;and sc.[text] like '%BIT_YOU_WANT_TO_FIND%' &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Say for example you're looking for all the stored procedures that mentioned the table 'user_table' - then just use this script and the all the stored procedures that make mention of this will be returned.</description>
      <pubDate>Sun, 22 Jul 2007 17:22:15 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4343</guid>
      <author>thechrisoshow (Chris O'Sullivan)</author>
    </item>
  </channel>
</rss>
