<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Code Snippets for Rails</title>
    <link>http://www.uwec.edu/code/</link>
    <pubDate>Mon, 19 Jun 2006 19:39:56 GMT</pubDate>
    <description>UW-Eau Claire Web Development code snippets</description>
    <item>
      <title>Paginate an existing resultset</title>
      <link>http://www.uwec.edu/code/Rails/show/20</link>
      <description>Sometimes you have a resultset that you can&amp;rsquo;t use with the built-in Rails pagination tool. This code below will fix the issue for you.</description>
      <pubDate>Mon, 19 Jun 2006 19:39:56 GMT</pubDate>
      <guid>http://www.uwec.edu/code/Rails/show/20</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Rails aliasing of database column names</title>
      <link>http://www.uwec.edu/code/Rails/show/22</link>
      <description>Use this code to create alias accessor methods for legacy models.  This allows you to use  *first_name*  instead of something like *employee_f_name_25_char&amp;quot;. </description>
      <pubDate>Mon, 19 Jun 2006 19:36:19 GMT</pubDate>
      <guid>http://www.uwec.edu/code/Rails/show/22</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>States options array</title>
      <link>http://www.uwec.edu/code/Rails/show/35</link>
      <description>Array of states that can be used with the select helper.</description>
      <pubDate>Mon, 19 Jun 2006 19:33:15 GMT</pubDate>
      <guid>http://www.uwec.edu/code/Rails/show/35</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Use one action for get and post</title>
      <link>http://www.uwec.edu/code/Rails/show/37</link>
      <description>Simple example that shows how to use a single controller action to handle both get and post requests.  This really comes in handy for those situations where you need to handle multiple objects.</description>
      <pubDate>Mon, 19 Jun 2006 19:32:48 GMT</pubDate>
      <guid>http://www.uwec.edu/code/Rails/show/37</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Query data in chunks with ActiveRecord</title>
      <link>http://www.uwec.edu/code/Rails/show/43</link>
      <description>If you have to iterate over massive data sets, you don&amp;#39;t want to have to use the standard #find method, as it will be extremely memory intensive. Instead, you should work on data in chunks. This code uses limit and offset to chunk up your data. You can then work on the pieces within the block. </description>
      <pubDate>Tue, 12 Feb 2008 06:56:07 GMT</pubDate>
      <guid>http://www.uwec.edu/code/Rails/show/43</guid>
      <author>ludwigaw)</author>
    </item>
  </channel>
</rss>
