small medium large xlarge

Generic-user-small
22 Apr 2014, 12:42
kiy-Hong Tang (1 post)

Hi,

I would like to know whether the code on p108 beginning with module CurrentCart has to be inserted manually.

I am a little confused as to whether the $rails generate scaffold Cart was meant to have automatically generated the file within the concerns folder or not.

Your advices would be most appreciated.

Best

Kiy

Generic-user-small
18 May 2014, 09:14
Kevin H (2 posts)

Hi,

I have just encountered this issue also. The current_cart.rb file was not created after I entered the $rails generate scaffold Cart command.

Did you ever find a solution?

thanks, K

Generic-user-small
06 Jun 2014, 04:27
Brian Lobdell (2 posts)

I have the same question as well. Anyone have an answer?

-Brian

Generic-user-small
07 Oct 2014, 09:43
Chris (2 posts)

HI, the rails scaffold generator will not create this file. You need to create it yourself and add the code manually

  You must be logged in to comment