<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>%w(Akita On Rails) * 2.0 - Rolling with Rails 2.0 - The First Full Tutorial - Part 1 Comments</title>
  <id>tag:www.akitaonrails.com,2008:/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial/comments</id>
  <generator uri="http://mephistoblog.com" version="0.8.0">Mephisto Drax</generator>
  <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
  <updated>2008-05-05T21:48:29Z</updated>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>ricocho</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2777</id>
    <published>2008-05-05T21:48:29Z</published>
    <updated>2008-05-05T21:48:29Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by ricocho</title>
<content type="html">&lt;p&gt;Fairy new to ror, just upgraded to rails 2.0 just to add to to my confusion. Followed this tutorial and got every thing working&#8230;thanks.&lt;/p&gt;


	&lt;p&gt;I was playing around and wanted  to add an &#8216;edit&#8217; link next to each comment in the post. I believe that &#8220;edit_post_comment_path&#8221; in my post view would work just don&#8217;t know how to pass in the parameters its looking for.&lt;/p&gt;


	&lt;p&gt;I get the following error: 
edit_post_comment_url failed to generate from {:controller=&amp;gt;&#8221;comments&#8221;, :action=&amp;gt;&#8221;edit&#8221;} &#8211; you may have ambiguous routes, or you may need to supply additional parameters for this route.  content_url has the following required parameters: [&#8220;posts&#8221;, :post_id, &#8220;comments&#8221;, :id, &#8220;edit&#8221;]&lt;/p&gt;


	&lt;p&gt;Due to my lack of experience I don&#8217;t know how to format pass in the parameters. Any ideas&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Bill</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2585</id>
    <published>2008-04-14T21:19:03Z</published>
    <updated>2008-04-14T21:19:03Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Bill</title>
<content type="html">Above you have:
Finally, it would be good to link the comments list to the post view. So let’s do it:
&amp;lt;!&lt;del&gt;- app/views/posts/show.html.erb -&lt;/del&gt;&amp;gt;
&amp;lt;%= link_to &#8216;Comments&#8217;, post_comments_path(@post) %&amp;gt;
&amp;lt;%= link_to &#8216;Edit&#8217;, edit_post_path(@post) %&amp;gt; |
&amp;lt;%= link_to &#8216;Back&#8217;, posts_path %&amp;gt;
but I got a  NoMethodError in Posts#show so I downloaded your source code and it says:
&lt;p&gt;
  &lt;b&gt;Title:&lt;/b&gt;
  &amp;lt;%=h @post.title %&amp;gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;b&gt;Body:&lt;/b&gt;
  &amp;lt;%=h @post.body %&amp;gt;
&lt;/p&gt;

	&lt;p&gt;&amp;lt;% unless @post.comments.empty? %&amp;gt;
  &lt;h3&gt;Comments&lt;/h3&gt;
  &amp;lt;% @post.comments.each do |comment| %&amp;gt;
  &lt;p&gt;&amp;lt;%= h comment.body %&amp;gt;&lt;/p&gt;
  &amp;lt;% end %&amp;gt;
&amp;lt;% end %&amp;gt;&lt;/p&gt;


&lt;h3&gt;New Comment&lt;/h3&gt;

	&lt;p&gt;&amp;lt;%= render :partial =&amp;gt; @comment = Comment.new, 
     :locals =&amp;gt; { :button_name =&amp;gt; &#8216;Create&#8217;}%&amp;gt;&lt;/p&gt;


	&lt;p&gt;&amp;lt;%= link_to &#8216;Back&#8217;, posts_path %&amp;gt;&lt;/p&gt;


	&lt;p&gt;I tried this code and I still get the  NoMethodError in Posts#show&lt;/p&gt;


	&lt;p&gt;Regards,
Bill&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Bill</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2584</id>
    <published>2008-04-14T18:31:46Z</published>
    <updated>2008-04-14T18:31:46Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Bill</title>
<content type="html">&lt;p&gt;The line:
rake db:create:all
should be:
cd blog
rake db:create:all&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>poorna</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2563</id>
    <published>2008-04-09T18:30:43Z</published>
    <updated>2008-04-09T18:30:43Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by poorna</title>
<content type="html">&lt;p&gt;Akita,&lt;/p&gt;


	&lt;p&gt;Thanks for the excellent tutorial, this is my reference point when I have something quick to cook up :)&lt;/p&gt;


	&lt;p&gt;Wrt to the comment by &#8220;Robin em&#8221; on &#8220;01 Feb 09:43&#8221;, I think his specific question was:&lt;/p&gt;


	&lt;p&gt;How do i get a url like [projects/:project_id/document/id/download]
where you have the documents as a nested resource under projects resources but you need a download action for the document resource?&lt;/p&gt;


	&lt;p&gt;So in routes.rb it will be:
map.resources :projects do |project|
  project.resources :documents, :member =&amp;gt; [:download]
end&lt;/p&gt;


	&lt;p&gt;&lt;em&gt;Is there a easier one-line way to write the above using has_many instead of the block?&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;and the download action will be a method in documents controller and not the projects controller.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>JL Smith</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2551</id>
    <published>2008-04-07T16:10:22Z</published>
    <updated>2008-04-07T16:10:22Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by JL Smith</title>
<content type="html">&lt;p&gt;This is a really great tutorial.  Thanks!&lt;/p&gt;


	&lt;p&gt;The only question I have is how do I get the error messages for a comment to display on the post&#8217;s screen and not on the generic comment screen, since afterall, a comment is nested inside a post.  Much thanks for any help!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Ivan</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2549</id>
    <published>2008-04-07T09:00:23Z</published>
    <updated>2008-04-07T09:00:23Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Ivan</title>
<content type="html">&lt;p&gt;thankx a lot, thi one great.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>morbyte</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2548</id>
    <published>2008-04-07T08:42:17Z</published>
    <updated>2008-04-07T08:42:17Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by morbyte</title>
<content type="html">&lt;p&gt;Awesome tutorial. really informative. also the screencast. so fully packed with compressed information that you have to play, stop, rewind :) I really like it alot.&lt;/p&gt;


	&lt;p&gt;Although i have one question:&lt;/p&gt;


	&lt;p&gt;You use 
   map.resources :posts, :has_many =&amp;gt; :comments
in your routes.rb. Why are we able to use :has_many here? The api tells me resources has no option called :has_many.
am i missing sth obvious here?&lt;/p&gt;


	&lt;p&gt;Nonetheless, how do i specify routes with multiple has_many connections?&lt;/p&gt;


	&lt;p&gt;Thanks alot in advance&lt;/p&gt;


	&lt;p&gt;morbyte&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Chuy</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2500</id>
    <published>2008-04-02T02:42:21Z</published>
    <updated>2008-04-02T02:42:21Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Chuy</title>
<content type="html">&lt;p&gt;Hello to everyone, AkitaOnRails &lt;span class=&quot;caps&quot;&gt;CONGRATS&lt;/span&gt;!! this is really good!!! I&#8217;m new and i&#8217;m really enjoying this!&lt;/p&gt;


	&lt;p&gt;I can not get to work the app though.&lt;/p&gt;


	&lt;p&gt;when i try to view the comments related to a post it says &#8221; NoMethodError in CommentsController#index&#8221;&lt;/p&gt;


	&lt;p&gt;Anyone can helpme out with this?&lt;/p&gt;


	&lt;p&gt;Thank you all before hand&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>tradebanker</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2497</id>
    <published>2008-04-01T22:35:36Z</published>
    <updated>2008-04-01T22:35:36Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by tradebanker</title>
<content type="html">&lt;p&gt;Great demo! I added a link to posts index view 
&amp;lt;%= link_to &#8216;Administer&#8217;, admin_posts_path %&amp;gt;
to give me an easy way to get to admin 
and it takes me there without any authentication. I thought I would have to authenticate prior to opening the admin/posts page.  How do I force authentication?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Karn</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2494</id>
    <published>2008-04-01T03:06:07Z</published>
    <updated>2008-04-01T03:06:07Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Karn</title>
