I noticed that on page 122 (beta 1.5) the author wrote:
<% for cart_item in @cart.items %>
but previously he used
<% for item in @cart.items %>
Is it an error? Which one should I use?
More, I am using both TextMate then NetBeans to test them. I have to say that NB seems more efficient since auto-completing (which includes your project code too thanks to a parsing it makes on it!) but I noticed that the author uses the following code syntax while calling to an action
redirect_to :action => :index
while the ide uses
redirect_to :action => "index"
Is it an error? Rails APIs show, for the examples, the ide syntax.
Thanks you all in advance.