<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Hammed's Code Snippets</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 08 Aug 2008 18:05:34 GMT</pubDate>
    <description>DZone Snippets: Hammed's Code Snippets</description>
    <item>
      <title>Alternating table row colours the Rails way</title>
      <link>http://snippets.dzone.com/posts/show/924</link>
      <description>There are several ways of doing this but it's best to use functionality built into Rails:&lt;br /&gt;&lt;br /&gt;  &lt;tr class="&lt;%= cycle("even", "odd") %&gt;"&gt;&lt;br /&gt;    ... use item ...&lt;br /&gt;  &lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;API reference:&lt;br /&gt;http://api.rubyonrails.com/classes/ActionView/Helpers/TextHelper.html#M000423</description>
      <pubDate>Thu, 01 Dec 2005 05:38:42 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/924</guid>
      <author>hammed (Hammed)</author>
    </item>
  </channel>
</rss>
