This repository was archived by the owner on Jul 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
[Fix Cart Latency] Remove CartReservations! #587
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
7f6cec8
first attempts at restructuring cart
squidgetx 24b8af5
cart spec and model
squidgetx 0303655
cart spec
squidgetx 62c0b4d
converted storage to cookie_storage
squidgetx 40b6b10
remove cart_reservations and deleted unnecessary files
squidgetx 0d27e56
edit _list_items partial to work with new item hash
squidgetx 0ad99e3
change cart method to accept attraccessor reserver_id : first commit …
squidgetx 5e76a2a
editing update_cart to no longer validate and also work with attracce…
squidgetx bd2faf6
add basic benchmarking to console : currently it takes 1500ms to chan…
squidgetx b03565a
remove cart reservation spec
squidgetx 5e4ef13
wrestling with the cart. still doesn't add items properly
squidgetx 1ea018e
Merge branch 'development' into 587_fix_cart_latency
squidgetx c4eb79d
continuing to remove traces of cart_reservation
squidgetx 58d92ad
disable activeadmin routes; enable this later
squidgetx 1700ad3
remove last traces of cart_reservations
squidgetx 639efc1
refactor method is_eligible_for_renew
squidgetx cf5880c
forgot an end
squidgetx 6637d1a
merge in development
squidgetx c3cbcce
cleaning up from dev merge
squidgetx ae7f1f9
re-enable validations
squidgetx 926aa24
remove last trace of CartReservation
squidgetx e01c1a1
spec edit
squidgetx b0ad1bf
fixing specs round 2
squidgetx 8036481
fix time related spec failures
squidgetx f24defa
Merge branch 'development' into 587_fix_cart_latency
squidgetx 5f9854a
remove cart reservation factory
squidgetx 78d50aa
Remove cookie_store
squidgetx 03227d7
reimplement fix due date
squidgetx 09fb2d4
edit cart factory
squidgetx 755c2fd
remove all references to set_start_date
squidgetx aeb899d
catch <= 0
squidgetx 190b6dc
remove useless error methods
squidgetx 8c5f56d
Merge branch '587_fix_cart_latency' of https://github.com/YaleSTC/res…
squidgetx 805e4b0
upload schema
squidgetx 339b27e
remove set_reserver id
squidgetx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
class RemoveCartReservations < ActiveRecord::Migration | ||
def up | ||
drop_table :cart_reservations | ||
end | ||
|
||
def down | ||
raise ActiveRecord::IrreversibleMigration | ||
end | ||
end |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why this line is necessary? We haven't been doing this kind of assignment elsewhere.EDIT: nvm I got it