<?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: Model &#8220;X&#8221; with multiple associations leading to Model &#8220;Y&#8221;</title>
	<atom:link href="http://www.webiscake.com/model-x-with-multiple-associations-leading-to-model-y/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webiscake.com/model-x-with-multiple-associations-leading-to-model-y/</link>
	<description>Web developpement made easy</description>
	<pubDate>Mon, 06 Feb 2012 19:53:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Jimmy Bourassa</title>
		<link>http://www.webiscake.com/model-x-with-multiple-associations-leading-to-model-y/#comment-62</link>
		<dc:creator>Jimmy Bourassa</dc:creator>
		<pubDate>Sun, 07 Jun 2009 22:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.webiscake.com/?p=68#comment-62</guid>
		<description>@Gordon

In this case, I am fairly conviced that the foreignKey is not optionnal. Notice that the model actually is User but we're using sender_id and receiver_id as the FKs.</description>
		<content:encoded><![CDATA[<p>@Gordon</p>
<p>In this case, I am fairly conviced that the foreignKey is not optionnal. Notice that the model actually is User but we&#8217;re using sender_id and receiver_id as the FKs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gordon</title>
		<link>http://www.webiscake.com/model-x-with-multiple-associations-leading-to-model-y/#comment-61</link>
		<dc:creator>Gordon</dc:creator>
		<pubDate>Thu, 04 Jun 2009 20:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.webiscake.com/?p=68#comment-61</guid>
		<description>No need to specify foreignKey.

Cookbook:
foreignKey: the name of the foreign key found in the current model. This is especially handy if you need to define multiple belongsTo relationships. The default value for this key is the underscored, singular name of the other model, suffixed with ‘_id’.</description>
		<content:encoded><![CDATA[<p>No need to specify foreignKey.</p>
<p>Cookbook:<br />
foreignKey: the name of the foreign key found in the current model. This is especially handy if you need to define multiple belongsTo relationships. The default value for this key is the underscored, singular name of the other model, suffixed with ‘_id’.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

