Quantcast
Channel: Pragmatic Forums | Posts by osagie uwaifo
Browsing latest articles
Browse All 8 View Live

Error in URL in inset graphic posted by osagie uwaifo @ Tue, 27 May 2008...

Yes it is products.

View Article


ITERATION F1: ADDING USERS posted by osagie uwaifo @ Sun, 25 May 2008...

Anders try restarting your application. If that does not work, create a dummy controller like the way the store controller was created. Access the dummy controller, then access the login controller....

View Article


8.3 Iteration C2: A Smarter Cart posted by osagie uwaifo @ Wed, 21 May 2008...

I just wanted to say thanks Sam for your guidance. It worked just fine. I really don’t know were i got this line from :@items << product. Thanks a lot.

View Article

8.3 Iteration C2: A Smarter Cart posted by osagie uwaifo @ Tue, 20 May 2008...

Thanks a lot. I will try the code above and let you know if it works.

View Article

8.3 Iteration C2: A Smarter Cart posted by osagie uwaifo @ Tue, 20 May 2008...

It is still creating product object. And actually seems right to me. when the add product method is called, we are passing in a product object. The we add the product object to the @items...

View Article


8.3 Iteration C2: A Smarter Cart posted by osagie uwaifo @ Tue, 20 May 2008...

This is my Cart classclass Cart attr_reader :items , :quantity# <whatis linkend="wtf.attr.accessor">attr_reader</whatis>TRUNCdef initialize @items = [] enddef add_product(product) end@items...

View Article

8.3 Iteration C2: A Smarter Cart posted by osagie uwaifo @ Tue, 20 May 2008...

Thank you for your quick response. I will try that and see what happens.

View Article

8.3 Iteration C2: A Smarter Cart posted by osagie uwaifo @ Tue, 20 May 2008...

Hi i can’t get passed this section. I have read and tried everything on the forums. I keep getting this error:NoMethodError in StoreController#add_to_cartundefined method `product’ for...

View Article

Browsing latest articles
Browse All 8 View Live