<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cameronyule.com &#187; iso</title>
	<atom:link href="http://cameronyule.com/tags/iso/feed" rel="self" type="application/rss+xml" />
	<link>http://cameronyule.com</link>
	<description>Glasgow based new media developer Cameron Yule.</description>
	<lastBuildDate>Fri, 22 Jan 2010 12:53:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ISOdata Rails plugin</title>
		<link>http://cameronyule.com/2008/08/isodata-rails-plugin</link>
		<comments>http://cameronyule.com/2008/08/isodata-rails-plugin#comments</comments>
		<pubDate>Tue, 05 Aug 2008 18:39:14 +0000</pubDate>
		<dc:creator>Cameron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[iso3166]]></category>
		<category><![CDATA[iso639]]></category>
		<category><![CDATA[l10n]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://cameronyule.com/?p=154</guid>
		<description><![CDATA[For anyone working on a Rails application which deals with countries or languages, the official source of data is the International Standards Association, specifically ISO 3166 for countries and ISO 639 for languages. To make it easier to get this data into your Rails application, I&#8217;ve created two generators which automatically create the models, migrations [...]]]></description>
			<content:encoded><![CDATA[<p>For anyone working on a Rails application which deals with countries or languages, the official source of data is the <a href="http://www.iso.org/">International Standards Association</a>, specifically ISO 3166 for countries and ISO 639 for languages.</p>
<p>To make it easier to get this data into your Rails application, I&#8217;ve created two generators which automatically create the models, migrations and data you&#8217;ll need and bundled them up in a handy <a href="http://github.com/cameronyule/isodata/tree/master">Rails plug-in</a>.</p>
<p>Usage couldn&#8217;t be simpler…</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">script<span style="color: #000000; font-weight: bold;">/</span>plugin <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">git</span>:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>cameronyule<span style="color: #000000; font-weight: bold;">/</span>isodata.git</pre></div></div>

<p>If you want country data…</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">script<span style="color: #000000; font-weight: bold;">/</span>generate countries
rake db:migrate
rake isodata:db:countries</pre></div></div>

<p>…and for languages…</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">script<span style="color: #000000; font-weight: bold;">/</span>generate languages
rake db:migrate
rake isodata:db:languages</pre></div></div>

<p>Check out the <a href="http://github.com/cameronyule/isodata/tree/master">isodata project</a> on Github.</p>
]]></content:encoded>
			<wfw:commentRss>http://cameronyule.com/2008/08/isodata-rails-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

