<?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: Tutorial : Create a blog using Ruby on Rails 2. (Part 1 &#8211; Relationships)</title>
	<atom:link href="http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/feed/" rel="self" type="application/rss+xml" />
	<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 31 Jul 2010 15:34:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Shailen Sobhee</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-6058</link>
		<dc:creator>Shailen Sobhee</dc:creator>
		<pubDate>Tue, 20 Jul 2010 15:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-6058</guid>
		<description>Why would you add category_id in the table post ? We want to make things organised and logical.  
 
We have the table post (id,title, text, date) 
and category (id, name) 
 
Then the goal is to create a table with name, say post_category linking id in post and id in category. 
 
What do you have to say about the above? </description>
		<content:encoded><![CDATA[<p>Why would you add category_id in the table post ? We want to make things organised and logical.  </p>
<p>We have the table post (id,title, text, date)<br />
and category (id, name) </p>
<p>Then the goal is to create a table with name, say post_category linking id in post and id in category. </p>
<p>What do you have to say about the above?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abder-Rahman</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-6012</link>
		<dc:creator>Abder-Rahman</dc:creator>
		<pubDate>Mon, 19 Jul 2010 08:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-6012</guid>
		<description>Just wanted to note a small typo here: to understand the&quot; basic&quot; of RoR. ---&gt; basics 
 
Thanks. </description>
		<content:encoded><![CDATA[<p>Just wanted to note a small typo here: to understand the&quot; basic&quot; of RoR. &#8212;&gt; basics </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nedia</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-4589</link>
		<dc:creator>nedia</dc:creator>
		<pubDate>Thu, 10 Jun 2010 06:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-4589</guid>
		<description>Ooops! I fount some error while copying the tutorial. 
the error is like this:  
 
 SyntaxError in PostsController#index 
 
/home/aiden/Desktop/blog/app/controllers/posts_controller.rb:35: syntax error, unexpected tIDENTIFIER, expecting kDO or &#039;{&#039; or &#039;(&#039; 
... format.xml  { render &lt;img src=&quot;http://visionmasterdesigns.c... 
                              ^ 
/home/aiden/Desktop/blog/app/controllers/posts_controller.rb:35: syntax error, unexpected tIDENTIFIER, expecting &#039;}&#039; 
...ages/smilies/icon_mad.gif&quot; alt=&quot;:x&quot; class=&quot;wp-smiley&quot;&gt; ml =&gt;... 
                              ^ 
/home/aiden/Desktop/blog/app/controllers/posts_controller.rb:35: syntax error, unexpected kCLASS, expecting &#039;}&#039; 
...s/icon_mad.gif&quot; alt=&quot;:x&quot; class=&quot;wp-smiley&quot;&gt; ml =&gt; @post } 
                              ^ 
/home/aiden/Desktop/blog/app/controllers/posts_controller.rb:35: syntax error, unexpected tASSOC, expecting &#039;}&#039; 
...=&quot;:x&quot; class=&quot;wp-smiley&quot;&gt; ml =&gt; @post } 
 
Please help! </description>
		<content:encoded><![CDATA[<p>Ooops! I fount some error while copying the tutorial.<br />
the error is like this:  </p>
<p> SyntaxError in PostsController#index </p>
<p>/home/aiden/Desktop/blog/app/controllers/posts_controller.rb:35: syntax error, unexpected tIDENTIFIER, expecting kDO or &#039;{&#039; or &#039;(&#039;<br />
&#8230; format.xml  { render &lt;img src=&quot;http://visionmasterdesigns.c&#8230;<br />
                              ^<br />
/home/aiden/Desktop/blog/app/controllers/posts_controller.rb:35: syntax error, unexpected tIDENTIFIER, expecting &#039;}&#039;<br />
&#8230;ages/smilies/icon_mad.gif&quot; alt=&quot;:x&quot; class=&quot;wp-smiley&quot;&gt; ml =&gt;&#8230;<br />
                              ^<br />
/home/aiden/Desktop/blog/app/controllers/posts_controller.rb:35: syntax error, unexpected kCLASS, expecting &#039;}&#039;<br />
&#8230;s/icon_mad.gif&quot; alt=&quot;:x&quot; class=&quot;wp-smiley&quot;&gt; ml =&gt; @post }<br />
                              ^<br />
/home/aiden/Desktop/blog/app/controllers/posts_controller.rb:35: syntax error, unexpected tASSOC, expecting &#039;}&#039;<br />
&#8230;=&quot;:x&quot; class=&quot;wp-smiley&quot;&gt; ml =&gt; @post } </p>
<p>Please help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LostOne</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-4322</link>
		<dc:creator>LostOne</dc:creator>
		<pubDate>Thu, 03 Jun 2010 10:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-4322</guid>
		<description>you forgot login system... </description>
		<content:encoded><![CDATA[<p>you forgot login system&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paylasimmerkezi</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-3761</link>
		<dc:creator>paylasimmerkezi</dc:creator>
		<pubDate>Fri, 07 May 2010 11:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-3761</guid>
		<description>thank you very useful article .And this site is very good  </description>
		<content:encoded><![CDATA[<p>thank you very useful article .And this site is very good</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RainyD</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-3724</link>
		<dc:creator>RainyD</dc:creator>
		<pubDate>Tue, 04 May 2010 03:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-3724</guid>
		<description>This doesnt work for me at all...  Keep getting  NoMethodError error </description>
		<content:encoded><![CDATA[<p>This doesnt work for me at all&#8230;  Keep getting  NoMethodError error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: d1sp1n</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-3366</link>
		<dc:creator>d1sp1n</dc:creator>
		<pubDate>Fri, 12 Mar 2010 18:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-3366</guid>
		<description>All your links come to a &#039;nothing found&#039; page  </description>
		<content:encoded><![CDATA[<p>All your links come to a &#039;nothing found&#039; page</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Clarkson</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-3362</link>
		<dc:creator>Adam Clarkson</dc:creator>
		<pubDate>Sun, 28 Feb 2010 12:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-3362</guid>
		<description>Hi There,  
 
Great tutorial, I&#039;m just getting into Ruby on Rails and really wanted to get my own blog platform up and running asap, so this is helping loads! 
 
One thing I noticed, when you modify the category selection box to become an option field rather than a text box I believe you can do it with one line as follows: 
 
&lt;%= f.collection_select :category_id, @cat, :id, :category_name %&gt; 
 
That uses the @cat variable from the controller and handles the looping for you, I picked it up from the apple tutorials on RoR and just thought it was worth mentioning as it is a little more lightweight and elegant solution 
 
Moving on! 
Adam </description>
		<content:encoded><![CDATA[<p>Hi There,  </p>
<p>Great tutorial, I&#039;m just getting into Ruby on Rails and really wanted to get my own blog platform up and running asap, so this is helping loads! </p>
<p>One thing I noticed, when you modify the category selection box to become an option field rather than a text box I believe you can do it with one line as follows: </p>
<p>&lt;%= f.collection_select :category_id, @cat, :id, :category_name %&gt; </p>
<p>That uses the @cat variable from the controller and handles the looping for you, I picked it up from the apple tutorials on RoR and just thought it was worth mentioning as it is a little more lightweight and elegant solution </p>
<p>Moving on!<br />
Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-3156</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Sat, 11 Jul 2009 02:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-3156</guid>
		<description>Love the captcha! 

Anyway why is grant being an ass? If ya gunna critize it, ya gotta constructify it, brother! How should this article be better? Can you write an article for us that does this but better? Like &quot;The best freaking article on creating categories in Ruby on Rails!!&quot;

I got a question though, how do I know the relationship has been formed? How do I know the project knows Posts belongs to Categories, and Categories has many Posts?</description>
		<content:encoded><![CDATA[<p>Love the captcha! </p>
<p>Anyway why is grant being an ass? If ya gunna critize it, ya gotta constructify it, brother! How should this article be better? Can you write an article for us that does this but better? Like &#8220;The best freaking article on creating categories in Ruby on Rails!!&#8221;</p>
<p>I got a question though, how do I know the relationship has been formed? How do I know the project knows Posts belongs to Categories, and Categories has many Posts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey</title>
		<link>http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/comment-page-1/#comment-1865</link>
		<dc:creator>Andrey</dc:creator>
		<pubDate>Tue, 31 Mar 2009 16:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=448#comment-1865</guid>
		<description>Hi ! I&#039;ve found some errors. Maybe I am wrong, but I had many errors before I noticed that closing brackets for ruby code in .erb files located behind comment sign (#), so operators were just not closed because of that. Since I moved closing brackets (&quot;%&gt;&quot;) from behind the commentaries to the right part, before them, everything seem to work. Hope it will help somebody else too.
And anyway, great tutorial!</description>
		<content:encoded><![CDATA[<p>Hi ! I&#8217;ve found some errors. Maybe I am wrong, but I had many errors before I noticed that closing brackets for ruby code in .erb files located behind comment sign (#), so operators were just not closed because of that. Since I moved closing brackets (&#8220;%&gt;&#8221;) from behind the commentaries to the right part, before them, everything seem to work. Hope it will help somebody else too.<br />
And anyway, great tutorial!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
