On 18 May 2010 05:04, Orient Fang <li...@ruby-forum.com> wrote: > clanlaw wrote: >> On 17 May 2010 02:50, Orient Fang <li...@ruby-forum.com> wrote: >>> **** cart.rb file as following, >>> � � � �else >>> � � � �...@items << CartItem.new(product) >>> � � � �end >>> � �end >>> end >>> -- >> >> Are you absolutely certain that is the right cart.rb? Is that the >> complete file? It looks ok to me. >> >> Colin > > Hi Colin, > it is, I am sure. I'm wondering is there anywhere else cause the > problem.
There is something odd going on. I suggest you comment out the contents of the file and add bits back in till it fails. Maybe you have an unprintable character that is causing the problem. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.