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
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
On 7/27/06, N/a N/a [email protected] 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?
Michael S. wrote:
On 7/27/06, N/a N/a [email protected] 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:FloatPerhaps 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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs