<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in 'Iteration F2' | Pragmatic Forums</title>
    <link>https://forums.pragprog.com/forums/66/topics/437</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <description></description>
    <item>
      <title>Iteration F2 posted by Sam Ruby @ Tue, 20 May 2008 02:24:57 -0000</title>
      <description>&lt;p&gt;This will be corrected in the next beta, but click on the following for the correct version of &lt;a href="http://media.pragprog.com/titles/rails2/code/depot_r/app/views/login/index.rhtml"&gt;app/views/login/index.rhtml&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Sorry for the inconvenience.&lt;/p&gt;</description>
      <pubDate>Tue, 20 May 2008 02:24:57 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:66:437:2839</guid>
      <author>Sam Ruby</author>
      <link>https://forums.pragprog.com/forums/66/topics/437</link>
    </item>
    <item>
      <title>Iteration F2 posted by Sam Ruby @ Sat, 17 May 2008 21:14:03 -0000</title>
      <description>&lt;p&gt;I&amp;#8217;ll try to explore further tomorrow, but to get past that specific problem, modify app/controllers/login_controller.rb thus:&lt;/p&gt;


&lt;pre&gt;
def index
  @products = Product.find(:all)
  @total_orders = Order.count
end
&lt;/pre&gt;</description>
      <pubDate>Sat, 17 May 2008 21:14:03 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:66:437:2826</guid>
      <author>Sam Ruby</author>
      <link>https://forums.pragprog.com/forums/66/topics/437</link>
    </item>
    <item>
      <title>Iteration F2 posted by Casey Smith @ Sat, 17 May 2008 04:21:01 -0000</title>
      <description>&lt;p&gt;Thanks Sam I will check that.  Is there a place just to get problems answers that I come across?&lt;/p&gt;</description>
      <pubDate>Sat, 17 May 2008 04:21:01 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:66:437:2825</guid>
      <author>Casey Smith</author>
      <link>https://forums.pragprog.com/forums/66/topics/437</link>
    </item>
    <item>
      <title>Iteration F2 posted by Sam Ruby @ Sat, 17 May 2008 02:04:28 -0000</title>
      <description>&lt;p&gt;Um, you are ahead of me.  Check the preface to the third edition for what chapters are ready.  Either that, or look for the visual clues in the form of the colors of the top and bottom borders on each page.&lt;/p&gt;</description>
      <pubDate>Sat, 17 May 2008 02:04:28 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:66:437:2823</guid>
      <author>Sam Ruby</author>
      <link>https://forums.pragprog.com/forums/66/topics/437</link>
    </item>
    <item>
      <title>Iteration F2 posted by Casey Smith @ Fri, 16 May 2008 23:37:49 -0000</title>
      <description>&lt;p&gt;I get an error when I run &lt;a href="http://localhost:3000/login/login"&gt;http://localhost:3000/login/login&lt;/a&gt; I get this error message=&lt;/p&gt;


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


	&lt;p&gt;Showing login/index.html.erb where line #3 raised:&lt;/p&gt;


	&lt;p&gt;You have a nil object when you didn&amp;#8217;t expect it!&lt;br /&gt;You might have expected an instance of Array.&lt;br /&gt;The error occurred while evaluating nil.each&lt;/p&gt;


	&lt;p&gt;Extracted source (around line #3):&lt;/p&gt;


	&lt;p&gt;1: &lt;h1&gt;Your Pragmatic Catalog&lt;/h1&gt;&lt;br /&gt;2: &lt;br /&gt;3: &amp;lt;% for product in @products -&lt;span&gt;&amp;gt;&lt;br /&gt;4:     &lt;div class="entry"&gt;&lt;br /&gt;5:         &amp;lt;&lt;/span&gt;= image_tag(product.image_url) &lt;span&gt;&amp;gt;&lt;br /&gt;6:         &lt;h3&gt;&amp;lt;&lt;/span&gt;= h(product.title) %&amp;gt;&lt;/h3&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 16 May 2008 23:37:49 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:66:437:2821</guid>
      <author>Casey Smith</author>
      <link>https://forums.pragprog.com/forums/66/topics/437</link>
    </item>
  </channel>
</rss>
