22 Apr 2014, 12:42
Generic-user-small

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

18 May 2014, 09:14
Generic-user-small

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

06 Jun 2014, 04:27
Generic-user-small

Brian Lobdell (2 posts)

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

-Brian

07 Oct 2014, 09:43
Generic-user-small

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