<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
  
  <title>Dojo7: Blog</title>
  <description>Dojo7: Blog</description>
  <link>http://dojo7.com/posts.rss</link>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/dojo7" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
    <title>Long Running Data Migrations in Rails</title>
    <link>http://feedproxy.google.com/~r/dojo7/~3/P0iRkW48SRQ/Long+Running+Data+Migrations+in+Rails</link>
    <pubDate>Tue, 07 Jul 2009 12:39:35 +1000</pubDate>
    <guid isPermaLink="false">42c6a8354c0010551003046718d640e6dba922aa</guid>
    <description>&lt;p&gt;Projects almost never start with an empty database. There are many takes on how this initial data, or data processing tasks, should live in your application. This approach keeps data out of your migrations and remains flexible enough to run with all the methods available to a standard migration, plus some extras.&lt;/p&gt;&lt;a href="/posts/Long+Running+Data+Migrations+in+Rails" title="Long Running Data Migrations in Rails"&gt;Initial application data, a...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/dojo7/~4/P0iRkW48SRQ" height="1" width="1"/&gt;</description>
    <author>peter@whitehat.net.nz (Peter Hollows)</author>
    <category domain="http://dojo7.com/tags/rails">rails</category>
    <category domain="http://dojo7.com/tags/useful+gems">useful gems</category>
    <category domain="http://dojo7.com/tags/database+fu">database fu</category>
  <feedburner:origLink>http://dojo7.com/posts/Long+Running+Data+Migrations+in+Rails</feedburner:origLink></item>
  <item>
    <title>Easy RSS in Rails 2</title>
    <link>http://feedproxy.google.com/~r/dojo7/~3/GPPYntorplo/Easy+RSS+in+Rails+2</link>
    <pubDate>Thu, 11 Jun 2009 22:27:03 +1000</pubDate>
    <guid isPermaLink="false">ea3628a65212f2a69f5dab47edc8ceb2431101d5</guid>
    <description>&lt;p&gt;A simple approach to generating &lt;span class="caps"&gt;RSS&lt;/span&gt; feeds in Ruby on Rails. Our approach keeps your code &lt;span class="caps"&gt;DRY&lt;/span&gt; and uses a RESTful approach for minimum efforts. As a bonus, the &lt;a href="http://validator.w3.org/feed/"&gt;W3C &lt;span class="caps"&gt;RSS&lt;/span&gt; validator&lt;/a&gt; has no complaints with the result.&lt;/p&gt;&lt;a href="/posts/Easy+RSS+in+Rails+2" title="Easy RSS in Rails 2"&gt;If you're wanting more than...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/dojo7/~4/GPPYntorplo" height="1" width="1"/&gt;</description>
    <author>peter@whitehat.net.nz (Peter Hollows)</author>
    <category domain="http://dojo7.com/tags/RSS">RSS</category>
    <category domain="http://dojo7.com/tags/rails">rails</category>
  <feedburner:origLink>http://dojo7.com/posts/Easy+RSS+in+Rails+2</feedburner:origLink></item>
  <item>
    <title>Formatting currency in Javascript</title>
    <link>http://feedproxy.google.com/~r/dojo7/~3/rOk7qp3AJt0/Formatting+currency+in+Javascript</link>
    <pubDate>Mon, 08 Jun 2009 14:59:57 +1000</pubDate>
    <guid isPermaLink="false">b208903f7542c2659b1bc0542a487acb2c5fe70c</guid>
    <description>&lt;p&gt;I&amp;#8217;ve been hunting for something like Rails&amp;#8217; &lt;code&gt;number_to_currency&lt;/code&gt; for Javascript that&amp;#8217;d give me a delimited output with precision in cents.&lt;/p&gt;&lt;a href="/posts/Formatting+currency+in+Javascript" title="Formatting currency in Javascript"&gt;Most of what I found didn't...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/dojo7/~4/rOk7qp3AJt0" height="1" width="1"/&gt;</description>
    <author>peter@whitehat.net.nz (Peter Hollows)</author>
    <category domain="http://dojo7.com/tags/javascript">javascript</category>
  <feedburner:origLink>http://dojo7.com/posts/Formatting+currency+in+Javascript</feedburner:origLink></item>
  <item>
    <title>Scraping the New Zealand Whitepages with Ruby</title>
    <link>http://feedproxy.google.com/~r/dojo7/~3/xcE0YAPl92I/Scraping+the+New+Zealand+Whitepages+with+Ruby</link>
    <pubDate>Mon, 08 Jun 2009 00:21:57 +1000</pubDate>
    <guid isPermaLink="false">6bbbbea1e038d692d598980ac89215b31697a47c</guid>
    <description>&lt;p&gt;In New Zealand, telcos don&amp;#8217;t expose their directories sensibly to the public, so if your script needs to look up numbers for a given name there is no RESTful &lt;span class="caps"&gt;API&lt;/span&gt;. Instead, these companies provide us the data in a challenging &lt;span class="caps"&gt;HTML&lt;/span&gt; format; this is because they are nice and want to give us a fun scripting project.&lt;/p&gt;&lt;a href="/posts/Scraping+the+New+Zealand+Whitepages+with+Ruby" title="Scraping the New Zealand Whitepages with Ruby"&gt;Web-scraping means parsing ...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/dojo7/~4/xcE0YAPl92I" height="1" width="1"/&gt;</description>
    <author>peter@whitehat.net.nz (Peter Hollows)</author>
    <category domain="http://dojo7.com/tags/web+scraping">web scraping</category>
    <category domain="http://dojo7.com/tags/useful+gems">useful gems</category>
  <feedburner:origLink>http://dojo7.com/posts/Scraping+the+New+Zealand+Whitepages+with+Ruby</feedburner:origLink></item>
</channel>
</rss>