<content type="html">&lt;p&gt;Hi Akita,&lt;/p&gt;


	&lt;p&gt;Thank you for a wonderful tutorial. I followed it and everything works like a charm! &lt;span class=&quot;caps&quot;&gt;HOWEVER&lt;/span&gt;, one wierd issue and I could not search anywhere on the web.&lt;/p&gt;


	&lt;p&gt;Issue: I used the Admin namespace. I am also using a template in application.html.erb which has an image in the header.
For pages in the Admin namespace, I can see the header image only on the index page and not on any other!! Stylesheet works, partial forms work but the only thing missing is the image. When I look at the server it tells me layout.erb (not_found). Please help!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Marcus Lopes</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2484</id>
    <published>2008-03-29T03:15:00Z</published>
    <updated>2008-03-29T03:15:00Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Marcus Lopes</title>
<content type="html">&lt;p&gt;I figure it out&#8230;&lt;/p&gt;


	&lt;p&gt;I forgot the square brackets here
format.html { redirect_to([:admin, @post]) }&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Marcus Lopes</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2479</id>
    <published>2008-03-28T19:04:33Z</published>
    <updated>2008-03-28T19:04:33Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Marcus Lopes</title>
<content type="html">&lt;p&gt;Hi Akita&#8230;&lt;/p&gt;


	&lt;p&gt;I followed your tutorial&#8230; It is really what I was looking for.&lt;/p&gt;


	&lt;p&gt;I&#8217;ve been looking for a admin tutorial like this for a long time.&lt;/p&gt;


	&lt;p&gt;Almost everything is working on my side except that when I try to save or edit a post it displays the following error&lt;/p&gt;


	&lt;p&gt;undefined method `symbol_url&#8217; for #&amp;lt;admin::acupuncturescontroller:0xb78394f8&gt;&lt;/p&gt;


	&lt;p&gt;/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/polymorphic_routes.rb:27:in `send!&#8217;
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/polymorphic_routes.rb:27:in `polymorphic_url&#8217;
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:618:in `url_for&#8217;
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1060:in `redirect_to&#8217;
app/admin/acupunctures_controller.rb:52:in `create&#8217;...&lt;/p&gt;


	&lt;p&gt;I&#8217;ll post the entire stack if necessary&lt;/p&gt;


	&lt;p&gt;Abracos&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Arjun</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2469</id>
    <published>2008-03-27T14:54:48Z</published>
    <updated>2008-03-27T14:54:48Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Arjun</title>
<content type="html">&lt;p&gt;A very nice and useful article on Rails 2.0. A must for people starting out on Rail 2.0&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>kotosha</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2427</id>
    <published>2008-03-13T21:53:59Z</published>
    <updated>2008-03-13T21:53:59Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by kotosha</title>
<content type="html">&lt;p&gt;@AkitaOnRails:&lt;/p&gt;


	&lt;p&gt;Consider we want to categorize our posts.. 
I wonder how routes.rb should be written for our categories_controller.rb&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;Any ideas?&lt;/code&gt;&lt;/pre&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Justin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2402</id>
    <published>2008-03-12T20:12:43Z</published>
    <updated>2008-03-12T20:12:43Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Justin</title>
<content type="html">&lt;p&gt;@Niko:&lt;/p&gt;


	&lt;p&gt;It occurs in one of your views. Search for &#8220;post_comment_url(@post, @comment)&#8221; in this tutorial. You probably missed changing something that he changed in the tutorial.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>kabnot</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2387</id>
    <published>2008-03-11T20:35:22Z</published>
    <updated>2008-03-11T20:35:22Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by kabnot</title>
<content type="html">&lt;p&gt;Great work!! thanks very much. Just one suggestion : it could be nice to provide one source archive with rails freezed. ;)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>kubi</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2386</id>
    <published>2008-03-11T20:35:15Z</published>
    <updated>2008-03-11T20:35:15Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by kubi</title>
<content type="html">&lt;p&gt;Thank you very much for this tutorial!!! I didn&#8217;t used rails for quite a while, and when i tryied the same steps as in pre 2.0 i recieved error after error. With your tutorial i finally get everything to work as it used to.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Niko</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2381</id>
    <published>2008-03-10T17:15:08Z</published>
    <updated>2008-03-10T17:15:08Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Niko</title>
<content type="html">&lt;p&gt;First, Thanks for this tutorial.
Nevertheless, I&#8217;m a novice in RoR and I don&#8217;t understand where this error occurs.&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;NoMethodError in CommentsController#create&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;undefined method `comment_url&#8217; for #&amp;lt;commentscontroller:0xb73b9824&gt;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>techguide</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2380</id>
    <published>2008-03-10T06:49:11Z</published>
    <updated>2008-03-10T06:49:11Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by techguide</title>
<content type="html">&lt;p&gt;thanks for the great tutorial&#8230; found it really helpful.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Luis Sarti</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2379</id>
    <published>2008-03-09T19:03:54Z</published>
    <updated>2008-03-09T19:03:54Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Luis Sarti</title>
<content type="html">&lt;p&gt;Hey, the way to fix the problem I found in the admin interface with render :partial is to put the string &#8220;post&#8221; instead of the variable @post.&lt;/p&gt;


	&lt;p&gt;So in my final new.html.erb and edit.html.erb , both have the &amp;lt;%= render :partial =&amp;gt; &#8220;post&#8221;, :local =&amp;gt; {...} %&amp;gt;&lt;/p&gt;


	&lt;p&gt;woohoo!!!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Luis Sarti</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2377</id>
    <published>2008-03-09T05:33:07Z</published>
    <updated>2008-03-09T05:33:07Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Luis Sarti</title>
<content type="html">&lt;p&gt;Is there a reason to not doing the &lt;span class=&quot;caps&quot;&gt;DRY&lt;/span&gt; in the new and edit form of the post. (with the render :partial)&lt;/p&gt;


	&lt;p&gt;I was trying to do that in the admin interface and it gives me an error saying that posts/_post does not exists, which is true because the one that exists is admin/posts/_post, is there a way to tell the render :partial @posts to use the namespace? I have tried with
&amp;lt;%= render :partial =&amp;gt; @post &#8230; %&amp;gt;
and with:
&amp;lt;%= render :partial =&amp;gt; [:admin, @post]... %&amp;gt;
both dont work&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2376</id>
    <published>2008-03-08T23:55:48Z</published>
    <updated>2008-03-08T23:55:48Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by AkitaOnRails</title>
<content type="html">&lt;p&gt;Actually if you just want all comments just go directly: Comment.find(:all)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Justin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2374</id>
    <published>2008-03-08T20:37:41Z</published>
    <updated>2008-03-08T20:37:41Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Justin</title>
<content type="html">&lt;p&gt;Oops&#8230; bad formatting.&lt;/p&gt;


	&lt;p&gt;Post.find(:all).each do |post|&lt;/p&gt;


	&lt;p&gt;post.comments.each do |comment|&lt;/p&gt;


	&lt;p&gt;//print the comment&#8230; &amp;lt;%= comment.body %&amp;gt;&lt;/p&gt;


	&lt;p&gt;end&lt;/p&gt;


	&lt;p&gt;end&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Justin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2373</id>
    <published>2008-03-08T20:35:42Z</published>
    <updated>2008-03-08T20:35:42Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Justin</title>
<content type="html">&lt;p&gt;@RyanTuosto&lt;/p&gt;


	&lt;p&gt;I think you would do something like&lt;/p&gt;


Post.find(:all).each do |post|
post.comments.each do |comment|
	&lt;ol&gt;
	&lt;li&gt;print the comment.. &amp;lt;%= comment.body %&amp;gt;
end
end&lt;/li&gt;
	&lt;/ol&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>RyanTuosto</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2359</id>
    <published>2008-03-07T03:35:28Z</published>
    <updated>2008-03-07T03:35:28Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by RyanTuosto</title>
<content type="html">&lt;p&gt;@anybody who can help&lt;/p&gt;


	&lt;p&gt;What if I want to view all comments for all posts on a single page?  Obviously you wouldn&#8217;t want to do this in the blog example, but for my own purposes I need to display all child nodes on a page.&lt;/p&gt;


	&lt;p&gt;Thanks!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>kotosha</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2356</id>
    <published>2008-03-06T21:56:42Z</published>
    <updated>2008-03-06T21:56:42Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by kotosha</title>
<content type="html">&lt;p&gt;@AkitaOnRails:&lt;/p&gt;


	&lt;p&gt;I have one question. Suppose I&#8217;d like to divide my posts into categories.
I know that I have to generate another controller Categories but how to connect this f.e. with changes in routes.rb, relations with files. I would be grateful for any ideas, hints, suggestions.&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;thanks for your time&lt;/code&gt;&lt;/pre&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>kotosha</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2355</id>
    <published>2008-03-06T21:47:28Z</published>
    <updated>2008-03-06T21:47:28Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by kotosha</title>
<content type="html">&lt;p&gt;@jYeCkeL :
  It seems you have some syntax error. Try to check it out again.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>jYeCkeL</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2351</id>
    <published>2008-03-05T17:42:05Z</published>
    <updated>2008-03-05T17:42:05Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by jYeCkeL</title>
<content type="html">&lt;p&gt;NameError in Comments#index&lt;/p&gt;


	&lt;p&gt;I get this error when trying to access &#8220;http://localhost:3000/posts/1/comments&#8221; i have checked the post/comment.rb and they seem to be set up correctly.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>kotosha</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2339</id>
    <published>2008-03-03T20:15:55Z</published>
    <updated>2008-03-03T20:15:55Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by kotosha</title>
<content type="html">&lt;p&gt;This tutorial is that thing which I was looking for. I must admit that rails 2.x changed many basic things, names conventions, so I think that your tut is the first that drives as through this version. Thanks a lot. Much more tuts like this.&lt;/p&gt;


	&lt;p&gt;regards
kotosha&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Rome</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2328</id>
    <published>2008-03-02T22:39:18Z</published>
    <updated>2008-03-02T22:39:18Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Rome</title>
<content type="html">&lt;p&gt;How would I use a path prefix to my restful routes?&lt;/p&gt;


	&lt;p&gt;ex.&lt;/p&gt;


	&lt;p&gt;Instead of &#8220;http://mysite.com/articles/1&#8230; 
Have &#8220;http://mysite.com/blog/articles/1&#8230;&lt;/p&gt;


	&lt;p&gt;Do i make a separate controller? 
script/generate controller Blog::Articles ?&lt;/p&gt;


	&lt;p&gt;Or is it something simple that I&#8217;m completely overlooking?&lt;/p&gt;


	&lt;p&gt;Great Tutorials!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Mamun</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2323</id>
    <published>2008-03-02T06:27:30Z</published>
    <updated>2008-03-02T06:27:30Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Mamun</title>
<content type="html">&lt;p&gt;Thanks for your nice post, it help me a lot about rail2, any way how can i set id to the from_for, i have searched a lot of place but i failed, can u help me?&lt;/p&gt;


	&lt;p&gt;&amp;lt;% form_for([:admin, @post]) do |f| %&amp;gt;
  ...
&amp;lt;% end %&amp;gt;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Ruben</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2314</id>
    <published>2008-02-28T07:28:36Z</published>
    <updated>2008-02-28T07:28:36Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Ruben</title>
<content type="html">&lt;p&gt;Gracias por el Tutorial Akita, muy bien explicado. Tu trabajo es de gran utilidad.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Ron Phillips</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2310</id>
    <published>2008-02-27T16:03:03Z</published>
    <updated>2008-02-27T16:03:03Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Ron Phillips</title>
<content type="html">&lt;p&gt;I posted a little tut, &lt;a href=&quot;http://wiki.rubyonrails.org/rails/pages/HowToDoHasOneNestingInRails2.0&quot;&gt;How to Do has_one Nesting in Rails 2.0&lt;/a&gt;
 showing one way to handle nested routes with has_one associations.&lt;/p&gt;


	&lt;p&gt;Great tutorial, Fabio, you&#8217;re a life saver.&lt;/p&gt;


	&lt;p&gt;Ron&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>fabian</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2286</id>
    <published>2008-02-23T13:56:14Z</published>
    <updated>2008-02-23T13:56:14Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by fabian</title>
<content type="html">&lt;p&gt;great tutorial but when i try to open:
http://localhost:3000/posts/1/comments&lt;/p&gt;


	&lt;p&gt;I get this:
Couldn&#8217;t find Comment without an ID&lt;/p&gt;


	&lt;p&gt;Request Parameters shows: {&#8220;post_id&#8221;=&amp;gt;&#8221;1&#8221;}&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Jon Hanshew</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2267</id>
    <published>2008-02-21T22:50:36Z</published>
    <updated>2008-02-21T22:50:36Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Jon Hanshew</title>
<content type="html">&lt;p&gt;Just got through the tutorial.  Great work.  Only had to start over once!  I can see that this is really powerful stuff.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Leif</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2266</id>
    <published>2008-02-21T21:47:09Z</published>
    <updated>2008-02-21T21:47:09Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Leif</title>
<content type="html">&lt;p&gt;Yeah, I was missing the &#8216;new&#8217; and &#8216;edit&#8217; actions in my controller from when I moved it under admin.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2257</id>
    <published>2008-02-20T19:55:56Z</published>
    <updated>2008-02-20T19:55:56Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by AkitaOnRails</title>
<content type="html">&lt;p&gt;That&#8217;s really strange. I just checked in my installation and it works fine. Can you double check with my &lt;a href=&quot;http://www.akitaonrails.com/assets/2007/12/12/blog_demo.zip&quot;&gt;source code&lt;/a&gt; ?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Leif</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2251</id>
    <published>2008-02-20T02:58:15Z</published>
    <updated>2008-02-20T02:58:15Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Leif</title>
<content type="html">&lt;p&gt;Okay, I&#8217;ve made it as far as the admin, copied the views into views/admin/posts. The new.html.erb and edit.html.erb do not work for me. It hangs up on this line (line #5):&lt;/p&gt;


	&lt;p&gt;&amp;lt;% form_for([:admin, @post]) do |f| %&amp;gt;&lt;/p&gt;


	&lt;p&gt;and I get this error:&lt;/p&gt;


	&lt;p&gt;RuntimeError in Admin/posts#new&lt;/p&gt;


	&lt;p&gt;Showing admin/posts/new.html.erb where line #5 raised:&lt;/p&gt;


	&lt;p&gt;Called id for nil, which would mistakenly be 4&#8212;if you really wanted the id of nil, use object_id&lt;/p&gt;


	&lt;p&gt;what&#8217;s going on here??? I have double checked, triple checked, quadruple checked, etc, etc, etc and my code matches perfectly with the tutorial.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Leif</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2250</id>
    <published>2008-02-19T22:27:31Z</published>
    <updated>2008-02-19T22:27:31Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Leif</title>
<content type="html">&lt;p&gt;Okay, I figured it out, I had some simple syntax problems.&lt;/p&gt;


	&lt;p&gt;&amp;lt;%= f.submit :button_name %&amp;gt;&lt;/p&gt;


	&lt;p&gt;instead of&lt;/p&gt;


	&lt;p&gt;&amp;lt;%= f.submit button_name %&amp;gt;&lt;/p&gt;


	&lt;p&gt;and &amp;lt;% render instead of &amp;lt;%= render&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Leif</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2249</id>
    <published>2008-02-19T08:15:13Z</published>
    <updated>2008-02-19T08:15:13Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Leif</title>
<content type="html">&lt;p&gt;yeah, is there something else in the routes.rb or something where we have to add something to make the partial work so that the edit.html.erb and new.html.erb link to the _comment.html.erb that we created?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Heiko</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2247</id>
    <published>2008-02-18T21:47:51Z</published>
    <updated>2008-02-18T21:47:51Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Heiko</title>
<content type="html">&lt;p&gt;Hello,&lt;/p&gt;


	&lt;p&gt;I used the dynamic scaffolding to set up the application. Afterwards I changed to static. Is there a possibility to redo the &#8220;generate scaffold&#8221; after modifying the database e.g. inserting columns?&lt;/p&gt;


	&lt;p&gt;Thanks a lot!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Pete</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2240</id>
    <published>2008-02-18T00:18:19Z</published>
    <updated>2008-02-18T00:18:19Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Pete</title>
<content type="html">&lt;p&gt;Hmm, I&#8217;ve just tried it and the best I&#8217;ve managed so far is to include &#8216;error_messages_for&#8217; in the file that defines the comment form partial. This &lt;em&gt;will&lt;/em&gt; show you any errors, but not inline on the post page, you get redirected to comments/new.&lt;/p&gt;


	&lt;p&gt;I have a feeling this can be overcome by altering the &lt;em&gt;format.html { render :action =&amp;gt; &#8216;new&#8217; }&lt;/em&gt; line in the comments controller&#8217;s &lt;em&gt;create&lt;/em&gt; method, but I&#8217;m not sure how!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Darwiin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2239</id>
    <published>2008-02-17T19:49:46Z</published>
    <updated>2008-02-17T19:49:46Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Darwiin</title>
<content type="html">&lt;p&gt;@Pete&lt;/p&gt;


	&lt;p&gt;Thanks for your answer. I&#8217;ve already tried this but it doesn&#8217;t seems to work.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Pete</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2238</id>
    <published>2008-02-17T18:36:53Z</published>
    <updated>2008-02-17T18:36:53Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Pete</title>
<content type="html">&lt;p&gt;Darwiin,&lt;/p&gt;


	&lt;p&gt;I&#8217;m a bit of a Rails newbie myself but I believe you just need to include:&lt;/p&gt;


	&lt;p&gt;&amp;lt;%= error_messages_for :comment %&amp;gt;&lt;/p&gt;


	&lt;p&gt;Somewhere in your views/posts/show.html.erb&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Darwiin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2237</id>
    <published>2008-02-17T17:38:45Z</published>
    <updated>2008-02-17T17:38:45Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Darwiin</title>
<content type="html">&lt;p&gt;Hi all, very good tutorial. Sorry if it&#8217;s a silly question, but I&#8217;m new in RoR, so I have a question. In the post view with the comments, is it possible to show error messages from the comment model ?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>nwgadgetguy</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2233</id>
    <published>2008-02-16T06:32:12Z</published>
    <updated>2008-02-16T06:32:12Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by nwgadgetguy</title>
<content type="html">&lt;p&gt;Back again. Found the problem. Needed to run &#8216;mysql&#8217; and create the database from the shell (using &#8216;create database blog_development;&#8217; etc.) Not mentioned above. Don&#8217;t know if it&#8217;s necessary, but I include &#8216;grant all on blog_development.* to &#8216;ODBC&#8217;@&#8217;localhost&#8217;;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>nwgadgetguy</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2232</id>
    <published>2008-02-16T06:15:21Z</published>
    <updated>2008-02-16T06:15:21Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by nwgadgetguy</title>
<content type="html">&lt;p&gt;Sorry about the last post &#8211; I didn&#8217;t realize the example put in a password. Changed it to my password, then got following error: 
&#8220;Unknown database &#8216;blog_development&#8217; &#8221; 
I though we set this up in the &#8216;database.yml&#8217; file. ???&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>nwgadgetguy</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2231</id>
    <published>2008-02-16T06:08:54Z</published>
    <updated>2008-02-16T06:08:54Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by nwgadgetguy</title>
<content type="html">&lt;p&gt;Sorry for question from newbie.
If it is not one thing, its another. Good Ruby 2.0 tutorial &#8211; as far as I got! 
Like style better than other books/tutorials so I am sticking with this one.
Problem: When running rake db:migrate, got &lt;span class=&quot;caps&quot;&gt;SQL&lt;/span&gt; error: &#8220;Access denied for user &#8216;root&#8217;@&#8217;localhost&#8217; (using password: &lt;span class=&quot;caps&quot;&gt;YES&lt;/span&gt;)&#8221; 
I installed InstantRails (WindowsXP), and think it may be using sqllite.  
How do I tell? 
How do I fix or change?
&#8212;Thanks&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Mike</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2226</id>
    <published>2008-02-15T16:19:48Z</published>
    <updated>2008-02-15T16:19:48Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Mike</title>
<content type="html">&lt;p&gt;I got it to work with&lt;/p&gt;


	&lt;p&gt;&amp;lt;%= link_to &#8216;Refresh List&#8217;, {:action =&amp;gt; &#8216;index&#8217;, :update =&amp;gt; &#8216;True&#8217;} %&amp;gt;&lt;/p&gt;


	&lt;p&gt;but i wanted to do it using the named routes&#8230; is that possible&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Mike</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2224</id>
    <published>2008-02-15T16:02:00Z</published>
    <updated>2008-02-15T16:02:00Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Mike</title>
<content type="html">&lt;p&gt;If i wanted to have a link to a url like this:&lt;/p&gt;


	&lt;p&gt;localhost:3000/documents/?update=true&lt;/p&gt;


	&lt;p&gt;how would i format my link_to?&lt;/p&gt;


	&lt;p&gt;i tried 
&amp;lt;%= link_to &#8216;Refresh List&#8217;, documents_path, :update =&amp;gt; &#8216;true&#8217; %&amp;gt;&lt;/p&gt;


	&lt;p&gt;but it didnt work&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Matt</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2164</id>
    <published>2008-02-09T15:21:28Z</published>
    <updated>2008-02-09T15:21:28Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Matt</title>
<content type="html">&lt;p&gt;I wanted to answer my own question from above, in case it may be any help to others.&lt;/p&gt;


	&lt;p&gt;I had missed the step in the controller changing from&lt;/p&gt;


	&lt;p&gt;Comment.new&lt;/p&gt;


	&lt;p&gt;to&lt;/p&gt;


	&lt;p&gt;@post.comments.build&lt;/p&gt;


	&lt;p&gt;I was using the &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt; version of the tutorial, and this step wasn&#8217;t as obvious.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Andrew Premdas</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2154</id>
    <published>2008-02-08T12:18:24Z</published>
    <updated>2008-02-08T12:18:24Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Andrew Premdas</title>
<content type="html">&lt;p&gt;Thankyou for excellent tutorial. I wonder if you did anything with the tests when doing this. In particular I&#8217;m having difficult moving the functional test to the admin section. Any chance of a tutorial update to deal with that?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Wout</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2138</id>
    <published>2008-02-05T19:48:16Z</published>
    <updated>2008-02-05T19:48:16Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Wout</title>
<content type="html">&lt;p&gt;Hi Fabio,
Thanx for this great tut! This was my liftoff in Rails development (finally). I&#8217;m coming from &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; and I&#8217;m glad to erase that language from my life :-)&lt;/p&gt;


	&lt;p&gt;Rails rocks, and you too!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Matt</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2133</id>
    <published>2008-02-05T03:24:03Z</published>
    <updated>2008-02-05T03:24:03Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Matt</title>
<content type="html">&lt;p&gt;Great tutorial!  I&#8217;ve gone through it and it&#8217;s helped me immensely.  But I am having one problem I can&#8217;t get past.&lt;/p&gt;


	&lt;p&gt;It seems the child records in the has_many/belongs_to do not get the parent&#8217;s id in their foreign key fields.  So, using the example from the tutorial, the Comment records do not refer back to any Post.  If I modify the database directly, everything else works fine.  It seems it is just the initial creation of the child record that is the problem.&lt;/p&gt;


	&lt;p&gt;Any advice would be greatly appreciated as I&#8217;ve searched quite a lot and seem to be stuck at this problem.  Thank you!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>dreamhost promo</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2128</id>
    <published>2008-02-04T03:40:40Z</published>
    <updated>2008-02-04T03:40:40Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by dreamhost promo</title>
<content type="html">&lt;p&gt;hey, thanks for the great tutorial&#8230;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Robin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2117</id>
    <published>2008-02-01T16:41:08Z</published>
    <updated>2008-02-01T16:41:08Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Robin</title>
<content type="html">&lt;p&gt;Thanks for your quick answer.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2116</id>
    <published>2008-02-01T13:48:25Z</published>
    <updated>2008-02-01T13:48:25Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by AkitaOnRails</title>
<content type="html">&lt;p&gt;@robin: I think you misunderstood it. What you want is:&lt;/p&gt;


&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td title=&quot;click to toggle&quot; class=&quot;line_numbers&quot;&gt;&lt;pre&gt;&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td class=&quot;code&quot;&gt;&lt;pre&gt;map.resources &lt;span class=&quot;sy&quot;&gt;:projects&lt;/span&gt;, &lt;span class=&quot;sy&quot;&gt;:has_many&lt;/span&gt; =&amp;gt; &lt;span class=&quot;sy&quot;&gt;:documents&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;


	&lt;p&gt;Right?&lt;/p&gt;


	&lt;p&gt;This means named URLs as:&lt;/p&gt;


&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td title=&quot;click to toggle&quot; class=&quot;line_numbers&quot;&gt;&lt;pre&gt;&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td class=&quot;code&quot;&gt;&lt;pre&gt;project_document_url(&lt;span class=&quot;iv&quot;&gt;@project&lt;/span&gt;, &lt;span class=&quot;iv&quot;&gt;@document&lt;/span&gt;)&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;


	&lt;p&gt;Or route shortcuts as:&lt;/p&gt;


&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td title=&quot;click to toggle&quot; class=&quot;line_numbers&quot;&gt;&lt;pre&gt;&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td class=&quot;code&quot;&gt;&lt;pre&gt;[&lt;span class=&quot;iv&quot;&gt;@project&lt;/span&gt;, &lt;span class=&quot;iv&quot;&gt;@document&lt;/span&gt;]&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;


	&lt;p&gt;If you do:&lt;/p&gt;


&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td title=&quot;click to toggle&quot; class=&quot;line_numbers&quot;&gt;&lt;pre&gt;&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td class=&quot;code&quot;&gt;&lt;pre&gt;[&lt;span class=&quot;sy&quot;&gt;:download&lt;/span&gt;, &lt;span class=&quot;iv&quot;&gt;@project&lt;/span&gt;]&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;


	&lt;p&gt;It means that you want to call the custom action names &#8216;download&#8217; in the projects controller, something as:&lt;/p&gt;


&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td title=&quot;click to toggle&quot; class=&quot;line_numbers&quot;&gt;&lt;pre&gt;1&lt;tt&gt;
&lt;/tt&gt;2&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td class=&quot;code&quot;&gt;&lt;pre&gt;&lt;tt&gt;
&lt;/tt&gt;map.resources &lt;span class=&quot;sy&quot;&gt;:projects&lt;/span&gt;, &lt;span class=&quot;sy&quot;&gt;:member&lt;/span&gt; =&amp;gt; { &lt;span class=&quot;sy&quot;&gt;:download&lt;/span&gt; =&amp;gt; &lt;span class=&quot;sy&quot;&gt;:get&lt;/span&gt; }&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;


	&lt;p&gt;and&lt;/p&gt;


&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td title=&quot;click to toggle&quot; class=&quot;line_numbers&quot;&gt;&lt;pre&gt;1&lt;tt&gt;
&lt;/tt&gt;2&lt;tt&gt;
&lt;/tt&gt;3&lt;tt&gt;
&lt;/tt&gt;4&lt;tt&gt;
&lt;/tt&gt;&lt;strong&gt;5&lt;/strong&gt;&lt;tt&gt;
&lt;/tt&gt;6&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td class=&quot;code&quot;&gt;&lt;pre&gt;&lt;tt&gt;
&lt;/tt&gt;&lt;span class=&quot;r&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;cl&quot;&gt;ProjectsController&lt;/span&gt;&lt;tt&gt;
&lt;/tt&gt;  &lt;span class=&quot;r&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;fu&quot;&gt;download&lt;/span&gt;&lt;tt&gt;
&lt;/tt&gt;  ...&lt;tt&gt;
&lt;/tt&gt;  &lt;span class=&quot;r&quot;&gt;end&lt;/span&gt;&lt;tt&gt;
&lt;/tt&gt;&lt;span class=&quot;r&quot;&gt;end&lt;/span&gt;&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;


	&lt;p&gt;Get it?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Robin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2112</id>
    <published>2008-02-01T11:45:27Z</published>
    <updated>2008-02-01T11:45:27Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Robin</title>
<content type="html">&lt;p&gt;The big fat &#8220;map.resources :documents&#8221; is comment in my routes.rb.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Robin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2111</id>
    <published>2008-02-01T11:43:26Z</published>
    <updated>2008-02-01T11:43:26Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Robin</title>
<content type="html">&lt;p&gt;Everything in the Tutorial work by me.&lt;/p&gt;


	&lt;p&gt;Now I want to make some additional actions (like &#8216;download&#8217;). And I define them in the controller.&lt;/p&gt;


	&lt;p&gt;I want to use the new action.
So I add this line to my view(index.html.erb):
&#8221;&amp;lt;%= link_to &#8216;Download&#8217;, [:download, @project, document] %&amp;gt;&lt;/p&gt;


	&lt;p&gt;But when I call the view I receive the Error:  &#8220;NoMethodError in Documents#index&#8221;&lt;/p&gt;


	&lt;p&gt;When I call the action directly via url I receive following error:
&#8221; ActiveRecord::RecordNotFound in DocumentsController#show&#8221; 
&#8220;Couldn&#8217;t find Document with ID=download &lt;span class=&quot;caps&quot;&gt;AND&lt;/span&gt; (documents.project_id = 1)&#8221;&lt;/p&gt;


	&lt;p&gt;The routes.rb looks like:
&#8221;  map.namespace :admin do |admin|
    admin.resources :people
  end&lt;/p&gt;


&lt;h1&gt;map.resources :documents&lt;/h1&gt;

	&lt;p&gt;map.root :controller =&amp;gt; &#8216;projects&#8217;
map.resources :projects, :has_many =&amp;gt; :documents&#8221;&lt;/p&gt;



	&lt;p&gt;I hope you can help me.&lt;/p&gt;


	&lt;p&gt;Thanks.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2105</id>
    <published>2008-01-31T23:15:13Z</published>
    <updated>2008-01-31T23:15:13Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by AkitaOnRails</title>
<content type="html">&lt;p&gt;@nobrin, thanks you&#8217;re right, I just fixed this typo.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>nobrin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2103</id>
    <published>2008-01-31T22:39:20Z</published>
    <updated>2008-01-31T22:39:20Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by nobrin</title>
<content type="html">&lt;p&gt;Hey, I solved the mistery myself!!&lt;/p&gt;


	&lt;p&gt;errata:
&lt;span class=&quot;caps&quot;&gt;CHANGE&lt;/span&gt;
redirect_to(@post, @comment)
TO
redirect_to([@post, @comment])&lt;/p&gt;


	&lt;p&gt;because 
redirect_to(@post, @comment)
acts as
redirect_to(@post)&lt;/p&gt;


	&lt;p&gt;bye!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>nobrin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2102</id>
    <published>2008-01-31T22:31:29Z</published>
    <updated>2008-01-31T22:31:29Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by nobrin</title>
<content type="html">&lt;p&gt;At the tutorial point:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;app/controllers/comments_controller.rb&lt;/li&gt;
		&lt;li&gt;old redirect:
redirect_to(@post, @comment)&lt;/li&gt;
		&lt;li&gt;new redirect:
redirect_to(@post)&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;the redirect_to(@post, @comment) call already redirect to the post page!!!! the effect is the same of redirect_to(@post) ... how is this possible?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>OS</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2095</id>
    <published>2008-01-31T06:16:36Z</published>
    <updated>2008-01-31T06:16:36Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by OS</title>
<content type="html">&lt;p&gt;This needs to be the first tutorial listed on the rails documentation page.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>seaofclouds</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2081</id>
    <published>2008-01-30T09:41:08Z</published>
    <updated>2008-01-30T09:41:08Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by seaofclouds</title>
<content type="html">&lt;p&gt;hi Akita, for a lightweight mephisto theme, try micro.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2070</id>
    <published>2008-01-29T20:06:19Z</published>
    <updated>2008-01-29T20:06:19Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by AkitaOnRails</title>
<content type="html">&lt;p&gt;Hi Rick, I know you :-) I am most flattered by having you reading my stuff. I am glad you liked and you&#8217;re right: my blog is lacking a print version. You&#8217;re not the first to ask me this and I have to confess that it is stalled in my todo list. I&#8217;ve been very overwhelmed lately but I am surely making a print version as soon as possible, specially after yet another request. Thanks.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Rick DeNatale</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2068</id>
    <published>2008-01-29T19:38:53Z</published>
    <updated>2008-01-29T19:38:53Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Rick DeNatale</title>
<content type="html">&lt;p&gt;Fabio,
I love the stuff you&#8217;ve been putting out.  You turned me on to resource_controller this weekend, which prompted me to write an article which will appear on infoq this week.
A second for formatting options on this page. I&#8217;d love to print this article, but it really looks ugly on print, all the good stuff is squeezed to the left.  Any chance of a print style sheet?  I know &#8220;beggars can&#8217;t be choosers.&#8221;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2065</id>
    <published>2008-01-28T22:03:08Z</published>
    <updated>2008-01-28T22:03:08Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by AkitaOnRails</title>
<content type="html">&lt;p&gt;Hey Dan, there&#8217;s always room for improvement. If you know any good and unobtrusive Mephisto theme, please let me know.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Dan</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:2064</id>
    <published>2008-01-28T19:23:20Z</published>
    <updated>2008-01-28T19:23:20Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Dan</title>
<content type="html">&lt;p&gt;Any chance of changing the layout of your page?  I ask because the content of the blog occupies only about 1/3 of the screen, and that means that readers are forced to scroll in all of your examples.  As a result, it is difficult to benefit from your well-expressed ideas.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>brian</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1967</id>
    <published>2008-01-21T00:30:19Z</published>
    <updated>2008-01-21T00:30:19Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by brian</title>
<content type="html">&lt;p&gt;I was just too frustrating for a complete novice to use the Agile book with 2.0. My plan is to learn 1.2 and then come back here when the terminology makes sense.
Thanks for the work!&lt;/p&gt;


	&lt;p&gt;b&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Chriss</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1962</id>
    <published>2008-01-19T23:01:08Z</published>
    <updated>2008-01-19T23:01:08Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Chriss</title>
<content type="html">&lt;p&gt;thanks a lot for this great tutorial and many greetins from germany, düsseldorf !&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Jardel</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1951</id>
    <published>2008-01-19T06:07:08Z</published>
    <updated>2008-01-19T06:07:08Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Jardel</title>
<content type="html">&lt;p&gt;Bah Akita, mais uma vez dando um show de conhecimento e humanidade, compartilhando um pouco do seu conhecimento com a comunidade&#8230;
Parabéns e obrigado pelo ótimo trabalho&#8230;
E a segunda edição do livro???
Valew!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Brad</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1949</id>
    <published>2008-01-19T03:02:42Z</published>
    <updated>2008-01-19T03:02:42Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Brad</title>
<content type="html">&lt;p&gt;Thanks for putting this together. Unfortunately, I&#8217;m a complete newcomer to ruby and rails. I followed the steps but they didn&#8217;t actually work for me. This appears to be great for someone who is already familiar with rails. The other 2 tutorials appear to be based on a pre 2.0 rails, and I have yet to actually get anything to come up other than the welcome page (I keep getting Unknown action or no method#index errors).&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>lcostantino</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1946</id>
    <published>2008-01-17T22:16:47Z</published>
    <updated>2008-01-17T22:16:47Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by lcostantino</title>
<content type="html">&lt;p&gt;o tutorial e bom d+. vc conhece si ja tem algum ebook pra rails 2.x?. saudades desde argent.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Tom</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1941</id>
    <published>2008-01-16T13:59:42Z</published>
    <updated>2008-01-16T13:59:42Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Tom</title>
<content type="html">&lt;p&gt;Great Tutorial, one quick correction however, near the start where you go through changing the CommentsController, the following says
Before     After
redirect_to(@comment)     redirect_to(post, @comment)&lt;/p&gt;


	&lt;p&gt;It doesn&#8217;t work for me unless i do&lt;/p&gt;


	&lt;p&gt;Before     After
redirect_to(@comment)     redirect_to(@post, @comment)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Matthijs</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1939</id>
    <published>2008-01-16T09:49:24Z</published>
    <updated>2008-01-16T09:49:24Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Matthijs</title>
<content type="html">&lt;p&gt;Great tutorial! I also was searching for a tutorial that covers 2.0. I&#8217;m just starting to learn 
Ruby and Rails and all tutorials and books are not up-to-date yet.&lt;/p&gt;


	&lt;p&gt;Great tutorial!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>edward</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1913</id>
    <published>2008-01-14T08:42:52Z</published>
    <updated>2008-01-14T08:42:52Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by edward</title>
<content type="html">&lt;p&gt;Why is it that the Rails community makes such a big deal about test driven development and yet every single tutorial (book or web) completely ignores testing or at best deals with it is an after-thought?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Scarf*oo</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1905</id>
    <published>2008-01-13T13:33:29Z</published>
    <updated>2008-01-13T13:33:29Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Scarf*oo</title>
<content type="html">&lt;p&gt;Great tutorial, thanks!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Jason Collins</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1899</id>
    <published>2008-01-11T21:08:19Z</published>
    <updated>2008-01-11T21:08:19Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Jason Collins</title>
<content type="html">&lt;p&gt;I am getting a Segmentation Fault from Ruby when I attempt the &#8220;rake db:create:all&#8221; command.&lt;/p&gt;


	&lt;p&gt;Using rake 0.8.1, ActiveSupport 2.0.2, Ruby 1.8.6p111 on Windows Vista. Also mysql 5.1.22-rc.&lt;/p&gt;


	&lt;p&gt;Not really sure where to do from here. Anyone else having this issue?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Medivh</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1889</id>
    <published>2008-01-11T09:16:25Z</published>
    <updated>2008-01-11T09:16:25Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Medivh</title>
<content type="html">&lt;p&gt;Very good!
Beginners need it &lt;sup&gt;_&lt;/sup&gt;.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Ratulo</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1873</id>
    <published>2008-01-10T00:25:24Z</published>
    <updated>2008-01-10T00:25:24Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Ratulo</title>
<content type="html">&lt;p&gt;Como fazer com algo do tipo: script/generate scaffold Model &#8216;admin/model&#8217;?&lt;/p&gt;


	&lt;p&gt;Obrigado&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>nome?name? medivh.</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1859</id>
    <published>2008-01-09T07:37:07Z</published>
    <updated>2008-01-09T07:37:07Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by nome?name? medivh.</title>
<content type="html">&lt;p&gt;redirect_to(post, @comment) 
There is one error.
undefined `post&#8217;.&lt;/p&gt;


	&lt;p&gt;post must change to   @post.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Pinhux</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1857</id>
    <published>2008-01-09T04:27:20Z</published>
    <updated>2008-01-09T04:27:20Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Pinhux</title>
<content type="html">&lt;p&gt;ótimo trabalho fábio, foi vc que fez o video tutorial do www.rubyonrails.com sobre blog, muito om os dois um complemta o outro.
parabens&lt;/p&gt;


	&lt;p&gt;Um abraço.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>bayer</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1844</id>
    <published>2008-01-08T12:32:08Z</published>
    <updated>2008-01-08T12:32:08Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by bayer</title>
<content type="html">&lt;p&gt;thankx! good job!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>ali</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1835</id>
    <published>2008-01-07T12:25:53Z</published>
    <updated>2008-01-07T12:25:53Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by ali</title>
<content type="html">&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;Thanks for the great tutorial. Just got started on a new RESTful project and this one really helped out.
Im trying to make my comments controller inside a subdirectory &#8220;module/comment_controller.rb&#8221;&lt;/p&gt;


	&lt;p&gt;In this case how can I modify routes.rb so that i can get /user/:id/comments as normal?&lt;/p&gt;


	&lt;p&gt;I cant seem to find any detailed tutorials on building apps with sub controllers.. maybe that can be your next one :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Martin</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1827</id>
    <published>2008-01-05T23:55:39Z</published>
    <updated>2008-01-05T23:55:39Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Martin</title>
<content type="html">&lt;p&gt;First of all &#8211; thanks for this excellent tutorial. That would be a great start for a whole book I&#8217;d immediately purchase! 
Just one thing: it would be great to have a &#8220;print view&#8221;. Unfortunatly one can&#8217;t print your tutorial fine at the moment &#8211; neither with Firefox, nor with Internet Explorer.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>seaofclouds</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1816</id>
    <published>2008-01-05T10:48:29Z</published>
    <updated>2008-01-05T10:48:29Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by seaofclouds</title>
<content type="html">&lt;p&gt;thank you for this was a fantastic demo! i&#8217;ve begun writing a blog based on your code and it&#8217;s coming along.&lt;/p&gt;


	&lt;p&gt;one thing that&#8217;s really lacking in rails tutorials everywhere is persistence. i&#8217;d love to see you take this little blog application and run with it &#8211; with the ultimate goal of developing blog software that features user submitted comments, comment moderation, captcha, user authentication with rest, tags, and possibly cookied themes.&lt;/p&gt;


	&lt;p&gt;that would just about make my year, and here it is just starting! :)&lt;/p&gt;


	&lt;p&gt;cheers and thanks&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>hemantsonker</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1808</id>
    <published>2008-01-04T13:17:35Z</published>
    <updated>2008-01-04T13:17:35Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by hemantsonker</title>
<content type="html">&lt;p&gt;thanx for writing a nice tutorial on rails 2.0. willing to see more on this and also on Rspec.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>lockheartmac</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1806</id>
    <published>2008-01-04T06:33:37Z</published>
    <updated>2008-01-04T06:33:37Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by lockheartmac</title>
<content type="html">&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;OMG&lt;/span&gt;! I am still learning Rails myself, but this was the most fun I have learning anything. I did get those few hiccups when I did, but it felt good for me to figure out those for myself. Thanks for the great intro!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Jai-Gouk</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1805</id>
    <published>2008-01-04T03:24:21Z</published>
    <updated>2008-01-04T03:24:21Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Jai-Gouk</title>
<content type="html">&lt;p&gt;awesome!!&lt;/p&gt;


	&lt;p&gt;I&#8217;ve been googling for 2 days for nested routing at Rails2.0.&lt;/p&gt;


	&lt;p&gt;So far your article is the best I&#8217;ve ever seen about Rails2.0. &lt;span class=&quot;caps&quot;&gt;THANKS&lt;/span&gt;!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>TechTitan</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1781</id>
    <published>2008-01-02T10:29:33Z</published>
    <updated>2008-01-02T10:29:33Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by TechTitan</title>
<content type="html">&lt;p&gt;Your tutorial helps alot. I&#8217;m just starting Rails and almost every books in town uses rails 1.2. Its kinda difficult for me to test and develop an application using newer rails (2.0.2) when the available references uses 1.2. Thanks again Akita.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Archie</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1760</id>
    <published>2008-01-01T19:27:50Z</published>
    <updated>2008-01-01T19:27:50Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Archie</title>
<content type="html">&lt;p&gt;Hi Akita. Greetings from South Africa. Great tutorial. Your screencast was quite fast so I had to view it several times just to keep up. I have used your example to create my own project but I need to take it a step further. To use your post/comments example I would like to add an additional layer for example add a response to a specific comment(has_many =&amp;gt; responses) so that you are able to create a response from the post/comments/show view. How would this affect the actions/nested routes in the responses controller – does it have to make reference to the comments controller only or should it also make reference to the posts controller? How would the additional method look in the responses controller i.e. load_response, @comments = Comments.find(params[:comments_id]) or should it be looking for the posts as well? Thanks in anticipation&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Fernando Correia</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1753</id>
    <published>2008-01-01T15:48:02Z</published>
    <updated>2008-01-01T15:48:02Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Fernando Correia</title>
<content type="html">&lt;p&gt;thank you for this great tutorial on Rails 2!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Satish Chauhan</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1751</id>
    <published>2008-01-01T13:54:50Z</published>
    <updated>2008-01-01T13:54:50Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Satish Chauhan</title>
<content type="html">&lt;p&gt;Nice tutorial&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Gabriel</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1750</id>
    <published>2008-01-01T13:16:04Z</published>
    <updated>2008-01-01T13:16:04Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Gabriel</title>
<content type="html">&lt;p&gt;Hi there. Thank you so much for such a detailed tutorial. I would never have begun with Rails 2.0 this soon without it. I have &#8220;agile web dev&#8221; but the tutorials in it are now mostly broken.&lt;/p&gt;


	&lt;p&gt;Thanks to the others who left comments and corrected some typos and issues that had me scratching my head for some time!&lt;/p&gt;


	&lt;p&gt;You&#8217;ve done rally well showing how to have an admin section and basic authentication. Is someone able to tell me how to make a logout link for the admin section?&lt;/p&gt;


	&lt;p&gt;Many thanks, keep up the good work. Gabriel.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>bastien</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1744</id>
    <published>2007-12-31T08:52:51Z</published>
    <updated>2007-12-31T08:52:51Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by bastien</title>
<content type="html">&lt;p&gt;thank you so much akita for the time and efforts you put into the tuts!!!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>superbnerb</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1743</id>
    <published>2007-12-30T22:08:16Z</published>
    <updated>2007-12-30T22:08:16Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by superbnerb</title>
<content type="html">&lt;p&gt;&lt;strong&gt;great stuff&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;wonderful to see a tutorial like this so soon after rails 2.0 came out.&lt;/p&gt;


	&lt;p&gt;the only slight wee bit of criticism would be the admin post controller part.  I had to read it a few times to understand that you really do mean to copy &lt;span class=&quot;caps&quot;&gt;ALL&lt;/span&gt; of the existing controller over, and then simply change the redirect links to the code  you have written out.  if you are in the mood to tweek, perhaps you can just cut and paste the controller in?  either way, great stuff.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1732</id>
    <published>2007-12-28T15:29:34Z</published>
    <updated>2007-12-28T15:29:34Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by AkitaOnRails</title>
<content type="html">&lt;p&gt;rob and maxrcul, sorry for the delay, but it seems that you didn&#8217;t place this line in your app/models/post.rb file:&lt;/p&gt;


	&lt;p&gt;has_many :comments&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>maxrcul</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1731</id>
    <published>2007-12-28T06:11:22Z</published>
    <updated>2007-12-28T06:11:22Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by maxrcul</title>
<content type="html">&lt;p&gt;Please fix tutorial. Rob&#8217;s comment dated 13 Dec 17:59 has not been addressed as the same problem occurs for me.&lt;/p&gt;


	&lt;p&gt;Thanks and great post!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Max Russell</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1690</id>
    <published>2007-12-21T13:27:07Z</published>
    <updated>2007-12-21T13:27:07Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Max Russell</title>
<content type="html">&lt;p&gt;Could you post the full, completed html.erb files?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Andreas</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1689</id>
    <published>2007-12-21T12:46:08Z</published>
    <updated>2007-12-21T12:46:08Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Andreas</title>
<content type="html">&lt;p&gt;Thank you very much for this excellent introduction to Rails 2.0. I&#8217;m using this as a drop-in replacement for the not-yet-updated &lt;span class=&quot;caps&quot;&gt;AWDWR&lt;/span&gt;. :-)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Johannes</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1685</id>
    <published>2007-12-20T17:34:12Z</published>
    <updated>2007-12-20T17:34:12Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Johannes</title>
<content type="html">&lt;p&gt;Thank you, for this great tutorial. It covers some neat changes and introduces &lt;span class=&quot;caps&quot;&gt;REST&lt;/span&gt; really cool!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Max Russell</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1684</id>
    <published>2007-12-20T16:52:46Z</published>
    <updated>2007-12-20T16:52:46Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Max Russell</title>
<content type="html">&lt;p&gt;I find that using that &lt;span class=&quot;caps&quot;&gt;DRY&lt;/span&gt; database.yml I can&#8217;t actually generate the DB?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>David Johnson</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1672</id>
    <published>2007-12-18T18:26:35Z</published>
    <updated>2007-12-18T18:26:35Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by David Johnson</title>
<content type="html">&lt;p&gt;One extra thing, if you change the generate for comment to references, then you need to use post_id rather than post in the comments views otherwise you get a cryptic number rather than the post id&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>David Johnson</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1671</id>
    <published>2007-12-18T17:16:43Z</published>
    <updated>2007-12-18T17:16:43Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by David Johnson</title>
<content type="html">&lt;p&gt;One extra gotcha I found was if you are running rails 2.0.2 it will default on a Mac to SqlLite3, to enable MySQL you need to use
  rails -d mysql blog 
rather than 
  rails blog&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Paulo Larini</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1665</id>
    <published>2007-12-18T10:22:43Z</published>
    <updated>2007-12-18T10:22:43Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Paulo Larini</title>
<content type="html">&lt;p&gt;Fábio, muito bom material, mas eu peço por favor, quando fizer a versão em português, use outro exemplo que não seja um blog, pois o Rails tá com cara de blog designer e esses termos &#8220;tag&#8221; &#8220;tagger&#8221; &#8220;taggable&#8221; parecem tudo a mesma coisa..
:)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>dath</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1652</id>
    <published>2007-12-17T04:43:59Z</published>
    <updated>2007-12-17T04:43:59Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by dath</title>
<content type="html">&lt;p&gt;Thanks for the great writeup!  Rails 2.0 is looking pretty spiffy.  Now if only I had the time to fully update my old 1.2 app. . .&lt;/p&gt;


	&lt;p&gt;-dath&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Kris</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1640</id>
    <published>2007-12-15T08:52:31Z</published>
    <updated>2007-12-15T08:52:31Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Kris</title>
<content type="html">&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;Thanks for the nice and very useful tutorial. I am new to rails and couldn&#8217;t follow everything at once. If possible, can you please share the code.&lt;/p&gt;


	&lt;p&gt;thanks,
Kris&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>ole</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1634</id>
    <published>2007-12-14T17:46:34Z</published>
    <updated>2007-12-14T17:46:34Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by ole</title>
<content type="html">&lt;p&gt;Thank you for the tutorial. Please post more.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>~j</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1633</id>
    <published>2007-12-14T17:25:29Z</published>
    <updated>2007-12-14T17:25:29Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by ~j</title>
<content type="html">&lt;p&gt;A minor typo:&lt;/p&gt;


	&lt;p&gt;redirect_to(@comment) should be changed to read:
redirect_to(@post, @comment) 
not
redirect_to(post, @comment)&lt;/p&gt;


	&lt;p&gt;btw how do you get your ruby code nicely formatted for insertion into a blog?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Matt Darby</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1616</id>
    <published>2007-12-13T21:20:26Z</published>
    <updated>2007-12-13T21:20:26Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Matt Darby</title>
<content type="html">&lt;p&gt;Great article! Just a note for those using has_one associations:&lt;/p&gt;


	&lt;p&gt;Say you have &#8216;idea&#8217; and &#8216;idea_response&#8217; resources and each Idea will have at most one IdeaResponse. Instead of using &#8217;@idea_response = @idea.build(params[:idea_response])&#8217;, you need to use &#8217;@idea_response = @idea.build_idea_response(params[:idea_response])&#8217;. Notice that the function call to &#8216;build&#8217; needs to be dynamically named to the nested resource (&#8216;build&#8217; becomes &#8216;build_idea_response&#8217;). I spent the whole day figuring this one out, and I hope it helps someone out there.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Rob</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1615</id>
    <published>2007-12-13T19:59:02Z</published>
    <updated>2007-12-13T19:59:02Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Rob</title>
<content type="html">&lt;p&gt;When I try to go here&lt;/p&gt;


	&lt;p&gt;http://localhost:3000/posts/1/comments&lt;/p&gt;


	&lt;p&gt;I get &lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;NoMethodError in CommentsController#index&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;undefined method `comments&#8217; for #&amp;lt;post:0x272e370&gt;&lt;/p&gt;


	&lt;p&gt;What am I doing wrong?&lt;/p&gt;


	&lt;p&gt;Sorry, I&#8217;m a noob to rails&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Robert Dempsey</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1613</id>
    <published>2007-12-13T18:38:30Z</published>
    <updated>2007-12-13T18:38:30Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Robert Dempsey</title>
<content type="html">&lt;p&gt;Fabio,&lt;/p&gt;


	&lt;p&gt;Thanks for helping get us up to speed with the great tutorials. We look forward to even more.&lt;/p&gt;


	&lt;p&gt;Rob&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Davis</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1611</id>
    <published>2007-12-13T16:47:11Z</published>
    <updated>2007-12-13T16:47:11Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Davis</title>
<content type="html">&lt;p&gt;Rapaz,&lt;/p&gt;


	&lt;p&gt;Formatado assim tinha ficado mais fácil de eu gerar o &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;Vou gerar novamente depois usando as formatações do teu blog. Acho que fica mais bacana. Mandei pra ti no teu e-mail agora pouco.&lt;/p&gt;


	&lt;p&gt;Abraço!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1607</id>
    <published>2007-12-13T10:46:55Z</published>
    <updated>2007-12-13T10:46:55Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by AkitaOnRails</title>
<content type="html">&lt;p&gt;Arthur, hey, great tip. I updated the post to add this information.&lt;/p&gt;


	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;BTW&lt;/span&gt;, I also updated Part 2 because I forgot to mention Cookie Session Store.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>AkitaOnRails</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1605</id>
    <published>2007-12-13T01:08:12Z</published>
    <updated>2007-12-13T01:08:12Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by AkitaOnRails</title>
<content type="html">&lt;p&gt;Eraldo, minha prioridade é: trabalhar com o que gosto e me divertir no caminho. Tudo que vier junto com isso é lucro ;-)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Jim</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1603</id>
    <published>2007-12-12T23:25:48Z</published>
    <updated>2007-12-12T23:25:48Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Jim</title>
<content type="html">&lt;p&gt;Thanks so much for the video and these great tutorials.  I just started a new project last night and your tutorials have helped me solve some problems, and do things better.&lt;/p&gt;


	&lt;p&gt;Keep up the great work!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Eraldo</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1602</id>
    <published>2007-12-12T21:08:27Z</published>
    <updated>2007-12-12T21:08:27Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Eraldo</title>
<content type="html">&lt;p&gt;Akita. O que é prioritário atualmente pra você? Lutar pela disseminação do Rails para Brasileiros?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Paulo Cassiano</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1599</id>
    <published>2007-12-12T19:42:28Z</published>
    <updated>2007-12-12T19:42:28Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by Paulo Cassiano</title>
<content type="html">&lt;p&gt;Amazing Akita, always writing good materials ;-)&lt;/p&gt;


	&lt;p&gt;Cheers,&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>ArthurGeek</name>
    </author>
    <id>tag:www.akitaonrails.com,2007-12-12:1594:1598</id>
    <published>2007-12-12T17:43:12Z</published>
    <updated>2007-12-12T17:43:12Z</updated>
    <category term="Dicas e Tutoriais"/>
    <category term="English"/>
    <category term="Rails 2.0"/>
    <link href="http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial" rel="alternate" type="text/html"/>
    <title>Comment on 'Rolling with Rails 2.0 - The First Full Tutorial - Part 1' by ArthurGeek</title>
<content type="html">&lt;p&gt;Nice tutorial, Akita! :)&lt;/p&gt;


	&lt;p&gt;In Rails 2.0 you can use:&lt;/p&gt;


	&lt;p&gt;./script/generate scaffold Comment post:references body:text&lt;/p&gt;


	&lt;p&gt;I think it&#8217;s even more more sexy!&lt;/p&gt;


	&lt;p&gt;In Rails 1.2 you’d write:&lt;/p&gt;


	&lt;p&gt;create_table :taggings do |t|&lt;/p&gt;


	&lt;p&gt;t.integer :tag_id, :tagger_id, :taggable_id&lt;/p&gt;


	&lt;p&gt;t.string :tagger_type&lt;/p&gt;


	&lt;p&gt;t.string :taggable_type, :default =&amp;gt; ‘Photo’&lt;/p&gt;


	&lt;p&gt;end&lt;/p&gt;


	&lt;p&gt;Now, in Rails 2.0 you can write:&lt;/p&gt;


	&lt;p&gt;create_table :taggings do |t|&lt;/p&gt;


	&lt;p&gt;t.references :tag&lt;/p&gt;


	&lt;p&gt;t.references :tagger, :polymorphic =&amp;gt; true&lt;/p&gt;


	&lt;p&gt;t.references :taggable, :polymorphic =&amp;gt; { :default =&amp;gt; ‘Photo’ }&lt;/p&gt;


	&lt;p&gt;end&lt;/p&gt;


	&lt;p&gt;And t.belongs_to is an alias for t.references&lt;/p&gt;


	&lt;p&gt;More about that in: http://dev.rubyonrails.org/changeset/7973&lt;/p&gt;</content>  </entry>
</feed>
