Sha256: 284a82e3463197c7d0bc336427daaa76435c5747712bf09607f0394879a02c79

Contents?: true

Size: 672 Bytes

Versions: 31

Compression:

Stored size: 672 Bytes

Contents

1. PROCESS_ITEM

						cart controller
							  |
							  |
							  |
							  |
						create / update
							  |
							  |
							  |
							  | 
					calls cart#process_items(just before render)
				calls cart#can_process_item?(item)
					      if true then
					   		  |
					   		  |
					   		  |
					   		  |
					calls cart_item#process


======================================================================

2. when cart-item is given a parent_id to be saved, in the method set_resource_and_parent id, just before calling save,
called cart#can_accept_item, to check fi the cart is capable of accepting the item, saving goes forward only if this returns true.

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.9 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.8 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.7 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.6 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.5 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.4 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.3 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.2 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.1 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.5.0 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.4.9 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.4.8 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.4.7 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.4.6 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.4.5 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.4.4 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.4.3 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.4.2 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt
wordjelly-auth-1.4.0 app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt