<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A Simple Twitter App with Ruby on Rails – Building Friendships</title>
	<atom:link href="http://www.noupe.com/ror/a-simple-twitter-app-with-ruby-on-rails-building-friendships.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.noupe.com/ajax/a-simple-twitter-app-with-ruby-on-rails-building-friendships.html</link>
	<description>The Curious Side of Smashing Magazine</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:18:26 +0100</lastBuildDate>
	<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>By: best hemorrhoid treatment</title>
		<link>http://www.noupe.com/ajax/a-simple-twitter-app-with-ruby-on-rails-building-friendships.html/comment-page-1#comment-296449</link>
		<dc:creator>best hemorrhoid treatment</dc:creator>
		<pubDate>Sun, 14 Nov 2010 01:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.noupe.com/?p=19960#comment-296449</guid>
		<description>Equipment are available, lots of reflection?Plaza Raekoja Este, helped decide that.The builder is, hair gained or.Get connected directly best hemorrhoid treatment, yards is protected Do not.Is prone to, by tightening your.,</description>
		<content:encoded><![CDATA[<p>Equipment are available, lots of reflection?Plaza Raekoja Este, helped decide that.The builder is, hair gained or.Get connected directly best hemorrhoid treatment, yards is protected Do not.Is prone to, by tightening your.,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anamaria Feltner</title>
		<link>http://www.noupe.com/ajax/a-simple-twitter-app-with-ruby-on-rails-building-friendships.html/comment-page-1#comment-250095</link>
		<dc:creator>Anamaria Feltner</dc:creator>
		<pubDate>Tue, 12 Oct 2010 23:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.noupe.com/?p=19960#comment-250095</guid>
		<description>2. Magnificent concept, I used to be impressed and i find your blog extremely detail. In reality, you write them comprehensibly and it can make me understand right away. One factor, I love each word you scribble.</description>
		<content:encoded><![CDATA[<p>2. Magnificent concept, I used to be impressed and i find your blog extremely detail. In reality, you write them comprehensibly and it can make me understand right away. One factor, I love each word you scribble.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.noupe.com/ajax/a-simple-twitter-app-with-ruby-on-rails-building-friendships.html/comment-page-1#comment-188000</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 04 Sep 2010 22:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.noupe.com/?p=19960#comment-188000</guid>
		<description>I&#039;ve worked through this tutorial and got it all working but I want to add a feature and i can&#039;t work out how to do it:

I&#039;m able to get a list of the people a person is following. But I can&#039;t work out how to get a list of the people following a person...

 
    
      
    
   

that only shows the people being follow by a user...

I have looked at the SQL table and its storing the links with the user_id and the friend_id... so the above code looks for all records where the @user.id is = to user_id in the table...

I need to be able to access all the records where friend_id = @user.id to get a list of people following the user...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve worked through this tutorial and got it all working but I want to add a feature and i can&#8217;t work out how to do it:</p>
<p>I&#8217;m able to get a list of the people a person is following. But I can&#8217;t work out how to get a list of the people following a person&#8230;</p>
<p>that only shows the people being follow by a user&#8230;</p>
<p>I have looked at the SQL table and its storing the links with the user_id and the friend_id&#8230; so the above code looks for all records where the @user.id is = to user_id in the table&#8230;</p>
<p>I need to be able to access all the records where friend_id = @user.id to get a list of people following the user&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjo</title>
		<link>http://www.noupe.com/ajax/a-simple-twitter-app-with-ruby-on-rails-building-friendships.html/comment-page-1#comment-183358</link>
		<dc:creator>Benjo</dc:creator>
		<pubDate>Wed, 01 Sep 2010 05:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.noupe.com/?p=19960#comment-183358</guid>
		<description>No it is not redundant. because each row is unique. (Row #1) has user2 as user1&#039;s follower. (Row #2) If they follow each other :  user1 as user2&#039;s follower. Easy and simple. (think of difference in facebook and twitter.. in facebook u have to confirm friendship, in twitter u dont)</description>
		<content:encoded><![CDATA[<p>No it is not redundant. because each row is unique. (Row #1) has user2 as user1&#8242;s follower. (Row #2) If they follow each other :  user1 as user2&#8242;s follower. Easy and simple. (think of difference in facebook and twitter.. in facebook u have to confirm friendship, in twitter u dont)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buddy Beers</title>
		<link>http://www.noupe.com/ajax/a-simple-twitter-app-with-ruby-on-rails-building-friendships.html/comment-page-1#comment-159256</link>
		<dc:creator>Buddy Beers</dc:creator>
		<pubDate>Wed, 28 Jul 2010 14:50:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.noupe.com/?p=19960#comment-159256</guid>
		<description>The problem I see with this method is that friendships are reciprocal. So, if user 1 is listed as friends with user 2 then user 2 must also be friends with user 1. Creating another database entry for this seems redundant. How would you handle this?</description>
		<content:encoded><![CDATA[<p>The problem I see with this method is that friendships are reciprocal. So, if user 1 is listed as friends with user 2 then user 2 must also be friends with user 1. Creating another database entry for this seems redundant. How would you handle this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vineeth kumar.s</title>
		<link>http://www.noupe.com/ajax/a-simple-twitter-app-with-ruby-on-rails-building-friendships.html/comment-page-1#comment-115716</link>
		<dc:creator>vineeth kumar.s</dc:creator>
		<pubDate>Mon, 26 Apr 2010 11:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.noupe.com/?p=19960#comment-115716</guid>
		<description>So, what exactly do we relate the user model to?? Well, first we need to specify that the friendship model belongs to a friend (which is actually a user!). You can do this by adding some more lines to the user model:-

class Friendship  &quot;User&quot;
end


i think u have misplaced user model instead friendship model ..</description>
		<content:encoded><![CDATA[<p>So, what exactly do we relate the user model to?? Well, first we need to specify that the friendship model belongs to a friend (which is actually a user!). You can do this by adding some more lines to the user model:-</p>
<p>class Friendship  &#8220;User&#8221;<br />
end</p>
<p>i think u have misplaced user model instead friendship model ..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

