<?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>RayLucke.com &#187; Random Thoughts</title>
	<atom:link href="http://www.raylucke.com/category/random/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raylucke.com</link>
	<description>Random Musings</description>
	<lastBuildDate>Mon, 30 Mar 2009 21:05:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>GoDaddy Coupon Codes</title>
		<link>http://www.raylucke.com/godaddy-coupon-codes/</link>
		<comments>http://www.raylucke.com/godaddy-coupon-codes/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 04:21:30 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Random Thoughts]]></category>
		<category><![CDATA[godaddy coupon code]]></category>
		<category><![CDATA[godaddy coupon codes]]></category>
		<category><![CDATA[godaddy discount]]></category>
		<category><![CDATA[godaddy discount codes]]></category>

		<guid isPermaLink="false">http://www.raylucke.com/?p=19</guid>
		<description><![CDATA[I got sick of scouring the web every time I wanted to find a GoDaddy coupon code so here&#8217;s my &#8220;definitive list&#8221; of coupon codes. Feel free to post updated codes in the comments.
 
CJC695DOM &#8211; $6.95 .COM for both NEW and RENEWALS
EMMA1 &#8211; 10% off Any Order
cjc695t1 - $7.49 for .COM domains
 
So there you have it, [...]]]></description>
			<content:encoded><![CDATA[<p>I got sick of scouring the web every time I wanted to find a <a href="http://www.tkqlhce.com/click-1256643-10378406">GoDaddy</a> coupon code so here&#8217;s my &#8220;definitive list&#8221; of coupon codes. Feel free to post updated codes in the comments.</p>
<p> </p>
<p>CJC695DOM &#8211; $6.95 .COM for both NEW and RENEWALS</p>
<p>EMMA1 &#8211; 10% off Any Order</p>
<p><a href="http://www.tkqlhce.com/click-1256643-10388361">cjc695t1</a> - $7.49 for .COM domains</p>
<p> </p>
<p>So there you have it, my easy reference for GoDaddy coupon codes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raylucke.com/godaddy-coupon-codes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple class table inheritance in ActiveRecord</title>
		<link>http://www.raylucke.com/simple-class-table-inheritance-in-activerecord/</link>
		<comments>http://www.raylucke.com/simple-class-table-inheritance-in-activerecord/#comments</comments>
		<pubDate>Mon, 03 Jul 2006 23:51:54 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Random Thoughts]]></category>

		<guid isPermaLink="false">http://www.raylucke.com/?p=41</guid>
		<description><![CDATA[I just implemented very simple and primitive class table inheritance in ActiveRecord. The goal is for this to become mature enough to become a true feature in Rails. Check it out here:
http://guest@blog.raylucke.com/svn/inherits_from
Here&#8217;s how it looks in action:
create_table "books", :force =&#62; true do &#124;t&#124;
  t.column "product_id", :integer
  t.column "pages", :integer
  t.column "author", :string
end
create_table [...]]]></description>
			<content:encoded><![CDATA[<p>I just implemented very simple and primitive <a href="http://www.martinfowler.com/eaaCatalog/classTableInheritance.html">class table inheritance</a> in ActiveRecord. The goal is for this to become mature enough to become a true feature in Rails. Check it out here:</p>
<pre><code>http://guest@blog.raylucke.com/svn/inherits_from</code></pre>
<p>Here&#8217;s how it looks in action:</p>
<pre><code>create_table "books", :force =&gt; true do |t|
  t.column "product_id", :integer
  t.column "pages", :integer
  t.column "author", :string
end</code></pre>
<pre><code>create_table "products", :force =&gt; true do |t|
  t.column "name", :string
  t.column "price", :integer
  t.column "subtype", :string
end</code></pre>
<pre><code>create_table "videos", :force =&gt; true do |t|
  t.column "product_id", :integer
  t.column "minutes", :integer
  t.column "starring", :string
end</code></pre>
<pre><code>class Product &lt; ActiveRecord::Base
end</code></pre>
<pre><code>class Book &lt; ActiveRecord::Base
  inherits_from :product
end</code></pre>
<pre><code>class Video &lt; ActiveRecord::Base
  inherits_from :product
end</code></pre>
<pre><code>Book.create(:name =&gt; "Agile Development with Rails", :pages =&gt; 350)
Video.create(:name =&gt; "Twilight Zone Season 1", :minutes =&gt; 490)</code></pre>
<pre><code>Book.find(1).name =&gt; "Agile Development with Rails"</code></pre>
<p>Note: this plugin is not production ready. I&#8217;m hoping some people who are much smarter than me will send me patches to make it primetime.</p>
<p>Known bugs:</p>
<ul>
<li>Inherited column validation/error handling does not currently work</li>
<li>Book.find_by_name() (inherited column) does not work</li>
<li>Only basic attributes are passed along right now</li>
</ul>
<p>Feel free to send me any comments to ray @ this domain (raylucke.com).</p>
<p>Updated 4/24/07: Thanks Eric for the patches!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raylucke.com/simple-class-table-inheritance-in-activerecord/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
