solidus_drip 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/lib/solidus_drip/shopper_activity/order.rb +2 -0
- data/lib/solidus_drip/version.rb +1 -1
- data/lib/tasks/drip_import_orders.rake +51 -0
- data/spec/dummy/db/solidus_test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +2860 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15bdf008366aa033cdc302df55961eabb50e32f39209878e4304c8b7698a0565
|
4
|
+
data.tar.gz: 02bfc06d6288a1170c0338b90e9921931cb57a46da009e48fc551464d6043be2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8e3cfc0f50d625fce7e0da365ea5740b30df3d8320723d562c5214811c47ce3589ab4d4cfa667f84764c264c89154a35258fdb8e8291cbfda5b3cd687813276
|
7
|
+
data.tar.gz: 91c722e598fff563a8ee4a39f21c1ec6ad8572d1a5b879ef64217f36ad711817ae277418fc799d77ccc421e16c6d117f5ddd19b15ce2683af8834fcd19f9f12c
|
data/README.md
CHANGED
@@ -24,6 +24,15 @@ ENV['DRIP_API_KEY'] = 'YOUR_API_KEY'
|
|
24
24
|
ENV['DRIP_ACCOUNT_ID'] = 'YOUR_ACCOUNT_ID'
|
25
25
|
```
|
26
26
|
|
27
|
+
### Import Data
|
28
|
+
|
29
|
+
You can import all order data from your Solidus store to Drip via a rake task.
|
30
|
+
This should ideally only be run once.
|
31
|
+
|
32
|
+
```shell
|
33
|
+
rails drip:import_orders
|
34
|
+
```
|
35
|
+
|
27
36
|
## Testing
|
28
37
|
|
29
38
|
First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs, and [Rubocop](https://github.com/bbatsov/rubocop) static code analysis. The dummy app can be regenerated by using `rake test_app`.
|
@@ -54,6 +54,7 @@ module SolidusDrip
|
|
54
54
|
provider: 'solidus',
|
55
55
|
email: order.email,
|
56
56
|
action: action,
|
57
|
+
occurred_at: order.updated_at.iso8601,
|
57
58
|
cart_id: order.id.to_s,
|
58
59
|
cart_public_id: order.number,
|
59
60
|
grand_total: order.total.to_f,
|
@@ -85,6 +86,7 @@ module SolidusDrip
|
|
85
86
|
provider: 'solidus',
|
86
87
|
email: order.email,
|
87
88
|
action: action,
|
89
|
+
occurred_at: order.updated_at.iso8601,
|
88
90
|
order_id: order.id.to_s,
|
89
91
|
order_public_id: order.number,
|
90
92
|
grand_total: order.total.to_f,
|
data/lib/solidus_drip/version.rb
CHANGED
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
namespace :drip do
|
4
|
+
desc 'Imports order data into Drip'
|
5
|
+
task import_orders: :environment do
|
6
|
+
puts 'Starting Drip Order Import...'
|
7
|
+
|
8
|
+
require 'drip'
|
9
|
+
|
10
|
+
drip_client = SolidusDrip::Base.new.client
|
11
|
+
|
12
|
+
# Completed Orders
|
13
|
+
order_activities = []
|
14
|
+
Spree::Order.complete.find_each do |order|
|
15
|
+
drip = SolidusDrip::ShopperActivity::Order.new(order)
|
16
|
+
action = drip_status(order)
|
17
|
+
order_activities << drip.send(:order_data, action) # order_data is a private method
|
18
|
+
|
19
|
+
# 1000 is the limit on orders that can be sent at a time. Once we have
|
20
|
+
# that amount of data we send it all to Drip
|
21
|
+
if order_activities.count == 1000
|
22
|
+
puts 'Sending 1000 orders to Drip...'
|
23
|
+
# Send to drip
|
24
|
+
drip_client.create_order_activity_events(order_activities)
|
25
|
+
# Reset
|
26
|
+
order_activities = []
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# Send any extra data that wasn't part of the loop
|
31
|
+
if order_activities.count.positive?
|
32
|
+
puts "Sending remaining #{order_activities.count} orders to Drip..."
|
33
|
+
drip_client.create_order_activity_events(order_activities)
|
34
|
+
end
|
35
|
+
|
36
|
+
puts 'Drip Order Import Complete!'
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
##
|
41
|
+
# Calculates the drip status to be sent for the given order
|
42
|
+
#
|
43
|
+
def drip_status(order)
|
44
|
+
if order.shipped?
|
45
|
+
'fulfilled'
|
46
|
+
elsif order.paid?
|
47
|
+
'paid'
|
48
|
+
else
|
49
|
+
'updated'
|
50
|
+
end
|
51
|
+
end
|
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -12693,3 +12693,2863 @@ Order R572400034 transitioned from confirm to complete via complete
|
|
12693
12693
|
[1m[36mSpree::Order Create (0.4ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R894325116"], ["state", "cart"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["email", "email5@example.com"], ["created_at", "2019-11-06 00:04:59.819414"], ["updated_at", "2019-11-06 00:04:59.819414"], ["currency", "USD"], ["guest_token", "W9z0Oldb8CTBdyPm5uHDsQ"], ["store_id", 1]]
|
12694
12694
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
12695
12695
|
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
12696
|
+
solidus_drip, default_url_options was blank and is being set to localhost
|
12697
|
+
[1m[35m (3.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
12698
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
12699
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
|
12700
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
|
12701
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
12702
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
12703
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12704
|
+
[1m[35m (0.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
12705
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_storage_blobs";[0m
|
12706
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12707
|
+
[1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_storage_blobs';[0m
|
12708
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_storage_attachments";[0m
|
12709
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12710
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_storage_attachments';[0m
|
12711
|
+
[1m[35m (2.1ms)[0m [1m[31mDELETE FROM "action_mailbox_inbound_emails";[0m
|
12712
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12713
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'action_mailbox_inbound_emails';[0m
|
12714
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "action_text_rich_texts";[0m
|
12715
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12716
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'action_text_rich_texts';[0m
|
12717
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "friendly_id_slugs";[0m
|
12718
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12719
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'friendly_id_slugs';[0m
|
12720
|
+
[1m[35m (2.4ms)[0m [1m[31mDELETE FROM "spree_addresses";[0m
|
12721
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12722
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_addresses';[0m
|
12723
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "spree_adjustment_reasons";[0m
|
12724
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12725
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_adjustment_reasons';[0m
|
12726
|
+
[1m[35m (3.3ms)[0m [1m[31mDELETE FROM "spree_adjustments";[0m
|
12727
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12728
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_adjustments';[0m
|
12729
|
+
[1m[35m (2.4ms)[0m [1m[31mDELETE FROM "spree_assets";[0m
|
12730
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12731
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_assets';[0m
|
12732
|
+
[1m[35m (2.2ms)[0m [1m[31mDELETE FROM "spree_calculators";[0m
|
12733
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12734
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_calculators';[0m
|
12735
|
+
[1m[35m (2.5ms)[0m [1m[31mDELETE FROM "spree_cartons";[0m
|
12736
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12737
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_cartons';[0m
|
12738
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_countries";[0m
|
12739
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12740
|
+
[1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_countries';[0m
|
12741
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_credit_cards";[0m
|
12742
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12743
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_credit_cards';[0m
|
12744
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_customer_returns";[0m
|
12745
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12746
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_customer_returns';[0m
|
12747
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_line_item_actions";[0m
|
12748
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12749
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_line_item_actions';[0m
|
12750
|
+
[1m[35m (2.7ms)[0m [1m[31mDELETE FROM "spree_log_entries";[0m
|
12751
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12752
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_log_entries';[0m
|
12753
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_option_type_prototypes";[0m
|
12754
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12755
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_option_type_prototypes';[0m
|
12756
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_option_types";[0m
|
12757
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12758
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_option_types';[0m
|
12759
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_option_values";[0m
|
12760
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12761
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_option_values';[0m
|
12762
|
+
[1m[35m (2.3ms)[0m [1m[31mDELETE FROM "spree_option_values_variants";[0m
|
12763
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12764
|
+
[1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_option_values_variants';[0m
|
12765
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_order_mutexes";[0m
|
12766
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12767
|
+
[1m[35m (0.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_order_mutexes';[0m
|
12768
|
+
[1m[35m (4.5ms)[0m [1m[31mDELETE FROM "spree_orders";[0m
|
12769
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12770
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_orders';[0m
|
12771
|
+
[1m[35m (2.1ms)[0m [1m[31mDELETE FROM "spree_orders_promotions";[0m
|
12772
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12773
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_orders_promotions';[0m
|
12774
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_payment_capture_events";[0m
|
12775
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12776
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_payment_capture_events';[0m
|
12777
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "spree_payments";[0m
|
12778
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12779
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_payments';[0m
|
12780
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_preferences";[0m
|
12781
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12782
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_preferences';[0m
|
12783
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "spree_product_option_types";[0m
|
12784
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12785
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_product_option_types';[0m
|
12786
|
+
[1m[35m (2.4ms)[0m [1m[31mDELETE FROM "spree_product_promotion_rules";[0m
|
12787
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12788
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_product_promotion_rules';[0m
|
12789
|
+
[1m[35m (2.4ms)[0m [1m[31mDELETE FROM "spree_product_properties";[0m
|
12790
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12791
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_product_properties';[0m
|
12792
|
+
[1m[35m (3.1ms)[0m [1m[31mDELETE FROM "spree_products";[0m
|
12793
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12794
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_products';[0m
|
12795
|
+
[1m[35m (2.2ms)[0m [1m[31mDELETE FROM "spree_products_taxons";[0m
|
12796
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12797
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_products_taxons';[0m
|
12798
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "spree_promotion_action_line_items";[0m
|
12799
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12800
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_action_line_items';[0m
|
12801
|
+
[1m[35m (2.7ms)[0m [1m[31mDELETE FROM "spree_promotion_actions";[0m
|
12802
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12803
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_actions';[0m
|
12804
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_promotion_categories";[0m
|
12805
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12806
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_categories';[0m
|
12807
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_promotion_rule_taxons";[0m
|
12808
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12809
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_rule_taxons';[0m
|
12810
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "spree_promotion_rules";[0m
|
12811
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12812
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_rules';[0m
|
12813
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "spree_promotion_rules_users";[0m
|
12814
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12815
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_rules_users';[0m
|
12816
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_properties";[0m
|
12817
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12818
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_properties';[0m
|
12819
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_property_prototypes";[0m
|
12820
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12821
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_property_prototypes';[0m
|
12822
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "spree_prototype_taxons";[0m
|
12823
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12824
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_prototype_taxons';[0m
|
12825
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_prototypes";[0m
|
12826
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12827
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_prototypes';[0m
|
12828
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_refund_reasons";[0m
|
12829
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12830
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_refund_reasons';[0m
|
12831
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_refunds";[0m
|
12832
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12833
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_refunds';[0m
|
12834
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_reimbursement_credits";[0m
|
12835
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12836
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_reimbursement_credits';[0m
|
12837
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_reimbursement_types";[0m
|
12838
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12839
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_reimbursement_types';[0m
|
12840
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "spree_reimbursements";[0m
|
12841
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12842
|
+
[1m[35m (0.5ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_reimbursements';[0m
|
12843
|
+
[1m[35m (3.8ms)[0m [1m[31mDELETE FROM "spree_return_authorizations";[0m
|
12844
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12845
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_return_authorizations';[0m
|
12846
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_return_items";[0m
|
12847
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12848
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_return_items';[0m
|
12849
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_return_reasons";[0m
|
12850
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12851
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_return_reasons';[0m
|
12852
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_roles";[0m
|
12853
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12854
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_roles';[0m
|
12855
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_roles_users";[0m
|
12856
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12857
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_roles_users';[0m
|
12858
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "spree_shipments";[0m
|
12859
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12860
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipments';[0m
|
12861
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_shipping_categories";[0m
|
12862
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12863
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_categories';[0m
|
12864
|
+
[1m[35m (2.3ms)[0m [1m[31mDELETE FROM "spree_shipping_method_categories";[0m
|
12865
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12866
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_method_categories';[0m
|
12867
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_shipping_method_stock_locations";[0m
|
12868
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12869
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_method_stock_locations';[0m
|
12870
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_shipping_method_zones";[0m
|
12871
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12872
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_method_zones';[0m
|
12873
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_shipping_rate_taxes";[0m
|
12874
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12875
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_rate_taxes';[0m
|
12876
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_shipping_rates";[0m
|
12877
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12878
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_rates';[0m
|
12879
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_state_changes";[0m
|
12880
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12881
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_state_changes';[0m
|
12882
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_states";[0m
|
12883
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12884
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_states';[0m
|
12885
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_stock_items";[0m
|
12886
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12887
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_stock_items';[0m
|
12888
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "spree_stock_locations";[0m
|
12889
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12890
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_stock_locations';[0m
|
12891
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_stock_movements";[0m
|
12892
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12893
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_stock_movements';[0m
|
12894
|
+
[1m[35m (0.7ms)[0m [1m[31mDELETE FROM "spree_store_credit_categories";[0m
|
12895
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12896
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credit_categories';[0m
|
12897
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_store_credit_types";[0m
|
12898
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12899
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credit_types';[0m
|
12900
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_store_payment_methods";[0m
|
12901
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12902
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_payment_methods';[0m
|
12903
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_stores";[0m
|
12904
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12905
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_stores';[0m
|
12906
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_tax_categories";[0m
|
12907
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12908
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_tax_categories';[0m
|
12909
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_taxonomies";[0m
|
12910
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12911
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_taxonomies';[0m
|
12912
|
+
[1m[35m (2.4ms)[0m [1m[31mDELETE FROM "spree_taxons";[0m
|
12913
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12914
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_taxons';[0m
|
12915
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_unit_cancels";[0m
|
12916
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12917
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_unit_cancels';[0m
|
12918
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_user_addresses";[0m
|
12919
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12920
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_user_addresses';[0m
|
12921
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_user_stock_locations";[0m
|
12922
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12923
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_user_stock_locations';[0m
|
12924
|
+
[1m[35m (0.8ms)[0m [1m[31mDELETE FROM "spree_variant_property_rule_conditions";[0m
|
12925
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12926
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_variant_property_rule_conditions';[0m
|
12927
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_variant_property_rule_values";[0m
|
12928
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12929
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_variant_property_rule_values';[0m
|
12930
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_variant_property_rules";[0m
|
12931
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12932
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_variant_property_rules';[0m
|
12933
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_variants";[0m
|
12934
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12935
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_variants';[0m
|
12936
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "spree_zone_members";[0m
|
12937
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12938
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_zone_members';[0m
|
12939
|
+
[1m[35m (2.4ms)[0m [1m[31mDELETE FROM "spree_wallet_payment_sources";[0m
|
12940
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12941
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_wallet_payment_sources';[0m
|
12942
|
+
[1m[35m (2.1ms)[0m [1m[31mDELETE FROM "spree_prices";[0m
|
12943
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12944
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_prices';[0m
|
12945
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "spree_line_items";[0m
|
12946
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12947
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_line_items';[0m
|
12948
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_payment_methods";[0m
|
12949
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12950
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_payment_methods';[0m
|
12951
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_promotion_code_batches";[0m
|
12952
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12953
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_code_batches';[0m
|
12954
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "spree_promotion_codes";[0m
|
12955
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12956
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_codes';[0m
|
12957
|
+
[1m[35m (2.2ms)[0m [1m[31mDELETE FROM "spree_shipping_methods";[0m
|
12958
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12959
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_methods';[0m
|
12960
|
+
[1m[35m (2.5ms)[0m [1m[31mDELETE FROM "spree_store_credits";[0m
|
12961
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12962
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credits';[0m
|
12963
|
+
[1m[35m (2.9ms)[0m [1m[31mDELETE FROM "spree_inventory_units";[0m
|
12964
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12965
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_inventory_units';[0m
|
12966
|
+
[1m[35m (2.1ms)[0m [1m[31mDELETE FROM "spree_tax_rate_tax_categories";[0m
|
12967
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12968
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_tax_rate_tax_categories';[0m
|
12969
|
+
[1m[35m (2.1ms)[0m [1m[31mDELETE FROM "spree_tax_rates";[0m
|
12970
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12971
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_tax_rates';[0m
|
12972
|
+
[1m[35m (3.0ms)[0m [1m[31mDELETE FROM "spree_zones";[0m
|
12973
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12974
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_zones';[0m
|
12975
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "spree_promotion_rules_stores";[0m
|
12976
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12977
|
+
[1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_rules_stores';[0m
|
12978
|
+
[1m[35m (2.3ms)[0m [1m[31mDELETE FROM "spree_store_shipping_methods";[0m
|
12979
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12980
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_shipping_methods';[0m
|
12981
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_store_credit_reasons";[0m
|
12982
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12983
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credit_reasons';[0m
|
12984
|
+
[1m[35m (3.1ms)[0m [1m[31mDELETE FROM "spree_promotions";[0m
|
12985
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12986
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotions';[0m
|
12987
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "spree_store_credit_events";[0m
|
12988
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12989
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credit_events';[0m
|
12990
|
+
[1m[35m (2.6ms)[0m [1m[31mDELETE FROM "spree_users";[0m
|
12991
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
12992
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_users';[0m
|
12993
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
|
12994
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
12995
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12996
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
12997
|
+
[1m[36mSpree::User Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email1@example.com"], ["LIMIT", 1]]
|
12998
|
+
[1m[36mSpree::User Create (0.9ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "6fd1977bc52fb7f1394c12c5116d8e0e9c10143319a6f23df6689fba6ff71049792149ca91100ef9c0091c92da11a88340013cd8da5f8d88da7b92de1ee8ff7c"], ["password_salt", "3kkESop2L-T2Rqh2Jbnb"], ["email", "email1@example.com"], ["login", "email1@example.com"], ["created_at", "2019-11-22 20:20:44.249295"], ["updated_at", "2019-11-22 20:20:44.249295"]]
|
12999
|
+
[1m[36mSpree::Role Load (0.2ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
13000
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13001
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13002
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
13003
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13004
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:20:45.750877"], ["created_at", "2019-11-22 20:20:45.750877"]]
|
13005
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13006
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13007
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:20:45.756504"], ["created_at", "2019-11-22 20:20:45.756504"]]
|
13008
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13009
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13010
|
+
[1m[36mSpree::Address Create (0.2ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10001"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:45.758723"], ["updated_at", "2019-11-22 20:20:45.758723"]]
|
13011
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13012
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13013
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13014
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13015
|
+
[1m[36mSpree::Address Create (0.5ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10002"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:45.763319"], ["updated_at", "2019-11-22 20:20:45.763319"]]
|
13016
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13017
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13018
|
+
[1m[36mSpree::Store Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_1"], ["LIMIT", 1]]
|
13019
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
13020
|
+
[1m[36mSpree::Store Create (0.4ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 1"], ["url", "www.example1.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_1"], ["default", 1], ["created_at", "2019-11-22 20:20:45.801283"], ["updated_at", "2019-11-22 20:20:45.801283"]]
|
13021
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13022
|
+
[1m[36mSpree::Country Load (0.3ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13023
|
+
[1m[36mSpree::State Load (0.7ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
13024
|
+
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13025
|
+
[1m[36mSpree::StockLocation Load (1.3ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13026
|
+
[1m[36mSpree::StockLocation Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:20:45.923204"], ["updated_at", "2019-11-22 20:20:45.923204"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
13027
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
13028
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13029
|
+
[1m[36mSpree::ShippingCategory Load (0.2ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13030
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13031
|
+
[1m[36mSpree::ShippingCategory Create (0.4ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #1"], ["created_at", "2019-11-22 20:20:46.502365"], ["updated_at", "2019-11-22 20:20:46.502365"]]
|
13032
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13033
|
+
[1m[36mSpree::TaxCategory Load (0.4ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13034
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13035
|
+
[1m[36mSpree::TaxCategory Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 707319"], ["LIMIT", 1]]
|
13036
|
+
[1m[36mSpree::TaxCategory Create (1.1ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 707319"], ["created_at", "2019-11-22 20:20:46.573749"], ["updated_at", "2019-11-22 20:20:46.573749"], ["tax_code", "TaxCode - 887189"]]
|
13037
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13038
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
13039
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13040
|
+
[1m[36mSpree::Product Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-1-857"], ["LIMIT", 1]]
|
13041
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-1-857' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13042
|
+
[1m[36mSpree::TaxRate Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13043
|
+
[1m[36mSpree::Variant Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-1"], ["LIMIT", 1]]
|
13044
|
+
[1m[36mSpree::TaxRate Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13045
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-1"], ["LIMIT", 1]]
|
13046
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-1-857"], ["LIMIT", 1]]
|
13047
|
+
[1m[36mSpree::Product Create (0.3ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #1 - 857"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:20:46.370047"], ["slug", "product-1-857"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:46.920573"], ["updated_at", "2019-11-22 20:20:46.920573"]]
|
13048
|
+
[1m[36mSpree::Variant Load (0.4ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
13049
|
+
[1m[36mSpree::Variant Create (0.4ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-1"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:46.922921"], ["created_at", "2019-11-22 20:20:46.922921"]]
|
13050
|
+
[1m[36mSpree::Price Create (0.3ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:46.928983"], ["updated_at", "2019-11-22 20:20:46.928983"]]
|
13051
|
+
[1m[36mSpree::StockLocation Load (0.8ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
13052
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
13053
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:20:46.957245"], ["updated_at", "2019-11-22 20:20:46.957245"], ["backorderable", 1]]
|
13054
|
+
[1m[36mSpree::Variant Update (0.6ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:46.959485"], ["id", 1]]
|
13055
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
13056
|
+
[1m[36mSpree::Variant Update (0.3ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
13057
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13058
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
13059
|
+
[1m[36mFriendlyId::Slug Load (0.3ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13060
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-1-857"]]
|
13061
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13062
|
+
[1m[36mFriendlyId::Slug Create (0.2ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-1-857"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:20:47.037936"], ["updated_at", "2019-11-22 20:20:47.037936"]]
|
13063
|
+
[1m[36mSpree::Taxon Load (0.2ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13064
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:46.930936"], ["id", 1]]
|
13065
|
+
[1m[36mSpree::Product Update (0.3ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.041747"], ["id", 1]]
|
13066
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13067
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13068
|
+
[1m[36mSpree::Order Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R820632480"], ["LIMIT", 1]]
|
13069
|
+
[1m[36mSpree::Order Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R820632480"], ["LIMIT", 1]]
|
13070
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "UqCV0fIKjoc64BeIh3bt7Q"], ["LIMIT", 1]]
|
13071
|
+
[1m[36mSpree::Order Create (0.4ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "payment_state", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R820632480"], ["state", "confirm"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["payment_state", "checkout"], ["email", "email1@example.com"], ["created_at", "2019-11-22 20:20:47.051874"], ["updated_at", "2019-11-22 20:20:47.051874"], ["currency", "USD"], ["guest_token", "UqCV0fIKjoc64BeIh3bt7Q"], ["store_id", 1]]
|
13072
|
+
[1m[36mSpree::LineItem Load (0.4ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
13073
|
+
[1m[36mSpree::LineItem Create (0.2ms)[0m [1m[32mINSERT INTO "spree_line_items" ("variant_id", "order_id", "quantity", "price", "created_at", "updated_at", "cost_price", "tax_category_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["variant_id", 1], ["order_id", 1], ["quantity", 1], ["price", 10.0], ["created_at", "2019-11-22 20:20:47.057982"], ["updated_at", "2019-11-22 20:20:47.057982"], ["cost_price", 17.0], ["tax_category_id", 1]]
|
13074
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.060007"], ["id", 1]]
|
13075
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13076
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
13077
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13078
|
+
[1m[36mSpree::Shipment Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_shipments" WHERE "spree_shipments"."number" = ? LIMIT ?[0m [["number", "H48363877773"], ["LIMIT", 1]]
|
13079
|
+
[1m[36mSpree::Shipment Create (0.7ms)[0m [1m[32mINSERT INTO "spree_shipments" ("tracking", "number", "cost", "order_id", "state", "created_at", "updated_at", "stock_location_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["tracking", "U10000"], ["number", "H48363877773"], ["cost", 100.0], ["order_id", 1], ["state", "pending"], ["created_at", "2019-11-22 20:20:47.119894"], ["updated_at", "2019-11-22 20:20:47.119894"], ["stock_location_id", 1]]
|
13080
|
+
[1m[36mSpree::Order Update (0.4ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.123008"], ["id", 1]]
|
13081
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13082
|
+
[1m[36mSpree::Zone Load (0.2ms)[0m [1m[34mSELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
13083
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries"[0m
|
13084
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13085
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
13086
|
+
[1m[36mSpree::Zone Create (0.2ms)[0m [1m[32mINSERT INTO "spree_zones" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "GlobalZone"], ["created_at", "2019-11-22 20:20:47.224527"], ["updated_at", "2019-11-22 20:20:47.224527"]]
|
13087
|
+
[1m[36mSpree::ZoneMember Create (0.5ms)[0m [1m[32mINSERT INTO "spree_zone_members" ("zoneable_type", "zoneable_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["zoneable_type", "Spree::Country"], ["zoneable_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:20:47.227025"], ["updated_at", "2019-11-22 20:20:47.227025"]]
|
13088
|
+
[1m[36mSpree::Zone Update All (0.3ms)[0m [1m[33mUPDATE "spree_zones" SET "zone_members_count" = COALESCE("zone_members_count", 0) + ? WHERE "spree_zones"."id" = ?[0m [["zone_members_count", 1], ["id", 1]]
|
13089
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13090
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13091
|
+
[1m[36mSpree::Zone Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
13092
|
+
[1m[36mSpree::ZoneMember Load (0.4ms)[0m [1m[34mSELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = ? AND (zoneable_id IS NULL OR zoneable_type != 'Spree::Country')[0m [["zone_id", 1]]
|
13093
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13094
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13095
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13096
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
13097
|
+
[1m[36mSpree::ShippingMethod Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_methods" ("name", "created_at", "updated_at", "code", "carrier", "service_level") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "UPS Ground"], ["created_at", "2019-11-22 20:20:47.326445"], ["updated_at", "2019-11-22 20:20:47.326445"], ["code", "UPS_GROUND"], ["carrier", "UPS"], ["service_level", "1DAYGROUND"]]
|
13098
|
+
[1m[36mSpree::Calculator::Shipping::FlatRate Create (0.3ms)[0m [1m[32mINSERT INTO "spree_calculators" ("type", "calculable_type", "calculable_id", "created_at", "updated_at", "preferences") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::Calculator::Shipping::FlatRate"], ["calculable_type", "Spree::ShippingMethod"], ["calculable_id", 1], ["created_at", "2019-11-22 20:20:47.327927"], ["updated_at", "2019-11-22 20:20:47.327927"], ["preferences", "---\n:amount: !ruby/object:BigDecimal 18:0.1e3\n:currency: USD\n"]]
|
13099
|
+
[1m[36mSpree::ShippingMethodCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_method_categories" ("shipping_method_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:47.330278"], ["updated_at", "2019-11-22 20:20:47.330278"]]
|
13100
|
+
[1m[36mSpree::ShippingMethodZone Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_method_zones" ("shipping_method_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:20:47.331697"], ["updated_at", "2019-11-22 20:20:47.331697"]]
|
13101
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13102
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13103
|
+
[1m[36mSpree::ShippingRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_rates" ("shipment_id", "shipping_method_id", "selected", "cost", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["shipment_id", 1], ["shipping_method_id", 1], ["selected", 1], ["cost", 100.0], ["created_at", "2019-11-22 20:20:47.351247"], ["updated_at", "2019-11-22 20:20:47.351247"]]
|
13104
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.353105"], ["id", 1]]
|
13105
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.354835"], ["id", 1]]
|
13106
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13107
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13108
|
+
[1m[36mSpree::LineItem Load (0.3ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13109
|
+
[1m[36mSpree::Variant Load (0.3ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13110
|
+
[1m[36mSpree::InventoryUnit Create (0.3ms)[0m [1m[32mINSERT INTO "spree_inventory_units" ("state", "variant_id", "shipment_id", "created_at", "updated_at", "line_item_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["state", "on_hand"], ["variant_id", 1], ["shipment_id", 1], ["created_at", "2019-11-22 20:20:47.382657"], ["updated_at", "2019-11-22 20:20:47.382657"], ["line_item_id", 1]]
|
13111
|
+
[1m[36mSpree::Shipment Update (0.2ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.384691"], ["id", 1]]
|
13112
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.385932"], ["id", 1]]
|
13113
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13114
|
+
[1m[36mSpree::Shipment Load (0.2ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
13115
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13116
|
+
[1m[36mSpree::ShippingRate Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_rates".* FROM "spree_shipping_rates" WHERE "spree_shipping_rates"."shipment_id" = ? ORDER BY "spree_shipping_rates"."cost" ASC[0m [["shipment_id", 1]]
|
13117
|
+
[1m[36mSpree::Payment Load (0.3ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
13118
|
+
[1m[36mSpree::Adjustment Load (0.4ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::LineItem"]]
|
13119
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Shipment"]]
|
13120
|
+
[1m[36mSpree::Adjustment Load (0.3ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ? ORDER BY "spree_adjustments"."created_at" ASC[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Order"]]
|
13121
|
+
[1m[36mSpree::TaxRate Load (0.5ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
13122
|
+
[1m[36mSpree::Product Load (0.3ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13123
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13124
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13125
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13126
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "item_total" = ?, "total" = ?, "updated_at" = ?, "shipment_total" = ?, "item_count" = ? WHERE "spree_orders"."id" = ?[0m [["item_total", 10.0], ["total", 110.0], ["updated_at", "2019-11-22 20:20:47.486816"], ["shipment_total", 100.0], ["item_count", 1], ["id", 1]]
|
13127
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13128
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13129
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R820632480"], ["id", 1], ["LIMIT", 1]]
|
13130
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13131
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13132
|
+
[1m[36mSpree::PaymentMethod Load (0.3ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13133
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.3ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:20:47.560657"], ["updated_at", "2019-11-22 20:20:47.560657"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 1]]
|
13134
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13135
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13136
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13137
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:20:47.597445"], ["updated_at", "2019-11-22 20:20:47.597445"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 2]]
|
13138
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13139
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13140
|
+
[1m[36mSpree::CreditCard Create (0.3ms)[0m [1m[32mINSERT INTO "spree_credit_cards" ("month", "year", "last_digits", "created_at", "updated_at", "name", "user_id", "payment_method_id", "address_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["month", "12"], ["year", "2020"], ["last_digits", "1111"], ["created_at", "2019-11-22 20:20:47.603627"], ["updated_at", "2019-11-22 20:20:47.603627"], ["name", "Spree Commerce"], ["user_id", 1], ["payment_method_id", 2], ["address_id", 1]]
|
13141
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13142
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13143
|
+
[1m[36mSpree::Payment Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "GZVVVQJH"], ["LIMIT", 1]]
|
13144
|
+
[1m[36mSpree::Payment Create (0.3ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 110.0], ["order_id", 1], ["source_type", "Spree::CreditCard"], ["source_id", 1], ["payment_method_id", 1], ["state", "checkout"], ["response_code", "12345"], ["created_at", "2019-11-22 20:20:47.622333"], ["updated_at", "2019-11-22 20:20:47.622333"], ["number", "GZVVVQJH"]]
|
13145
|
+
[1m[36mSpree::Payment Load (0.3ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
13146
|
+
[1m[36mSpree::CreditCard Load (0.5ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."gateway_customer_profile_id" = ? ORDER BY "spree_credit_cards"."id" ASC LIMIT ?[0m [["gateway_customer_profile_id", "BGS-345251"], ["LIMIT", 1]]
|
13147
|
+
[1m[36mSpree::CreditCard Update (0.3ms)[0m [1m[33mUPDATE "spree_credit_cards" SET "gateway_customer_profile_id" = ?, "updated_at" = ? WHERE "spree_credit_cards"."id" = ?[0m [["gateway_customer_profile_id", "BGS-345251"], ["updated_at", "2019-11-22 20:20:47.636816"], ["id", 1]]
|
13148
|
+
[1m[36mSpree::Order Update (0.3ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.626564"], ["id", 1]]
|
13149
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13150
|
+
[1m[36mSpree::Payment Load (0.2ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
13151
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13152
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
13153
|
+
[1m[36mSpree::TaxRate Load (0.5ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
13154
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13155
|
+
[1m[35m (7.3ms)[0m [1m[31mrollback transaction[0m
|
13156
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
13157
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13158
|
+
[1m[36mSpree::User Exists? (10.8ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email2@example.com"], ["LIMIT", 1]]
|
13159
|
+
[1m[36mSpree::User Create (1.1ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "6d7f044adcae0132da114caed5e43e02d91927eb28874cb627d368b7a6c78006929b95d8efeffe1ca6b79c3c7075e9f353041601ebda82d6629c07962b6b43b5"], ["password_salt", "Wqd7wmJTpJTMSYamyyBj"], ["email", "email2@example.com"], ["login", "email2@example.com"], ["created_at", "2019-11-22 20:20:47.690348"], ["updated_at", "2019-11-22 20:20:47.690348"]]
|
13160
|
+
[1m[36mSpree::Role Load (0.2ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
13161
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13162
|
+
[1m[36mSpree::State Load (2.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13163
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
13164
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13165
|
+
[1m[36mSpree::Country Create (0.4ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:20:47.708347"], ["created_at", "2019-11-22 20:20:47.708347"]]
|
13166
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13167
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13168
|
+
[1m[36mSpree::State Create (0.3ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:20:47.713182"], ["created_at", "2019-11-22 20:20:47.713182"]]
|
13169
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13170
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13171
|
+
[1m[36mSpree::Address Create (0.5ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10003"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:47.717452"], ["updated_at", "2019-11-22 20:20:47.717452"]]
|
13172
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13173
|
+
[1m[36mSpree::State Load (0.3ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13174
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13175
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13176
|
+
[1m[36mSpree::Address Create (0.4ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10004"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:47.727717"], ["updated_at", "2019-11-22 20:20:47.727717"]]
|
13177
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13178
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13179
|
+
[1m[36mSpree::Store Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_2"], ["LIMIT", 1]]
|
13180
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
13181
|
+
[1m[36mSpree::Store Create (0.5ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 2"], ["url", "www.example2.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_2"], ["default", 1], ["created_at", "2019-11-22 20:20:47.737248"], ["updated_at", "2019-11-22 20:20:47.737248"]]
|
13182
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13183
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13184
|
+
[1m[36mSpree::State Load (0.3ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
13185
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13186
|
+
[1m[36mSpree::StockLocation Load (0.5ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13187
|
+
[1m[36mSpree::StockLocation Create (0.5ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:20:47.749097"], ["updated_at", "2019-11-22 20:20:47.749097"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
13188
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
13189
|
+
[1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13190
|
+
[1m[36mSpree::ShippingCategory Load (0.2ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13191
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13192
|
+
[1m[36mSpree::ShippingCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #2"], ["created_at", "2019-11-22 20:20:47.773586"], ["updated_at", "2019-11-22 20:20:47.773586"]]
|
13193
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13194
|
+
[1m[36mSpree::TaxCategory Load (0.2ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13195
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13196
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 105384"], ["LIMIT", 1]]
|
13197
|
+
[1m[36mSpree::TaxCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 105384"], ["created_at", "2019-11-22 20:20:47.780904"], ["updated_at", "2019-11-22 20:20:47.780904"], ["tax_code", "TaxCode - 374932"]]
|
13198
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13199
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
13200
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13201
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-2-3260"], ["LIMIT", 1]]
|
13202
|
+
[1m[36mSpree::Product Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-2-3260' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13203
|
+
[1m[36mSpree::TaxRate Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13204
|
+
[1m[36mSpree::Variant Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-2"], ["LIMIT", 1]]
|
13205
|
+
[1m[36mSpree::TaxRate Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13206
|
+
[1m[36mSpree::Variant Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-2"], ["LIMIT", 1]]
|
13207
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-2-3260"], ["LIMIT", 1]]
|
13208
|
+
[1m[36mSpree::Product Create (0.5ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #2 - 3260"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:20:47.770612"], ["slug", "product-2-3260"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:47.806859"], ["updated_at", "2019-11-22 20:20:47.806859"]]
|
13209
|
+
[1m[36mSpree::Variant Load (0.4ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
13210
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-2"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:47.810027"], ["created_at", "2019-11-22 20:20:47.810027"]]
|
13211
|
+
[1m[36mSpree::Price Create (0.3ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:47.813850"], ["updated_at", "2019-11-22 20:20:47.813850"]]
|
13212
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
13213
|
+
[1m[36mSpree::StockItem Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
13214
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:20:47.820907"], ["updated_at", "2019-11-22 20:20:47.820907"], ["backorderable", 1]]
|
13215
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.822580"], ["id", 1]]
|
13216
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
13217
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
13218
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13219
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
13220
|
+
[1m[36mFriendlyId::Slug Load (0.2ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13221
|
+
[1m[36mFriendlyId::Slug Destroy (0.3ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-2-3260"]]
|
13222
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13223
|
+
[1m[36mFriendlyId::Slug Create (0.6ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-2-3260"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:20:47.840056"], ["updated_at", "2019-11-22 20:20:47.840056"]]
|
13224
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13225
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.815027"], ["id", 1]]
|
13226
|
+
[1m[36mSpree::Product Update (0.2ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.844302"], ["id", 1]]
|
13227
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13228
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13229
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R673752083"], ["LIMIT", 1]]
|
13230
|
+
[1m[36mSpree::Order Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R673752083"], ["LIMIT", 1]]
|
13231
|
+
[1m[36mSpree::Order Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "gMD1Q7_ICASUMp6DmpMQaQ"], ["LIMIT", 1]]
|
13232
|
+
[1m[36mSpree::Order Create (1.2ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "payment_state", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R673752083"], ["state", "confirm"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["payment_state", "checkout"], ["email", "email2@example.com"], ["created_at", "2019-11-22 20:20:47.850494"], ["updated_at", "2019-11-22 20:20:47.850494"], ["currency", "USD"], ["guest_token", "gMD1Q7_ICASUMp6DmpMQaQ"], ["store_id", 1]]
|
13233
|
+
[1m[36mSpree::LineItem Load (0.3ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
13234
|
+
[1m[36mSpree::LineItem Create (0.4ms)[0m [1m[32mINSERT INTO "spree_line_items" ("variant_id", "order_id", "quantity", "price", "created_at", "updated_at", "cost_price", "tax_category_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["variant_id", 1], ["order_id", 1], ["quantity", 1], ["price", 10.0], ["created_at", "2019-11-22 20:20:47.884873"], ["updated_at", "2019-11-22 20:20:47.884873"], ["cost_price", 17.0], ["tax_category_id", 1]]
|
13235
|
+
[1m[36mSpree::Order Update (0.4ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.889365"], ["id", 1]]
|
13236
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13237
|
+
[1m[36mSpree::LineItem Load (0.2ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
13238
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13239
|
+
[1m[36mSpree::Shipment Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "spree_shipments" WHERE "spree_shipments"."number" = ? LIMIT ?[0m [["number", "H80032861113"], ["LIMIT", 1]]
|
13240
|
+
[1m[36mSpree::Shipment Create (0.7ms)[0m [1m[32mINSERT INTO "spree_shipments" ("tracking", "number", "cost", "order_id", "state", "created_at", "updated_at", "stock_location_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["tracking", "U10000"], ["number", "H80032861113"], ["cost", 100.0], ["order_id", 1], ["state", "pending"], ["created_at", "2019-11-22 20:20:47.907327"], ["updated_at", "2019-11-22 20:20:47.907327"], ["stock_location_id", 1]]
|
13241
|
+
[1m[36mSpree::Order Update (0.3ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.914018"], ["id", 1]]
|
13242
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13243
|
+
[1m[36mSpree::Zone Load (0.1ms)[0m [1m[34mSELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
13244
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries"[0m
|
13245
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13246
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
13247
|
+
[1m[36mSpree::Zone Create (0.1ms)[0m [1m[32mINSERT INTO "spree_zones" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "GlobalZone"], ["created_at", "2019-11-22 20:20:47.921226"], ["updated_at", "2019-11-22 20:20:47.921226"]]
|
13248
|
+
[1m[36mSpree::ZoneMember Create (0.1ms)[0m [1m[32mINSERT INTO "spree_zone_members" ("zoneable_type", "zoneable_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["zoneable_type", "Spree::Country"], ["zoneable_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:20:47.922228"], ["updated_at", "2019-11-22 20:20:47.922228"]]
|
13249
|
+
[1m[36mSpree::Zone Update All (0.2ms)[0m [1m[33mUPDATE "spree_zones" SET "zone_members_count" = COALESCE("zone_members_count", 0) + ? WHERE "spree_zones"."id" = ?[0m [["zone_members_count", 1], ["id", 1]]
|
13250
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13251
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13252
|
+
[1m[36mSpree::Zone Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
13253
|
+
[1m[36mSpree::ZoneMember Load (0.3ms)[0m [1m[34mSELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = ? AND (zoneable_id IS NULL OR zoneable_type != 'Spree::Country')[0m [["zone_id", 1]]
|
13254
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13255
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13256
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13257
|
+
[1m[36mSpree::Zone Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
13258
|
+
[1m[36mSpree::ShippingMethod Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_methods" ("name", "created_at", "updated_at", "code", "carrier", "service_level") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "UPS Ground"], ["created_at", "2019-11-22 20:20:47.943526"], ["updated_at", "2019-11-22 20:20:47.943526"], ["code", "UPS_GROUND"], ["carrier", "UPS"], ["service_level", "1DAYGROUND"]]
|
13259
|
+
[1m[36mSpree::Calculator::Shipping::FlatRate Create (0.5ms)[0m [1m[32mINSERT INTO "spree_calculators" ("type", "calculable_type", "calculable_id", "created_at", "updated_at", "preferences") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::Calculator::Shipping::FlatRate"], ["calculable_type", "Spree::ShippingMethod"], ["calculable_id", 1], ["created_at", "2019-11-22 20:20:47.944912"], ["updated_at", "2019-11-22 20:20:47.944912"], ["preferences", "---\n:amount: !ruby/object:BigDecimal 18:0.1e3\n:currency: USD\n"]]
|
13260
|
+
[1m[36mSpree::ShippingMethodCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_method_categories" ("shipping_method_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:47.947478"], ["updated_at", "2019-11-22 20:20:47.947478"]]
|
13261
|
+
[1m[36mSpree::ShippingMethodZone Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_method_zones" ("shipping_method_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:20:47.948748"], ["updated_at", "2019-11-22 20:20:47.948748"]]
|
13262
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13263
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13264
|
+
[1m[36mSpree::ShippingRate Create (0.4ms)[0m [1m[32mINSERT INTO "spree_shipping_rates" ("shipment_id", "shipping_method_id", "selected", "cost", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["shipment_id", 1], ["shipping_method_id", 1], ["selected", 1], ["cost", 100.0], ["created_at", "2019-11-22 20:20:47.953766"], ["updated_at", "2019-11-22 20:20:47.953766"]]
|
13265
|
+
[1m[36mSpree::Shipment Update (0.3ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.956498"], ["id", 1]]
|
13266
|
+
[1m[36mSpree::Order Update (0.3ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.958443"], ["id", 1]]
|
13267
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13268
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13269
|
+
[1m[36mSpree::LineItem Load (0.2ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13270
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13271
|
+
[1m[36mSpree::InventoryUnit Create (0.4ms)[0m [1m[32mINSERT INTO "spree_inventory_units" ("state", "variant_id", "shipment_id", "created_at", "updated_at", "line_item_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["state", "on_hand"], ["variant_id", 1], ["shipment_id", 1], ["created_at", "2019-11-22 20:20:47.970053"], ["updated_at", "2019-11-22 20:20:47.970053"], ["line_item_id", 1]]
|
13272
|
+
[1m[36mSpree::Shipment Update (0.3ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.972164"], ["id", 1]]
|
13273
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:47.974440"], ["id", 1]]
|
13274
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13275
|
+
[1m[36mSpree::Shipment Load (0.3ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
13276
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13277
|
+
[1m[36mSpree::ShippingRate Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_rates".* FROM "spree_shipping_rates" WHERE "spree_shipping_rates"."shipment_id" = ? ORDER BY "spree_shipping_rates"."cost" ASC[0m [["shipment_id", 1]]
|
13278
|
+
[1m[36mSpree::Payment Load (0.2ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
13279
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::LineItem"]]
|
13280
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Shipment"]]
|
13281
|
+
[1m[36mSpree::Adjustment Load (0.3ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ? ORDER BY "spree_adjustments"."created_at" ASC[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Order"]]
|
13282
|
+
[1m[36mSpree::TaxRate Load (0.5ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
13283
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13284
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13285
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13286
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13287
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "item_total" = ?, "total" = ?, "updated_at" = ?, "shipment_total" = ?, "item_count" = ? WHERE "spree_orders"."id" = ?[0m [["item_total", 10.0], ["total", 110.0], ["updated_at", "2019-11-22 20:20:48.025243"], ["shipment_total", 100.0], ["item_count", 1], ["id", 1]]
|
13288
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13289
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13290
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R673752083"], ["id", 1], ["LIMIT", 1]]
|
13291
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13292
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13293
|
+
[1m[36mSpree::PaymentMethod Load (0.1ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13294
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:20:48.033345"], ["updated_at", "2019-11-22 20:20:48.033345"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 1]]
|
13295
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13296
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13297
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13298
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:20:48.039088"], ["updated_at", "2019-11-22 20:20:48.039088"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 2]]
|
13299
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13300
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13301
|
+
[1m[36mSpree::CreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_credit_cards" ("month", "year", "last_digits", "created_at", "updated_at", "name", "user_id", "payment_method_id", "address_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["month", "12"], ["year", "2020"], ["last_digits", "1111"], ["created_at", "2019-11-22 20:20:48.046918"], ["updated_at", "2019-11-22 20:20:48.046918"], ["name", "Spree Commerce"], ["user_id", 1], ["payment_method_id", 2], ["address_id", 1]]
|
13302
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13303
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13304
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "P5B9WSSP"], ["LIMIT", 1]]
|
13305
|
+
[1m[36mSpree::Payment Create (0.5ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 110.0], ["order_id", 1], ["source_type", "Spree::CreditCard"], ["source_id", 1], ["payment_method_id", 1], ["state", "checkout"], ["response_code", "12345"], ["created_at", "2019-11-22 20:20:48.052118"], ["updated_at", "2019-11-22 20:20:48.052118"], ["number", "P5B9WSSP"]]
|
13306
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
13307
|
+
[1m[36mSpree::CreditCard Load (0.1ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."gateway_customer_profile_id" = ? ORDER BY "spree_credit_cards"."id" ASC LIMIT ?[0m [["gateway_customer_profile_id", "BGS-115313"], ["LIMIT", 1]]
|
13308
|
+
[1m[36mSpree::CreditCard Update (0.2ms)[0m [1m[33mUPDATE "spree_credit_cards" SET "gateway_customer_profile_id" = ?, "updated_at" = ? WHERE "spree_credit_cards"."id" = ?[0m [["gateway_customer_profile_id", "BGS-115313"], ["updated_at", "2019-11-22 20:20:48.057832"], ["id", 1]]
|
13309
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.054996"], ["id", 1]]
|
13310
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13311
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
13312
|
+
[1m[36mSpree::InventoryUnit Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_inventory_units" WHERE "spree_inventory_units"."line_item_id" = ? LIMIT ?[0m [["line_item_id", 1], ["LIMIT", 1]]
|
13313
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "stock_location_id" AS stock_location_id FROM "spree_inventory_units" INNER JOIN "spree_shipments" ON "spree_shipments"."id" = "spree_inventory_units"."shipment_id" WHERE "spree_inventory_units"."line_item_id" = ? AND "spree_inventory_units"."pending" = ? GROUP BY "stock_location_id"[0m [["line_item_id", 1], ["pending", 1]]
|
13314
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."stock_location_id" = ?[0m [["variant_id", 1], ["stock_location_id", 1]]
|
13315
|
+
[1m[36mSpree::StockItem Load (0.1ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."stock_location_id" = ?[0m [["variant_id", 1], ["stock_location_id", 1]]
|
13316
|
+
[1m[36mSpree::Adjustment Load (0.2ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."order_id" = ? AND "spree_adjustments"."eligible" = ? AND "spree_adjustments"."source_type" = ?[0m [["order_id", 1], ["eligible", 1], ["source_type", "Spree::PromotionAction"]]
|
13317
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_inventory_units" WHERE "spree_inventory_units"."line_item_id" = ?[0m [["line_item_id", 1]]
|
13318
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
13319
|
+
[1m[36mSpree::PaymentMethod Load (0.1ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE "spree_payment_methods"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13320
|
+
[1m[36mSpree::CreditCard Load (0.3ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13321
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13322
|
+
[1m[36mSpree::Payment Update (0.2ms)[0m [1m[33mUPDATE "spree_payments" SET "state" = ?, "updated_at" = ? WHERE "spree_payments"."id" = ?[0m [["state", "processing"], ["updated_at", "2019-11-22 20:20:48.076283"], ["id", 1]]
|
13323
|
+
[1m[36mSpree::StateChange Create (0.4ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "checkout"], ["stateful_id", 1], ["stateful_type", "Spree::Payment"], ["next_state", "processing"], ["created_at", "2019-11-22 20:20:48.099728"], ["updated_at", "2019-11-22 20:20:48.099728"]]
|
13324
|
+
[1m[36mSpree::Order Update (0.5ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.078597"], ["id", 1]]
|
13325
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13326
|
+
[1m[36mSpree::Order Load (0.2ms)[0m [1m[34mSELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13327
|
+
[1m[36mSpree::Address Load (0.2ms)[0m [1m[34mSELECT "spree_addresses".* FROM "spree_addresses" WHERE "spree_addresses"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13328
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13329
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13330
|
+
[1m[36mSpree::Address Load (0.1ms)[0m [1m[34mSELECT "spree_addresses".* FROM "spree_addresses" WHERE "spree_addresses"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
13331
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13332
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13333
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13334
|
+
[1m[36mSpree::LogEntry Create (0.2ms)[0m [1m[32mINSERT INTO "spree_log_entries" ("source_type", "source_id", "details", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source_type", "Spree::Payment"], ["source_id", 1], ["details", "--- !ruby/object:ActiveMerchant::Billing::Response\nparams: {}\nmessage: 'Bogus Gateway: Forced success'\nsuccess: true\ntest: true\nauthorization: '12345'\nfraud_review: \nerror_code: \nemv_authorization: \navs_result:\n code: D\n message: Street address and postal code match.\n street_match: Y\n postal_match: Y\ncvv_result:\n code: \n message: \n"], ["created_at", "2019-11-22 20:20:48.135275"], ["updated_at", "2019-11-22 20:20:48.135275"]]
|
13335
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13336
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13337
|
+
[1m[36mSpree::Payment Update (0.1ms)[0m [1m[33mUPDATE "spree_payments" SET "state" = ?, "avs_response" = ?, "updated_at" = ? WHERE "spree_payments"."id" = ?[0m [["state", "pending"], ["avs_response", "D"], ["updated_at", "2019-11-22 20:20:48.140236"], ["id", 1]]
|
13338
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "processing"], ["stateful_id", 1], ["stateful_type", "Spree::Payment"], ["next_state", "pending"], ["created_at", "2019-11-22 20:20:48.143907"], ["updated_at", "2019-11-22 20:20:48.143907"]]
|
13339
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.142362"], ["id", 1]]
|
13340
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13341
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13342
|
+
[1m[36mSpree::Store Load (0.1ms)[0m [1m[34mSELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13343
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R673752083"], ["id", 1], ["LIMIT", 1]]
|
13344
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ?, "state" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.149204"], ["state", "complete"], ["id", 1]]
|
13345
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13346
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13347
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "order"], ["previous_state", "confirm"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "complete"], ["created_at", "2019-11-22 20:20:48.151862"], ["updated_at", "2019-11-22 20:20:48.151862"]]
|
13348
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13349
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13350
|
+
[1m[36mSpree::Order Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R673752083"], ["id", 1], ["LIMIT", 1]]
|
13351
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13352
|
+
[1m[36mSpree::User Load (0.3ms)[0m [1m[34mSELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13353
|
+
[1m[36mSpree::Payment Load (0.4ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"]]
|
13354
|
+
[1m[36mSpree::CreditCard Load (0.1ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13355
|
+
[1m[36mSpree::WalletPaymentSource Load (0.1ms)[0m [1m[34mSELECT "spree_wallet_payment_sources".* FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."payment_source_type" = ? AND "spree_wallet_payment_sources"."payment_source_id" = ? LIMIT ?[0m [["user_id", 1], ["payment_source_type", "Spree::CreditCard"], ["payment_source_id", 1], ["LIMIT", 1]]
|
13356
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13357
|
+
[1m[36mSpree::WalletPaymentSource Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."payment_source_type" = ? AND "spree_wallet_payment_sources"."payment_source_id" = ? LIMIT ?[0m [["user_id", 1], ["payment_source_type", "Spree::CreditCard"], ["payment_source_id", 1], ["LIMIT", 1]]
|
13358
|
+
[1m[36mSpree::WalletPaymentSource Create (0.2ms)[0m [1m[32mINSERT INTO "spree_wallet_payment_sources" ("user_id", "payment_source_type", "payment_source_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["user_id", 1], ["payment_source_type", "Spree::CreditCard"], ["payment_source_id", 1], ["created_at", "2019-11-22 20:20:48.189853"], ["updated_at", "2019-11-22 20:20:48.189853"]]
|
13359
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13360
|
+
[1m[36mSpree::WalletPaymentSource Load (0.1ms)[0m [1m[34mSELECT "spree_wallet_payment_sources".* FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
13361
|
+
[1m[36mSpree::WalletPaymentSource Load (0.2ms)[0m [1m[34mSELECT "spree_wallet_payment_sources".* FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."default" = ? LIMIT ?[0m [["user_id", 1], ["default", 1], ["LIMIT", 1]]
|
13362
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13363
|
+
[1m[36mSpree::WalletPaymentSource Load (0.1ms)[0m [1m[34mSELECT "spree_wallet_payment_sources".* FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."default" = ? LIMIT ?[0m [["user_id", 1], ["default", 1], ["LIMIT", 1]]
|
13364
|
+
[1m[36mSpree::WalletPaymentSource Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."id" != ? AND "spree_wallet_payment_sources"."payment_source_type" = ? AND "spree_wallet_payment_sources"."payment_source_id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["payment_source_type", "Spree::CreditCard"], ["payment_source_id", 1], ["LIMIT", 1]]
|
13365
|
+
[1m[36mSpree::WalletPaymentSource Update (0.1ms)[0m [1m[33mUPDATE "spree_wallet_payment_sources" SET "default" = ?, "updated_at" = ? WHERE "spree_wallet_payment_sources"."id" = ?[0m [["default", 1], ["updated_at", "2019-11-22 20:20:48.195666"], ["id", 1]]
|
13366
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13367
|
+
[1m[36mSpree::Adjustment Load (0.2ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."order_id" = ?[0m [["order_id", 1]]
|
13368
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
13369
|
+
[1m[36mSpree::Payment Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
13370
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
13371
|
+
[1m[36mSpree::Shipment Load (0.1ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
13372
|
+
[1m[36mSpree::InventoryUnit Load (0.3ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ?[0m [["shipment_id", 1]]
|
13373
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13374
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13375
|
+
[1m[36mSpree::StockLocation Load (0.4ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13376
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13377
|
+
[1m[36mSpree::StockItem Load (0.5ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."variant_id" = ? ORDER BY "spree_stock_items"."id" ASC LIMIT ?[0m [["stock_location_id", 1], ["variant_id", 1], ["LIMIT", 1]]
|
13378
|
+
[1m[36mSpree::StockItem Load (0.8ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."variant_id" = ? ORDER BY "spree_stock_items"."id" ASC LIMIT ?[0m [["stock_location_id", 1], ["variant_id", 1], ["LIMIT", 1]]
|
13379
|
+
[1m[36mSpree::StockMovement Create (0.5ms)[0m [1m[32mINSERT INTO "spree_stock_movements" ("stock_item_id", "quantity", "created_at", "updated_at", "originator_type", "originator_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["stock_item_id", 1], ["quantity", -1], ["created_at", "2019-11-22 20:20:48.427881"], ["updated_at", "2019-11-22 20:20:48.427881"], ["originator_type", "Spree::Shipment"], ["originator_id", 1]]
|
13380
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13381
|
+
[1m[36mSpree::StockItem Load (0.6ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."id" = ? LIMIT ? [0m [["id", 1], ["LIMIT", 1]]
|
13382
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13383
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13384
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."id" != ? AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
13385
|
+
[1m[36mSpree::StockItem Update (0.2ms)[0m [1m[33mUPDATE "spree_stock_items" SET "count_on_hand" = ?, "updated_at" = ? WHERE "spree_stock_items"."id" = ?[0m [["count_on_hand", -1], ["updated_at", "2019-11-22 20:20:48.443124"], ["id", 1]]
|
13386
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.444354"], ["id", 1]]
|
13387
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13388
|
+
[1m[36mSpree::InventoryUnit Update (0.2ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "pending" = ?, "updated_at" = ? WHERE "spree_inventory_units"."id" = ?[0m [["pending", 0], ["updated_at", "2019-11-22 20:20:48.447885"], ["id", 1]]
|
13389
|
+
[1m[36mSpree::Product Update (0.2ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.447520"], ["id", 1]]
|
13390
|
+
[1m[36mSpree::Taxon Load (0.3ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13391
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13392
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13393
|
+
[1m[36mSpree::Order Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R673752083"], ["id", 1], ["LIMIT", 1]]
|
13394
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ?, "shipment_state" = ?, "payment_state" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.456354"], ["shipment_state", "pending"], ["payment_state", "balance_due"], ["id", 1]]
|
13395
|
+
[1m[36mSpree::StateChange Create (0.3ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "checkout"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "balance_due"], ["created_at", "2019-11-22 20:20:48.458989"], ["updated_at", "2019-11-22 20:20:48.458989"]]
|
13396
|
+
[1m[36mSpree::StateChange Create (0.3ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "pending"], ["created_at", "2019-11-22 20:20:48.461296"], ["updated_at", "2019-11-22 20:20:48.461296"]]
|
13397
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13398
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
13399
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13400
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13401
|
+
[1m[36mSpree::Product Load (0.4ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13402
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13403
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13404
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ?, "completed_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.483981"], ["completed_at", "2019-11-22 20:20:48.483981"], ["id", 1]]
|
13405
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13406
|
+
[ActiveJob] Enqueued ActionMailer::MailDeliveryJob (Job ID: 46f43d9e-edad-4e48-b919-89e1b6ef10ff) to Async(mailers) with arguments: "Spree::OrderMailer", "confirm_email", "deliver_now", {:args=>[#<GlobalID:0x00007fab281ec348 @uri=#<URI::GID gid://dummy/Spree::Order/1>>]}
|
13407
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "confirmation_delivered" = ? WHERE "spree_orders"."id" = ?[0m [["confirmation_delivered", 1], ["id", 1]]
|
13408
|
+
Order R673752083 transitioned from confirm to complete via complete
|
13409
|
+
[1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
|
13410
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
13411
|
+
[1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13412
|
+
[1m[36mSpree::User Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email3@example.com"], ["LIMIT", 1]]
|
13413
|
+
[1m[36mSpree::User Create (0.5ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "520625299766e0f56b26eaca094ba213c9cacf078ffab51421f8e1ddf562194da66aa6e7261d3238b6d8af05ca053a6240a42ec1d2a0e393cc49b37a297bf032"], ["password_salt", "9tSrrxJPc1zPNL3nPM3v"], ["email", "email3@example.com"], ["login", "email3@example.com"], ["created_at", "2019-11-22 20:20:48.532790"], ["updated_at", "2019-11-22 20:20:48.532790"]]
|
13414
|
+
[1m[36mSpree::Role Load (0.1ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
13415
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13416
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13417
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
13418
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13419
|
+
[1m[36mSpree::Country Create (0.3ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:20:48.542556"], ["created_at", "2019-11-22 20:20:48.542556"]]
|
13420
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13421
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13422
|
+
[1m[36mSpree::State Create (0.3ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:20:48.545632"], ["created_at", "2019-11-22 20:20:48.545632"]]
|
13423
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13424
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13425
|
+
[1m[36mSpree::Address Create (0.3ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10005"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:48.554608"], ["updated_at", "2019-11-22 20:20:48.554608"]]
|
13426
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13427
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13428
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13429
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13430
|
+
[1m[36mSpree::Address Create (0.2ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10006"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:48.560827"], ["updated_at", "2019-11-22 20:20:48.560827"]]
|
13431
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13432
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13433
|
+
[1m[36mSpree::Store Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_3"], ["LIMIT", 1]]
|
13434
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
13435
|
+
[1m[36mSpree::Store Create (0.4ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 3"], ["url", "www.example3.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_3"], ["default", 1], ["created_at", "2019-11-22 20:20:48.568481"], ["updated_at", "2019-11-22 20:20:48.568481"]]
|
13436
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13437
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13438
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
13439
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13440
|
+
[1m[36mSpree::StockLocation Load (0.4ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13441
|
+
[1m[36mSpree::StockLocation Create (0.4ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:20:48.579255"], ["updated_at", "2019-11-22 20:20:48.579255"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
13442
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
13443
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13444
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
13445
|
+
[1m[36mSpree::Order Load (0.3ms)[0m [1m[34mSELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13446
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13447
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13448
|
+
[1m[36mSpree::ShippingCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #3"], ["created_at", "2019-11-22 20:20:48.596461"], ["updated_at", "2019-11-22 20:20:48.596461"]]
|
13449
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13450
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13451
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13452
|
+
[1m[36mSpree::TaxCategory Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 120652"], ["LIMIT", 1]]
|
13453
|
+
[1m[36mSpree::TaxCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 120652"], ["created_at", "2019-11-22 20:20:48.602260"], ["updated_at", "2019-11-22 20:20:48.602260"], ["tax_code", "TaxCode - 694224"]]
|
13454
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13455
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
13456
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13457
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-3-7767"], ["LIMIT", 1]]
|
13458
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-3-7767' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13459
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13460
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-3"], ["LIMIT", 1]]
|
13461
|
+
[1m[36mSpree::TaxRate Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13462
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-3"], ["LIMIT", 1]]
|
13463
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-3-7767"], ["LIMIT", 1]]
|
13464
|
+
[1m[36mSpree::Product Create (0.3ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #3 - 7767"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:20:48.593554"], ["slug", "product-3-7767"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:48.619199"], ["updated_at", "2019-11-22 20:20:48.619199"]]
|
13465
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
13466
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-3"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:48.620655"], ["created_at", "2019-11-22 20:20:48.620655"]]
|
13467
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:48.622951"], ["updated_at", "2019-11-22 20:20:48.622951"]]
|
13468
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
13469
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
13470
|
+
[1m[36mSpree::StockItem Create (0.5ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:20:48.629241"], ["updated_at", "2019-11-22 20:20:48.629241"], ["backorderable", 1]]
|
13471
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.631685"], ["id", 1]]
|
13472
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
13473
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
13474
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13475
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
13476
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13477
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-3-7767"]]
|
13478
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13479
|
+
[1m[36mFriendlyId::Slug Create (0.3ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-3-7767"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:20:48.644666"], ["updated_at", "2019-11-22 20:20:48.644666"]]
|
13480
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13481
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.624179"], ["id", 1]]
|
13482
|
+
[1m[36mSpree::Product Update (0.2ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.647881"], ["id", 1]]
|
13483
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13484
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13485
|
+
[1m[36mSpree::Order Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R082609839"], ["LIMIT", 1]]
|
13486
|
+
[1m[36mSpree::Order Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R082609839"], ["LIMIT", 1]]
|
13487
|
+
[1m[36mSpree::Order Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "HIcEQwAoFe_Gp1YoAxdbkQ"], ["LIMIT", 1]]
|
13488
|
+
[1m[36mSpree::Order Create (0.4ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R082609839"], ["state", "complete"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["email", "email3@example.com"], ["created_at", "2019-11-22 20:20:48.657961"], ["updated_at", "2019-11-22 20:20:48.657961"], ["currency", "USD"], ["guest_token", "HIcEQwAoFe_Gp1YoAxdbkQ"], ["store_id", 1]]
|
13489
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
13490
|
+
[1m[36mSpree::LineItem Create (0.4ms)[0m [1m[32mINSERT INTO "spree_line_items" ("variant_id", "order_id", "quantity", "price", "created_at", "updated_at", "cost_price", "tax_category_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["variant_id", 1], ["order_id", 1], ["quantity", 1], ["price", 10.0], ["created_at", "2019-11-22 20:20:48.664231"], ["updated_at", "2019-11-22 20:20:48.664231"], ["cost_price", 17.0], ["tax_category_id", 1]]
|
13491
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.666769"], ["id", 1]]
|
13492
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13493
|
+
[1m[36mSpree::LineItem Load (0.2ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
13494
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13495
|
+
[1m[36mSpree::Shipment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_shipments" WHERE "spree_shipments"."number" = ? LIMIT ?[0m [["number", "H73348866605"], ["LIMIT", 1]]
|
13496
|
+
[1m[36mSpree::Shipment Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipments" ("tracking", "number", "cost", "order_id", "state", "created_at", "updated_at", "stock_location_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["tracking", "U10000"], ["number", "H73348866605"], ["cost", 100.0], ["order_id", 1], ["state", "pending"], ["created_at", "2019-11-22 20:20:48.672443"], ["updated_at", "2019-11-22 20:20:48.672443"], ["stock_location_id", 1]]
|
13497
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.673858"], ["id", 1]]
|
13498
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13499
|
+
[1m[36mSpree::Zone Load (0.1ms)[0m [1m[34mSELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
13500
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries"[0m
|
13501
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13502
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
13503
|
+
[1m[36mSpree::Zone Create (0.3ms)[0m [1m[32mINSERT INTO "spree_zones" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "GlobalZone"], ["created_at", "2019-11-22 20:20:48.680164"], ["updated_at", "2019-11-22 20:20:48.680164"]]
|
13504
|
+
[1m[36mSpree::ZoneMember Create (0.4ms)[0m [1m[32mINSERT INTO "spree_zone_members" ("zoneable_type", "zoneable_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["zoneable_type", "Spree::Country"], ["zoneable_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:20:48.682173"], ["updated_at", "2019-11-22 20:20:48.682173"]]
|
13505
|
+
[1m[36mSpree::Zone Update All (0.1ms)[0m [1m[33mUPDATE "spree_zones" SET "zone_members_count" = COALESCE("zone_members_count", 0) + ? WHERE "spree_zones"."id" = ?[0m [["zone_members_count", 1], ["id", 1]]
|
13506
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13507
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13508
|
+
[1m[36mSpree::Zone Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
13509
|
+
[1m[36mSpree::ZoneMember Load (0.2ms)[0m [1m[34mSELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = ? AND (zoneable_id IS NULL OR zoneable_type != 'Spree::Country')[0m [["zone_id", 1]]
|
13510
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13511
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13512
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13513
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
13514
|
+
[1m[36mSpree::ShippingMethod Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_methods" ("name", "created_at", "updated_at", "code", "carrier", "service_level") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "UPS Ground"], ["created_at", "2019-11-22 20:20:48.697091"], ["updated_at", "2019-11-22 20:20:48.697091"], ["code", "UPS_GROUND"], ["carrier", "UPS"], ["service_level", "1DAYGROUND"]]
|
13515
|
+
[1m[36mSpree::Calculator::Shipping::FlatRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_calculators" ("type", "calculable_type", "calculable_id", "created_at", "updated_at", "preferences") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::Calculator::Shipping::FlatRate"], ["calculable_type", "Spree::ShippingMethod"], ["calculable_id", 1], ["created_at", "2019-11-22 20:20:48.699098"], ["updated_at", "2019-11-22 20:20:48.699098"], ["preferences", "---\n:amount: !ruby/object:BigDecimal 18:0.1e3\n:currency: USD\n"]]
|
13516
|
+
[1m[36mSpree::ShippingMethodCategory Create (0.5ms)[0m [1m[32mINSERT INTO "spree_shipping_method_categories" ("shipping_method_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:48.701317"], ["updated_at", "2019-11-22 20:20:48.701317"]]
|
13517
|
+
[1m[36mSpree::ShippingMethodZone Create (0.4ms)[0m [1m[32mINSERT INTO "spree_shipping_method_zones" ("shipping_method_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:20:48.703954"], ["updated_at", "2019-11-22 20:20:48.703954"]]
|
13518
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13519
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13520
|
+
[1m[36mSpree::ShippingRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_rates" ("shipment_id", "shipping_method_id", "selected", "cost", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["shipment_id", 1], ["shipping_method_id", 1], ["selected", 1], ["cost", 100.0], ["created_at", "2019-11-22 20:20:48.706924"], ["updated_at", "2019-11-22 20:20:48.706924"]]
|
13521
|
+
[1m[36mSpree::Shipment Update (0.2ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.709001"], ["id", 1]]
|
13522
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.710454"], ["id", 1]]
|
13523
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13524
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13525
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13526
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13527
|
+
[1m[36mSpree::InventoryUnit Create (0.3ms)[0m [1m[32mINSERT INTO "spree_inventory_units" ("state", "variant_id", "shipment_id", "created_at", "updated_at", "line_item_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["state", "on_hand"], ["variant_id", 1], ["shipment_id", 1], ["created_at", "2019-11-22 20:20:48.717874"], ["updated_at", "2019-11-22 20:20:48.717874"], ["line_item_id", 1]]
|
13528
|
+
[1m[36mSpree::Shipment Update (0.2ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.719131"], ["id", 1]]
|
13529
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.720875"], ["id", 1]]
|
13530
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13531
|
+
[1m[36mSpree::Shipment Load (0.1ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
13532
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13533
|
+
[1m[36mSpree::ShippingRate Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_rates".* FROM "spree_shipping_rates" WHERE "spree_shipping_rates"."shipment_id" = ? ORDER BY "spree_shipping_rates"."cost" ASC[0m [["shipment_id", 1]]
|
13534
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
13535
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::LineItem"]]
|
13536
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Shipment"]]
|
13537
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ? ORDER BY "spree_adjustments"."created_at" ASC[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Order"]]
|
13538
|
+
[1m[36mSpree::TaxRate Load (0.3ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
13539
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13540
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13541
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13542
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13543
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "item_total" = ?, "total" = ?, "updated_at" = ?, "shipment_total" = ?, "item_count" = ? WHERE "spree_orders"."id" = ?[0m [["item_total", 10.0], ["total", 110.0], ["updated_at", "2019-11-22 20:20:48.741876"], ["shipment_total", 100.0], ["item_count", 1], ["id", 1]]
|
13544
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13545
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13546
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R082609839"], ["id", 1], ["LIMIT", 1]]
|
13547
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13548
|
+
[1m[36mSpree::InventoryUnit Update All (0.1ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "state" = ?, "pending" = ? WHERE "spree_inventory_units"."shipment_id" = ?[0m [["state", "on_hand"], ["pending", 0], ["shipment_id", 1]]
|
13549
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "completed_at" = ? WHERE "spree_orders"."id" = ?[0m [["completed_at", "2019-11-22 20:20:48.749751"], ["id", 1]]
|
13550
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13551
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13552
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:20:48.751854"], ["updated_at", "2019-11-22 20:20:48.751854"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 1]]
|
13553
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13554
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13555
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13556
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.3ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:20:48.757126"], ["updated_at", "2019-11-22 20:20:48.757126"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 2]]
|
13557
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13558
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13559
|
+
[1m[36mSpree::CreditCard Create (0.3ms)[0m [1m[32mINSERT INTO "spree_credit_cards" ("month", "year", "last_digits", "created_at", "updated_at", "name", "user_id", "payment_method_id", "address_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["month", "12"], ["year", "2020"], ["last_digits", "1111"], ["created_at", "2019-11-22 20:20:48.764019"], ["updated_at", "2019-11-22 20:20:48.764019"], ["name", "Spree Commerce"], ["user_id", 1], ["payment_method_id", 2], ["address_id", 1]]
|
13560
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13561
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13562
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "67S26YYE"], ["LIMIT", 1]]
|
13563
|
+
[1m[36mSpree::Payment Create (0.3ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 110.0], ["order_id", 1], ["source_type", "Spree::CreditCard"], ["source_id", 1], ["payment_method_id", 1], ["state", "pending"], ["response_code", "12345"], ["created_at", "2019-11-22 20:20:48.768871"], ["updated_at", "2019-11-22 20:20:48.768871"], ["number", "67S26YYE"]]
|
13564
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
13565
|
+
[1m[36mSpree::CreditCard Load (0.1ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."gateway_customer_profile_id" = ? ORDER BY "spree_credit_cards"."id" ASC LIMIT ?[0m [["gateway_customer_profile_id", "BGS-023331"], ["LIMIT", 1]]
|
13566
|
+
[1m[36mSpree::CreditCard Update (0.1ms)[0m [1m[33mUPDATE "spree_credit_cards" SET "gateway_customer_profile_id" = ?, "updated_at" = ? WHERE "spree_credit_cards"."id" = ?[0m [["gateway_customer_profile_id", "BGS-023331"], ["updated_at", "2019-11-22 20:20:48.774220"], ["id", 1]]
|
13567
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
13568
|
+
[1m[36mSpree::TaxRate Load (0.3ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
13569
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
13570
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
13571
|
+
[1m[36mSpree::InventoryUnit Load (0.1ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ?[0m [["shipment_id", 1]]
|
13572
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13573
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "shipment_state" = ?, "payment_state" = ?, "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["shipment_state", "pending"], ["payment_state", "balance_due"], ["updated_at", "2019-11-22 20:20:48.785892"], ["id", 1]]
|
13574
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "balance_due"], ["created_at", "2019-11-22 20:20:48.788405"], ["updated_at", "2019-11-22 20:20:48.788405"]]
|
13575
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "pending"], ["created_at", "2019-11-22 20:20:48.789481"], ["updated_at", "2019-11-22 20:20:48.789481"]]
|
13576
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.771343"], ["id", 1]]
|
13577
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13578
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13579
|
+
[1m[36mSpree::Payment Update (0.2ms)[0m [1m[33mUPDATE "spree_payments" SET "state" = ?, "updated_at" = ? WHERE "spree_payments"."id" = ?[0m [["state", "completed"], ["updated_at", "2019-11-22 20:20:48.794476"], ["id", 1]]
|
13580
|
+
[1m[36mSpree::Payment Load (0.3ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
13581
|
+
[1m[36mSpree::Refund Load (0.1ms)[0m [1m[34mSELECT "spree_refunds".* FROM "spree_refunds" WHERE "spree_refunds"."payment_id" = ?[0m [["payment_id", 1]]
|
13582
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_refunds"."amount") FROM "spree_refunds" WHERE "spree_refunds"."payment_id" = ?[0m [["payment_id", 1]]
|
13583
|
+
[1m[36mSpree::TaxRate Load (0.2ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
13584
|
+
[1m[36mSpree::Payment Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
13585
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
13586
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
13587
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "state" = ?, "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["state", "ready"], ["updated_at", "2019-11-22 20:20:48.814891"], ["id", 1]]
|
13588
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "payment_total" = ?, "shipment_state" = ?, "payment_state" = ?, "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["payment_total", 110.0], ["shipment_state", "ready"], ["payment_state", "paid"], ["updated_at", "2019-11-22 20:20:48.816722"], ["id", 1]]
|
13589
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "balance_due"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "paid"], ["created_at", "2019-11-22 20:20:48.818665"], ["updated_at", "2019-11-22 20:20:48.818665"]]
|
13590
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["previous_state", "pending"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "ready"], ["created_at", "2019-11-22 20:20:48.819932"], ["updated_at", "2019-11-22 20:20:48.819932"]]
|
13591
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "pending"], ["stateful_id", 1], ["stateful_type", "Spree::Payment"], ["next_state", "completed"], ["created_at", "2019-11-22 20:20:48.821960"], ["updated_at", "2019-11-22 20:20:48.821960"]]
|
13592
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.796843"], ["id", 1]]
|
13593
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13594
|
+
[1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
|
13595
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
13596
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13597
|
+
[1m[36mSpree::User Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email4@example.com"], ["LIMIT", 1]]
|
13598
|
+
[1m[36mSpree::User Create (0.6ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "32242f00f16ff6cbcb6a59853e560cfda4e166408382f83d36e686b5814bf161924ea7a6601fb4f108934143d99b3b8255bc8685567f09d3cc982a52d84a7a4f"], ["password_salt", "KAgao6ioofAyyuuR3sux"], ["email", "email4@example.com"], ["login", "email4@example.com"], ["created_at", "2019-11-22 20:20:48.832161"], ["updated_at", "2019-11-22 20:20:48.832161"]]
|
13599
|
+
[1m[36mSpree::Role Load (0.1ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
13600
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13601
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13602
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
13603
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13604
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:20:48.840418"], ["created_at", "2019-11-22 20:20:48.840418"]]
|
13605
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13606
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13607
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:20:48.843705"], ["created_at", "2019-11-22 20:20:48.843705"]]
|
13608
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13609
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13610
|
+
[1m[36mSpree::Address Create (0.4ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10007"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:48.846057"], ["updated_at", "2019-11-22 20:20:48.846057"]]
|
13611
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13612
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13613
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13614
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13615
|
+
[1m[36mSpree::Address Create (0.2ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10008"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:48.852064"], ["updated_at", "2019-11-22 20:20:48.852064"]]
|
13616
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13617
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13618
|
+
[1m[36mSpree::Store Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_4"], ["LIMIT", 1]]
|
13619
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
13620
|
+
[1m[36mSpree::Store Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 4"], ["url", "www.example4.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_4"], ["default", 1], ["created_at", "2019-11-22 20:20:48.857125"], ["updated_at", "2019-11-22 20:20:48.857125"]]
|
13621
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13622
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13623
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
13624
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13625
|
+
[1m[36mSpree::StockLocation Load (0.6ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13626
|
+
[1m[36mSpree::StockLocation Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:20:48.861437"], ["updated_at", "2019-11-22 20:20:48.861437"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
13627
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
13628
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13629
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13630
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13631
|
+
[1m[36mSpree::ShippingCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #4"], ["created_at", "2019-11-22 20:20:48.871084"], ["updated_at", "2019-11-22 20:20:48.871084"]]
|
13632
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13633
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13634
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13635
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 608006"], ["LIMIT", 1]]
|
13636
|
+
[1m[36mSpree::TaxCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 608006"], ["created_at", "2019-11-22 20:20:48.874720"], ["updated_at", "2019-11-22 20:20:48.874720"], ["tax_code", "TaxCode - 525901"]]
|
13637
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13638
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
13639
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13640
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-4-8320"], ["LIMIT", 1]]
|
13641
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-4-8320' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13642
|
+
[1m[36mSpree::TaxRate Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13643
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-4"], ["LIMIT", 1]]
|
13644
|
+
[1m[36mSpree::TaxRate Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13645
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-4"], ["LIMIT", 1]]
|
13646
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-4-8320"], ["LIMIT", 1]]
|
13647
|
+
[1m[36mSpree::Product Create (0.3ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #4 - 8320"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:20:48.870002"], ["slug", "product-4-8320"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:48.891408"], ["updated_at", "2019-11-22 20:20:48.891408"]]
|
13648
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
13649
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-4"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:48.892987"], ["created_at", "2019-11-22 20:20:48.892987"]]
|
13650
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:48.895482"], ["updated_at", "2019-11-22 20:20:48.895482"]]
|
13651
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
13652
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
13653
|
+
[1m[36mSpree::StockItem Create (0.4ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:20:48.900670"], ["updated_at", "2019-11-22 20:20:48.900670"], ["backorderable", 1]]
|
13654
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.902672"], ["id", 1]]
|
13655
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
13656
|
+
[1m[36mSpree::Variant Update (0.5ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
13657
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13658
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
13659
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13660
|
+
[1m[36mFriendlyId::Slug Destroy (0.3ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-4-8320"]]
|
13661
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13662
|
+
[1m[36mFriendlyId::Slug Create (0.3ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-4-8320"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:20:48.921088"], ["updated_at", "2019-11-22 20:20:48.921088"]]
|
13663
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13664
|
+
[1m[36mSpree::Variant Update (0.3ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.896643"], ["id", 1]]
|
13665
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.924745"], ["id", 1]]
|
13666
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13667
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13668
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R798135968"], ["LIMIT", 1]]
|
13669
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R798135968"], ["LIMIT", 1]]
|
13670
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "-NogqT43bUiBaH4oegadVg"], ["LIMIT", 1]]
|
13671
|
+
[1m[36mSpree::Order Create (0.4ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R798135968"], ["state", "complete"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["email", "email4@example.com"], ["created_at", "2019-11-22 20:20:48.929119"], ["updated_at", "2019-11-22 20:20:48.929119"], ["currency", "USD"], ["guest_token", "-NogqT43bUiBaH4oegadVg"], ["store_id", 1]]
|
13672
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
13673
|
+
[1m[36mSpree::LineItem Create (0.5ms)[0m [1m[32mINSERT INTO "spree_line_items" ("variant_id", "order_id", "quantity", "price", "created_at", "updated_at", "cost_price", "tax_category_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["variant_id", 1], ["order_id", 1], ["quantity", 1], ["price", 10.0], ["created_at", "2019-11-22 20:20:48.933679"], ["updated_at", "2019-11-22 20:20:48.933679"], ["cost_price", 17.0], ["tax_category_id", 1]]
|
13674
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.936821"], ["id", 1]]
|
13675
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13676
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
13677
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13678
|
+
[1m[36mSpree::Shipment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_shipments" WHERE "spree_shipments"."number" = ? LIMIT ?[0m [["number", "H66681135721"], ["LIMIT", 1]]
|
13679
|
+
[1m[36mSpree::Shipment Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipments" ("tracking", "number", "cost", "order_id", "state", "created_at", "updated_at", "stock_location_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["tracking", "U10000"], ["number", "H66681135721"], ["cost", 100.0], ["order_id", 1], ["state", "pending"], ["created_at", "2019-11-22 20:20:48.942208"], ["updated_at", "2019-11-22 20:20:48.942208"], ["stock_location_id", 1]]
|
13680
|
+
[1m[36mSpree::Order Update (0.3ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.943707"], ["id", 1]]
|
13681
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13682
|
+
[1m[36mSpree::Zone Load (0.1ms)[0m [1m[34mSELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
13683
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries"[0m
|
13684
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13685
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
13686
|
+
[1m[36mSpree::Zone Create (0.3ms)[0m [1m[32mINSERT INTO "spree_zones" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "GlobalZone"], ["created_at", "2019-11-22 20:20:48.948500"], ["updated_at", "2019-11-22 20:20:48.948500"]]
|
13687
|
+
[1m[36mSpree::ZoneMember Create (0.4ms)[0m [1m[32mINSERT INTO "spree_zone_members" ("zoneable_type", "zoneable_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["zoneable_type", "Spree::Country"], ["zoneable_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:20:48.950351"], ["updated_at", "2019-11-22 20:20:48.950351"]]
|
13688
|
+
[1m[36mSpree::Zone Update All (0.3ms)[0m [1m[33mUPDATE "spree_zones" SET "zone_members_count" = COALESCE("zone_members_count", 0) + ? WHERE "spree_zones"."id" = ?[0m [["zone_members_count", 1], ["id", 1]]
|
13689
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13690
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13691
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
13692
|
+
[1m[36mSpree::ZoneMember Load (0.1ms)[0m [1m[34mSELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = ? AND (zoneable_id IS NULL OR zoneable_type != 'Spree::Country')[0m [["zone_id", 1]]
|
13693
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13694
|
+
[1m[36mSpree::ShippingCategory Load (0.2ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13695
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13696
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
13697
|
+
[1m[36mSpree::ShippingMethod Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_methods" ("name", "created_at", "updated_at", "code", "carrier", "service_level") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "UPS Ground"], ["created_at", "2019-11-22 20:20:48.966150"], ["updated_at", "2019-11-22 20:20:48.966150"], ["code", "UPS_GROUND"], ["carrier", "UPS"], ["service_level", "1DAYGROUND"]]
|
13698
|
+
[1m[36mSpree::Calculator::Shipping::FlatRate Create (0.3ms)[0m [1m[32mINSERT INTO "spree_calculators" ("type", "calculable_type", "calculable_id", "created_at", "updated_at", "preferences") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::Calculator::Shipping::FlatRate"], ["calculable_type", "Spree::ShippingMethod"], ["calculable_id", 1], ["created_at", "2019-11-22 20:20:48.967871"], ["updated_at", "2019-11-22 20:20:48.967871"], ["preferences", "---\n:amount: !ruby/object:BigDecimal 18:0.1e3\n:currency: USD\n"]]
|
13699
|
+
[1m[36mSpree::ShippingMethodCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_method_categories" ("shipping_method_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:48.970515"], ["updated_at", "2019-11-22 20:20:48.970515"]]
|
13700
|
+
[1m[36mSpree::ShippingMethodZone Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_method_zones" ("shipping_method_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:20:48.971858"], ["updated_at", "2019-11-22 20:20:48.971858"]]
|
13701
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13702
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13703
|
+
[1m[36mSpree::ShippingRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_rates" ("shipment_id", "shipping_method_id", "selected", "cost", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["shipment_id", 1], ["shipping_method_id", 1], ["selected", 1], ["cost", 100.0], ["created_at", "2019-11-22 20:20:48.975490"], ["updated_at", "2019-11-22 20:20:48.975490"]]
|
13704
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.976716"], ["id", 1]]
|
13705
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.977716"], ["id", 1]]
|
13706
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13707
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13708
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13709
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13710
|
+
[1m[36mSpree::InventoryUnit Create (0.2ms)[0m [1m[32mINSERT INTO "spree_inventory_units" ("state", "variant_id", "shipment_id", "created_at", "updated_at", "line_item_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["state", "on_hand"], ["variant_id", 1], ["shipment_id", 1], ["created_at", "2019-11-22 20:20:48.981513"], ["updated_at", "2019-11-22 20:20:48.981513"], ["line_item_id", 1]]
|
13711
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.982582"], ["id", 1]]
|
13712
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:48.984123"], ["id", 1]]
|
13713
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13714
|
+
[1m[36mSpree::Shipment Load (0.1ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
13715
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13716
|
+
[1m[36mSpree::ShippingRate Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_rates".* FROM "spree_shipping_rates" WHERE "spree_shipping_rates"."shipment_id" = ? ORDER BY "spree_shipping_rates"."cost" ASC[0m [["shipment_id", 1]]
|
13717
|
+
[1m[36mSpree::Payment Load (0.4ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
13718
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::LineItem"]]
|
13719
|
+
[1m[36mSpree::Adjustment Load (0.2ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Shipment"]]
|
13720
|
+
[1m[36mSpree::Adjustment Load (0.2ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ? ORDER BY "spree_adjustments"."created_at" ASC[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Order"]]
|
13721
|
+
[1m[36mSpree::TaxRate Load (0.3ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
13722
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13723
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13724
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13725
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13726
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "item_total" = ?, "total" = ?, "updated_at" = ?, "shipment_total" = ?, "item_count" = ? WHERE "spree_orders"."id" = ?[0m [["item_total", 10.0], ["total", 110.0], ["updated_at", "2019-11-22 20:20:49.008707"], ["shipment_total", 100.0], ["item_count", 1], ["id", 1]]
|
13727
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13728
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13729
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R798135968"], ["id", 1], ["LIMIT", 1]]
|
13730
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13731
|
+
[1m[36mSpree::InventoryUnit Update All (0.1ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "state" = ?, "pending" = ? WHERE "spree_inventory_units"."shipment_id" = ?[0m [["state", "on_hand"], ["pending", 0], ["shipment_id", 1]]
|
13732
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "completed_at" = ? WHERE "spree_orders"."id" = ?[0m [["completed_at", "2019-11-22 20:20:49.015898"], ["id", 1]]
|
13733
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13734
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13735
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:20:49.017662"], ["updated_at", "2019-11-22 20:20:49.017662"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 1]]
|
13736
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13737
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13738
|
+
[1m[36mSpree::PaymentMethod Load (0.3ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13739
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.1ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:20:49.023245"], ["updated_at", "2019-11-22 20:20:49.023245"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 2]]
|
13740
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13741
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13742
|
+
[1m[36mSpree::CreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_credit_cards" ("month", "year", "last_digits", "created_at", "updated_at", "name", "user_id", "payment_method_id", "address_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["month", "12"], ["year", "2020"], ["last_digits", "1111"], ["created_at", "2019-11-22 20:20:49.027834"], ["updated_at", "2019-11-22 20:20:49.027834"], ["name", "Spree Commerce"], ["user_id", 1], ["payment_method_id", 2], ["address_id", 1]]
|
13743
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13744
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13745
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "R7NJDT2U"], ["LIMIT", 1]]
|
13746
|
+
[1m[36mSpree::Payment Create (0.3ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 110.0], ["order_id", 1], ["source_type", "Spree::CreditCard"], ["source_id", 1], ["payment_method_id", 1], ["state", "pending"], ["response_code", "12345"], ["created_at", "2019-11-22 20:20:49.031355"], ["updated_at", "2019-11-22 20:20:49.031355"], ["number", "R7NJDT2U"]]
|
13747
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
13748
|
+
[1m[36mSpree::CreditCard Load (0.1ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."gateway_customer_profile_id" = ? ORDER BY "spree_credit_cards"."id" ASC LIMIT ?[0m [["gateway_customer_profile_id", "BGS-425002"], ["LIMIT", 1]]
|
13749
|
+
[1m[36mSpree::CreditCard Update (0.1ms)[0m [1m[33mUPDATE "spree_credit_cards" SET "gateway_customer_profile_id" = ?, "updated_at" = ? WHERE "spree_credit_cards"."id" = ?[0m [["gateway_customer_profile_id", "BGS-425002"], ["updated_at", "2019-11-22 20:20:49.037049"], ["id", 1]]
|
13750
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
13751
|
+
[1m[36mSpree::TaxRate Load (0.3ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
13752
|
+
[1m[36mSpree::Payment Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
13753
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
13754
|
+
[1m[36mSpree::InventoryUnit Load (0.1ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ?[0m [["shipment_id", 1]]
|
13755
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13756
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "shipment_state" = ?, "payment_state" = ?, "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["shipment_state", "pending"], ["payment_state", "balance_due"], ["updated_at", "2019-11-22 20:20:49.049316"], ["id", 1]]
|
13757
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "balance_due"], ["created_at", "2019-11-22 20:20:49.051528"], ["updated_at", "2019-11-22 20:20:49.051528"]]
|
13758
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "pending"], ["created_at", "2019-11-22 20:20:49.052597"], ["updated_at", "2019-11-22 20:20:49.052597"]]
|
13759
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.033969"], ["id", 1]]
|
13760
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13761
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13762
|
+
[1m[36mSpree::Shipment Update (0.2ms)[0m [1m[33mUPDATE "spree_shipments" SET "state" = ?, "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["state", "ready"], ["updated_at", "2019-11-22 20:20:49.056414"], ["id", 1]]
|
13763
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.058203"], ["id", 1]]
|
13764
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13765
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13766
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "state" = ?, "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["state", "shipped"], ["updated_at", "2019-11-22 20:20:49.060352"], ["id", 1]]
|
13767
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.061451"], ["id", 1]]
|
13768
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13769
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13770
|
+
[1m[36mSpree::ShippingMethod Load (0.2ms)[0m [1m[34mSELECT "spree_shipping_methods".* FROM "spree_shipping_methods" WHERE "spree_shipping_methods"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13771
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13772
|
+
[1m[36mSpree::InventoryUnit Load (0.1ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ? AND "spree_inventory_units"."state" = ?[0m [["shipment_id", 1], ["state", "on_hand"]]
|
13773
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13774
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13775
|
+
[1m[36mSpree::InventoryUnit Update (0.1ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "state" = ?, "updated_at" = ? WHERE "spree_inventory_units"."id" = ?[0m [["state", "shipped"], ["updated_at", "2019-11-22 20:20:49.070662"], ["id", 1]]
|
13776
|
+
[1m[36mSpree::Carton Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_cartons" WHERE "spree_cartons"."number" = ? LIMIT ?[0m [["number", "C70820103575"], ["LIMIT", 1]]
|
13777
|
+
[1m[36mSpree::Carton Create (0.4ms)[0m [1m[32mINSERT INTO "spree_cartons" ("number", "stock_location_id", "address_id", "shipping_method_id", "tracking", "shipped_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "C70820103575"], ["stock_location_id", 1], ["address_id", 2], ["shipping_method_id", 1], ["tracking", "U10000"], ["shipped_at", "2019-11-22 20:20:49.066740"], ["created_at", "2019-11-22 20:20:49.117317"], ["updated_at", "2019-11-22 20:20:49.117317"]]
|
13778
|
+
[1m[36mSpree::InventoryUnit Update (0.2ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "updated_at" = ?, "carton_id" = ? WHERE "spree_inventory_units"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.119874"], ["carton_id", 1], ["id", 1]]
|
13779
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.120950"], ["id", 1]]
|
13780
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.122027"], ["id", 1]]
|
13781
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13782
|
+
[1m[36mSpree::InventoryUnit Load (0.1ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ?[0m [["shipment_id", 1]]
|
13783
|
+
[1m[36mSpree::Shipment Update (0.2ms)[0m [1m[33mUPDATE "spree_shipments" SET "state" = ?, "shipped_at" = ? WHERE "spree_shipments"."id" = ?[0m [["state", "shipped"], ["shipped_at", "2019-11-22 20:20:49.125761"], ["id", 1]]
|
13784
|
+
[1m[36mSpree::Order Load (0.5ms)[0m [1m[34mSELECT DISTINCT "spree_orders".* FROM "spree_orders" INNER JOIN "spree_shipments" ON "spree_orders"."id" = "spree_shipments"."order_id" INNER JOIN "spree_inventory_units" ON "spree_shipments"."id" = "spree_inventory_units"."shipment_id" WHERE "spree_inventory_units"."carton_id" = ?[0m [["carton_id", 1]]
|
13785
|
+
[ActiveJob] Enqueued ActionMailer::MailDeliveryJob (Job ID: 872c37fc-4d19-4531-a7e0-2509c1d4020d) to Async(mailers) with arguments: "Spree::CartonMailer", "shipped_email", "deliver_now", {:args=>[{:order=>#<GlobalID:0x00007fab2356e4d0 @uri=#<URI::GID gid://dummy/Spree::Order/1>>, :carton=>#<GlobalID:0x00007fab2815b2f8 @uri=#<URI::GID gid://dummy/Spree::Carton/1>>}]}
|
13786
|
+
[1m[36mSpree::Order Load (0.2ms)[0m [1m[34mSELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13787
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13788
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
13789
|
+
[1m[36mSpree::TaxRate Load (0.3ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
13790
|
+
[1m[36mSpree::Payment Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
13791
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
13792
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "shipment_state" = ?, "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["shipment_state", "shipped"], ["updated_at", "2019-11-22 20:20:49.148010"], ["id", 1]]
|
13793
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["previous_state", "pending"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "shipped"], ["created_at", "2019-11-22 20:20:49.150100"], ["updated_at", "2019-11-22 20:20:49.150100"]]
|
13794
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13795
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13796
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["previous_state", "ready"], ["stateful_id", 1], ["stateful_type", "Spree::Shipment"], ["next_state", "shipped"], ["created_at", "2019-11-22 20:20:49.152949"], ["updated_at", "2019-11-22 20:20:49.152949"]]
|
13797
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13798
|
+
[1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
|
13799
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
13800
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13801
|
+
[1m[36mSpree::User Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email5@example.com"], ["LIMIT", 1]]
|
13802
|
+
[1m[36mSpree::User Create (0.5ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "52d746cd86d34f382128a70408f005e8aedd3868d0fc011e239a2e5faa2f1051613221222b11803a9e81b160af8b6d854ac3a6b21c23583e39676dfa6cc2a29a"], ["password_salt", "aiMkXsS1BoEAex5qUK6b"], ["email", "email5@example.com"], ["login", "email5@example.com"], ["created_at", "2019-11-22 20:20:49.162323"], ["updated_at", "2019-11-22 20:20:49.162323"]]
|
13803
|
+
[1m[36mSpree::Role Load (0.1ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
13804
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13805
|
+
[1m[36mSpree::State Load (0.4ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13806
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
13807
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13808
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:20:49.170354"], ["created_at", "2019-11-22 20:20:49.170354"]]
|
13809
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13810
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13811
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:20:49.172203"], ["created_at", "2019-11-22 20:20:49.172203"]]
|
13812
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13813
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13814
|
+
[1m[36mSpree::Address Create (0.2ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10009"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:49.173773"], ["updated_at", "2019-11-22 20:20:49.173773"]]
|
13815
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13816
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
13817
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13818
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13819
|
+
[1m[36mSpree::Address Create (0.2ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10010"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:20:49.178198"], ["updated_at", "2019-11-22 20:20:49.178198"]]
|
13820
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13821
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13822
|
+
[1m[36mSpree::Store Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_5"], ["LIMIT", 1]]
|
13823
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
13824
|
+
[1m[36mSpree::Store Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 5"], ["url", "www.example5.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_5"], ["default", 1], ["created_at", "2019-11-22 20:20:49.183486"], ["updated_at", "2019-11-22 20:20:49.183486"]]
|
13825
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13826
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13827
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R787077051"], ["LIMIT", 1]]
|
13828
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R787077051"], ["LIMIT", 1]]
|
13829
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "9co3kagoj1jE_ZDen2mmPA"], ["LIMIT", 1]]
|
13830
|
+
[1m[36mSpree::Order Create (0.4ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R787077051"], ["state", "cart"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["email", "email5@example.com"], ["created_at", "2019-11-22 20:20:49.187520"], ["updated_at", "2019-11-22 20:20:49.187520"], ["currency", "USD"], ["guest_token", "9co3kagoj1jE_ZDen2mmPA"], ["store_id", 1]]
|
13831
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13832
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
13833
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
13834
|
+
[1m[36mSpree::ShippingCategory Load (0.2ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13835
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13836
|
+
[1m[36mSpree::ShippingCategory Create (0.6ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #5"], ["created_at", "2019-11-22 20:20:49.200692"], ["updated_at", "2019-11-22 20:20:49.200692"]]
|
13837
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13838
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13839
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13840
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 513980"], ["LIMIT", 1]]
|
13841
|
+
[1m[36mSpree::TaxCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 513980"], ["created_at", "2019-11-22 20:20:49.205688"], ["updated_at", "2019-11-22 20:20:49.205688"], ["tax_code", "TaxCode - 131005"]]
|
13842
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13843
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
13844
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13845
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13846
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:20:49.209018"], ["created_at", "2019-11-22 20:20:49.209018"]]
|
13847
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13848
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
13849
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13850
|
+
[1m[36mSpree::State Create (0.3ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:20:49.213722"], ["created_at", "2019-11-22 20:20:49.213722"]]
|
13851
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13852
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13853
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13854
|
+
[1m[36mSpree::StockLocation Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:20:49.216933"], ["updated_at", "2019-11-22 20:20:49.216933"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
13855
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
13856
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13857
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13858
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-5-1355"], ["LIMIT", 1]]
|
13859
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-5-1355' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13860
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13861
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-6"], ["LIMIT", 1]]
|
13862
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13863
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-6"], ["LIMIT", 1]]
|
13864
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-5-1355"], ["LIMIT", 1]]
|
13865
|
+
[1m[36mSpree::Product Create (0.3ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #5 - 1355"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:20:49.198896"], ["slug", "product-5-1355"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:49.232034"], ["updated_at", "2019-11-22 20:20:49.232034"]]
|
13866
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
13867
|
+
[1m[36mSpree::Variant Create (0.5ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-6"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:49.233452"], ["created_at", "2019-11-22 20:20:49.233452"]]
|
13868
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:49.236695"], ["updated_at", "2019-11-22 20:20:49.236695"]]
|
13869
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
13870
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
13871
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:20:49.242366"], ["updated_at", "2019-11-22 20:20:49.242366"], ["backorderable", 1]]
|
13872
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.243935"], ["id", 1]]
|
13873
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
13874
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
13875
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13876
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
13877
|
+
[1m[36mFriendlyId::Slug Load (0.2ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13878
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-5-1355"]]
|
13879
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13880
|
+
[1m[36mFriendlyId::Slug Create (0.3ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-5-1355"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:20:49.254922"], ["updated_at", "2019-11-22 20:20:49.254922"]]
|
13881
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13882
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.237882"], ["id", 1]]
|
13883
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.257300"], ["id", 1]]
|
13884
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13885
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13886
|
+
[1m[36mSpree::OptionType Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_types" WHERE "spree_option_types"."name" = ? LIMIT ?[0m [["name", "foo-size-1"], ["LIMIT", 1]]
|
13887
|
+
[1m[36mSpree::OptionType Load (0.1ms)[0m [1m[34mSELECT "spree_option_types".* FROM "spree_option_types" WHERE (1 = 1) AND ("spree_option_types"."position" IS NOT NULL) ORDER BY "spree_option_types"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13888
|
+
[1m[36mSpree::OptionType Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_types" ("name", "presentation", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "foo-size-1"], ["presentation", "Size"], ["position", 1], ["created_at", "2019-11-22 20:20:49.285831"], ["updated_at", "2019-11-22 20:20:49.285831"]]
|
13889
|
+
[1m[36mSpree::Product Load (0.3ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_product_option_types" ON "spree_products"."id" = "spree_product_option_types"."product_id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_product_option_types"."option_type_id" = ? ORDER BY "spree_products"."id" ASC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1000]]
|
13890
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13891
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13892
|
+
[1m[36mSpree::OptionValue Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-1"], ["option_type_id", 1], ["LIMIT", 1]]
|
13893
|
+
[1m[36mSpree::OptionValue Load (0.2ms)[0m [1m[34mSELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = ? AND ("spree_option_values"."position" IS NOT NULL) ORDER BY "spree_option_values"."position" DESC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1]]
|
13894
|
+
[1m[36mSpree::OptionValue Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_values" ("position", "name", "presentation", "option_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["position", 1], ["name", "Size-1"], ["presentation", "S"], ["option_type_id", 1], ["created_at", "2019-11-22 20:20:49.297609"], ["updated_at", "2019-11-22 20:20:49.297609"]]
|
13895
|
+
[1m[36mSpree::OptionValue Update (0.1ms)[0m [1m[33mUPDATE "spree_option_values" SET "updated_at" = ? WHERE "spree_option_values"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.300283"], ["id", 1]]
|
13896
|
+
[1m[36mSpree::Variant Load (0.4ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" INNER JOIN "spree_option_values_variants" ON "spree_variants"."id" = "spree_option_values_variants"."variant_id" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_option_values_variants"."option_value_id" = ? ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["option_value_id", 1], ["LIMIT", 1000]]
|
13897
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13898
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
13899
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13900
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13901
|
+
[1m[36mSpree::OptionValue Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."id" != ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-1"], ["id", 1], ["option_type_id", 1], ["LIMIT", 1]]
|
13902
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-5"], ["LIMIT", 1]]
|
13903
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
13904
|
+
[1m[36mSpree::Variant Create (0.1ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-5"], ["product_id", 1], ["cost_price", 17.0], ["position", 2], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:49.320324"], ["created_at", "2019-11-22 20:20:49.320324"]]
|
13905
|
+
[1m[36mSpree::Price Create (0.1ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 2], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:49.322541"], ["updated_at", "2019-11-22 20:20:49.322541"]]
|
13906
|
+
[1m[36mSpree::OptionValuesVariant Create (0.5ms)[0m [1m[32mINSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["variant_id", 2], ["option_value_id", 1], ["created_at", "2019-11-22 20:20:49.324951"], ["updated_at", "2019-11-22 20:20:49.324951"]]
|
13907
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
13908
|
+
[1m[36mSpree::StockItem Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 2], ["stock_location_id", 1], ["LIMIT", 1]]
|
13909
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 2], ["created_at", "2019-11-22 20:20:49.333943"], ["updated_at", "2019-11-22 20:20:49.333943"], ["backorderable", 1]]
|
13910
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.335780"], ["id", 2]]
|
13911
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
13912
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 3], ["id", 2]]
|
13913
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
13914
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 2], ["active", 1]]
|
13915
|
+
[1m[36mSpree::Variant Update (0.3ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.323603"], ["id", 2]]
|
13916
|
+
[1m[36mSpree::Product Update (0.7ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.346654"], ["id", 1]]
|
13917
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13918
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13919
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL AND "spree_variants"."id" != ? LIMIT ?[0m [["sku", "SKU-5"], ["id", 2], ["LIMIT", 1]]
|
13920
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.349450"], ["id", 2]]
|
13921
|
+
[1m[36mSpree::Product Update (0.2ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.353241"], ["id", 1]]
|
13922
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13923
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
13924
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
13925
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13926
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13927
|
+
[1m[36mSpree::ShippingCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #6"], ["created_at", "2019-11-22 20:20:49.364819"], ["updated_at", "2019-11-22 20:20:49.364819"]]
|
13928
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13929
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13930
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13931
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 750539"], ["LIMIT", 1]]
|
13932
|
+
[1m[36mSpree::TaxCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 750539"], ["created_at", "2019-11-22 20:20:49.369434"], ["updated_at", "2019-11-22 20:20:49.369434"], ["tax_code", "TaxCode - 539092"]]
|
13933
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13934
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
13935
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
13936
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13937
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:20:49.374863"], ["created_at", "2019-11-22 20:20:49.374863"]]
|
13938
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13939
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
13940
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13941
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:20:49.379932"], ["created_at", "2019-11-22 20:20:49.379932"]]
|
13942
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13943
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13944
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13945
|
+
[1m[36mSpree::StockLocation Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:20:49.382683"], ["updated_at", "2019-11-22 20:20:49.382683"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
13946
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
13947
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13948
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13949
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-6-223"], ["LIMIT", 1]]
|
13950
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-6-223' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13951
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13952
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-8"], ["LIMIT", 1]]
|
13953
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13954
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-8"], ["LIMIT", 1]]
|
13955
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-6-223"], ["LIMIT", 1]]
|
13956
|
+
[1m[36mSpree::Product Create (0.2ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #6 - 223"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:20:49.363504"], ["slug", "product-6-223"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:49.396133"], ["updated_at", "2019-11-22 20:20:49.396133"]]
|
13957
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
13958
|
+
[1m[36mSpree::Variant Create (0.2ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-8"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:49.397175"], ["created_at", "2019-11-22 20:20:49.397175"]]
|
13959
|
+
[1m[36mSpree::Price Create (0.1ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:49.398805"], ["updated_at", "2019-11-22 20:20:49.398805"]]
|
13960
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
13961
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
13962
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:20:49.403338"], ["updated_at", "2019-11-22 20:20:49.403338"], ["backorderable", 1]]
|
13963
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.404443"], ["id", 1]]
|
13964
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
13965
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
13966
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13967
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
13968
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
13969
|
+
[1m[36mFriendlyId::Slug Destroy (0.3ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-6-223"]]
|
13970
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
13971
|
+
[1m[36mFriendlyId::Slug Create (0.3ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-6-223"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:20:49.415263"], ["updated_at", "2019-11-22 20:20:49.415263"]]
|
13972
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
13973
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.399552"], ["id", 1]]
|
13974
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.417867"], ["id", 1]]
|
13975
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13976
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13977
|
+
[1m[36mSpree::OptionType Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_types" WHERE "spree_option_types"."name" = ? LIMIT ?[0m [["name", "foo-size-2"], ["LIMIT", 1]]
|
13978
|
+
[1m[36mSpree::OptionType Load (0.1ms)[0m [1m[34mSELECT "spree_option_types".* FROM "spree_option_types" WHERE (1 = 1) AND ("spree_option_types"."position" IS NOT NULL) ORDER BY "spree_option_types"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13979
|
+
[1m[36mSpree::OptionType Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_types" ("name", "presentation", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "foo-size-2"], ["presentation", "Size"], ["position", 1], ["created_at", "2019-11-22 20:20:49.420563"], ["updated_at", "2019-11-22 20:20:49.420563"]]
|
13980
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_product_option_types" ON "spree_products"."id" = "spree_product_option_types"."product_id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_product_option_types"."option_type_id" = ? ORDER BY "spree_products"."id" ASC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1000]]
|
13981
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13982
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13983
|
+
[1m[36mSpree::OptionValue Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-2"], ["option_type_id", 1], ["LIMIT", 1]]
|
13984
|
+
[1m[36mSpree::OptionValue Load (0.2ms)[0m [1m[34mSELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = ? AND ("spree_option_values"."position" IS NOT NULL) ORDER BY "spree_option_values"."position" DESC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1]]
|
13985
|
+
[1m[36mSpree::OptionValue Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_values" ("position", "name", "presentation", "option_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["position", 1], ["name", "Size-2"], ["presentation", "S"], ["option_type_id", 1], ["created_at", "2019-11-22 20:20:49.427028"], ["updated_at", "2019-11-22 20:20:49.427028"]]
|
13986
|
+
[1m[36mSpree::OptionValue Update (0.1ms)[0m [1m[33mUPDATE "spree_option_values" SET "updated_at" = ? WHERE "spree_option_values"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.428894"], ["id", 1]]
|
13987
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" INNER JOIN "spree_option_values_variants" ON "spree_variants"."id" = "spree_option_values_variants"."variant_id" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_option_values_variants"."option_value_id" = ? ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["option_value_id", 1], ["LIMIT", 1000]]
|
13988
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
13989
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
13990
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13991
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
13992
|
+
[1m[36mSpree::OptionValue Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."id" != ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-2"], ["id", 1], ["option_type_id", 1], ["LIMIT", 1]]
|
13993
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-7"], ["LIMIT", 1]]
|
13994
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
13995
|
+
[1m[36mSpree::Variant Create (0.1ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-7"], ["product_id", 1], ["cost_price", 17.0], ["position", 2], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:49.437904"], ["created_at", "2019-11-22 20:20:49.437904"]]
|
13996
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 2], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:49.440164"], ["updated_at", "2019-11-22 20:20:49.440164"]]
|
13997
|
+
[1m[36mSpree::OptionValuesVariant Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["variant_id", 2], ["option_value_id", 1], ["created_at", "2019-11-22 20:20:49.442149"], ["updated_at", "2019-11-22 20:20:49.442149"]]
|
13998
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
13999
|
+
[1m[36mSpree::StockItem Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 2], ["stock_location_id", 1], ["LIMIT", 1]]
|
14000
|
+
[1m[36mSpree::StockItem Create (0.1ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 2], ["created_at", "2019-11-22 20:20:49.445938"], ["updated_at", "2019-11-22 20:20:49.445938"], ["backorderable", 1]]
|
14001
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.446915"], ["id", 2]]
|
14002
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14003
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 3], ["id", 2]]
|
14004
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14005
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 2], ["active", 1]]
|
14006
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.441307"], ["id", 2]]
|
14007
|
+
[1m[36mSpree::Product Update (0.5ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.454763"], ["id", 1]]
|
14008
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14009
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14010
|
+
[1m[36mSpree::TaxRate Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14011
|
+
[1m[36mSpree::Variant Load (0.3ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14012
|
+
[1m[36mSpree::Variant Create (0.2ms)[0m [1m[32mINSERT INTO "spree_variants" ("product_id", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["product_id", 1], ["position", 4], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:49.462789"], ["created_at", "2019-11-22 20:20:49.462789"]]
|
14013
|
+
[1m[36mSpree::Price Create (0.1ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 3], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:49.465500"], ["updated_at", "2019-11-22 20:20:49.465500"]]
|
14014
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14015
|
+
[1m[36mSpree::StockItem Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 3], ["stock_location_id", 1], ["LIMIT", 1]]
|
14016
|
+
[1m[36mSpree::StockItem Create (0.4ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 3], ["created_at", "2019-11-22 20:20:49.469716"], ["updated_at", "2019-11-22 20:20:49.469716"], ["backorderable", 1]]
|
14017
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.471218"], ["id", 3]]
|
14018
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14019
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 5], ["id", 3]]
|
14020
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.466410"], ["id", 3]]
|
14021
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.475829"], ["id", 1]]
|
14022
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14023
|
+
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
14024
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
14025
|
+
[1m[36mSpree::ShippingCategory Load (0.2ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14026
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14027
|
+
[1m[36mSpree::ShippingCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #7"], ["created_at", "2019-11-22 20:20:49.487094"], ["updated_at", "2019-11-22 20:20:49.487094"]]
|
14028
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14029
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14030
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14031
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 427441"], ["LIMIT", 1]]
|
14032
|
+
[1m[36mSpree::TaxCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 427441"], ["created_at", "2019-11-22 20:20:49.490780"], ["updated_at", "2019-11-22 20:20:49.490780"], ["tax_code", "TaxCode - 615308"]]
|
14033
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14034
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14035
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14036
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14037
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:20:49.493952"], ["created_at", "2019-11-22 20:20:49.493952"]]
|
14038
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14039
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
14040
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14041
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:20:49.498186"], ["created_at", "2019-11-22 20:20:49.498186"]]
|
14042
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14043
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14044
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14045
|
+
[1m[36mSpree::StockLocation Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:20:49.500088"], ["updated_at", "2019-11-22 20:20:49.500088"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
14046
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
14047
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14048
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14049
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-7-5493"], ["LIMIT", 1]]
|
14050
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-7-5493' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14051
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14052
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-10"], ["LIMIT", 1]]
|
14053
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14054
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-10"], ["LIMIT", 1]]
|
14055
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-7-5493"], ["LIMIT", 1]]
|
14056
|
+
[1m[36mSpree::Product Create (0.3ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #7 - 5493"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:20:49.485061"], ["slug", "product-7-5493"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:20:49.514737"], ["updated_at", "2019-11-22 20:20:49.514737"]]
|
14057
|
+
[1m[36mSpree::Variant Load (0.3ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14058
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-10"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:49.516246"], ["created_at", "2019-11-22 20:20:49.516246"]]
|
14059
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:49.518831"], ["updated_at", "2019-11-22 20:20:49.518831"]]
|
14060
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14061
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
14062
|
+
[1m[36mSpree::StockItem Create (0.4ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:20:49.523485"], ["updated_at", "2019-11-22 20:20:49.523485"], ["backorderable", 1]]
|
14063
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.524895"], ["id", 1]]
|
14064
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14065
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
14066
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14067
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14068
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14069
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-7-5493"]]
|
14070
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14071
|
+
[1m[36mFriendlyId::Slug Create (0.3ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-7-5493"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:20:49.535688"], ["updated_at", "2019-11-22 20:20:49.535688"]]
|
14072
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14073
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.519827"], ["id", 1]]
|
14074
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.538688"], ["id", 1]]
|
14075
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14076
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14077
|
+
[1m[36mSpree::OptionType Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_types" WHERE "spree_option_types"."name" = ? LIMIT ?[0m [["name", "foo-size-3"], ["LIMIT", 1]]
|
14078
|
+
[1m[36mSpree::OptionType Load (0.2ms)[0m [1m[34mSELECT "spree_option_types".* FROM "spree_option_types" WHERE (1 = 1) AND ("spree_option_types"."position" IS NOT NULL) ORDER BY "spree_option_types"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14079
|
+
[1m[36mSpree::OptionType Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_types" ("name", "presentation", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "foo-size-3"], ["presentation", "Size"], ["position", 1], ["created_at", "2019-11-22 20:20:49.542064"], ["updated_at", "2019-11-22 20:20:49.542064"]]
|
14080
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_product_option_types" ON "spree_products"."id" = "spree_product_option_types"."product_id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_product_option_types"."option_type_id" = ? ORDER BY "spree_products"."id" ASC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1000]]
|
14081
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14082
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14083
|
+
[1m[36mSpree::OptionValue Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-3"], ["option_type_id", 1], ["LIMIT", 1]]
|
14084
|
+
[1m[36mSpree::OptionValue Load (0.2ms)[0m [1m[34mSELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = ? AND ("spree_option_values"."position" IS NOT NULL) ORDER BY "spree_option_values"."position" DESC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1]]
|
14085
|
+
[1m[36mSpree::OptionValue Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_values" ("position", "name", "presentation", "option_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["position", 1], ["name", "Size-3"], ["presentation", "S"], ["option_type_id", 1], ["created_at", "2019-11-22 20:20:49.548172"], ["updated_at", "2019-11-22 20:20:49.548172"]]
|
14086
|
+
[1m[36mSpree::OptionValue Update (0.1ms)[0m [1m[33mUPDATE "spree_option_values" SET "updated_at" = ? WHERE "spree_option_values"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.550232"], ["id", 1]]
|
14087
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" INNER JOIN "spree_option_values_variants" ON "spree_variants"."id" = "spree_option_values_variants"."variant_id" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_option_values_variants"."option_value_id" = ? ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["option_value_id", 1], ["LIMIT", 1000]]
|
14088
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14089
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14090
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14091
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14092
|
+
[1m[36mSpree::OptionValue Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."id" != ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-3"], ["id", 1], ["option_type_id", 1], ["LIMIT", 1]]
|
14093
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-9"], ["LIMIT", 1]]
|
14094
|
+
[1m[36mSpree::Variant Load (0.3ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14095
|
+
[1m[36mSpree::Variant Create (0.1ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-9"], ["product_id", 1], ["cost_price", 17.0], ["position", 2], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:20:49.561202"], ["created_at", "2019-11-22 20:20:49.561202"]]
|
14096
|
+
[1m[36mSpree::Price Create (0.1ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 2], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:20:49.563558"], ["updated_at", "2019-11-22 20:20:49.563558"]]
|
14097
|
+
[1m[36mSpree::OptionValuesVariant Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["variant_id", 2], ["option_value_id", 1], ["created_at", "2019-11-22 20:20:49.565202"], ["updated_at", "2019-11-22 20:20:49.565202"]]
|
14098
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14099
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 2], ["stock_location_id", 1], ["LIMIT", 1]]
|
14100
|
+
[1m[36mSpree::StockItem Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 2], ["created_at", "2019-11-22 20:20:49.592280"], ["updated_at", "2019-11-22 20:20:49.592280"], ["backorderable", 1]]
|
14101
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.593644"], ["id", 2]]
|
14102
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14103
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 3], ["id", 2]]
|
14104
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14105
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 2], ["active", 1]]
|
14106
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.564435"], ["id", 2]]
|
14107
|
+
[1m[36mSpree::Product Update (0.5ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.603045"], ["id", 1]]
|
14108
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14109
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14110
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
14111
|
+
[1m[36mSpree::Price Load (0.2ms)[0m [1m[34mSELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = ? AND "spree_prices"."currency" = ? AND "spree_prices"."country_iso" IS NULL ORDER BY country_iso IS NULL, "spree_prices"."updated_at" DESC, "spree_prices"."id" DESC LIMIT ?[0m [["variant_id", 2], ["currency", "USD"], ["LIMIT", 1]]
|
14112
|
+
[1m[36mSpree::Price Update (0.2ms)[0m [1m[33mUPDATE "spree_prices" SET "deleted_at" = ?, "updated_at" = ? WHERE "spree_prices"."id" = ?[0m [["deleted_at", "2019-11-22 20:20:49.608437"], ["updated_at", "2019-11-22 20:20:49.608451"], ["id", 2]]
|
14113
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14114
|
+
[1m[36mSpree::StockItem Load (0.2ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ?[0m [["variant_id", 2]]
|
14115
|
+
[1m[36mSpree::StockItem Update (0.2ms)[0m [1m[33mUPDATE "spree_stock_items" SET "deleted_at" = ?, "updated_at" = ? WHERE "spree_stock_items"."id" = ?[0m [["deleted_at", "2019-11-22 20:20:49.613099"], ["updated_at", "2019-11-22 20:20:49.613120"], ["id", 2]]
|
14116
|
+
[1m[36mSpree::Image Load (0.3ms)[0m [1m[34mSELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" = ? AND "spree_assets"."viewable_id" = ? AND "spree_assets"."viewable_type" = ? ORDER BY "spree_assets"."position" ASC[0m [["type", "Spree::Image"], ["viewable_id", 2], ["viewable_type", "Spree::Variant"]]
|
14117
|
+
[1m[36mSpree::Price Load (0.2ms)[0m [1m[34mSELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."deleted_at" IS NULL AND "spree_prices"."variant_id" = ?[0m [["variant_id", 2]]
|
14118
|
+
[1m[36mSpree::Price Load (0.3ms)[0m [1m[34mSELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."deleted_at" IS NULL AND "spree_prices"."variant_id" = ? ORDER BY country_iso IS NULL, "spree_prices"."updated_at" DESC, "spree_prices"."id" DESC[0m [["variant_id", 2]]
|
14119
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "deleted_at" = ?, "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["deleted_at", "2019-11-22 20:20:49.630240"], ["updated_at", "2019-11-22 20:20:49.630254"], ["id", 2]]
|
14120
|
+
[1m[36mSpree::Variant Update All (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ("spree_variants"."position" - 1), "updated_at" = '2019-11-22 20:20:49.635398' WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" > 3)[0m [["product_id", 1]]
|
14121
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.609415"], ["id", 2]]
|
14122
|
+
[1m[36mSpree::Product Update (0.3ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:20:49.637579"], ["id", 1]]
|
14123
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14124
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14125
|
+
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
14126
|
+
solidus_drip, default_url_options was blank and is being set to localhost
|
14127
|
+
[1m[35m (2.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
14128
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
14129
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
|
14130
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
|
14131
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
14132
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
14133
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14134
|
+
[1m[35m (0.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
14135
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "active_storage_blobs";[0m
|
14136
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14137
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_storage_blobs';[0m
|
14138
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "active_storage_attachments";[0m
|
14139
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14140
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'active_storage_attachments';[0m
|
14141
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "action_mailbox_inbound_emails";[0m
|
14142
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14143
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'action_mailbox_inbound_emails';[0m
|
14144
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "action_text_rich_texts";[0m
|
14145
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14146
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'action_text_rich_texts';[0m
|
14147
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "friendly_id_slugs";[0m
|
14148
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14149
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'friendly_id_slugs';[0m
|
14150
|
+
[1m[35m (2.2ms)[0m [1m[31mDELETE FROM "spree_addresses";[0m
|
14151
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14152
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_addresses';[0m
|
14153
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_adjustment_reasons";[0m
|
14154
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14155
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_adjustment_reasons';[0m
|
14156
|
+
[1m[35m (2.6ms)[0m [1m[31mDELETE FROM "spree_adjustments";[0m
|
14157
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14158
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_adjustments';[0m
|
14159
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_assets";[0m
|
14160
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14161
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_assets';[0m
|
14162
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_calculators";[0m
|
14163
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14164
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_calculators';[0m
|
14165
|
+
[1m[35m (2.2ms)[0m [1m[31mDELETE FROM "spree_cartons";[0m
|
14166
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14167
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_cartons';[0m
|
14168
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_countries";[0m
|
14169
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14170
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_countries';[0m
|
14171
|
+
[1m[35m (0.8ms)[0m [1m[31mDELETE FROM "spree_credit_cards";[0m
|
14172
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14173
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_credit_cards';[0m
|
14174
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_customer_returns";[0m
|
14175
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14176
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_customer_returns';[0m
|
14177
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_line_item_actions";[0m
|
14178
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14179
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_line_item_actions';[0m
|
14180
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_log_entries";[0m
|
14181
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14182
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_log_entries';[0m
|
14183
|
+
[1m[35m (0.6ms)[0m [1m[31mDELETE FROM "spree_option_type_prototypes";[0m
|
14184
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14185
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_option_type_prototypes';[0m
|
14186
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_option_types";[0m
|
14187
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14188
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_option_types';[0m
|
14189
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_option_values";[0m
|
14190
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14191
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_option_values';[0m
|
14192
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_option_values_variants";[0m
|
14193
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14194
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_option_values_variants';[0m
|
14195
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_order_mutexes";[0m
|
14196
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14197
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_order_mutexes';[0m
|
14198
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_orders";[0m
|
14199
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14200
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_orders';[0m
|
14201
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "spree_orders_promotions";[0m
|
14202
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14203
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_orders_promotions';[0m
|
14204
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_payment_capture_events";[0m
|
14205
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14206
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_payment_capture_events';[0m
|
14207
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "spree_payments";[0m
|
14208
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14209
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_payments';[0m
|
14210
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_preferences";[0m
|
14211
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14212
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_preferences';[0m
|
14213
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "spree_product_option_types";[0m
|
14214
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14215
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_product_option_types';[0m
|
14216
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_product_promotion_rules";[0m
|
14217
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14218
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_product_promotion_rules';[0m
|
14219
|
+
[1m[35m (2.1ms)[0m [1m[31mDELETE FROM "spree_product_properties";[0m
|
14220
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14221
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_product_properties';[0m
|
14222
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "spree_products";[0m
|
14223
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14224
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_products';[0m
|
14225
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_products_taxons";[0m
|
14226
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14227
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_products_taxons';[0m
|
14228
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "spree_promotion_action_line_items";[0m
|
14229
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14230
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_action_line_items';[0m
|
14231
|
+
[1m[35m (2.2ms)[0m [1m[31mDELETE FROM "spree_promotion_actions";[0m
|
14232
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14233
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_actions';[0m
|
14234
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "spree_promotion_categories";[0m
|
14235
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14236
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_categories';[0m
|
14237
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "spree_promotion_rule_taxons";[0m
|
14238
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14239
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_rule_taxons';[0m
|
14240
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "spree_promotion_rules";[0m
|
14241
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14242
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_rules';[0m
|
14243
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "spree_promotion_rules_users";[0m
|
14244
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14245
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_rules_users';[0m
|
14246
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_properties";[0m
|
14247
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14248
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_properties';[0m
|
14249
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_property_prototypes";[0m
|
14250
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14251
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_property_prototypes';[0m
|
14252
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_prototype_taxons";[0m
|
14253
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14254
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_prototype_taxons';[0m
|
14255
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_prototypes";[0m
|
14256
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14257
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_prototypes';[0m
|
14258
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_refund_reasons";[0m
|
14259
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14260
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_refund_reasons';[0m
|
14261
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_refunds";[0m
|
14262
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14263
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_refunds';[0m
|
14264
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_reimbursement_credits";[0m
|
14265
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14266
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_reimbursement_credits';[0m
|
14267
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_reimbursement_types";[0m
|
14268
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14269
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_reimbursement_types';[0m
|
14270
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_reimbursements";[0m
|
14271
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14272
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_reimbursements';[0m
|
14273
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_return_authorizations";[0m
|
14274
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14275
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_return_authorizations';[0m
|
14276
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_return_items";[0m
|
14277
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14278
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_return_items';[0m
|
14279
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_return_reasons";[0m
|
14280
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14281
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_return_reasons';[0m
|
14282
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_roles";[0m
|
14283
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14284
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_roles';[0m
|
14285
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_roles_users";[0m
|
14286
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14287
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_roles_users';[0m
|
14288
|
+
[1m[35m (2.3ms)[0m [1m[31mDELETE FROM "spree_shipments";[0m
|
14289
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14290
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipments';[0m
|
14291
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_shipping_categories";[0m
|
14292
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14293
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_categories';[0m
|
14294
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_shipping_method_categories";[0m
|
14295
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14296
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_method_categories';[0m
|
14297
|
+
[1m[35m (1.5ms)[0m [1m[31mDELETE FROM "spree_shipping_method_stock_locations";[0m
|
14298
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14299
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_method_stock_locations';[0m
|
14300
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_shipping_method_zones";[0m
|
14301
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14302
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_method_zones';[0m
|
14303
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_shipping_rate_taxes";[0m
|
14304
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14305
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_rate_taxes';[0m
|
14306
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_shipping_rates";[0m
|
14307
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14308
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_rates';[0m
|
14309
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_state_changes";[0m
|
14310
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14311
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_state_changes';[0m
|
14312
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_states";[0m
|
14313
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14314
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_states';[0m
|
14315
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_stock_items";[0m
|
14316
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14317
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_stock_items';[0m
|
14318
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_stock_locations";[0m
|
14319
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14320
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_stock_locations';[0m
|
14321
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_stock_movements";[0m
|
14322
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14323
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_stock_movements';[0m
|
14324
|
+
[1m[35m (0.7ms)[0m [1m[31mDELETE FROM "spree_store_credit_categories";[0m
|
14325
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14326
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credit_categories';[0m
|
14327
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_store_credit_types";[0m
|
14328
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14329
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credit_types';[0m
|
14330
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_store_payment_methods";[0m
|
14331
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14332
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_payment_methods';[0m
|
14333
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_stores";[0m
|
14334
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14335
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_stores';[0m
|
14336
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_tax_categories";[0m
|
14337
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14338
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_tax_categories';[0m
|
14339
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_taxonomies";[0m
|
14340
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14341
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_taxonomies';[0m
|
14342
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_taxons";[0m
|
14343
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14344
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_taxons';[0m
|
14345
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_unit_cancels";[0m
|
14346
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14347
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_unit_cancels';[0m
|
14348
|
+
[1m[35m (0.8ms)[0m [1m[31mDELETE FROM "spree_user_addresses";[0m
|
14349
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14350
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_user_addresses';[0m
|
14351
|
+
[1m[35m (1.0ms)[0m [1m[31mDELETE FROM "spree_user_stock_locations";[0m
|
14352
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14353
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_user_stock_locations';[0m
|
14354
|
+
[1m[35m (0.7ms)[0m [1m[31mDELETE FROM "spree_variant_property_rule_conditions";[0m
|
14355
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14356
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_variant_property_rule_conditions';[0m
|
14357
|
+
[1m[35m (0.8ms)[0m [1m[31mDELETE FROM "spree_variant_property_rule_values";[0m
|
14358
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14359
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_variant_property_rule_values';[0m
|
14360
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_variant_property_rules";[0m
|
14361
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14362
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_variant_property_rules';[0m
|
14363
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_variants";[0m
|
14364
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14365
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_variants';[0m
|
14366
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_zone_members";[0m
|
14367
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14368
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_zone_members';[0m
|
14369
|
+
[1m[35m (1.4ms)[0m [1m[31mDELETE FROM "spree_wallet_payment_sources";[0m
|
14370
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14371
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_wallet_payment_sources';[0m
|
14372
|
+
[1m[35m (1.6ms)[0m [1m[31mDELETE FROM "spree_prices";[0m
|
14373
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14374
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_prices';[0m
|
14375
|
+
[1m[35m (2.2ms)[0m [1m[31mDELETE FROM "spree_line_items";[0m
|
14376
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14377
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_line_items';[0m
|
14378
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "spree_payment_methods";[0m
|
14379
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14380
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_payment_methods';[0m
|
14381
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "spree_promotion_code_batches";[0m
|
14382
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14383
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_code_batches';[0m
|
14384
|
+
[1m[35m (2.7ms)[0m [1m[31mDELETE FROM "spree_promotion_codes";[0m
|
14385
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14386
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_codes';[0m
|
14387
|
+
[1m[35m (1.9ms)[0m [1m[31mDELETE FROM "spree_shipping_methods";[0m
|
14388
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14389
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_shipping_methods';[0m
|
14390
|
+
[1m[35m (2.5ms)[0m [1m[31mDELETE FROM "spree_store_credits";[0m
|
14391
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14392
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credits';[0m
|
14393
|
+
[1m[35m (2.1ms)[0m [1m[31mDELETE FROM "spree_inventory_units";[0m
|
14394
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14395
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_inventory_units';[0m
|
14396
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "spree_tax_rate_tax_categories";[0m
|
14397
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14398
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_tax_rate_tax_categories';[0m
|
14399
|
+
[1m[35m (1.7ms)[0m [1m[31mDELETE FROM "spree_tax_rates";[0m
|
14400
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14401
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_tax_rates';[0m
|
14402
|
+
[1m[35m (1.1ms)[0m [1m[31mDELETE FROM "spree_zones";[0m
|
14403
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14404
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_zones';[0m
|
14405
|
+
[1m[35m (1.3ms)[0m [1m[31mDELETE FROM "spree_promotion_rules_stores";[0m
|
14406
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14407
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotion_rules_stores';[0m
|
14408
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_store_shipping_methods";[0m
|
14409
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14410
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_shipping_methods';[0m
|
14411
|
+
[1m[35m (0.9ms)[0m [1m[31mDELETE FROM "spree_store_credit_reasons";[0m
|
14412
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14413
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credit_reasons';[0m
|
14414
|
+
[1m[35m (2.0ms)[0m [1m[31mDELETE FROM "spree_promotions";[0m
|
14415
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14416
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_promotions';[0m
|
14417
|
+
[1m[35m (1.2ms)[0m [1m[31mDELETE FROM "spree_store_credit_events";[0m
|
14418
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14419
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_store_credit_events';[0m
|
14420
|
+
[1m[35m (1.8ms)[0m [1m[31mDELETE FROM "spree_users";[0m
|
14421
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
14422
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'spree_users';[0m
|
14423
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
|
14424
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
14425
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
14426
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14427
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14428
|
+
[1m[36mSpree::ShippingCategory Create (0.6ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #1"], ["created_at", "2019-11-22 20:25:48.704134"], ["updated_at", "2019-11-22 20:25:48.704134"]]
|
14429
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14430
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14431
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14432
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 915793"], ["LIMIT", 1]]
|
14433
|
+
[1m[36mSpree::TaxCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 915793"], ["created_at", "2019-11-22 20:25:48.748345"], ["updated_at", "2019-11-22 20:25:48.748345"], ["tax_code", "TaxCode - 169382"]]
|
14434
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14435
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14436
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14437
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14438
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:25:49.645318"], ["created_at", "2019-11-22 20:25:49.645318"]]
|
14439
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14440
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
14441
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14442
|
+
[1m[36mSpree::State Create (0.1ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:25:49.668431"], ["created_at", "2019-11-22 20:25:49.668431"]]
|
14443
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14444
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14445
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14446
|
+
[1m[36mSpree::StockLocation Create (0.5ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:25:49.670194"], ["updated_at", "2019-11-22 20:25:49.670194"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
14447
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
14448
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14449
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14450
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-1-4234"], ["LIMIT", 1]]
|
14451
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-1-4234' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14452
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14453
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-2"], ["LIMIT", 1]]
|
14454
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14455
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-2"], ["LIMIT", 1]]
|
14456
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-1-4234"], ["LIMIT", 1]]
|
14457
|
+
[1m[36mSpree::Product Create (0.2ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #1 - 4234"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:25:48.695290"], ["slug", "product-1-4234"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:49.819022"], ["updated_at", "2019-11-22 20:25:49.819022"]]
|
14458
|
+
[1m[36mSpree::Variant Load (0.3ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14459
|
+
[1m[36mSpree::Variant Create (0.2ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-2"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:49.820479"], ["created_at", "2019-11-22 20:25:49.820479"]]
|
14460
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:49.823114"], ["updated_at", "2019-11-22 20:25:49.823114"]]
|
14461
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14462
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
14463
|
+
[1m[36mSpree::StockItem Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:25:49.841217"], ["updated_at", "2019-11-22 20:25:49.841217"], ["backorderable", 1]]
|
14464
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:49.842520"], ["id", 1]]
|
14465
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14466
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
14467
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14468
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14469
|
+
[1m[36mFriendlyId::Slug Load (0.3ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14470
|
+
[1m[36mFriendlyId::Slug Destroy (0.3ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-1-4234"]]
|
14471
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14472
|
+
[1m[36mFriendlyId::Slug Create (0.2ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-1-4234"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:25:49.891628"], ["updated_at", "2019-11-22 20:25:49.891628"]]
|
14473
|
+
[1m[36mSpree::Taxon Load (0.2ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14474
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:49.824187"], ["id", 1]]
|
14475
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:49.895029"], ["id", 1]]
|
14476
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14477
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14478
|
+
[1m[36mSpree::OptionType Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_types" WHERE "spree_option_types"."name" = ? LIMIT ?[0m [["name", "foo-size-1"], ["LIMIT", 1]]
|
14479
|
+
[1m[36mSpree::OptionType Load (0.3ms)[0m [1m[34mSELECT "spree_option_types".* FROM "spree_option_types" WHERE (1 = 1) AND ("spree_option_types"."position" IS NOT NULL) ORDER BY "spree_option_types"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14480
|
+
[1m[36mSpree::OptionType Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_types" ("name", "presentation", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "foo-size-1"], ["presentation", "Size"], ["position", 1], ["created_at", "2019-11-22 20:25:49.949873"], ["updated_at", "2019-11-22 20:25:49.949873"]]
|
14481
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_product_option_types" ON "spree_products"."id" = "spree_product_option_types"."product_id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_product_option_types"."option_type_id" = ? ORDER BY "spree_products"."id" ASC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1000]]
|
14482
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14483
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14484
|
+
[1m[36mSpree::OptionValue Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-1"], ["option_type_id", 1], ["LIMIT", 1]]
|
14485
|
+
[1m[36mSpree::OptionValue Load (0.2ms)[0m [1m[34mSELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = ? AND ("spree_option_values"."position" IS NOT NULL) ORDER BY "spree_option_values"."position" DESC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1]]
|
14486
|
+
[1m[36mSpree::OptionValue Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_values" ("position", "name", "presentation", "option_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["position", 1], ["name", "Size-1"], ["presentation", "S"], ["option_type_id", 1], ["created_at", "2019-11-22 20:25:49.960182"], ["updated_at", "2019-11-22 20:25:49.960182"]]
|
14487
|
+
[1m[36mSpree::OptionValue Update (0.1ms)[0m [1m[33mUPDATE "spree_option_values" SET "updated_at" = ? WHERE "spree_option_values"."id" = ?[0m [["updated_at", "2019-11-22 20:25:49.962298"], ["id", 1]]
|
14488
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" INNER JOIN "spree_option_values_variants" ON "spree_variants"."id" = "spree_option_values_variants"."variant_id" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_option_values_variants"."option_value_id" = ? ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["option_value_id", 1], ["LIMIT", 1000]]
|
14489
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14490
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14491
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14492
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14493
|
+
[1m[36mSpree::OptionValue Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."id" != ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-1"], ["id", 1], ["option_type_id", 1], ["LIMIT", 1]]
|
14494
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-1"], ["LIMIT", 1]]
|
14495
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14496
|
+
[1m[36mSpree::Variant Create (0.2ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-1"], ["product_id", 1], ["cost_price", 17.0], ["position", 2], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:49.983988"], ["created_at", "2019-11-22 20:25:49.983988"]]
|
14497
|
+
[1m[36mSpree::Price Create (0.1ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 2], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:49.986819"], ["updated_at", "2019-11-22 20:25:49.986819"]]
|
14498
|
+
[1m[36mSpree::OptionValuesVariant Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["variant_id", 2], ["option_value_id", 1], ["created_at", "2019-11-22 20:25:49.988754"], ["updated_at", "2019-11-22 20:25:49.988754"]]
|
14499
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14500
|
+
[1m[36mSpree::StockItem Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 2], ["stock_location_id", 1], ["LIMIT", 1]]
|
14501
|
+
[1m[36mSpree::StockItem Create (0.1ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 2], ["created_at", "2019-11-22 20:25:49.992607"], ["updated_at", "2019-11-22 20:25:49.992607"], ["backorderable", 1]]
|
14502
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:49.993590"], ["id", 2]]
|
14503
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14504
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 3], ["id", 2]]
|
14505
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14506
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 2], ["active", 1]]
|
14507
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:49.987889"], ["id", 2]]
|
14508
|
+
[1m[36mSpree::Product Update (0.5ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.003682"], ["id", 1]]
|
14509
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14510
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14511
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL AND "spree_variants"."id" != ? LIMIT ?[0m [["sku", "SKU-1"], ["id", 2], ["LIMIT", 1]]
|
14512
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.005885"], ["id", 2]]
|
14513
|
+
[1m[36mSpree::Product Update (0.3ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.010660"], ["id", 1]]
|
14514
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14515
|
+
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
14516
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
14517
|
+
[1m[36mSpree::ShippingCategory Load (0.2ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14518
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14519
|
+
[1m[36mSpree::ShippingCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #2"], ["created_at", "2019-11-22 20:25:50.024912"], ["updated_at", "2019-11-22 20:25:50.024912"]]
|
14520
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14521
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14522
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14523
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 925107"], ["LIMIT", 1]]
|
14524
|
+
[1m[36mSpree::TaxCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 925107"], ["created_at", "2019-11-22 20:25:50.029147"], ["updated_at", "2019-11-22 20:25:50.029147"], ["tax_code", "TaxCode - 798724"]]
|
14525
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14526
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14527
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14528
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14529
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:25:50.032691"], ["created_at", "2019-11-22 20:25:50.032691"]]
|
14530
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14531
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
14532
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14533
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:25:50.037306"], ["created_at", "2019-11-22 20:25:50.037306"]]
|
14534
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14535
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14536
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14537
|
+
[1m[36mSpree::StockLocation Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:25:50.039694"], ["updated_at", "2019-11-22 20:25:50.039694"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
14538
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
14539
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14540
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14541
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-2-6589"], ["LIMIT", 1]]
|
14542
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-2-6589' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14543
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14544
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-4"], ["LIMIT", 1]]
|
14545
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14546
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-4"], ["LIMIT", 1]]
|
14547
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-2-6589"], ["LIMIT", 1]]
|
14548
|
+
[1m[36mSpree::Product Create (0.4ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #2 - 6589"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:25:50.023003"], ["slug", "product-2-6589"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:50.052407"], ["updated_at", "2019-11-22 20:25:50.052407"]]
|
14549
|
+
[1m[36mSpree::Variant Load (0.3ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14550
|
+
[1m[36mSpree::Variant Create (0.4ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-4"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:50.054205"], ["created_at", "2019-11-22 20:25:50.054205"]]
|
14551
|
+
[1m[36mSpree::Price Create (0.3ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:50.057738"], ["updated_at", "2019-11-22 20:25:50.057738"]]
|
14552
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14553
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
14554
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:25:50.064519"], ["updated_at", "2019-11-22 20:25:50.064519"], ["backorderable", 1]]
|
14555
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.065689"], ["id", 1]]
|
14556
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14557
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
14558
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14559
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14560
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14561
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-2-6589"]]
|
14562
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14563
|
+
[1m[36mFriendlyId::Slug Create (0.4ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-2-6589"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:25:50.076256"], ["updated_at", "2019-11-22 20:25:50.076256"]]
|
14564
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14565
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.059440"], ["id", 1]]
|
14566
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.079215"], ["id", 1]]
|
14567
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14568
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14569
|
+
[1m[36mSpree::OptionType Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_types" WHERE "spree_option_types"."name" = ? LIMIT ?[0m [["name", "foo-size-2"], ["LIMIT", 1]]
|
14570
|
+
[1m[36mSpree::OptionType Load (0.2ms)[0m [1m[34mSELECT "spree_option_types".* FROM "spree_option_types" WHERE (1 = 1) AND ("spree_option_types"."position" IS NOT NULL) ORDER BY "spree_option_types"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14571
|
+
[1m[36mSpree::OptionType Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_types" ("name", "presentation", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "foo-size-2"], ["presentation", "Size"], ["position", 1], ["created_at", "2019-11-22 20:25:50.082358"], ["updated_at", "2019-11-22 20:25:50.082358"]]
|
14572
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_product_option_types" ON "spree_products"."id" = "spree_product_option_types"."product_id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_product_option_types"."option_type_id" = ? ORDER BY "spree_products"."id" ASC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1000]]
|
14573
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14574
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14575
|
+
[1m[36mSpree::OptionValue Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-2"], ["option_type_id", 1], ["LIMIT", 1]]
|
14576
|
+
[1m[36mSpree::OptionValue Load (0.2ms)[0m [1m[34mSELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = ? AND ("spree_option_values"."position" IS NOT NULL) ORDER BY "spree_option_values"."position" DESC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1]]
|
14577
|
+
[1m[36mSpree::OptionValue Create (0.4ms)[0m [1m[32mINSERT INTO "spree_option_values" ("position", "name", "presentation", "option_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["position", 1], ["name", "Size-2"], ["presentation", "S"], ["option_type_id", 1], ["created_at", "2019-11-22 20:25:50.088860"], ["updated_at", "2019-11-22 20:25:50.088860"]]
|
14578
|
+
[1m[36mSpree::OptionValue Update (0.1ms)[0m [1m[33mUPDATE "spree_option_values" SET "updated_at" = ? WHERE "spree_option_values"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.091756"], ["id", 1]]
|
14579
|
+
[1m[36mSpree::Variant Load (0.3ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" INNER JOIN "spree_option_values_variants" ON "spree_variants"."id" = "spree_option_values_variants"."variant_id" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_option_values_variants"."option_value_id" = ? ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["option_value_id", 1], ["LIMIT", 1000]]
|
14580
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14581
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14582
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14583
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14584
|
+
[1m[36mSpree::OptionValue Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."id" != ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-2"], ["id", 1], ["option_type_id", 1], ["LIMIT", 1]]
|
14585
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-3"], ["LIMIT", 1]]
|
14586
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14587
|
+
[1m[36mSpree::Variant Create (0.1ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-3"], ["product_id", 1], ["cost_price", 17.0], ["position", 2], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:50.104461"], ["created_at", "2019-11-22 20:25:50.104461"]]
|
14588
|
+
[1m[36mSpree::Price Create (0.1ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 2], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:50.106982"], ["updated_at", "2019-11-22 20:25:50.106982"]]
|
14589
|
+
[1m[36mSpree::OptionValuesVariant Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["variant_id", 2], ["option_value_id", 1], ["created_at", "2019-11-22 20:25:50.108587"], ["updated_at", "2019-11-22 20:25:50.108587"]]
|
14590
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14591
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 2], ["stock_location_id", 1], ["LIMIT", 1]]
|
14592
|
+
[1m[36mSpree::StockItem Create (0.1ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 2], ["created_at", "2019-11-22 20:25:50.112493"], ["updated_at", "2019-11-22 20:25:50.112493"], ["backorderable", 1]]
|
14593
|
+
[1m[36mSpree::Variant Update (0.3ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.113620"], ["id", 2]]
|
14594
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14595
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 3], ["id", 2]]
|
14596
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14597
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 2], ["active", 1]]
|
14598
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.107827"], ["id", 2]]
|
14599
|
+
[1m[36mSpree::Product Update (0.4ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.123187"], ["id", 1]]
|
14600
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14601
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14602
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14603
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14604
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("product_id", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["product_id", 1], ["position", 4], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:50.129396"], ["created_at", "2019-11-22 20:25:50.129396"]]
|
14605
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 3], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:50.132256"], ["updated_at", "2019-11-22 20:25:50.132256"]]
|
14606
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14607
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 3], ["stock_location_id", 1], ["LIMIT", 1]]
|
14608
|
+
[1m[36mSpree::StockItem Create (0.4ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 3], ["created_at", "2019-11-22 20:25:50.136853"], ["updated_at", "2019-11-22 20:25:50.136853"], ["backorderable", 1]]
|
14609
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.138321"], ["id", 3]]
|
14610
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14611
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 5], ["id", 3]]
|
14612
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.133304"], ["id", 3]]
|
14613
|
+
[1m[36mSpree::Product Update (0.3ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.143883"], ["id", 1]]
|
14614
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14615
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
14616
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
14617
|
+
[1m[36mSpree::ShippingCategory Load (0.3ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14618
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14619
|
+
[1m[36mSpree::ShippingCategory Create (0.4ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #3"], ["created_at", "2019-11-22 20:25:50.156288"], ["updated_at", "2019-11-22 20:25:50.156288"]]
|
14620
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14621
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14622
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14623
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 980287"], ["LIMIT", 1]]
|
14624
|
+
[1m[36mSpree::TaxCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 980287"], ["created_at", "2019-11-22 20:25:50.160434"], ["updated_at", "2019-11-22 20:25:50.160434"], ["tax_code", "TaxCode - 538194"]]
|
14625
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14626
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14627
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14628
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14629
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:25:50.164528"], ["created_at", "2019-11-22 20:25:50.164528"]]
|
14630
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14631
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
14632
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14633
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:25:50.169146"], ["created_at", "2019-11-22 20:25:50.169146"]]
|
14634
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14635
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14636
|
+
[1m[36mSpree::StockLocation Load (0.3ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14637
|
+
[1m[36mSpree::StockLocation Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:25:50.171410"], ["updated_at", "2019-11-22 20:25:50.171410"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
14638
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
14639
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14640
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14641
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-3-5692"], ["LIMIT", 1]]
|
14642
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-3-5692' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14643
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14644
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-6"], ["LIMIT", 1]]
|
14645
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14646
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-6"], ["LIMIT", 1]]
|
14647
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-3-5692"], ["LIMIT", 1]]
|
14648
|
+
[1m[36mSpree::Product Create (0.3ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #3 - 5692"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:25:50.153389"], ["slug", "product-3-5692"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:50.188596"], ["updated_at", "2019-11-22 20:25:50.188596"]]
|
14649
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14650
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-6"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:50.190328"], ["created_at", "2019-11-22 20:25:50.190328"]]
|
14651
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:50.192636"], ["updated_at", "2019-11-22 20:25:50.192636"]]
|
14652
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14653
|
+
[1m[36mSpree::StockItem Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
14654
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:25:50.197221"], ["updated_at", "2019-11-22 20:25:50.197221"], ["backorderable", 1]]
|
14655
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.198369"], ["id", 1]]
|
14656
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14657
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
14658
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14659
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14660
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14661
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-3-5692"]]
|
14662
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14663
|
+
[1m[36mFriendlyId::Slug Create (0.4ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-3-5692"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:25:50.209656"], ["updated_at", "2019-11-22 20:25:50.209656"]]
|
14664
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14665
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.193757"], ["id", 1]]
|
14666
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.212549"], ["id", 1]]
|
14667
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14668
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14669
|
+
[1m[36mSpree::OptionType Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_types" WHERE "spree_option_types"."name" = ? LIMIT ?[0m [["name", "foo-size-3"], ["LIMIT", 1]]
|
14670
|
+
[1m[36mSpree::OptionType Load (0.1ms)[0m [1m[34mSELECT "spree_option_types".* FROM "spree_option_types" WHERE (1 = 1) AND ("spree_option_types"."position" IS NOT NULL) ORDER BY "spree_option_types"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14671
|
+
[1m[36mSpree::OptionType Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_types" ("name", "presentation", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "foo-size-3"], ["presentation", "Size"], ["position", 1], ["created_at", "2019-11-22 20:25:50.215786"], ["updated_at", "2019-11-22 20:25:50.215786"]]
|
14672
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_product_option_types" ON "spree_products"."id" = "spree_product_option_types"."product_id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_product_option_types"."option_type_id" = ? ORDER BY "spree_products"."id" ASC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1000]]
|
14673
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14674
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14675
|
+
[1m[36mSpree::OptionValue Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-3"], ["option_type_id", 1], ["LIMIT", 1]]
|
14676
|
+
[1m[36mSpree::OptionValue Load (0.2ms)[0m [1m[34mSELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."option_type_id" = ? AND ("spree_option_values"."position" IS NOT NULL) ORDER BY "spree_option_values"."position" DESC LIMIT ?[0m [["option_type_id", 1], ["LIMIT", 1]]
|
14677
|
+
[1m[36mSpree::OptionValue Create (0.2ms)[0m [1m[32mINSERT INTO "spree_option_values" ("position", "name", "presentation", "option_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["position", 1], ["name", "Size-3"], ["presentation", "S"], ["option_type_id", 1], ["created_at", "2019-11-22 20:25:50.220298"], ["updated_at", "2019-11-22 20:25:50.220298"]]
|
14678
|
+
[1m[36mSpree::OptionValue Update (0.1ms)[0m [1m[33mUPDATE "spree_option_values" SET "updated_at" = ? WHERE "spree_option_values"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.222316"], ["id", 1]]
|
14679
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" INNER JOIN "spree_option_values_variants" ON "spree_variants"."id" = "spree_option_values_variants"."variant_id" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_option_values_variants"."option_value_id" = ? ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["option_value_id", 1], ["LIMIT", 1000]]
|
14680
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14681
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14682
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14683
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14684
|
+
[1m[36mSpree::OptionValue Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_option_values" WHERE "spree_option_values"."name" = ? AND "spree_option_values"."id" != ? AND "spree_option_values"."option_type_id" = ? LIMIT ?[0m [["name", "Size-3"], ["id", 1], ["option_type_id", 1], ["LIMIT", 1]]
|
14685
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-5"], ["LIMIT", 1]]
|
14686
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14687
|
+
[1m[36mSpree::Variant Create (0.2ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-5"], ["product_id", 1], ["cost_price", 17.0], ["position", 2], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:50.232294"], ["created_at", "2019-11-22 20:25:50.232294"]]
|
14688
|
+
[1m[36mSpree::Price Create (0.1ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 2], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:50.234776"], ["updated_at", "2019-11-22 20:25:50.234776"]]
|
14689
|
+
[1m[36mSpree::OptionValuesVariant Create (0.4ms)[0m [1m[32mINSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["variant_id", 2], ["option_value_id", 1], ["created_at", "2019-11-22 20:25:50.236617"], ["updated_at", "2019-11-22 20:25:50.236617"]]
|
14690
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14691
|
+
[1m[36mSpree::StockItem Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 2], ["stock_location_id", 1], ["LIMIT", 1]]
|
14692
|
+
[1m[36mSpree::StockItem Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 2], ["created_at", "2019-11-22 20:25:50.241118"], ["updated_at", "2019-11-22 20:25:50.241118"], ["backorderable", 1]]
|
14693
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.242182"], ["id", 2]]
|
14694
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14695
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 3], ["id", 2]]
|
14696
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14697
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 2], ["active", 1]]
|
14698
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.235706"], ["id", 2]]
|
14699
|
+
[1m[36mSpree::Product Update (0.6ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.250630"], ["id", 1]]
|
14700
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14701
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14702
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
14703
|
+
[1m[36mSpree::Price Load (0.3ms)[0m [1m[34mSELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = ? AND "spree_prices"."currency" = ? AND "spree_prices"."country_iso" IS NULL ORDER BY country_iso IS NULL, "spree_prices"."updated_at" DESC, "spree_prices"."id" DESC LIMIT ?[0m [["variant_id", 2], ["currency", "USD"], ["LIMIT", 1]]
|
14704
|
+
[1m[36mSpree::Price Update (0.2ms)[0m [1m[33mUPDATE "spree_prices" SET "deleted_at" = ?, "updated_at" = ? WHERE "spree_prices"."id" = ?[0m [["deleted_at", "2019-11-22 20:25:50.256558"], ["updated_at", "2019-11-22 20:25:50.256571"], ["id", 2]]
|
14705
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14706
|
+
[1m[36mSpree::StockItem Load (0.2ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ?[0m [["variant_id", 2]]
|
14707
|
+
[1m[36mSpree::StockItem Update (0.2ms)[0m [1m[33mUPDATE "spree_stock_items" SET "deleted_at" = ?, "updated_at" = ? WHERE "spree_stock_items"."id" = ?[0m [["deleted_at", "2019-11-22 20:25:50.262397"], ["updated_at", "2019-11-22 20:25:50.262410"], ["id", 2]]
|
14708
|
+
[1m[36mSpree::Image Load (0.5ms)[0m [1m[34mSELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" = ? AND "spree_assets"."viewable_id" = ? AND "spree_assets"."viewable_type" = ? ORDER BY "spree_assets"."position" ASC[0m [["type", "Spree::Image"], ["viewable_id", 2], ["viewable_type", "Spree::Variant"]]
|
14709
|
+
[1m[36mSpree::Price Load (0.2ms)[0m [1m[34mSELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."deleted_at" IS NULL AND "spree_prices"."variant_id" = ?[0m [["variant_id", 2]]
|
14710
|
+
[1m[36mSpree::Price Load (0.2ms)[0m [1m[34mSELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."deleted_at" IS NULL AND "spree_prices"."variant_id" = ? ORDER BY country_iso IS NULL, "spree_prices"."updated_at" DESC, "spree_prices"."id" DESC[0m [["variant_id", 2]]
|
14711
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "deleted_at" = ?, "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["deleted_at", "2019-11-22 20:25:50.277545"], ["updated_at", "2019-11-22 20:25:50.277557"], ["id", 2]]
|
14712
|
+
[1m[36mSpree::Variant Update All (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ("spree_variants"."position" - 1), "updated_at" = '2019-11-22 20:25:50.281780' WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" > 3)[0m [["product_id", 1]]
|
14713
|
+
[1m[36mSpree::Variant Update (0.4ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.257679"], ["id", 2]]
|
14714
|
+
[1m[36mSpree::Product Update (0.2ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.285129"], ["id", 1]]
|
14715
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14716
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14717
|
+
[1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
|
14718
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
14719
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14720
|
+
[1m[36mSpree::User Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email1@example.com"], ["LIMIT", 1]]
|
14721
|
+
[1m[36mSpree::User Create (0.4ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "40c13bad3c32b42485735345d27c1f753699f1d755e3652c2857932f042548704c525840af92e095950d171de7ff9ea60ddd38687d66a5f645501f2784866045"], ["password_salt", "UGpsibUjBGw3SDpmfSxx"], ["email", "email1@example.com"], ["login", "email1@example.com"], ["created_at", "2019-11-22 20:25:50.371775"], ["updated_at", "2019-11-22 20:25:50.371775"]]
|
14722
|
+
[1m[36mSpree::Role Load (0.1ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
14723
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14724
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
14725
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
14726
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14727
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:25:50.407223"], ["created_at", "2019-11-22 20:25:50.407223"]]
|
14728
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14729
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14730
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:25:50.409012"], ["created_at", "2019-11-22 20:25:50.409012"]]
|
14731
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14732
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14733
|
+
[1m[36mSpree::Address Create (0.3ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10001"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:50.410850"], ["updated_at", "2019-11-22 20:25:50.410850"]]
|
14734
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14735
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
14736
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14737
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14738
|
+
[1m[36mSpree::Address Create (0.1ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10002"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:50.416356"], ["updated_at", "2019-11-22 20:25:50.416356"]]
|
14739
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14740
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14741
|
+
[1m[36mSpree::Store Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_1"], ["LIMIT", 1]]
|
14742
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
14743
|
+
[1m[36mSpree::Store Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 1"], ["url", "www.example1.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_1"], ["default", 1], ["created_at", "2019-11-22 20:25:50.440944"], ["updated_at", "2019-11-22 20:25:50.440944"]]
|
14744
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14745
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14746
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
14747
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14748
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14749
|
+
[1m[36mSpree::StockLocation Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:25:50.444961"], ["updated_at", "2019-11-22 20:25:50.444961"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
14750
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
14751
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14752
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14753
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14754
|
+
[1m[36mSpree::ShippingCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #4"], ["created_at", "2019-11-22 20:25:50.476729"], ["updated_at", "2019-11-22 20:25:50.476729"]]
|
14755
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14756
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14757
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14758
|
+
[1m[36mSpree::TaxCategory Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 88607"], ["LIMIT", 1]]
|
14759
|
+
[1m[36mSpree::TaxCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 88607"], ["created_at", "2019-11-22 20:25:50.480904"], ["updated_at", "2019-11-22 20:25:50.480904"], ["tax_code", "TaxCode - 226107"]]
|
14760
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14761
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14762
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14763
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-4-3575"], ["LIMIT", 1]]
|
14764
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-4-3575' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14765
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14766
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-7"], ["LIMIT", 1]]
|
14767
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14768
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-7"], ["LIMIT", 1]]
|
14769
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-4-3575"], ["LIMIT", 1]]
|
14770
|
+
[1m[36mSpree::Product Create (0.3ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #4 - 3575"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:25:50.475407"], ["slug", "product-4-3575"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:50.491957"], ["updated_at", "2019-11-22 20:25:50.491957"]]
|
14771
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14772
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-7"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:50.493359"], ["created_at", "2019-11-22 20:25:50.493359"]]
|
14773
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:50.495724"], ["updated_at", "2019-11-22 20:25:50.495724"]]
|
14774
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14775
|
+
[1m[36mSpree::StockItem Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
14776
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:25:50.533380"], ["updated_at", "2019-11-22 20:25:50.533380"], ["backorderable", 1]]
|
14777
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.534809"], ["id", 1]]
|
14778
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14779
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
14780
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14781
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14782
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14783
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-4-3575"]]
|
14784
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14785
|
+
[1m[36mFriendlyId::Slug Create (0.3ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-4-3575"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:25:50.545355"], ["updated_at", "2019-11-22 20:25:50.545355"]]
|
14786
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14787
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.496988"], ["id", 1]]
|
14788
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.547850"], ["id", 1]]
|
14789
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14790
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14791
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R047033353"], ["LIMIT", 1]]
|
14792
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R047033353"], ["LIMIT", 1]]
|
14793
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "5-Rl-_PUJkKPHLPa5h7lrg"], ["LIMIT", 1]]
|
14794
|
+
[1m[36mSpree::Order Create (0.4ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "payment_state", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R047033353"], ["state", "confirm"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["payment_state", "checkout"], ["email", "email1@example.com"], ["created_at", "2019-11-22 20:25:50.560546"], ["updated_at", "2019-11-22 20:25:50.560546"], ["currency", "USD"], ["guest_token", "5-Rl-_PUJkKPHLPa5h7lrg"], ["store_id", 1]]
|
14795
|
+
[1m[36mSpree::LineItem Load (0.2ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
14796
|
+
[1m[36mSpree::LineItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_line_items" ("variant_id", "order_id", "quantity", "price", "created_at", "updated_at", "cost_price", "tax_category_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["variant_id", 1], ["order_id", 1], ["quantity", 1], ["price", 10.0], ["created_at", "2019-11-22 20:25:50.566021"], ["updated_at", "2019-11-22 20:25:50.566021"], ["cost_price", 17.0], ["tax_category_id", 1]]
|
14797
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.567624"], ["id", 1]]
|
14798
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14799
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
14800
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14801
|
+
[1m[36mSpree::Shipment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_shipments" WHERE "spree_shipments"."number" = ? LIMIT ?[0m [["number", "H80772707728"], ["LIMIT", 1]]
|
14802
|
+
[1m[36mSpree::Shipment Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipments" ("tracking", "number", "cost", "order_id", "state", "created_at", "updated_at", "stock_location_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["tracking", "U10000"], ["number", "H80772707728"], ["cost", 100.0], ["order_id", 1], ["state", "pending"], ["created_at", "2019-11-22 20:25:50.606584"], ["updated_at", "2019-11-22 20:25:50.606584"], ["stock_location_id", 1]]
|
14803
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.607977"], ["id", 1]]
|
14804
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14805
|
+
[1m[36mSpree::Zone Load (0.1ms)[0m [1m[34mSELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
14806
|
+
[1m[36mSpree::Country Load (0.3ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries"[0m
|
14807
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14808
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
14809
|
+
[1m[36mSpree::Zone Create (0.2ms)[0m [1m[32mINSERT INTO "spree_zones" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "GlobalZone"], ["created_at", "2019-11-22 20:25:50.665840"], ["updated_at", "2019-11-22 20:25:50.665840"]]
|
14810
|
+
[1m[36mSpree::ZoneMember Create (0.3ms)[0m [1m[32mINSERT INTO "spree_zone_members" ("zoneable_type", "zoneable_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["zoneable_type", "Spree::Country"], ["zoneable_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:25:50.668071"], ["updated_at", "2019-11-22 20:25:50.668071"]]
|
14811
|
+
[1m[36mSpree::Zone Update All (0.1ms)[0m [1m[33mUPDATE "spree_zones" SET "zone_members_count" = COALESCE("zone_members_count", 0) + ? WHERE "spree_zones"."id" = ?[0m [["zone_members_count", 1], ["id", 1]]
|
14812
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14813
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14814
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
14815
|
+
[1m[36mSpree::ZoneMember Load (0.3ms)[0m [1m[34mSELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = ? AND (zoneable_id IS NULL OR zoneable_type != 'Spree::Country')[0m [["zone_id", 1]]
|
14816
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14817
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14818
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14819
|
+
[1m[36mSpree::Zone Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
14820
|
+
[1m[36mSpree::ShippingMethod Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_methods" ("name", "created_at", "updated_at", "code", "carrier", "service_level") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "UPS Ground"], ["created_at", "2019-11-22 20:25:50.728989"], ["updated_at", "2019-11-22 20:25:50.728989"], ["code", "UPS_GROUND"], ["carrier", "UPS"], ["service_level", "1DAYGROUND"]]
|
14821
|
+
[1m[36mSpree::Calculator::Shipping::FlatRate Create (0.3ms)[0m [1m[32mINSERT INTO "spree_calculators" ("type", "calculable_type", "calculable_id", "created_at", "updated_at", "preferences") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::Calculator::Shipping::FlatRate"], ["calculable_type", "Spree::ShippingMethod"], ["calculable_id", 1], ["created_at", "2019-11-22 20:25:50.730713"], ["updated_at", "2019-11-22 20:25:50.730713"], ["preferences", "---\n:amount: !ruby/object:BigDecimal 18:0.1e3\n:currency: USD\n"]]
|
14822
|
+
[1m[36mSpree::ShippingMethodCategory Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_method_categories" ("shipping_method_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:50.732922"], ["updated_at", "2019-11-22 20:25:50.732922"]]
|
14823
|
+
[1m[36mSpree::ShippingMethodZone Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_method_zones" ("shipping_method_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:25:50.734809"], ["updated_at", "2019-11-22 20:25:50.734809"]]
|
14824
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14825
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14826
|
+
[1m[36mSpree::ShippingRate Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_rates" ("shipment_id", "shipping_method_id", "selected", "cost", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["shipment_id", 1], ["shipping_method_id", 1], ["selected", 1], ["cost", 100.0], ["created_at", "2019-11-22 20:25:50.751136"], ["updated_at", "2019-11-22 20:25:50.751136"]]
|
14827
|
+
[1m[36mSpree::Shipment Update (0.2ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.753069"], ["id", 1]]
|
14828
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.754844"], ["id", 1]]
|
14829
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14830
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14831
|
+
[1m[36mSpree::LineItem Load (0.2ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14832
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14833
|
+
[1m[36mSpree::InventoryUnit Create (0.3ms)[0m [1m[32mINSERT INTO "spree_inventory_units" ("state", "variant_id", "shipment_id", "created_at", "updated_at", "line_item_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["state", "on_hand"], ["variant_id", 1], ["shipment_id", 1], ["created_at", "2019-11-22 20:25:50.780499"], ["updated_at", "2019-11-22 20:25:50.780499"], ["line_item_id", 1]]
|
14834
|
+
[1m[36mSpree::Shipment Update (0.3ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.781811"], ["id", 1]]
|
14835
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.783316"], ["id", 1]]
|
14836
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14837
|
+
[1m[36mSpree::Shipment Load (0.2ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
14838
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14839
|
+
[1m[36mSpree::ShippingRate Load (0.2ms)[0m [1m[34mSELECT "spree_shipping_rates".* FROM "spree_shipping_rates" WHERE "spree_shipping_rates"."shipment_id" = ? ORDER BY "spree_shipping_rates"."cost" ASC[0m [["shipment_id", 1]]
|
14840
|
+
[1m[36mSpree::Payment Load (0.2ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
14841
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::LineItem"]]
|
14842
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Shipment"]]
|
14843
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ? ORDER BY "spree_adjustments"."created_at" ASC[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Order"]]
|
14844
|
+
[1m[36mSpree::TaxRate Load (0.2ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
14845
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14846
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14847
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14848
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14849
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "item_total" = ?, "total" = ?, "updated_at" = ?, "shipment_total" = ?, "item_count" = ? WHERE "spree_orders"."id" = ?[0m [["item_total", 10.0], ["total", 110.0], ["updated_at", "2019-11-22 20:25:50.825945"], ["shipment_total", 100.0], ["item_count", 1], ["id", 1]]
|
14850
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14851
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14852
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R047033353"], ["id", 1], ["LIMIT", 1]]
|
14853
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14854
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14855
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14856
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:25:50.872409"], ["updated_at", "2019-11-22 20:25:50.872409"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 1]]
|
14857
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14858
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14859
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14860
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.1ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:25:50.899072"], ["updated_at", "2019-11-22 20:25:50.899072"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 2]]
|
14861
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14862
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14863
|
+
[1m[36mSpree::CreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_credit_cards" ("month", "year", "last_digits", "created_at", "updated_at", "name", "user_id", "payment_method_id", "address_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["month", "12"], ["year", "2020"], ["last_digits", "1111"], ["created_at", "2019-11-22 20:25:50.904590"], ["updated_at", "2019-11-22 20:25:50.904590"], ["name", "Spree Commerce"], ["user_id", 1], ["payment_method_id", 2], ["address_id", 1]]
|
14864
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14865
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14866
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "CP2V9SNC"], ["LIMIT", 1]]
|
14867
|
+
[1m[36mSpree::Payment Create (0.3ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 110.0], ["order_id", 1], ["source_type", "Spree::CreditCard"], ["source_id", 1], ["payment_method_id", 1], ["state", "checkout"], ["response_code", "12345"], ["created_at", "2019-11-22 20:25:50.958510"], ["updated_at", "2019-11-22 20:25:50.958510"], ["number", "CP2V9SNC"]]
|
14868
|
+
[1m[36mSpree::Payment Load (0.2ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
14869
|
+
[1m[36mSpree::CreditCard Load (0.2ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."gateway_customer_profile_id" = ? ORDER BY "spree_credit_cards"."id" ASC LIMIT ?[0m [["gateway_customer_profile_id", "BGS-001134"], ["LIMIT", 1]]
|
14870
|
+
[1m[36mSpree::CreditCard Update (0.1ms)[0m [1m[33mUPDATE "spree_credit_cards" SET "gateway_customer_profile_id" = ?, "updated_at" = ? WHERE "spree_credit_cards"."id" = ?[0m [["gateway_customer_profile_id", "BGS-001134"], ["updated_at", "2019-11-22 20:25:50.968024"], ["id", 1]]
|
14871
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:50.961084"], ["id", 1]]
|
14872
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14873
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
14874
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14875
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
14876
|
+
[1m[36mSpree::TaxRate Load (0.4ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
14877
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14878
|
+
[1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
|
14879
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
14880
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14881
|
+
[1m[36mSpree::User Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email2@example.com"], ["LIMIT", 1]]
|
14882
|
+
[1m[36mSpree::User Create (0.6ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "90af31fc009184e2bf717df8506335a2883c252772a18c508aabb31d239849fe143d6e319930583bb242aadf08b687cbe0209d91891444bc2e364f087d2b1177"], ["password_salt", "6imhKJhKsQKPhJDPAnVQ"], ["email", "email2@example.com"], ["login", "email2@example.com"], ["created_at", "2019-11-22 20:25:50.986951"], ["updated_at", "2019-11-22 20:25:50.986951"]]
|
14883
|
+
[1m[36mSpree::Role Load (0.1ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
14884
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14885
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
14886
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
14887
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14888
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:25:50.993261"], ["created_at", "2019-11-22 20:25:50.993261"]]
|
14889
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14890
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14891
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:25:50.995415"], ["created_at", "2019-11-22 20:25:50.995415"]]
|
14892
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14893
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14894
|
+
[1m[36mSpree::Address Create (0.3ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10003"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:50.997228"], ["updated_at", "2019-11-22 20:25:50.997228"]]
|
14895
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14896
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
14897
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14898
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14899
|
+
[1m[36mSpree::Address Create (0.2ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10004"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:51.002081"], ["updated_at", "2019-11-22 20:25:51.002081"]]
|
14900
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14901
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14902
|
+
[1m[36mSpree::Store Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_2"], ["LIMIT", 1]]
|
14903
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
14904
|
+
[1m[36mSpree::Store Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 2"], ["url", "www.example2.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_2"], ["default", 1], ["created_at", "2019-11-22 20:25:51.007259"], ["updated_at", "2019-11-22 20:25:51.007259"]]
|
14905
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14906
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14907
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
14908
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14909
|
+
[1m[36mSpree::StockLocation Load (0.4ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
14910
|
+
[1m[36mSpree::StockLocation Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:25:51.011794"], ["updated_at", "2019-11-22 20:25:51.011794"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
14911
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
14912
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14913
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14914
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14915
|
+
[1m[36mSpree::ShippingCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #5"], ["created_at", "2019-11-22 20:25:51.023935"], ["updated_at", "2019-11-22 20:25:51.023935"]]
|
14916
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14917
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14918
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14919
|
+
[1m[36mSpree::TaxCategory Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 489081"], ["LIMIT", 1]]
|
14920
|
+
[1m[36mSpree::TaxCategory Create (0.4ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 489081"], ["created_at", "2019-11-22 20:25:51.029286"], ["updated_at", "2019-11-22 20:25:51.029286"], ["tax_code", "TaxCode - 693761"]]
|
14921
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14922
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
14923
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14924
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-5-5438"], ["LIMIT", 1]]
|
14925
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-5-5438' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14926
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14927
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-8"], ["LIMIT", 1]]
|
14928
|
+
[1m[36mSpree::TaxRate Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
14929
|
+
[1m[36mSpree::Variant Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-8"], ["LIMIT", 1]]
|
14930
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-5-5438"], ["LIMIT", 1]]
|
14931
|
+
[1m[36mSpree::Product Create (0.4ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #5 - 5438"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:25:51.022408"], ["slug", "product-5-5438"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:51.048564"], ["updated_at", "2019-11-22 20:25:51.048564"]]
|
14932
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
14933
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-8"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:51.050603"], ["created_at", "2019-11-22 20:25:51.050603"]]
|
14934
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:51.053110"], ["updated_at", "2019-11-22 20:25:51.053110"]]
|
14935
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
14936
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
14937
|
+
[1m[36mSpree::StockItem Create (0.4ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:25:51.058855"], ["updated_at", "2019-11-22 20:25:51.058855"], ["backorderable", 1]]
|
14938
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.060250"], ["id", 1]]
|
14939
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
14940
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
14941
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14942
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
14943
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
14944
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-5-5438"]]
|
14945
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14946
|
+
[1m[36mFriendlyId::Slug Create (0.3ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-5-5438"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:25:51.070574"], ["updated_at", "2019-11-22 20:25:51.070574"]]
|
14947
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
14948
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.054334"], ["id", 1]]
|
14949
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.072970"], ["id", 1]]
|
14950
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14951
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14952
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R000738502"], ["LIMIT", 1]]
|
14953
|
+
[1m[36mSpree::Order Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R000738502"], ["LIMIT", 1]]
|
14954
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "yMb-bzNLHEGo4BgiQftPgw"], ["LIMIT", 1]]
|
14955
|
+
[1m[36mSpree::Order Create (0.4ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "payment_state", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R000738502"], ["state", "confirm"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["payment_state", "checkout"], ["email", "email2@example.com"], ["created_at", "2019-11-22 20:25:51.077372"], ["updated_at", "2019-11-22 20:25:51.077372"], ["currency", "USD"], ["guest_token", "yMb-bzNLHEGo4BgiQftPgw"], ["store_id", 1]]
|
14956
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
14957
|
+
[1m[36mSpree::LineItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_line_items" ("variant_id", "order_id", "quantity", "price", "created_at", "updated_at", "cost_price", "tax_category_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["variant_id", 1], ["order_id", 1], ["quantity", 1], ["price", 10.0], ["created_at", "2019-11-22 20:25:51.082645"], ["updated_at", "2019-11-22 20:25:51.082645"], ["cost_price", 17.0], ["tax_category_id", 1]]
|
14958
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.084735"], ["id", 1]]
|
14959
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14960
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
14961
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14962
|
+
[1m[36mSpree::Shipment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_shipments" WHERE "spree_shipments"."number" = ? LIMIT ?[0m [["number", "H51160261626"], ["LIMIT", 1]]
|
14963
|
+
[1m[36mSpree::Shipment Create (0.5ms)[0m [1m[32mINSERT INTO "spree_shipments" ("tracking", "number", "cost", "order_id", "state", "created_at", "updated_at", "stock_location_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["tracking", "U10000"], ["number", "H51160261626"], ["cost", 100.0], ["order_id", 1], ["state", "pending"], ["created_at", "2019-11-22 20:25:51.089827"], ["updated_at", "2019-11-22 20:25:51.089827"], ["stock_location_id", 1]]
|
14964
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.092082"], ["id", 1]]
|
14965
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14966
|
+
[1m[36mSpree::Zone Load (0.1ms)[0m [1m[34mSELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
14967
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries"[0m
|
14968
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14969
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
14970
|
+
[1m[36mSpree::Zone Create (0.2ms)[0m [1m[32mINSERT INTO "spree_zones" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "GlobalZone"], ["created_at", "2019-11-22 20:25:51.097846"], ["updated_at", "2019-11-22 20:25:51.097846"]]
|
14971
|
+
[1m[36mSpree::ZoneMember Create (0.2ms)[0m [1m[32mINSERT INTO "spree_zone_members" ("zoneable_type", "zoneable_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["zoneable_type", "Spree::Country"], ["zoneable_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:25:51.099098"], ["updated_at", "2019-11-22 20:25:51.099098"]]
|
14972
|
+
[1m[36mSpree::Zone Update All (0.1ms)[0m [1m[33mUPDATE "spree_zones" SET "zone_members_count" = COALESCE("zone_members_count", 0) + ? WHERE "spree_zones"."id" = ?[0m [["zone_members_count", 1], ["id", 1]]
|
14973
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14974
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14975
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
14976
|
+
[1m[36mSpree::ZoneMember Load (0.2ms)[0m [1m[34mSELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = ? AND (zoneable_id IS NULL OR zoneable_type != 'Spree::Country')[0m [["zone_id", 1]]
|
14977
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14978
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
14979
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14980
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
14981
|
+
[1m[36mSpree::ShippingMethod Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_methods" ("name", "created_at", "updated_at", "code", "carrier", "service_level") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "UPS Ground"], ["created_at", "2019-11-22 20:25:51.111457"], ["updated_at", "2019-11-22 20:25:51.111457"], ["code", "UPS_GROUND"], ["carrier", "UPS"], ["service_level", "1DAYGROUND"]]
|
14982
|
+
[1m[36mSpree::Calculator::Shipping::FlatRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_calculators" ("type", "calculable_type", "calculable_id", "created_at", "updated_at", "preferences") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::Calculator::Shipping::FlatRate"], ["calculable_type", "Spree::ShippingMethod"], ["calculable_id", 1], ["created_at", "2019-11-22 20:25:51.112697"], ["updated_at", "2019-11-22 20:25:51.112697"], ["preferences", "---\n:amount: !ruby/object:BigDecimal 18:0.1e3\n:currency: USD\n"]]
|
14983
|
+
[1m[36mSpree::ShippingMethodCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_method_categories" ("shipping_method_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:51.114161"], ["updated_at", "2019-11-22 20:25:51.114161"]]
|
14984
|
+
[1m[36mSpree::ShippingMethodZone Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipping_method_zones" ("shipping_method_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:25:51.115305"], ["updated_at", "2019-11-22 20:25:51.115305"]]
|
14985
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14986
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14987
|
+
[1m[36mSpree::ShippingRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_rates" ("shipment_id", "shipping_method_id", "selected", "cost", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["shipment_id", 1], ["shipping_method_id", 1], ["selected", 1], ["cost", 100.0], ["created_at", "2019-11-22 20:25:51.118209"], ["updated_at", "2019-11-22 20:25:51.118209"]]
|
14988
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.119469"], ["id", 1]]
|
14989
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.120449"], ["id", 1]]
|
14990
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14991
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14992
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14993
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
14994
|
+
[1m[36mSpree::InventoryUnit Create (0.3ms)[0m [1m[32mINSERT INTO "spree_inventory_units" ("state", "variant_id", "shipment_id", "created_at", "updated_at", "line_item_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["state", "on_hand"], ["variant_id", 1], ["shipment_id", 1], ["created_at", "2019-11-22 20:25:51.125265"], ["updated_at", "2019-11-22 20:25:51.125265"], ["line_item_id", 1]]
|
14995
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.126532"], ["id", 1]]
|
14996
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.127816"], ["id", 1]]
|
14997
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14998
|
+
[1m[36mSpree::Shipment Load (0.1ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
14999
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15000
|
+
[1m[36mSpree::ShippingRate Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_rates".* FROM "spree_shipping_rates" WHERE "spree_shipping_rates"."shipment_id" = ? ORDER BY "spree_shipping_rates"."cost" ASC[0m [["shipment_id", 1]]
|
15001
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
15002
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::LineItem"]]
|
15003
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Shipment"]]
|
15004
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ? ORDER BY "spree_adjustments"."created_at" ASC[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Order"]]
|
15005
|
+
[1m[36mSpree::TaxRate Load (0.2ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
15006
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15007
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15008
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15009
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15010
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "item_total" = ?, "total" = ?, "updated_at" = ?, "shipment_total" = ?, "item_count" = ? WHERE "spree_orders"."id" = ?[0m [["item_total", 10.0], ["total", 110.0], ["updated_at", "2019-11-22 20:25:51.143754"], ["shipment_total", 100.0], ["item_count", 1], ["id", 1]]
|
15011
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15012
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15013
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R000738502"], ["id", 1], ["LIMIT", 1]]
|
15014
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15015
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15016
|
+
[1m[36mSpree::PaymentMethod Load (0.3ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
15017
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.3ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:25:51.151231"], ["updated_at", "2019-11-22 20:25:51.151231"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 1]]
|
15018
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15019
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15020
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
15021
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.1ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:25:51.157062"], ["updated_at", "2019-11-22 20:25:51.157062"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 2]]
|
15022
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15023
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15024
|
+
[1m[36mSpree::CreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_credit_cards" ("month", "year", "last_digits", "created_at", "updated_at", "name", "user_id", "payment_method_id", "address_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["month", "12"], ["year", "2020"], ["last_digits", "1111"], ["created_at", "2019-11-22 20:25:51.161049"], ["updated_at", "2019-11-22 20:25:51.161049"], ["name", "Spree Commerce"], ["user_id", 1], ["payment_method_id", 2], ["address_id", 1]]
|
15025
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15026
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15027
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "56K2GD33"], ["LIMIT", 1]]
|
15028
|
+
[1m[36mSpree::Payment Create (0.6ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 110.0], ["order_id", 1], ["source_type", "Spree::CreditCard"], ["source_id", 1], ["payment_method_id", 1], ["state", "checkout"], ["response_code", "12345"], ["created_at", "2019-11-22 20:25:51.164602"], ["updated_at", "2019-11-22 20:25:51.164602"], ["number", "56K2GD33"]]
|
15029
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
15030
|
+
[1m[36mSpree::CreditCard Load (0.1ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."gateway_customer_profile_id" = ? ORDER BY "spree_credit_cards"."id" ASC LIMIT ?[0m [["gateway_customer_profile_id", "BGS-153120"], ["LIMIT", 1]]
|
15031
|
+
[1m[36mSpree::CreditCard Update (0.1ms)[0m [1m[33mUPDATE "spree_credit_cards" SET "gateway_customer_profile_id" = ?, "updated_at" = ? WHERE "spree_credit_cards"."id" = ?[0m [["gateway_customer_profile_id", "BGS-153120"], ["updated_at", "2019-11-22 20:25:51.170416"], ["id", 1]]
|
15032
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.167555"], ["id", 1]]
|
15033
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15034
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
15035
|
+
[1m[36mSpree::InventoryUnit Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_inventory_units" WHERE "spree_inventory_units"."line_item_id" = ? LIMIT ?[0m [["line_item_id", 1], ["LIMIT", 1]]
|
15036
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "stock_location_id" AS stock_location_id FROM "spree_inventory_units" INNER JOIN "spree_shipments" ON "spree_shipments"."id" = "spree_inventory_units"."shipment_id" WHERE "spree_inventory_units"."line_item_id" = ? AND "spree_inventory_units"."pending" = ? GROUP BY "stock_location_id"[0m [["line_item_id", 1], ["pending", 1]]
|
15037
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."stock_location_id" = ?[0m [["variant_id", 1], ["stock_location_id", 1]]
|
15038
|
+
[1m[36mSpree::StockItem Load (0.2ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."stock_location_id" = ?[0m [["variant_id", 1], ["stock_location_id", 1]]
|
15039
|
+
[1m[36mSpree::Adjustment Load (0.2ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."order_id" = ? AND "spree_adjustments"."eligible" = ? AND "spree_adjustments"."source_type" = ?[0m [["order_id", 1], ["eligible", 1], ["source_type", "Spree::PromotionAction"]]
|
15040
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_inventory_units" WHERE "spree_inventory_units"."line_item_id" = ?[0m [["line_item_id", 1]]
|
15041
|
+
[1m[36mSpree::Payment Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
15042
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE "spree_payment_methods"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15043
|
+
[1m[36mSpree::CreditCard Load (0.2ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15044
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15045
|
+
[1m[36mSpree::Payment Update (0.1ms)[0m [1m[33mUPDATE "spree_payments" SET "state" = ?, "updated_at" = ? WHERE "spree_payments"."id" = ?[0m [["state", "processing"], ["updated_at", "2019-11-22 20:25:51.191225"], ["id", 1]]
|
15046
|
+
[1m[36mSpree::StateChange Create (0.3ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "checkout"], ["stateful_id", 1], ["stateful_type", "Spree::Payment"], ["next_state", "processing"], ["created_at", "2019-11-22 20:25:51.205426"], ["updated_at", "2019-11-22 20:25:51.205426"]]
|
15047
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.192479"], ["id", 1]]
|
15048
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15049
|
+
[1m[36mSpree::Order Load (0.2ms)[0m [1m[34mSELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15050
|
+
[1m[36mSpree::Address Load (0.1ms)[0m [1m[34mSELECT "spree_addresses".* FROM "spree_addresses" WHERE "spree_addresses"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15051
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15052
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15053
|
+
[1m[36mSpree::Address Load (0.1ms)[0m [1m[34mSELECT "spree_addresses".* FROM "spree_addresses" WHERE "spree_addresses"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
15054
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15055
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15056
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15057
|
+
[1m[36mSpree::LogEntry Create (0.2ms)[0m [1m[32mINSERT INTO "spree_log_entries" ("source_type", "source_id", "details", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source_type", "Spree::Payment"], ["source_id", 1], ["details", "--- !ruby/object:ActiveMerchant::Billing::Response\nparams: {}\nmessage: 'Bogus Gateway: Forced success'\nsuccess: true\ntest: true\nauthorization: '12345'\nfraud_review: \nerror_code: \nemv_authorization: \navs_result:\n code: D\n message: Street address and postal code match.\n street_match: Y\n postal_match: Y\ncvv_result:\n code: \n message: \n"], ["created_at", "2019-11-22 20:25:51.223349"], ["updated_at", "2019-11-22 20:25:51.223349"]]
|
15058
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15059
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15060
|
+
[1m[36mSpree::Payment Update (0.1ms)[0m [1m[33mUPDATE "spree_payments" SET "state" = ?, "avs_response" = ?, "updated_at" = ? WHERE "spree_payments"."id" = ?[0m [["state", "pending"], ["avs_response", "D"], ["updated_at", "2019-11-22 20:25:51.226541"], ["id", 1]]
|
15061
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "processing"], ["stateful_id", 1], ["stateful_type", "Spree::Payment"], ["next_state", "pending"], ["created_at", "2019-11-22 20:25:51.229711"], ["updated_at", "2019-11-22 20:25:51.229711"]]
|
15062
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.228103"], ["id", 1]]
|
15063
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15064
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15065
|
+
[1m[36mSpree::Store Load (0.1ms)[0m [1m[34mSELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15066
|
+
[1m[36mSpree::Order Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R000738502"], ["id", 1], ["LIMIT", 1]]
|
15067
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ?, "state" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.234837"], ["state", "complete"], ["id", 1]]
|
15068
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15069
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15070
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "order"], ["previous_state", "confirm"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "complete"], ["created_at", "2019-11-22 20:25:51.237529"], ["updated_at", "2019-11-22 20:25:51.237529"]]
|
15071
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15072
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15073
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R000738502"], ["id", 1], ["LIMIT", 1]]
|
15074
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15075
|
+
[1m[36mSpree::User Load (0.3ms)[0m [1m[34mSELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15076
|
+
[1m[36mSpree::Payment Load (0.2ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"]]
|
15077
|
+
[1m[36mSpree::CreditCard Load (0.1ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15078
|
+
[1m[36mSpree::WalletPaymentSource Load (0.2ms)[0m [1m[34mSELECT "spree_wallet_payment_sources".* FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."payment_source_type" = ? AND "spree_wallet_payment_sources"."payment_source_id" = ? LIMIT ?[0m [["user_id", 1], ["payment_source_type", "Spree::CreditCard"], ["payment_source_id", 1], ["LIMIT", 1]]
|
15079
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15080
|
+
[1m[36mSpree::WalletPaymentSource Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."payment_source_type" = ? AND "spree_wallet_payment_sources"."payment_source_id" = ? LIMIT ?[0m [["user_id", 1], ["payment_source_type", "Spree::CreditCard"], ["payment_source_id", 1], ["LIMIT", 1]]
|
15081
|
+
[1m[36mSpree::WalletPaymentSource Create (0.3ms)[0m [1m[32mINSERT INTO "spree_wallet_payment_sources" ("user_id", "payment_source_type", "payment_source_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["user_id", 1], ["payment_source_type", "Spree::CreditCard"], ["payment_source_id", 1], ["created_at", "2019-11-22 20:25:51.263260"], ["updated_at", "2019-11-22 20:25:51.263260"]]
|
15082
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15083
|
+
[1m[36mSpree::WalletPaymentSource Load (0.1ms)[0m [1m[34mSELECT "spree_wallet_payment_sources".* FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
15084
|
+
[1m[36mSpree::WalletPaymentSource Load (0.1ms)[0m [1m[34mSELECT "spree_wallet_payment_sources".* FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."default" = ? LIMIT ?[0m [["user_id", 1], ["default", 1], ["LIMIT", 1]]
|
15085
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15086
|
+
[1m[36mSpree::WalletPaymentSource Load (0.0ms)[0m [1m[34mSELECT "spree_wallet_payment_sources".* FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."default" = ? LIMIT ?[0m [["user_id", 1], ["default", 1], ["LIMIT", 1]]
|
15087
|
+
[1m[36mSpree::WalletPaymentSource Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_wallet_payment_sources" WHERE "spree_wallet_payment_sources"."user_id" = ? AND "spree_wallet_payment_sources"."id" != ? AND "spree_wallet_payment_sources"."payment_source_type" = ? AND "spree_wallet_payment_sources"."payment_source_id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["payment_source_type", "Spree::CreditCard"], ["payment_source_id", 1], ["LIMIT", 1]]
|
15088
|
+
[1m[36mSpree::WalletPaymentSource Update (0.1ms)[0m [1m[33mUPDATE "spree_wallet_payment_sources" SET "default" = ?, "updated_at" = ? WHERE "spree_wallet_payment_sources"."id" = ?[0m [["default", 1], ["updated_at", "2019-11-22 20:25:51.267934"], ["id", 1]]
|
15089
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15090
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."order_id" = ?[0m [["order_id", 1]]
|
15091
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
15092
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
15093
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
15094
|
+
[1m[36mSpree::Shipment Load (0.1ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
15095
|
+
[1m[36mSpree::InventoryUnit Load (0.2ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ?[0m [["shipment_id", 1]]
|
15096
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15097
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15098
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15099
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15100
|
+
[1m[36mSpree::StockItem Load (0.3ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."variant_id" = ? ORDER BY "spree_stock_items"."id" ASC LIMIT ?[0m [["stock_location_id", 1], ["variant_id", 1], ["LIMIT", 1]]
|
15101
|
+
[1m[36mSpree::StockItem Load (0.1ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."variant_id" = ? ORDER BY "spree_stock_items"."id" ASC LIMIT ?[0m [["stock_location_id", 1], ["variant_id", 1], ["LIMIT", 1]]
|
15102
|
+
[1m[36mSpree::StockMovement Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stock_movements" ("stock_item_id", "quantity", "created_at", "updated_at", "originator_type", "originator_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["stock_item_id", 1], ["quantity", -1], ["created_at", "2019-11-22 20:25:51.324317"], ["updated_at", "2019-11-22 20:25:51.324317"], ["originator_type", "Spree::Shipment"], ["originator_id", 1]]
|
15103
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15104
|
+
[1m[36mSpree::StockItem Load (0.1ms)[0m [1m[34mSELECT "spree_stock_items".* FROM "spree_stock_items" WHERE "spree_stock_items"."id" = ? LIMIT ? [0m [["id", 1], ["LIMIT", 1]]
|
15105
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15106
|
+
[1m[36mSpree::Variant Load (0.0ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15107
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."id" != ? AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
15108
|
+
[1m[36mSpree::StockItem Update (0.1ms)[0m [1m[33mUPDATE "spree_stock_items" SET "count_on_hand" = ?, "updated_at" = ? WHERE "spree_stock_items"."id" = ?[0m [["count_on_hand", -1], ["updated_at", "2019-11-22 20:25:51.329179"], ["id", 1]]
|
15109
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.330028"], ["id", 1]]
|
15110
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15111
|
+
[1m[36mSpree::InventoryUnit Update (0.2ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "pending" = ?, "updated_at" = ? WHERE "spree_inventory_units"."id" = ?[0m [["pending", 0], ["updated_at", "2019-11-22 20:25:51.332028"], ["id", 1]]
|
15112
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.331715"], ["id", 1]]
|
15113
|
+
[1m[36mSpree::Taxon Load (0.0ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15114
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15115
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15116
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R000738502"], ["id", 1], ["LIMIT", 1]]
|
15117
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ?, "shipment_state" = ?, "payment_state" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.337300"], ["shipment_state", "pending"], ["payment_state", "balance_due"], ["id", 1]]
|
15118
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "checkout"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "balance_due"], ["created_at", "2019-11-22 20:25:51.338938"], ["updated_at", "2019-11-22 20:25:51.338938"]]
|
15119
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "pending"], ["created_at", "2019-11-22 20:25:51.340016"], ["updated_at", "2019-11-22 20:25:51.340016"]]
|
15120
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15121
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
15122
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15123
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15124
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15125
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15126
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15127
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ?, "completed_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.346145"], ["completed_at", "2019-11-22 20:25:51.346145"], ["id", 1]]
|
15128
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15129
|
+
[ActiveJob] Enqueued ActionMailer::MailDeliveryJob (Job ID: 40eadf89-e492-4bba-b945-46fe12b51c95) to Async(mailers) with arguments: "Spree::OrderMailer", "confirm_email", "deliver_now", {:args=>[#<GlobalID:0x00007fc7162c85c8 @uri=#<URI::GID gid://dummy/Spree::Order/1>>]}
|
15130
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "confirmation_delivered" = ? WHERE "spree_orders"."id" = ?[0m [["confirmation_delivered", 1], ["id", 1]]
|
15131
|
+
Order R000738502 transitioned from confirm to complete via complete
|
15132
|
+
[1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
|
15133
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
15134
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15135
|
+
[1m[36mSpree::User Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email3@example.com"], ["LIMIT", 1]]
|
15136
|
+
[1m[36mSpree::User Create (0.5ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "af5bbabf42e115ccfe076a5765d9041c24824883339814a67670c4893e56ab8f753d5e22a466f64dc227d261d737aed3011a7775eddf3d4f5e04b48af7cddc21"], ["password_salt", "wyyb7fGEPmLzMczhvNBg"], ["email", "email3@example.com"], ["login", "email3@example.com"], ["created_at", "2019-11-22 20:25:51.371680"], ["updated_at", "2019-11-22 20:25:51.371680"]]
|
15137
|
+
[1m[36mSpree::Role Load (0.1ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
15138
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15139
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
15140
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
15141
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15142
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:25:51.380746"], ["created_at", "2019-11-22 20:25:51.380746"]]
|
15143
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15144
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15145
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:25:51.383110"], ["created_at", "2019-11-22 20:25:51.383110"]]
|
15146
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15147
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15148
|
+
[1m[36mSpree::Address Create (0.3ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10005"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:51.385644"], ["updated_at", "2019-11-22 20:25:51.385644"]]
|
15149
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15150
|
+
[1m[36mSpree::State Load (0.3ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
15151
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15152
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15153
|
+
[1m[36mSpree::Address Create (0.2ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10006"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:51.393104"], ["updated_at", "2019-11-22 20:25:51.393104"]]
|
15154
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15155
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15156
|
+
[1m[36mSpree::Store Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_3"], ["LIMIT", 1]]
|
15157
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
15158
|
+
[1m[36mSpree::Store Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 3"], ["url", "www.example3.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_3"], ["default", 1], ["created_at", "2019-11-22 20:25:51.397845"], ["updated_at", "2019-11-22 20:25:51.397845"]]
|
15159
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15160
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
15161
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
15162
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15163
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
15164
|
+
[1m[36mSpree::StockLocation Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:25:51.405931"], ["updated_at", "2019-11-22 20:25:51.405931"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
15165
|
+
[1m[36mSpree::Variant Load (0.0ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
15166
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15167
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
15168
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
15169
|
+
[1m[36mSpree::Order Load (0.2ms)[0m [1m[34mSELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15170
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15171
|
+
[1m[36mSpree::ShippingCategory Create (0.1ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #6"], ["created_at", "2019-11-22 20:25:51.416951"], ["updated_at", "2019-11-22 20:25:51.416951"]]
|
15172
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15173
|
+
[1m[36mSpree::TaxCategory Load (0.0ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
15174
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15175
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 820806"], ["LIMIT", 1]]
|
15176
|
+
[1m[36mSpree::TaxCategory Create (0.1ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 820806"], ["created_at", "2019-11-22 20:25:51.419883"], ["updated_at", "2019-11-22 20:25:51.419883"], ["tax_code", "TaxCode - 858530"]]
|
15177
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15178
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
15179
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15180
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-6-2505"], ["LIMIT", 1]]
|
15181
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-6-2505' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
15182
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
15183
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-9"], ["LIMIT", 1]]
|
15184
|
+
[1m[36mSpree::TaxRate Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
15185
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-9"], ["LIMIT", 1]]
|
15186
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-6-2505"], ["LIMIT", 1]]
|
15187
|
+
[1m[36mSpree::Product Create (0.2ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #6 - 2505"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:25:51.415041"], ["slug", "product-6-2505"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:51.430908"], ["updated_at", "2019-11-22 20:25:51.430908"]]
|
15188
|
+
[1m[36mSpree::Variant Load (0.3ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
15189
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-9"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:51.432060"], ["created_at", "2019-11-22 20:25:51.432060"]]
|
15190
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:51.434776"], ["updated_at", "2019-11-22 20:25:51.434776"]]
|
15191
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
15192
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
15193
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:25:51.467729"], ["updated_at", "2019-11-22 20:25:51.467729"], ["backorderable", 1]]
|
15194
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.468899"], ["id", 1]]
|
15195
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
15196
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
15197
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15198
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
15199
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
15200
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-6-2505"]]
|
15201
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15202
|
+
[1m[36mFriendlyId::Slug Create (0.3ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-6-2505"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:25:51.480938"], ["updated_at", "2019-11-22 20:25:51.480938"]]
|
15203
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15204
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.435616"], ["id", 1]]
|
15205
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.483811"], ["id", 1]]
|
15206
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15207
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15208
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R986660446"], ["LIMIT", 1]]
|
15209
|
+
[1m[36mSpree::Order Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R986660446"], ["LIMIT", 1]]
|
15210
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "lZWXcCffIdXunIEktRaESw"], ["LIMIT", 1]]
|
15211
|
+
[1m[36mSpree::Order Create (0.4ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R986660446"], ["state", "complete"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["email", "email3@example.com"], ["created_at", "2019-11-22 20:25:51.488998"], ["updated_at", "2019-11-22 20:25:51.488998"], ["currency", "USD"], ["guest_token", "lZWXcCffIdXunIEktRaESw"], ["store_id", 1]]
|
15212
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
15213
|
+
[1m[36mSpree::LineItem Create (0.2ms)[0m [1m[32mINSERT INTO "spree_line_items" ("variant_id", "order_id", "quantity", "price", "created_at", "updated_at", "cost_price", "tax_category_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["variant_id", 1], ["order_id", 1], ["quantity", 1], ["price", 10.0], ["created_at", "2019-11-22 20:25:51.493112"], ["updated_at", "2019-11-22 20:25:51.493112"], ["cost_price", 17.0], ["tax_category_id", 1]]
|
15214
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.494298"], ["id", 1]]
|
15215
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15216
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
15217
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15218
|
+
[1m[36mSpree::Shipment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_shipments" WHERE "spree_shipments"."number" = ? LIMIT ?[0m [["number", "H11512667136"], ["LIMIT", 1]]
|
15219
|
+
[1m[36mSpree::Shipment Create (0.5ms)[0m [1m[32mINSERT INTO "spree_shipments" ("tracking", "number", "cost", "order_id", "state", "created_at", "updated_at", "stock_location_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["tracking", "U10000"], ["number", "H11512667136"], ["cost", 100.0], ["order_id", 1], ["state", "pending"], ["created_at", "2019-11-22 20:25:51.498615"], ["updated_at", "2019-11-22 20:25:51.498615"], ["stock_location_id", 1]]
|
15220
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.500461"], ["id", 1]]
|
15221
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15222
|
+
[1m[36mSpree::Zone Load (0.1ms)[0m [1m[34mSELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
15223
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries"[0m
|
15224
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15225
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
15226
|
+
[1m[36mSpree::Zone Create (0.3ms)[0m [1m[32mINSERT INTO "spree_zones" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "GlobalZone"], ["created_at", "2019-11-22 20:25:51.505754"], ["updated_at", "2019-11-22 20:25:51.505754"]]
|
15227
|
+
[1m[36mSpree::ZoneMember Create (0.3ms)[0m [1m[32mINSERT INTO "spree_zone_members" ("zoneable_type", "zoneable_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["zoneable_type", "Spree::Country"], ["zoneable_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:25:51.507770"], ["updated_at", "2019-11-22 20:25:51.507770"]]
|
15228
|
+
[1m[36mSpree::Zone Update All (0.1ms)[0m [1m[33mUPDATE "spree_zones" SET "zone_members_count" = COALESCE("zone_members_count", 0) + ? WHERE "spree_zones"."id" = ?[0m [["zone_members_count", 1], ["id", 1]]
|
15229
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15230
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15231
|
+
[1m[36mSpree::Zone Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
15232
|
+
[1m[36mSpree::ZoneMember Load (0.2ms)[0m [1m[34mSELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = ? AND (zoneable_id IS NULL OR zoneable_type != 'Spree::Country')[0m [["zone_id", 1]]
|
15233
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15234
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
15235
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15236
|
+
[1m[36mSpree::Zone Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
15237
|
+
[1m[36mSpree::ShippingMethod Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_methods" ("name", "created_at", "updated_at", "code", "carrier", "service_level") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "UPS Ground"], ["created_at", "2019-11-22 20:25:51.521519"], ["updated_at", "2019-11-22 20:25:51.521519"], ["code", "UPS_GROUND"], ["carrier", "UPS"], ["service_level", "1DAYGROUND"]]
|
15238
|
+
[1m[36mSpree::Calculator::Shipping::FlatRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_calculators" ("type", "calculable_type", "calculable_id", "created_at", "updated_at", "preferences") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::Calculator::Shipping::FlatRate"], ["calculable_type", "Spree::ShippingMethod"], ["calculable_id", 1], ["created_at", "2019-11-22 20:25:51.522825"], ["updated_at", "2019-11-22 20:25:51.522825"], ["preferences", "---\n:amount: !ruby/object:BigDecimal 18:0.1e3\n:currency: USD\n"]]
|
15239
|
+
[1m[36mSpree::ShippingMethodCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_method_categories" ("shipping_method_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:51.524229"], ["updated_at", "2019-11-22 20:25:51.524229"]]
|
15240
|
+
[1m[36mSpree::ShippingMethodZone Create (0.1ms)[0m [1m[32mINSERT INTO "spree_shipping_method_zones" ("shipping_method_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:25:51.525319"], ["updated_at", "2019-11-22 20:25:51.525319"]]
|
15241
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15242
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15243
|
+
[1m[36mSpree::ShippingRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_rates" ("shipment_id", "shipping_method_id", "selected", "cost", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["shipment_id", 1], ["shipping_method_id", 1], ["selected", 1], ["cost", 100.0], ["created_at", "2019-11-22 20:25:51.527596"], ["updated_at", "2019-11-22 20:25:51.527596"]]
|
15244
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.528819"], ["id", 1]]
|
15245
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.530065"], ["id", 1]]
|
15246
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15247
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15248
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15249
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15250
|
+
[1m[36mSpree::InventoryUnit Create (0.3ms)[0m [1m[32mINSERT INTO "spree_inventory_units" ("state", "variant_id", "shipment_id", "created_at", "updated_at", "line_item_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["state", "on_hand"], ["variant_id", 1], ["shipment_id", 1], ["created_at", "2019-11-22 20:25:51.534917"], ["updated_at", "2019-11-22 20:25:51.534917"], ["line_item_id", 1]]
|
15251
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.536198"], ["id", 1]]
|
15252
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.537273"], ["id", 1]]
|
15253
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15254
|
+
[1m[36mSpree::Shipment Load (0.1ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
15255
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15256
|
+
[1m[36mSpree::ShippingRate Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_rates".* FROM "spree_shipping_rates" WHERE "spree_shipping_rates"."shipment_id" = ? ORDER BY "spree_shipping_rates"."cost" ASC[0m [["shipment_id", 1]]
|
15257
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
15258
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::LineItem"]]
|
15259
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Shipment"]]
|
15260
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ? ORDER BY "spree_adjustments"."created_at" ASC[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Order"]]
|
15261
|
+
[1m[36mSpree::TaxRate Load (0.2ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
15262
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15263
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15264
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15265
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15266
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "item_total" = ?, "total" = ?, "updated_at" = ?, "shipment_total" = ?, "item_count" = ? WHERE "spree_orders"."id" = ?[0m [["item_total", 10.0], ["total", 110.0], ["updated_at", "2019-11-22 20:25:51.552003"], ["shipment_total", 100.0], ["item_count", 1], ["id", 1]]
|
15267
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15268
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15269
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R986660446"], ["id", 1], ["LIMIT", 1]]
|
15270
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15271
|
+
[1m[36mSpree::InventoryUnit Update All (0.1ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "state" = ?, "pending" = ? WHERE "spree_inventory_units"."shipment_id" = ?[0m [["state", "on_hand"], ["pending", 0], ["shipment_id", 1]]
|
15272
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "completed_at" = ? WHERE "spree_orders"."id" = ?[0m [["completed_at", "2019-11-22 20:25:51.558444"], ["id", 1]]
|
15273
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15274
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
15275
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.3ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:25:51.560329"], ["updated_at", "2019-11-22 20:25:51.560329"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 1]]
|
15276
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15277
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15278
|
+
[1m[36mSpree::PaymentMethod Load (0.2ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
15279
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.1ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:25:51.565057"], ["updated_at", "2019-11-22 20:25:51.565057"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 2]]
|
15280
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15281
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15282
|
+
[1m[36mSpree::CreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_credit_cards" ("month", "year", "last_digits", "created_at", "updated_at", "name", "user_id", "payment_method_id", "address_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["month", "12"], ["year", "2020"], ["last_digits", "1111"], ["created_at", "2019-11-22 20:25:51.569224"], ["updated_at", "2019-11-22 20:25:51.569224"], ["name", "Spree Commerce"], ["user_id", 1], ["payment_method_id", 2], ["address_id", 1]]
|
15283
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15284
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15285
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "CXZKE8US"], ["LIMIT", 1]]
|
15286
|
+
[1m[36mSpree::Payment Create (0.5ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 110.0], ["order_id", 1], ["source_type", "Spree::CreditCard"], ["source_id", 1], ["payment_method_id", 1], ["state", "pending"], ["response_code", "12345"], ["created_at", "2019-11-22 20:25:51.572716"], ["updated_at", "2019-11-22 20:25:51.572716"], ["number", "CXZKE8US"]]
|
15287
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
15288
|
+
[1m[36mSpree::CreditCard Load (0.1ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."gateway_customer_profile_id" = ? ORDER BY "spree_credit_cards"."id" ASC LIMIT ?[0m [["gateway_customer_profile_id", "BGS-514233"], ["LIMIT", 1]]
|
15289
|
+
[1m[36mSpree::CreditCard Update (0.1ms)[0m [1m[33mUPDATE "spree_credit_cards" SET "gateway_customer_profile_id" = ?, "updated_at" = ? WHERE "spree_credit_cards"."id" = ?[0m [["gateway_customer_profile_id", "BGS-514233"], ["updated_at", "2019-11-22 20:25:51.578811"], ["id", 1]]
|
15290
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
15291
|
+
[1m[36mSpree::TaxRate Load (0.4ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
15292
|
+
[1m[36mSpree::Payment Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
15293
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
15294
|
+
[1m[36mSpree::InventoryUnit Load (0.1ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ?[0m [["shipment_id", 1]]
|
15295
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15296
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "shipment_state" = ?, "payment_state" = ?, "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["shipment_state", "pending"], ["payment_state", "balance_due"], ["updated_at", "2019-11-22 20:25:51.592601"], ["id", 1]]
|
15297
|
+
[1m[36mSpree::StateChange Create (0.3ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "balance_due"], ["created_at", "2019-11-22 20:25:51.595077"], ["updated_at", "2019-11-22 20:25:51.595077"]]
|
15298
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "pending"], ["created_at", "2019-11-22 20:25:51.596568"], ["updated_at", "2019-11-22 20:25:51.596568"]]
|
15299
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.575687"], ["id", 1]]
|
15300
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15301
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15302
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "state" = ?, "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["state", "ready"], ["updated_at", "2019-11-22 20:25:51.599884"], ["id", 1]]
|
15303
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.601645"], ["id", 1]]
|
15304
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15305
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15306
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "state" = ?, "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["state", "shipped"], ["updated_at", "2019-11-22 20:25:51.603788"], ["id", 1]]
|
15307
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.605385"], ["id", 1]]
|
15308
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15309
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15310
|
+
[1m[36mSpree::ShippingMethod Load (0.2ms)[0m [1m[34mSELECT "spree_shipping_methods".* FROM "spree_shipping_methods" WHERE "spree_shipping_methods"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15311
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15312
|
+
[1m[36mSpree::InventoryUnit Load (0.1ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ? AND "spree_inventory_units"."state" = ?[0m [["shipment_id", 1], ["state", "on_hand"]]
|
15313
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15314
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15315
|
+
[1m[36mSpree::InventoryUnit Update (0.1ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "state" = ?, "updated_at" = ? WHERE "spree_inventory_units"."id" = ?[0m [["state", "shipped"], ["updated_at", "2019-11-22 20:25:51.613427"], ["id", 1]]
|
15316
|
+
[1m[36mSpree::Carton Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_cartons" WHERE "spree_cartons"."number" = ? LIMIT ?[0m [["number", "C42441166002"], ["LIMIT", 1]]
|
15317
|
+
[1m[36mSpree::Carton Create (0.3ms)[0m [1m[32mINSERT INTO "spree_cartons" ("number", "stock_location_id", "address_id", "shipping_method_id", "tracking", "shipped_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "C42441166002"], ["stock_location_id", 1], ["address_id", 2], ["shipping_method_id", 1], ["tracking", "U10000"], ["shipped_at", "2019-11-22 20:25:51.610050"], ["created_at", "2019-11-22 20:25:51.634973"], ["updated_at", "2019-11-22 20:25:51.634973"]]
|
15318
|
+
[1m[36mSpree::InventoryUnit Update (0.1ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "updated_at" = ?, "carton_id" = ? WHERE "spree_inventory_units"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.636685"], ["carton_id", 1], ["id", 1]]
|
15319
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.637702"], ["id", 1]]
|
15320
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.639059"], ["id", 1]]
|
15321
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15322
|
+
[1m[36mSpree::InventoryUnit Load (0.1ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ?[0m [["shipment_id", 1]]
|
15323
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "state" = ?, "shipped_at" = ? WHERE "spree_shipments"."id" = ?[0m [["state", "shipped"], ["shipped_at", "2019-11-22 20:25:51.643538"], ["id", 1]]
|
15324
|
+
[1m[36mSpree::Order Load (0.6ms)[0m [1m[34mSELECT DISTINCT "spree_orders".* FROM "spree_orders" INNER JOIN "spree_shipments" ON "spree_orders"."id" = "spree_shipments"."order_id" INNER JOIN "spree_inventory_units" ON "spree_shipments"."id" = "spree_inventory_units"."shipment_id" WHERE "spree_inventory_units"."carton_id" = ?[0m [["carton_id", 1]]
|
15325
|
+
[ActiveJob] Enqueued ActionMailer::MailDeliveryJob (Job ID: 40e162c6-ea77-4ae8-b258-45e6890ac4a5) to Async(mailers) with arguments: "Spree::CartonMailer", "shipped_email", "deliver_now", {:args=>[{:order=>#<GlobalID:0x00007fc710e87680 @uri=#<URI::GID gid://dummy/Spree::Order/1>>, :carton=>#<GlobalID:0x00007fc710e86bb8 @uri=#<URI::GID gid://dummy/Spree::Carton/1>>}]}
|
15326
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15327
|
+
[1m[36mSpree::Order Load (0.1ms)[0m [1m[34mSELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15328
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
15329
|
+
[1m[36mSpree::TaxRate Load (0.2ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
15330
|
+
[1m[36mSpree::Payment Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
15331
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
15332
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "shipment_state" = ?, "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["shipment_state", "shipped"], ["updated_at", "2019-11-22 20:25:51.666926"], ["id", 1]]
|
15333
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["previous_state", "pending"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "shipped"], ["created_at", "2019-11-22 20:25:51.669570"], ["updated_at", "2019-11-22 20:25:51.669570"]]
|
15334
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15335
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15336
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["previous_state", "ready"], ["stateful_id", 1], ["stateful_type", "Spree::Shipment"], ["next_state", "shipped"], ["created_at", "2019-11-22 20:25:51.671911"], ["updated_at", "2019-11-22 20:25:51.671911"]]
|
15337
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15338
|
+
[1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
|
15339
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
15340
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15341
|
+
[1m[36mSpree::User Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email4@example.com"], ["LIMIT", 1]]
|
15342
|
+
[1m[36mSpree::User Create (0.5ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "a826e8026ed30da05eb112b53a59ac60e0fef94b2c2aeb3e10dd31c59f1f558674da9f7165919eb73bc636dad3c323e1122ea50c0a0294a0f7cd8e59e09e9fb7"], ["password_salt", "gy6cy4jgUBcsainmCceZ"], ["email", "email4@example.com"], ["login", "email4@example.com"], ["created_at", "2019-11-22 20:25:51.681163"], ["updated_at", "2019-11-22 20:25:51.681163"]]
|
15343
|
+
[1m[36mSpree::Role Load (0.1ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
15344
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15345
|
+
[1m[36mSpree::State Load (0.3ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
15346
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
15347
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15348
|
+
[1m[36mSpree::Country Create (0.2ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:25:51.689232"], ["created_at", "2019-11-22 20:25:51.689232"]]
|
15349
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15350
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15351
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:25:51.691425"], ["created_at", "2019-11-22 20:25:51.691425"]]
|
15352
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15353
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15354
|
+
[1m[36mSpree::Address Create (0.3ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10007"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:51.693038"], ["updated_at", "2019-11-22 20:25:51.693038"]]
|
15355
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15356
|
+
[1m[36mSpree::State Load (0.2ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
15357
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15358
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15359
|
+
[1m[36mSpree::Address Create (0.1ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10008"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:51.697051"], ["updated_at", "2019-11-22 20:25:51.697051"]]
|
15360
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15361
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15362
|
+
[1m[36mSpree::Store Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_4"], ["LIMIT", 1]]
|
15363
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
15364
|
+
[1m[36mSpree::Store Create (0.4ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 4"], ["url", "www.example4.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_4"], ["default", 1], ["created_at", "2019-11-22 20:25:51.701455"], ["updated_at", "2019-11-22 20:25:51.701455"]]
|
15365
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15366
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
15367
|
+
[1m[36mSpree::State Load (0.1ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."country_id" = ? ORDER BY "spree_states"."name" ASC LIMIT ?[0m [["country_id", 1], ["LIMIT", 1]]
|
15368
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15369
|
+
[1m[36mSpree::StockLocation Load (0.2ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE (1 = 1) AND ("spree_stock_locations"."position" IS NOT NULL) ORDER BY "spree_stock_locations"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
15370
|
+
[1m[36mSpree::StockLocation Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stock_locations" ("name", "created_at", "updated_at", "address1", "city", "state_id", "country_id", "zipcode", "phone", "backorderable_default", "position") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "NY Warehouse"], ["created_at", "2019-11-22 20:25:51.707261"], ["updated_at", "2019-11-22 20:25:51.707261"], ["address1", "1600 Pennsylvania Ave NW"], ["city", "Washington"], ["state_id", 1], ["country_id", 1], ["zipcode", "20500"], ["phone", "(202) 456-1111"], ["backorderable_default", 1], ["position", 1]]
|
15371
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
15372
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15373
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
15374
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15375
|
+
[1m[36mSpree::ShippingCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "ShippingCategory #7"], ["created_at", "2019-11-22 20:25:51.715451"], ["updated_at", "2019-11-22 20:25:51.715451"]]
|
15376
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15377
|
+
[1m[36mSpree::TaxCategory Load (0.1ms)[0m [1m[34mSELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
15378
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15379
|
+
[1m[36mSpree::TaxCategory Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_categories" WHERE "spree_tax_categories"."name" = ? AND "spree_tax_categories"."deleted_at" IS NULL LIMIT ?[0m [["name", "TaxCategory - 963197"], ["LIMIT", 1]]
|
15380
|
+
[1m[36mSpree::TaxCategory Create (0.1ms)[0m [1m[32mINSERT INTO "spree_tax_categories" ("name", "created_at", "updated_at", "tax_code") VALUES (?, ?, ?, ?)[0m [["name", "TaxCategory - 963197"], ["created_at", "2019-11-22 20:25:51.718896"], ["updated_at", "2019-11-22 20:25:51.718896"], ["tax_code", "TaxCode - 639589"]]
|
15381
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15382
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stock_locations"[0m
|
15383
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15384
|
+
[1m[36mSpree::Product Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "spree_products"."slug" = ? LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["slug", "product-7-3356"], ["LIMIT", 1]]
|
15385
|
+
[1m[36mSpree::Product Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "spree_products"."id" AND "friendly_id_slugs"."sluggable_type" = ? WHERE "spree_products"."id" IS NOT NULL AND "friendly_id_slugs"."sluggable_type" = 'Spree::Product' AND "friendly_id_slugs"."slug" = 'product-7-3356' LIMIT ?[0m [["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
15386
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
15387
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-10"], ["LIMIT", 1]]
|
15388
|
+
[1m[36mSpree::TaxRate Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_tax_rates" INNER JOIN "spree_tax_rate_tax_categories" ON "spree_tax_rates"."id" = "spree_tax_rate_tax_categories"."tax_rate_id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND "spree_tax_rate_tax_categories"."tax_category_id" = ? AND "spree_tax_rates"."included_in_price" = ? LIMIT ?[0m [["tax_category_id", 1], ["included_in_price", 1], ["LIMIT", 1]]
|
15389
|
+
[1m[36mSpree::Variant Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."sku" = ? AND "spree_variants"."deleted_at" IS NULL LIMIT ?[0m [["sku", "SKU-10"], ["LIMIT", 1]]
|
15390
|
+
[1m[36mSpree::Product Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_products" WHERE "spree_products"."slug" = ? AND "spree_products"."deleted_at" IS NULL LIMIT ?[0m [["slug", "product-7-3356"], ["LIMIT", 1]]
|
15391
|
+
[1m[36mSpree::Product Create (0.3ms)[0m [1m[32mINSERT INTO "spree_products" ("name", "description", "available_on", "slug", "tax_category_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Product #7 - 3356"], ["description", "As seen on TV!"], ["available_on", "2018-11-22 20:25:51.714194"], ["slug", "product-7-3356"], ["tax_category_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:51.731702"], ["updated_at", "2019-11-22 20:25:51.731702"]]
|
15392
|
+
[1m[36mSpree::Variant Load (0.2ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = ? AND ("spree_variants"."position" IS NOT NULL) ORDER BY "spree_variants"."position" DESC LIMIT ?[0m [["product_id", 1], ["LIMIT", 1]]
|
15393
|
+
[1m[36mSpree::Variant Create (0.3ms)[0m [1m[32mINSERT INTO "spree_variants" ("sku", "is_master", "product_id", "cost_price", "position", "cost_currency", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["sku", "SKU-10"], ["is_master", 1], ["product_id", 1], ["cost_price", 17.0], ["position", 1], ["cost_currency", "USD"], ["updated_at", "2019-11-22 20:25:51.733226"], ["created_at", "2019-11-22 20:25:51.733226"]]
|
15394
|
+
[1m[36mSpree::Price Create (0.2ms)[0m [1m[32mINSERT INTO "spree_prices" ("variant_id", "amount", "currency", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["variant_id", 1], ["amount", 19.99], ["currency", "USD"], ["created_at", "2019-11-22 20:25:51.735826"], ["updated_at", "2019-11-22 20:25:51.735826"]]
|
15395
|
+
[1m[36mSpree::StockLocation Load (0.1ms)[0m [1m[34mSELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."propagate_all_variants" = ?[0m [["propagate_all_variants", 1]]
|
15396
|
+
[1m[36mSpree::StockItem Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stock_items" WHERE "spree_stock_items"."variant_id" = ? AND "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."stock_location_id" = ? AND "spree_stock_items"."deleted_at" IS NULL LIMIT ?[0m [["variant_id", 1], ["stock_location_id", 1], ["LIMIT", 1]]
|
15397
|
+
[1m[36mSpree::StockItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_stock_items" ("stock_location_id", "variant_id", "created_at", "updated_at", "backorderable") VALUES (?, ?, ?, ?, ?)[0m [["stock_location_id", 1], ["variant_id", 1], ["created_at", "2019-11-22 20:25:51.740594"], ["updated_at", "2019-11-22 20:25:51.740594"], ["backorderable", 1]]
|
15398
|
+
[1m[36mSpree::Variant Update (0.2ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.741936"], ["id", 1]]
|
15399
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("spree_variants"."position") FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = ? AND "spree_variants"."is_master" = ?[0m [["product_id", 1], ["is_master", 0]]
|
15400
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "position" = ? WHERE "spree_variants"."id" = ?[0m [["position", 1], ["id", 1]]
|
15401
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15402
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_stock_items"."count_on_hand") FROM "spree_stock_items" INNER JOIN "spree_stock_locations" ON "spree_stock_locations"."id" = "spree_stock_items"."stock_location_id" WHERE "spree_stock_items"."deleted_at" IS NULL AND "spree_stock_items"."variant_id" = ? AND "spree_stock_locations"."active" = ?[0m [["variant_id", 1], ["active", 1]]
|
15403
|
+
[1m[36mFriendlyId::Slug Load (0.1ms)[0m [1m[34mSELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs"."id" DESC LIMIT ?[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["LIMIT", 1]]
|
15404
|
+
[1m[36mFriendlyId::Slug Destroy (0.2ms)[0m [1m[31mDELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" IN (SELECT "friendly_id_slugs"."id" FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = ? ORDER BY "friendly_id_slugs"."id" DESC)[0m [["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["slug", "product-7-3356"]]
|
15405
|
+
[1m[36mSpree::Product Load (0.2ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15406
|
+
[1m[36mFriendlyId::Slug Create (0.5ms)[0m [1m[32mINSERT INTO "friendly_id_slugs" ("slug", "sluggable_id", "sluggable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["slug", "product-7-3356"], ["sluggable_id", 1], ["sluggable_type", "Spree::Product"], ["created_at", "2019-11-22 20:25:51.754727"], ["updated_at", "2019-11-22 20:25:51.754727"]]
|
15407
|
+
[1m[36mSpree::Taxon Load (0.1ms)[0m [1m[34mSELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15408
|
+
[1m[36mSpree::Variant Update (0.1ms)[0m [1m[33mUPDATE "spree_variants" SET "updated_at" = ? WHERE "spree_variants"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.736807"], ["id", 1]]
|
15409
|
+
[1m[36mSpree::Product Update (0.1ms)[0m [1m[33mUPDATE "spree_products" SET "updated_at" = ? WHERE "spree_products"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.758110"], ["id", 1]]
|
15410
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15411
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15412
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R438720776"], ["LIMIT", 1]]
|
15413
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R438720776"], ["LIMIT", 1]]
|
15414
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "-gI2USF8TIeAVUwO5A3Dqw"], ["LIMIT", 1]]
|
15415
|
+
[1m[36mSpree::Order Create (0.5ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R438720776"], ["state", "complete"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["email", "email4@example.com"], ["created_at", "2019-11-22 20:25:51.763422"], ["updated_at", "2019-11-22 20:25:51.763422"], ["currency", "USD"], ["guest_token", "-gI2USF8TIeAVUwO5A3Dqw"], ["store_id", 1]]
|
15416
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
15417
|
+
[1m[36mSpree::LineItem Create (0.3ms)[0m [1m[32mINSERT INTO "spree_line_items" ("variant_id", "order_id", "quantity", "price", "created_at", "updated_at", "cost_price", "tax_category_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["variant_id", 1], ["order_id", 1], ["quantity", 1], ["price", 10.0], ["created_at", "2019-11-22 20:25:51.768082"], ["updated_at", "2019-11-22 20:25:51.768082"], ["cost_price", 17.0], ["tax_category_id", 1]]
|
15418
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.769468"], ["id", 1]]
|
15419
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15420
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."order_id" = ? ORDER BY "spree_line_items"."created_at" ASC, "spree_line_items"."id" ASC[0m [["order_id", 1]]
|
15421
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15422
|
+
[1m[36mSpree::Shipment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_shipments" WHERE "spree_shipments"."number" = ? LIMIT ?[0m [["number", "H08284788745"], ["LIMIT", 1]]
|
15423
|
+
[1m[36mSpree::Shipment Create (0.3ms)[0m [1m[32mINSERT INTO "spree_shipments" ("tracking", "number", "cost", "order_id", "state", "created_at", "updated_at", "stock_location_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["tracking", "U10000"], ["number", "H08284788745"], ["cost", 100.0], ["order_id", 1], ["state", "pending"], ["created_at", "2019-11-22 20:25:51.773564"], ["updated_at", "2019-11-22 20:25:51.773564"], ["stock_location_id", 1]]
|
15424
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.774866"], ["id", 1]]
|
15425
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15426
|
+
[1m[36mSpree::Zone Load (0.1ms)[0m [1m[34mSELECT "spree_zones".* FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
15427
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries"[0m
|
15428
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15429
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? LIMIT ?[0m [["name", "GlobalZone"], ["LIMIT", 1]]
|
15430
|
+
[1m[36mSpree::Zone Create (0.2ms)[0m [1m[32mINSERT INTO "spree_zones" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "GlobalZone"], ["created_at", "2019-11-22 20:25:51.779461"], ["updated_at", "2019-11-22 20:25:51.779461"]]
|
15431
|
+
[1m[36mSpree::ZoneMember Create (0.3ms)[0m [1m[32mINSERT INTO "spree_zone_members" ("zoneable_type", "zoneable_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["zoneable_type", "Spree::Country"], ["zoneable_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:25:51.781154"], ["updated_at", "2019-11-22 20:25:51.781154"]]
|
15432
|
+
[1m[36mSpree::Zone Update All (0.2ms)[0m [1m[33mUPDATE "spree_zones" SET "zone_members_count" = COALESCE("zone_members_count", 0) + ? WHERE "spree_zones"."id" = ?[0m [["zone_members_count", 1], ["id", 1]]
|
15433
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15434
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15435
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
15436
|
+
[1m[36mSpree::ZoneMember Load (0.1ms)[0m [1m[34mSELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = ? AND (zoneable_id IS NULL OR zoneable_type != 'Spree::Country')[0m [["zone_id", 1]]
|
15437
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15438
|
+
[1m[36mSpree::ShippingCategory Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
15439
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15440
|
+
[1m[36mSpree::Zone Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = ? AND "spree_zones"."id" != ? LIMIT ?[0m [["name", "GlobalZone"], ["id", 1], ["LIMIT", 1]]
|
15441
|
+
[1m[36mSpree::ShippingMethod Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_methods" ("name", "created_at", "updated_at", "code", "carrier", "service_level") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "UPS Ground"], ["created_at", "2019-11-22 20:25:51.793070"], ["updated_at", "2019-11-22 20:25:51.793070"], ["code", "UPS_GROUND"], ["carrier", "UPS"], ["service_level", "1DAYGROUND"]]
|
15442
|
+
[1m[36mSpree::Calculator::Shipping::FlatRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_calculators" ("type", "calculable_type", "calculable_id", "created_at", "updated_at", "preferences") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::Calculator::Shipping::FlatRate"], ["calculable_type", "Spree::ShippingMethod"], ["calculable_id", 1], ["created_at", "2019-11-22 20:25:51.794148"], ["updated_at", "2019-11-22 20:25:51.794148"], ["preferences", "---\n:amount: !ruby/object:BigDecimal 18:0.1e3\n:currency: USD\n"]]
|
15443
|
+
[1m[36mSpree::ShippingMethodCategory Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_method_categories" ("shipping_method_id", "shipping_category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["shipping_category_id", 1], ["created_at", "2019-11-22 20:25:51.795758"], ["updated_at", "2019-11-22 20:25:51.795758"]]
|
15444
|
+
[1m[36mSpree::ShippingMethodZone Create (0.1ms)[0m [1m[32mINSERT INTO "spree_shipping_method_zones" ("shipping_method_id", "zone_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["shipping_method_id", 1], ["zone_id", 1], ["created_at", "2019-11-22 20:25:51.796978"], ["updated_at", "2019-11-22 20:25:51.796978"]]
|
15445
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15446
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15447
|
+
[1m[36mSpree::ShippingRate Create (0.2ms)[0m [1m[32mINSERT INTO "spree_shipping_rates" ("shipment_id", "shipping_method_id", "selected", "cost", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["shipment_id", 1], ["shipping_method_id", 1], ["selected", 1], ["cost", 100.0], ["created_at", "2019-11-22 20:25:51.799163"], ["updated_at", "2019-11-22 20:25:51.799163"]]
|
15448
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.800420"], ["id", 1]]
|
15449
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.801395"], ["id", 1]]
|
15450
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15451
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15452
|
+
[1m[36mSpree::LineItem Load (0.1ms)[0m [1m[34mSELECT "spree_line_items".* FROM "spree_line_items" WHERE "spree_line_items"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15453
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15454
|
+
[1m[36mSpree::InventoryUnit Create (0.3ms)[0m [1m[32mINSERT INTO "spree_inventory_units" ("state", "variant_id", "shipment_id", "created_at", "updated_at", "line_item_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["state", "on_hand"], ["variant_id", 1], ["shipment_id", 1], ["created_at", "2019-11-22 20:25:51.806374"], ["updated_at", "2019-11-22 20:25:51.806374"], ["line_item_id", 1]]
|
15455
|
+
[1m[36mSpree::Shipment Update (0.1ms)[0m [1m[33mUPDATE "spree_shipments" SET "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.807610"], ["id", 1]]
|
15456
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.808753"], ["id", 1]]
|
15457
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15458
|
+
[1m[36mSpree::Shipment Load (0.1ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE "spree_shipments"."order_id" = ?[0m [["order_id", 1]]
|
15459
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15460
|
+
[1m[36mSpree::ShippingRate Load (0.1ms)[0m [1m[34mSELECT "spree_shipping_rates".* FROM "spree_shipping_rates" WHERE "spree_shipping_rates"."shipment_id" = ? ORDER BY "spree_shipping_rates"."cost" ASC[0m [["shipment_id", 1]]
|
15461
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
15462
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::LineItem"]]
|
15463
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ?[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Shipment"]]
|
15464
|
+
[1m[36mSpree::Adjustment Load (0.1ms)[0m [1m[34mSELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_id" = ? AND "spree_adjustments"."adjustable_type" = ? ORDER BY "spree_adjustments"."created_at" ASC[0m [["adjustable_id", 1], ["adjustable_type", "Spree::Order"]]
|
15465
|
+
[1m[36mSpree::TaxRate Load (0.3ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
15466
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_products"."id" = "spree_variants"."product_id" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15467
|
+
[1m[36mSpree::Variant Load (0.1ms)[0m [1m[34mSELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15468
|
+
[1m[36mSpree::Product Load (0.1ms)[0m [1m[34mSELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15469
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15470
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "item_total" = ?, "total" = ?, "updated_at" = ?, "shipment_total" = ?, "item_count" = ? WHERE "spree_orders"."id" = ?[0m [["item_total", 10.0], ["total", 110.0], ["updated_at", "2019-11-22 20:25:51.824375"], ["shipment_total", 100.0], ["item_count", 1], ["id", 1]]
|
15471
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15472
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15473
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? AND "spree_orders"."id" != ? LIMIT ?[0m [["number", "R438720776"], ["id", 1], ["LIMIT", 1]]
|
15474
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15475
|
+
[1m[36mSpree::InventoryUnit Update All (0.2ms)[0m [1m[33mUPDATE "spree_inventory_units" SET "state" = ?, "pending" = ? WHERE "spree_inventory_units"."shipment_id" = ?[0m [["state", "on_hand"], ["pending", 0], ["shipment_id", 1]]
|
15476
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "completed_at" = ? WHERE "spree_orders"."id" = ?[0m [["completed_at", "2019-11-22 20:25:51.830265"], ["id", 1]]
|
15477
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15478
|
+
[1m[36mSpree::PaymentMethod Load (0.3ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
15479
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:25:51.832136"], ["updated_at", "2019-11-22 20:25:51.832136"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 1]]
|
15480
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15481
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15482
|
+
[1m[36mSpree::PaymentMethod Load (0.3ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
15483
|
+
[1m[36mSpree::PaymentMethod::BogusCreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::BogusCreditCard"], ["name", "Credit Card"], ["created_at", "2019-11-22 20:25:51.837476"], ["updated_at", "2019-11-22 20:25:51.837476"], ["preferences", "---\n:server: test\n:test_mode: true\n"], ["position", 2]]
|
15484
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15485
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15486
|
+
[1m[36mSpree::CreditCard Create (0.2ms)[0m [1m[32mINSERT INTO "spree_credit_cards" ("month", "year", "last_digits", "created_at", "updated_at", "name", "user_id", "payment_method_id", "address_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["month", "12"], ["year", "2020"], ["last_digits", "1111"], ["created_at", "2019-11-22 20:25:51.843023"], ["updated_at", "2019-11-22 20:25:51.843023"], ["name", "Spree Commerce"], ["user_id", 1], ["payment_method_id", 2], ["address_id", 1]]
|
15487
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15488
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15489
|
+
[1m[36mSpree::Payment Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "46ES7V87"], ["LIMIT", 1]]
|
15490
|
+
[1m[36mSpree::Payment Create (0.3ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 110.0], ["order_id", 1], ["source_type", "Spree::CreditCard"], ["source_id", 1], ["payment_method_id", 1], ["state", "pending"], ["response_code", "12345"], ["created_at", "2019-11-22 20:25:51.848024"], ["updated_at", "2019-11-22 20:25:51.848024"], ["number", "46ES7V87"]]
|
15491
|
+
[1m[36mSpree::Payment Load (0.2ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1]]
|
15492
|
+
[1m[36mSpree::CreditCard Load (0.2ms)[0m [1m[34mSELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."gateway_customer_profile_id" = ? ORDER BY "spree_credit_cards"."id" ASC LIMIT ?[0m [["gateway_customer_profile_id", "BGS-004332"], ["LIMIT", 1]]
|
15493
|
+
[1m[36mSpree::CreditCard Update (0.1ms)[0m [1m[33mUPDATE "spree_credit_cards" SET "gateway_customer_profile_id" = ?, "updated_at" = ? WHERE "spree_credit_cards"."id" = ?[0m [["gateway_customer_profile_id", "BGS-004332"], ["updated_at", "2019-11-22 20:25:51.856530"], ["id", 1]]
|
15494
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
15495
|
+
[1m[36mSpree::TaxRate Load (0.2ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
15496
|
+
[1m[36mSpree::Payment Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
15497
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
15498
|
+
[1m[36mSpree::InventoryUnit Load (0.1ms)[0m [1m[34mSELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."shipment_id" = ?[0m [["shipment_id", 1]]
|
15499
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_taxons"."name" FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = ?[0m [["product_id", 1]]
|
15500
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "shipment_state" = ?, "payment_state" = ?, "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["shipment_state", "pending"], ["payment_state", "balance_due"], ["updated_at", "2019-11-22 20:25:51.867333"], ["id", 1]]
|
15501
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "balance_due"], ["created_at", "2019-11-22 20:25:51.869554"], ["updated_at", "2019-11-22 20:25:51.869554"]]
|
15502
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "pending"], ["created_at", "2019-11-22 20:25:51.870548"], ["updated_at", "2019-11-22 20:25:51.870548"]]
|
15503
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.851376"], ["id", 1]]
|
15504
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15505
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15506
|
+
[1m[36mSpree::Payment Update (0.1ms)[0m [1m[33mUPDATE "spree_payments" SET "state" = ?, "updated_at" = ? WHERE "spree_payments"."id" = ?[0m [["state", "completed"], ["updated_at", "2019-11-22 20:25:51.873468"], ["id", 1]]
|
15507
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "completed"]]
|
15508
|
+
[1m[36mSpree::Refund Load (0.1ms)[0m [1m[34mSELECT "spree_refunds".* FROM "spree_refunds" WHERE "spree_refunds"."payment_id" = ?[0m [["payment_id", 1]]
|
15509
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_refunds"."amount") FROM "spree_refunds" WHERE "spree_refunds"."payment_id" = ?[0m [["payment_id", 1]]
|
15510
|
+
[1m[36mSpree::TaxRate Load (0.2ms)[0m [1m[34mSELECT DISTINCT "spree_tax_rates".* FROM "spree_tax_rates" INNER JOIN "spree_zones" ON "spree_zones"."id" = "spree_tax_rates"."zone_id" INNER JOIN "spree_zone_members" ON "spree_zone_members"."zone_id" = "spree_zones"."id" WHERE "spree_tax_rates"."deleted_at" IS NULL AND ("spree_zone_members"."zoneable_type" = 'Spree::State' AND "spree_zone_members"."zoneable_id" IN (1) OR "spree_zone_members"."zoneable_type" = 'Spree::Country' AND "spree_zone_members"."zoneable_id" IN (1))[0m
|
15511
|
+
[1m[36mSpree::Payment Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" NOT IN (?, ?, ?) LIMIT ?[0m [["order_id", 1], ["state", "failed"], ["state", "invalid"], ["state", "void"], ["LIMIT", 1]]
|
15512
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
15513
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT SUM("spree_reimbursements"."total") FROM "spree_reimbursements" WHERE "spree_reimbursements"."order_id" = ?[0m [["order_id", 1]]
|
15514
|
+
[1m[36mSpree::Shipment Update (0.2ms)[0m [1m[33mUPDATE "spree_shipments" SET "state" = ?, "updated_at" = ? WHERE "spree_shipments"."id" = ?[0m [["state", "ready"], ["updated_at", "2019-11-22 20:25:51.888305"], ["id", 1]]
|
15515
|
+
[1m[36mSpree::Order Update (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "payment_total" = ?, "shipment_state" = ?, "payment_state" = ?, "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["payment_total", 110.0], ["shipment_state", "ready"], ["payment_state", "paid"], ["updated_at", "2019-11-22 20:25:51.891044"], ["id", 1]]
|
15516
|
+
[1m[36mSpree::StateChange Create (0.3ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "balance_due"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "paid"], ["created_at", "2019-11-22 20:25:51.893680"], ["updated_at", "2019-11-22 20:25:51.893680"]]
|
15517
|
+
[1m[36mSpree::StateChange Create (0.2ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "user_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "shipment"], ["previous_state", "pending"], ["stateful_id", 1], ["user_id", 1], ["stateful_type", "Spree::Order"], ["next_state", "ready"], ["created_at", "2019-11-22 20:25:51.895220"], ["updated_at", "2019-11-22 20:25:51.895220"]]
|
15518
|
+
[1m[36mSpree::StateChange Create (0.1ms)[0m [1m[32mINSERT INTO "spree_state_changes" ("name", "previous_state", "stateful_id", "stateful_type", "next_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "payment"], ["previous_state", "pending"], ["stateful_id", 1], ["stateful_type", "Spree::Payment"], ["next_state", "completed"], ["created_at", "2019-11-22 20:25:51.897151"], ["updated_at", "2019-11-22 20:25:51.897151"]]
|
15519
|
+
[1m[36mSpree::Order Update (0.1ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2019-11-22 20:25:51.874786"], ["id", 1]]
|
15520
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15521
|
+
[1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
|
15522
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
15523
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15524
|
+
[1m[36mSpree::User Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_users" WHERE "spree_users"."email" = ? AND "spree_users"."deleted_at" IS NULL LIMIT ?[0m [["email", "email5@example.com"], ["LIMIT", 1]]
|
15525
|
+
[1m[36mSpree::User Create (0.6ms)[0m [1m[32mINSERT INTO "spree_users" ("encrypted_password", "password_salt", "email", "login", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["encrypted_password", "3cc69b1597c0e87db549105ecc514b0e6e20d2da8d86a0fa90da4794e36f374f58ac17845cb7f1b16269ff67cdb7f0cb5d8484fa3eddf8bcac343375bb421aaf"], ["password_salt", "cbYeKBs7zSMkxhRzjaEp"], ["email", "email5@example.com"], ["login", "email5@example.com"], ["created_at", "2019-11-22 20:25:51.906159"], ["updated_at", "2019-11-22 20:25:51.906159"]]
|
15526
|
+
[1m[36mSpree::Role Load (0.1ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = ?[0m [["user_id", 1]]
|
15527
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15528
|
+
[1m[36mSpree::State Load (0.3ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
15529
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."iso" = ? LIMIT ?[0m [["iso", "US"], ["LIMIT", 1]]
|
15530
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15531
|
+
[1m[36mSpree::Country Create (0.4ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["iso_name", "UNITED STATES"], ["iso", "US"], ["iso3", "USA"], ["name", "United States"], ["numcode", 840], ["updated_at", "2019-11-22 20:25:51.913210"], ["created_at", "2019-11-22 20:25:51.913210"]]
|
15532
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15533
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15534
|
+
[1m[36mSpree::State Create (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at", "created_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Alabama"], ["abbr", "AL"], ["country_id", 1], ["updated_at", "2019-11-22 20:25:51.916801"], ["created_at", "2019-11-22 20:25:51.916801"]]
|
15535
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15536
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15537
|
+
[1m[36mSpree::Address Create (0.5ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "PO Box 1337"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10009"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:51.918864"], ["updated_at", "2019-11-22 20:25:51.918864"]]
|
15538
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15539
|
+
[1m[36mSpree::State Load (0.5ms)[0m [1m[34mSELECT "spree_states".* FROM "spree_states" INNER JOIN "spree_countries" ON "spree_countries"."id" = "spree_states"."country_id" WHERE (spree_countries.iso = ('US')) AND "spree_states"."abbr" = ? LIMIT ?[0m [["abbr", "AL"], ["LIMIT", 1]]
|
15540
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
15541
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15542
|
+
[1m[36mSpree::Address Create (0.2ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["address1", "A Different Road"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "10010"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2019-11-22 20:25:51.927486"], ["updated_at", "2019-11-22 20:25:51.927486"]]
|
15543
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15544
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15545
|
+
[1m[36mSpree::Store Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE "spree_stores"."code" = ? LIMIT ?[0m [["code", "spree_5"], ["LIMIT", 1]]
|
15546
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", 1]]
|
15547
|
+
[1m[36mSpree::Store Create (0.2ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "default", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store 5"], ["url", "www.example5.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_5"], ["default", 1], ["created_at", "2019-11-22 20:25:51.932231"], ["updated_at", "2019-11-22 20:25:51.932231"]]
|
15548
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15549
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
15550
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R682204045"], ["LIMIT", 1]]
|
15551
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R682204045"], ["LIMIT", 1]]
|
15552
|
+
[1m[36mSpree::Order Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "ym90ZhNxKeqGafJ_EV3PkA"], ["LIMIT", 1]]
|
15553
|
+
[1m[36mSpree::Order Create (0.5ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "user_id", "bill_address_id", "ship_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R682204045"], ["state", "cart"], ["user_id", 1], ["bill_address_id", 1], ["ship_address_id", 2], ["email", "email5@example.com"], ["created_at", "2019-11-22 20:25:51.936210"], ["updated_at", "2019-11-22 20:25:51.936210"], ["currency", "USD"], ["guest_token", "ym90ZhNxKeqGafJ_EV3PkA"], ["store_id", 1]]
|
15554
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
15555
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|