<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Polymorphic Association in Rails</title>
	<atom:link href="http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/</link>
	<description>Every.Dog has_a :blog</description>
	<pubDate>Thu, 09 Sep 2010 03:02:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: ZiggyTheHamster</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-42513</link>
		<dc:creator>ZiggyTheHamster</dc:creator>
		<pubDate>Wed, 05 Aug 2009 02:58:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-42513</guid>
		<description>Holy crap - your blog post was the first to make sense to me! I know what polymorphism is but none of the examples made sense until I saw yours!

In my case, I have an item that has an owner, but the owner can be of differing types (Employee, Department, etc.).

Thanks!</description>
		<content:encoded><![CDATA[<p>Holy crap - your blog post was the first to make sense to me! I know what polymorphism is but none of the examples made sense until I saw yours!</p>
<p>In my case, I have an item that has an owner, but the owner can be of differing types (Employee, Department, etc.).</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinay</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-37416</link>
		<dc:creator>vinay</dc:creator>
		<pubDate>Mon, 06 Apr 2009 18:40:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-37416</guid>
		<description>Great Example,

Thanks for illustrating this out in such simple fashion. Saved at least a couple of my hours :-)

-Thanks</description>
		<content:encoded><![CDATA[<p>Great Example,</p>
<p>Thanks for illustrating this out in such simple fashion. Saved at least a couple of my hours :-)</p>
<p>-Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karim</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-36298</link>
		<dc:creator>karim</dc:creator>
		<pubDate>Tue, 24 Mar 2009 07:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-36298</guid>
		<description>i believe since the BuyerProfile and ProviderProfile are inherited from the activerecord base class it would mean that i need to create a table called buyerprofiles and providerprofiles which has a column called user_id

Please let me know if i am correct?</description>
		<content:encoded><![CDATA[<p>i believe since the BuyerProfile and ProviderProfile are inherited from the activerecord base class it would mean that i need to create a table called buyerprofiles and providerprofiles which has a column called user_id</p>
<p>Please let me know if i am correct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Girish</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-24420</link>
		<dc:creator>Girish</dc:creator>
		<pubDate>Fri, 14 Nov 2008 15:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-24420</guid>
		<description>Oops, I was trying this out in console... for some reason I need to reload the object to find that it's gone.</description>
		<content:encoded><![CDATA[<p>Oops, I was trying this out in console&#8230; for some reason I need to reload the object to find that it&#8217;s gone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Girish</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-24417</link>
		<dc:creator>Girish</dc:creator>
		<pubDate>Fri, 14 Nov 2008 14:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-24417</guid>
		<description>Great post. I was wondering how to delete a message from say a BuyerProfile object?

e.g.
bp = BuyerProfile.find :first
bp.messages.count # outputs 2
bp.messages.first.destroy

Destroy should delete the first message, but it won't do so. Any reason wjy?</description>
		<content:encoded><![CDATA[<p>Great post. I was wondering how to delete a message from say a BuyerProfile object?</p>
<p>e.g.<br />
bp = BuyerProfile.find :first<br />
bp.messages.count # outputs 2<br />
bp.messages.first.destroy</p>
<p>Destroy should delete the first message, but it won&#8217;t do so. Any reason wjy?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manik</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-13001</link>
		<dc:creator>manik</dc:creator>
		<pubDate>Thu, 07 Aug 2008 10:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-13001</guid>
		<description>Checking spam</description>
		<content:encoded><![CDATA[<p>Checking spam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-3398</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 10 Apr 2007 23:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-3398</guid>
		<description>Incredibly helpful. Thanks for taking the time to write this up - it took all of five minutes to get this sort of thing working in my project. Much appreciated.</description>
		<content:encoded><![CDATA[<p>Incredibly helpful. Thanks for taking the time to write this up - it took all of five minutes to get this sort of thing working in my project. Much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tal</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-2791</link>
		<dc:creator>Tal</dc:creator>
		<pubDate>Tue, 13 Feb 2007 03:24:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-2791</guid>
		<description>Thanks for this great post Manik! I'm going to try and run with it and see what  happens.

Tal</description>
		<content:encoded><![CDATA[<p>Thanks for this great post Manik! I&#8217;m going to try and run with it and see what  happens.</p>
<p>Tal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LVR</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-1033</link>
		<dc:creator>LVR</dc:creator>
		<pubDate>Sat, 14 Oct 2006 17:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-1033</guid>
		<description>&#62;&#62; Added : And yes, now I am thinking about what I would need to write to get all the messages sent or received by a User.

Hi, have you already found out how to do this?</description>
		<content:encoded><![CDATA[<p>&gt;&gt; Added : And yes, now I am thinking about what I would need to write to get all the messages sent or received by a User.</p>
<p>Hi, have you already found out how to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chetan Mittal</title>
		<link>http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-949</link>
		<dc:creator>Chetan Mittal</dc:creator>
		<pubDate>Wed, 13 Sep 2006 14:52:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.fromdelhi.com/2006/06/15/polymorphic-association-in-rails/#comment-949</guid>
		<description>Hi Manik, this is very informative post and cleared couple of doubts I had.</description>
		<content:encoded><![CDATA[<p>Hi Manik, this is very informative post and cleared couple of doubts I had.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
