<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Problems following Agile Web Development with Rails]]></title>
		<link>http://railsforum.com/viewtopic.php?id=49073</link>
		<description><![CDATA[The most recent posts in Problems following Agile Web Development with Rails.]]></description>
		<lastBuildDate>Mon, 27 Aug 2012 15:29:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Problems following Agile Web Development with Rails]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=154990#p154990</link>
			<description><![CDATA[<p>I know this is an old topic, but the issue was this line:<br />&lt;dd&gt;&lt;%= truncate(strip_tags(product.description), length: 80 %&gt;&lt;/dd&gt;</p><p>You were missing a second closing )</p>]]></description>
			<author><![CDATA[dummy@example.com (roberth)]]></author>
			<pubDate>Mon, 27 Aug 2012 15:29:24 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=154990#p154990</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems following Agile Web Development with Rails]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=153606#p153606</link>
			<description><![CDATA[<p>Hmm that should work. Do you have anything in your layout that would be causing this??</p><p>Also just for shizzles and giggles try changing:<br />&lt;% @products.each do |product| %&gt;</p><p>to:<br />&lt;% for product in @products %&gt;</p><p>Although yours should work.</p>]]></description>
			<author><![CDATA[dummy@example.com (Arcadie)]]></author>
			<pubDate>Wed, 27 Jun 2012 21:49:08 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=153606#p153606</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems following Agile Web Development with Rails]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=153512#p153512</link>
			<description><![CDATA[<p>I suggest you to use Rails in Linux environment.</p><p>it will be easier and you&#039;ll find much more tutorials out there</p>]]></description>
			<author><![CDATA[dummy@example.com (kevinhq)]]></author>
			<pubDate>Fri, 22 Jun 2012 15:01:46 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=153512#p153512</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems following Agile Web Development with Rails]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=153133#p153133</link>
			<description><![CDATA[<p>So any ideas guys?</p>]]></description>
			<author><![CDATA[dummy@example.com (Dacu)]]></author>
			<pubDate>Wed, 06 Jun 2012 16:26:40 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=153133#p153133</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems following Agile Web Development with Rails]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=153086#p153086</link>
			<description><![CDATA[<p><em><span style="color: #090909">&lt;h1&gt;Listing products&lt;/h1&gt;</span></em></p><p><em><span style="color: #090909">&lt;table&gt;<br />&lt;% @products.each do |product| %&gt;<br />&nbsp; &lt;tr class=&quot;&lt;%= cycle(&#039;list_line_odd&#039;, &#039;list_line_even&#039;) %&gt;&quot;&gt;<br />&nbsp; &nbsp; &lt;td&gt;<br />&nbsp; &nbsp; &nbsp; &lt;%= image_tag(product.image_url, class: &#039;list_image&#039;) %&gt;<br />&nbsp; &nbsp; &lt;/td&gt;</span></em></p><p><em><span style="color: #090909">&nbsp; &nbsp; &lt;td class=&quot;list_description&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &lt;dl&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;dt&gt;&lt;%= product.title %&gt;&lt;/dt&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;dd&gt;&lt;%= truncate(strip_tags(product.description), length: 80 %&gt;&lt;/dd&gt;<br />&nbsp; &nbsp; &nbsp; &lt;/dl&gt;<br />&nbsp; &nbsp; &lt;/td&gt;</span></em></p><p><em><span style="color: #090909">&nbsp; &nbsp; &lt;td class=&quot;list_actions&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &lt;%= link_to &#039;Show&#039;, product %&gt;&lt;br /&gt;<br />&nbsp; &nbsp; &nbsp; &lt;%= link_to &#039;Edit&#039;, edit_product_path(product) %&gt;&lt;br /&gt;<br />&nbsp; &nbsp; &nbsp; &lt;%= link_to &#039;Destroy&#039;, product, confirm: &#039;Are you sure?&#039;, method: :delete %&gt;<br />&nbsp; &nbsp; &lt;/td&gt;</span></em></p><br /><p><em><span style="color: #090909">&nbsp; &lt;/tr&gt;<br />&lt;% end %&gt;<br />&lt;/table&gt;</span></em></p><br /><p><em><span style="color: #090909">&lt;br /&gt;</span></em></p><p><em><span style="color: #090909">&lt;%= link_to &#039;New Product&#039;, new_product_path %&gt;<br /></span></em></p>]]></description>
			<author><![CDATA[dummy@example.com (Dacu)]]></author>
			<pubDate>Tue, 05 Jun 2012 13:43:30 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=153086#p153086</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problems following Agile Web Development with Rails]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=153084#p153084</link>
			<description><![CDATA[<p>Post index.html.erb code to see what causes the error.</p>]]></description>
			<author><![CDATA[dummy@example.com (Javix)]]></author>
			<pubDate>Tue, 05 Jun 2012 12:56:31 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=153084#p153084</guid>
		</item>
		<item>
			<title><![CDATA[Problems following Agile Web Development with Rails]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=153082#p153082</link>
			<description><![CDATA[<p>Hi guys, </p><p>I have the 3.1 edition of AWDWR, I&#039;ve been following along correctly and I&#039;m only a very short way into the book actually page 75/76 where they&#039;re demonstrating how to edit the index.html.erb view for products... Basically, it&#039;s a simple case of me reading and understanding what they&#039;re showing me (which of course I do) and then writing the code into my text editor myself.</p><p>I do that, double check it and go into my console and type <em><span style="color: #090909">rails s</span></em> </p><p>I go into chrome and load up localhost:3000/products but what I get is this;</p><p><em><span style="color: #090909"><br />C:/Users/Win7/Desktop/Agile/depot/app/views/products/index.html.erb:25: syntax error, unexpected keyword_end, expecting &#039;)&#039;<br />&#039;); end <br />&nbsp; &nbsp; &nbsp; &nbsp;^<br />C:/Users/Win7/Desktop/Agile/depot/app/views/products/index.html.erb:32: syntax error, unexpected keyword_ensure, expecting &#039;)&#039;<br />C:/Users/Win7/Desktop/Agile/depot/app/views/products/index.html.erb:34: syntax error, unexpected keyword_end, expecting &#039;)&#039;<br /></span></em></p><p>It&#039;s trying to tell me that the <em><span style="color: #090909">&lt;% end %&gt;</span></em> shouldn&#039;t be there, which makes absolutely no sense. Have any of you experienced this problem following the book?</p>]]></description>
			<author><![CDATA[dummy@example.com (Dacu)]]></author>
			<pubDate>Tue, 05 Jun 2012 12:30:00 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=153082#p153082</guid>
		</item>
	</channel>
</rss>
