Michael Schreifels wrote:> On 7/27/06, N/a N/a <cain_152@yahoo.com> wrote:
>> I am following that book, and I bump into this error in the Cart
>> Creation Chapter. Can anyone help me?
>>
>> NoMethodError in Store#display_cart
>>
>> Showing app/views/store/display_cart.rhtml where line #6 raised:
>> undefined method `product'' for 666.0:Float
>
> Perhaps you could provide some context for what exists on and around
> line 6 in the display_cart store view? Also, are you using the first
> edition or the beta version of the book?
I am using the first edition of the book, in anger I erased the whole
source and used the code from the first edition. It works ... though I
examined the files, they were the same. Dunno what happend, perhaps a
typo or something similar.
--
Posted via http://www.ruby-forum.com/.