payola-payments 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/payola/transactions_controller.rb +2 -2
- data/app/views/payola/transactions/_checkout.html.erb +16 -15
- data/lib/payola-payments.rb +1 -0
- data/lib/payola/engine.rb +8 -0
- data/lib/payola/version.rb +1 -1
- data/lib/payola/worker.rb +16 -4
- data/spec/dummy/app/views/buy/index.html.erb +1 -1
- data/spec/dummy/log/development.log +207 -0
- data/spec/dummy/log/test.log +1154 -0
- data/spec/worker_spec.rb +0 -7
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmIwODY5ZGNhN2Y3ZjUxNjBkYzFkNjQxYmNiNmZkZmI4Njg5M2ZmZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmY5YjUxZTY5MTQ1Y2U0NTEzYTk2YjM0YjQzYTNlNDdjMTAyNWU0Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzVmNDVhZDExZTdhOTkxMzY3ZDdlMGNkMGQwMGM2YWE1ODAxNmIxZGU2ZDVl
|
10
|
+
Y2RiMjE5OWYxNDJmNGI3MWQxNDE0MDlkOTczMjg5NTE4Y2E1YjJiYzEyYTNk
|
11
|
+
NmZhYTUzZjRjNmU0OGVkYmQ4ZjZjMjMzNzA1OGIxOTExYTMxYmM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTI1M2YwMTAyMTEzN2RhYWRkZGU5Y2Q1ZTgyMTM5YjMwZTAxNzY0OWIxNmM0
|
14
|
+
ZTcxMmViZDVlZjU1YjIxMTgyYjAxNDcwNzUwMjg3YzE1NTUzYzM1YTU3N2U5
|
15
|
+
ZjVlMTY1ZTg3Y2MyYTk4NWEzMzBiZDNmMzEwNDBkYTE3YzM4NDA=
|
@@ -3,8 +3,8 @@ module Payola
|
|
3
3
|
before_filter :find_product_and_coupon_and_affiliate, only: [:create]
|
4
4
|
|
5
5
|
def show
|
6
|
-
|
7
|
-
|
6
|
+
sale = Sale.find_by!(guid: params[:guid])
|
7
|
+
product = sale.product
|
8
8
|
|
9
9
|
redirect_to product.redirect_path(sale)
|
10
10
|
end
|
@@ -1,17 +1,18 @@
|
|
1
1
|
<%
|
2
|
-
button_class
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
2
|
+
button_class = local_assigns.fetch :button_class, "stripe-button-el"
|
3
|
+
button_inner_style = local_assigns.fetch :button_inner_style, 'min-height: 30px'
|
4
|
+
button_text = local_assigns.fetch :button_text, "Pay Now"
|
5
|
+
description = local_assigns.fetch :description, "#{sale.product.name} (#{formatted_price(sale.product.price)})"
|
6
|
+
name = local_assigns.fetch :name, sale.product.name
|
7
|
+
product_image_path = local_assigns.fetch :product_image_path , ''
|
8
|
+
panel_label = local_assigns.fetch :panel_label, ''
|
9
|
+
allow_remember_me = local_assigns.fetch :allow_remember_me, true
|
10
|
+
email = local_assigns.fetch :email, ''
|
11
|
+
verify_zip_code = local_assigns.fetch :verify_zip_code, false
|
11
12
|
|
12
|
-
button_id
|
13
|
-
error_div_id
|
14
|
-
form_id
|
13
|
+
button_id = "payola-button-#{sale.product.product_class}-#{sale.product.permalink}"
|
14
|
+
error_div_id = "#{button_id}-errors"
|
15
|
+
form_id = "#{button_id}-form"
|
15
16
|
button_text_id = "#{button_id}-span"
|
16
17
|
button_spinner_id = "#{button_id}-spinner"
|
17
18
|
%>
|
@@ -20,9 +21,9 @@
|
|
20
21
|
<link rel="stylesheet" href="https://checkout.stripe.com/v3/checkout/button.css"></link>
|
21
22
|
|
22
23
|
<%= form_tag payola.buy_path(product_class: sale.product.product_class, permalink: sale.product.permalink), id: form_id do %>
|
23
|
-
<button class="
|
24
|
-
<span id="<%= button_text_id %>" style="display: block;
|
25
|
-
<span id="<%= button_spinner_id %>" style="display:none;
|
24
|
+
<button class="<%= button_class %>" id="<%= button_id %>">
|
25
|
+
<span id="<%= button_text_id %>" style="display: block; <%= button_inner_style %>"><%= button_text %></span>
|
26
|
+
<span id="<%= button_spinner_id %>" style="display: none; <%= button_inner_style %>">Please wait...</span>
|
26
27
|
</button>
|
27
28
|
<div style="display:none", id="<%= error_div_id %>"></div>
|
28
29
|
<% end %>
|
@@ -0,0 +1 @@
|
|
1
|
+
require_relative './payola'
|
data/lib/payola/engine.rb
CHANGED
@@ -9,5 +9,13 @@ module Payola
|
|
9
9
|
g.assets false
|
10
10
|
g.helper false
|
11
11
|
end
|
12
|
+
|
13
|
+
initializer :append_migrations do |app|
|
14
|
+
unless app.root.to_s.match root.to_s
|
15
|
+
config.paths["db/migrate"].expanded.each do |expanded_path|
|
16
|
+
app.config.paths["db/migrate"] << expanded_path
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
12
20
|
end
|
13
21
|
end
|
data/lib/payola/version.rb
CHANGED
data/lib/payola/worker.rb
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
begin
|
2
|
+
require 'sidekiq'
|
3
|
+
rescue LoadError
|
4
|
+
end
|
5
|
+
|
6
|
+
begin
|
7
|
+
require 'sucker_punch'
|
8
|
+
rescue LoadError
|
9
|
+
end
|
10
|
+
|
1
11
|
module Payola
|
2
12
|
module Worker
|
3
13
|
class << self
|
@@ -29,24 +39,26 @@ module Payola
|
|
29
39
|
end
|
30
40
|
|
31
41
|
class Sidekiq < BaseWorker
|
42
|
+
include ::Sidekiq::Worker if defined? ::Sidekiq::Worker
|
43
|
+
|
32
44
|
def self.can_run?
|
33
45
|
defined?(::Sidekiq::Worker)
|
34
46
|
end
|
35
47
|
|
36
48
|
def self.call(sale)
|
37
|
-
|
38
|
-
self.perform_async(sale.guid)
|
49
|
+
perform_async(sale.guid)
|
39
50
|
end
|
40
51
|
end
|
41
52
|
|
42
53
|
class SuckerPunch < BaseWorker
|
54
|
+
include ::SuckerPunch::Job if defined? ::SuckerPunch::Job
|
55
|
+
|
43
56
|
def self.can_run?
|
44
57
|
defined?(::SuckerPunch::Job)
|
45
58
|
end
|
46
59
|
|
47
60
|
def self.call(sale)
|
48
|
-
|
49
|
-
self.new.async.perform(sale.guid)
|
61
|
+
new.async.perform(sale.guid)
|
50
62
|
end
|
51
63
|
end
|
52
64
|
|
@@ -1 +1 @@
|
|
1
|
-
<%= render 'payola/transactions/checkout', sale: @sale,
|
1
|
+
<%= render 'payola/transactions/checkout', sale: @sale, button_class: 'not-a-class' %>
|
@@ -7450,3 +7450,210 @@ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-05 12:26:53
|
|
7450
7450
|
Terminating 6 actors...
|
7451
7451
|
Terminating task: type=:finalizer, meta={:method_name=>:__shutdown__}, status=:callwait
|
7452
7452
|
Terminating task: type=:finalizer, meta={:method_name=>:__shutdown__}, status=:callwait
|
7453
|
+
|
7454
|
+
|
7455
|
+
Started GET "/buy" for 127.0.0.1 at 2014-10-05 17:09:47 -0400
|
7456
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7457
|
+
Processing by BuyController#index as HTML
|
7458
|
+
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
7459
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (27.5ms)
|
7460
|
+
Rendered buy/index.html.erb within layouts/application (33.8ms)
|
7461
|
+
Completed 200 OK in 173ms (Views: 131.6ms | ActiveRecord: 1.4ms)
|
7462
|
+
|
7463
|
+
|
7464
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-10-05 17:09:47 -0400
|
7465
|
+
|
7466
|
+
|
7467
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-10-05 17:09:47 -0400
|
7468
|
+
|
7469
|
+
|
7470
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:09:47 -0400
|
7471
|
+
|
7472
|
+
|
7473
|
+
Started GET "/buy" for 127.0.0.1 at 2014-10-05 17:13:01 -0400
|
7474
|
+
Processing by BuyController#index as HTML
|
7475
|
+
[1m[36mProduct Load (0.2ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
7476
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (51.5ms)
|
7477
|
+
Rendered buy/index.html.erb within layouts/application (52.8ms)
|
7478
|
+
Completed 500 Internal Server Error in 56ms
|
7479
|
+
|
7480
|
+
ActionView::Template::Error (undefined local variable or method `button_text' for #<#<Class:0x007fa61e3d3d78>:0x007fa61fd7cef0>):
|
7481
|
+
1: <%
|
7482
|
+
2: button_class_val = button_class || "stripe-button-el"
|
7483
|
+
3: button_text_val = button_text || "Pay Now"
|
7484
|
+
4: description_val = description || "#{sale.product.name} (#{formatted_price(sale.product.price)})"
|
7485
|
+
5: name_val = name || sale.product.name
|
7486
|
+
6: product_image_path_val = product_image_path || ""
|
7487
|
+
app/views/buy/index.html.erb:1:in `_app_views_buy_index_html_erb___1228409309624082551_70175723668200'
|
7488
|
+
|
7489
|
+
|
7490
|
+
Rendered /Users/peter/.rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
|
7491
|
+
Rendered /Users/peter/.rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
|
7492
|
+
Rendered /Users/peter/.rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (11.5ms)
|
7493
|
+
|
7494
|
+
|
7495
|
+
Started GET "/buy" for 127.0.0.1 at 2014-10-05 17:17:10 -0400
|
7496
|
+
Processing by BuyController#index as HTML
|
7497
|
+
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
7498
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (2.4ms)
|
7499
|
+
Rendered buy/index.html.erb within layouts/application (3.2ms)
|
7500
|
+
Completed 200 OK in 28ms (Views: 26.7ms | ActiveRecord: 0.2ms)
|
7501
|
+
|
7502
|
+
|
7503
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-10-05 17:17:10 -0400
|
7504
|
+
|
7505
|
+
|
7506
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-10-05 17:17:10 -0400
|
7507
|
+
|
7508
|
+
|
7509
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-05 17:17:10 -0400
|
7510
|
+
|
7511
|
+
|
7512
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-10-05 17:17:10 -0400
|
7513
|
+
|
7514
|
+
|
7515
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-10-05 17:17:10 -0400
|
7516
|
+
|
7517
|
+
|
7518
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:17:10 -0400
|
7519
|
+
|
7520
|
+
|
7521
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:17:10 -0400
|
7522
|
+
|
7523
|
+
|
7524
|
+
Started GET "/buy" for 127.0.0.1 at 2014-10-05 17:17:48 -0400
|
7525
|
+
Processing by BuyController#index as HTML
|
7526
|
+
[1m[36mProduct Load (0.2ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
7527
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (1.6ms)
|
7528
|
+
Rendered buy/index.html.erb within layouts/application (2.3ms)
|
7529
|
+
Completed 500 Internal Server Error in 62ms
|
7530
|
+
|
7531
|
+
ActionView::Template::Error (not-a-class):
|
7532
|
+
1: <%
|
7533
|
+
2: raise button_class
|
7534
|
+
3: button_class = local_assigns.fetch :button_class, "stripe-button-el"
|
7535
|
+
4: button_text = local_assigns.fetch :button_text, "Pay Now"
|
7536
|
+
5: description = local_assigns.fetch :description, "#{sale.product.name} (#{formatted_price(sale.product.price)})"
|
7537
|
+
app/views/buy/index.html.erb:1:in `_app_views_buy_index_html_erb___1228409309624082551_70175723668200'
|
7538
|
+
|
7539
|
+
|
7540
|
+
Rendered /Users/peter/.rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
|
7541
|
+
Rendered /Users/peter/.rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
|
7542
|
+
Rendered /Users/peter/.rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (51.4ms)
|
7543
|
+
|
7544
|
+
|
7545
|
+
Started GET "/buy" for 127.0.0.1 at 2014-10-05 17:18:12 -0400
|
7546
|
+
Processing by BuyController#index as HTML
|
7547
|
+
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
7548
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (2.5ms)
|
7549
|
+
Rendered buy/index.html.erb within layouts/application (3.8ms)
|
7550
|
+
Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.2ms)
|
7551
|
+
|
7552
|
+
|
7553
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-10-05 17:18:12 -0400
|
7554
|
+
|
7555
|
+
|
7556
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-05 17:18:12 -0400
|
7557
|
+
|
7558
|
+
|
7559
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-10-05 17:18:12 -0400
|
7560
|
+
|
7561
|
+
|
7562
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-10-05 17:18:12 -0400
|
7563
|
+
|
7564
|
+
|
7565
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:18:12 -0400
|
7566
|
+
|
7567
|
+
|
7568
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-10-05 17:18:12 -0400
|
7569
|
+
|
7570
|
+
|
7571
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:18:13 -0400
|
7572
|
+
|
7573
|
+
|
7574
|
+
Started GET "/buy" for 127.0.0.1 at 2014-10-05 17:19:18 -0400
|
7575
|
+
Processing by BuyController#index as HTML
|
7576
|
+
[1m[36mProduct Load (0.2ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
7577
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (3.0ms)
|
7578
|
+
Rendered buy/index.html.erb within layouts/application (4.2ms)
|
7579
|
+
Completed 200 OK in 75ms (Views: 73.4ms | ActiveRecord: 0.2ms)
|
7580
|
+
|
7581
|
+
|
7582
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-10-05 17:19:19 -0400
|
7583
|
+
|
7584
|
+
|
7585
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-05 17:19:19 -0400
|
7586
|
+
|
7587
|
+
|
7588
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-10-05 17:19:19 -0400
|
7589
|
+
|
7590
|
+
|
7591
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-10-05 17:19:19 -0400
|
7592
|
+
|
7593
|
+
|
7594
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:19:19 -0400
|
7595
|
+
|
7596
|
+
|
7597
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-10-05 17:19:19 -0400
|
7598
|
+
|
7599
|
+
|
7600
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:19:19 -0400
|
7601
|
+
|
7602
|
+
|
7603
|
+
Started GET "/buy" for 127.0.0.1 at 2014-10-05 17:20:10 -0400
|
7604
|
+
Processing by BuyController#index as HTML
|
7605
|
+
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
7606
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (3.4ms)
|
7607
|
+
Rendered buy/index.html.erb within layouts/application (4.7ms)
|
7608
|
+
Completed 200 OK in 29ms (Views: 27.9ms | ActiveRecord: 0.2ms)
|
7609
|
+
|
7610
|
+
|
7611
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-10-05 17:20:10 -0400
|
7612
|
+
|
7613
|
+
|
7614
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:10 -0400
|
7615
|
+
|
7616
|
+
|
7617
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:10 -0400
|
7618
|
+
|
7619
|
+
|
7620
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-05 17:20:10 -0400
|
7621
|
+
|
7622
|
+
|
7623
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:10 -0400
|
7624
|
+
|
7625
|
+
|
7626
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:11 -0400
|
7627
|
+
|
7628
|
+
|
7629
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:11 -0400
|
7630
|
+
|
7631
|
+
|
7632
|
+
Started GET "/buy" for 127.0.0.1 at 2014-10-05 17:20:54 -0400
|
7633
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7634
|
+
Processing by BuyController#index as HTML
|
7635
|
+
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
7636
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (36.4ms)
|
7637
|
+
Rendered buy/index.html.erb within layouts/application (42.2ms)
|
7638
|
+
Completed 200 OK in 245ms (Views: 150.6ms | ActiveRecord: 1.1ms)
|
7639
|
+
|
7640
|
+
|
7641
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-10-05 17:20:55 -0400
|
7642
|
+
|
7643
|
+
|
7644
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:55 -0400
|
7645
|
+
|
7646
|
+
|
7647
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:55 -0400
|
7648
|
+
|
7649
|
+
|
7650
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-05 17:20:55 -0400
|
7651
|
+
|
7652
|
+
|
7653
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:55 -0400
|
7654
|
+
|
7655
|
+
|
7656
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:55 -0400
|
7657
|
+
|
7658
|
+
|
7659
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-05 17:20:55 -0400
|
data/spec/dummy/log/test.log
CHANGED
@@ -9847,3 +9847,1157 @@
|
|
9847
9847
|
[1m[35m (0.0ms)[0m rollback transaction
|
9848
9848
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9849
9849
|
[1m[35m (0.0ms)[0m rollback transaction
|
9850
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "payola_affiliates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "email" varchar(255), "percent" integer, "created_at" datetime, "updated_at" datetime) [0m
|
9851
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "payola_coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "percent_off" integer, "created_at" datetime, "updated_at" datetime)
|
9852
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "payola_sales" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "guid" varchar(255), "product_id" integer, "product_type" varchar(255), "created_at" datetime, "updated_at" datetime, "state" varchar(255), "stripe_id" varchar(255), "stripe_token" varchar(255), "card_last4" varchar(255), "card_expiration" date, "card_type" varchar(255), "error" text, "amount" integer, "fee_amount" integer, "coupon_id" integer, "opt_in" boolean, "download_count" integer, "affiliate_id" integer, "customer_address" text, "business_address" text, "stripe_customer_id" varchar(255)) [0m
|
9853
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
9854
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_payola_sales_on_coupon_id" ON "payola_sales" ("coupon_id")[0m
|
9855
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9856
|
+
FROM sqlite_master
|
9857
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
9858
|
+
UNION ALL
|
9859
|
+
SELECT sql
|
9860
|
+
FROM sqlite_temp_master
|
9861
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
9862
|
+
|
9863
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_payola_sales_on_email" ON "payola_sales" ("email")[0m
|
9864
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9865
|
+
FROM sqlite_master
|
9866
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
9867
|
+
UNION ALL
|
9868
|
+
SELECT sql
|
9869
|
+
FROM sqlite_temp_master
|
9870
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
9871
|
+
|
9872
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9873
|
+
FROM sqlite_master
|
9874
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
9875
|
+
UNION ALL
|
9876
|
+
SELECT sql
|
9877
|
+
FROM sqlite_temp_master
|
9878
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
9879
|
+
[0m
|
9880
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_payola_sales_on_guid" ON "payola_sales" ("guid")
|
9881
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9882
|
+
FROM sqlite_master
|
9883
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
9884
|
+
UNION ALL
|
9885
|
+
SELECT sql
|
9886
|
+
FROM sqlite_temp_master
|
9887
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
9888
|
+
[0m
|
9889
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9890
|
+
FROM sqlite_master
|
9891
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
9892
|
+
UNION ALL
|
9893
|
+
SELECT sql
|
9894
|
+
FROM sqlite_temp_master
|
9895
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
9896
|
+
|
9897
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9898
|
+
FROM sqlite_master
|
9899
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
9900
|
+
UNION ALL
|
9901
|
+
SELECT sql
|
9902
|
+
FROM sqlite_temp_master
|
9903
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
9904
|
+
[0m
|
9905
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_payola_sales_on_product" ON "payola_sales" ("product_id", "product_type")
|
9906
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9907
|
+
FROM sqlite_master
|
9908
|
+
WHERE name='index_payola_sales_on_product' AND type='index'
|
9909
|
+
UNION ALL
|
9910
|
+
SELECT sql
|
9911
|
+
FROM sqlite_temp_master
|
9912
|
+
WHERE name='index_payola_sales_on_product' AND type='index'
|
9913
|
+
[0m
|
9914
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9915
|
+
FROM sqlite_master
|
9916
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
9917
|
+
UNION ALL
|
9918
|
+
SELECT sql
|
9919
|
+
FROM sqlite_temp_master
|
9920
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
9921
|
+
|
9922
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9923
|
+
FROM sqlite_master
|
9924
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
9925
|
+
UNION ALL
|
9926
|
+
SELECT sql
|
9927
|
+
FROM sqlite_temp_master
|
9928
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
9929
|
+
[0m
|
9930
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9931
|
+
FROM sqlite_master
|
9932
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
9933
|
+
UNION ALL
|
9934
|
+
SELECT sql
|
9935
|
+
FROM sqlite_temp_master
|
9936
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
9937
|
+
|
9938
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_payola_sales_on_stripe_customer_id" ON "payola_sales" ("stripe_customer_id")[0m
|
9939
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "payola_stripe_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "created_at" datetime, "updated_at" datetime)
|
9940
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "price" integer, "created_at" datetime, "updated_at" datetime) [0m
|
9941
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
9942
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9943
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
9944
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141002203725')[0m
|
9945
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141001230848')
|
9946
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141001170138')[0m
|
9947
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141001203541')
|
9948
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141002013618')[0m
|
9949
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141002013701')
|
9950
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9952
|
+
[1m[36mProduct Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-1' LIMIT 1[0m
|
9953
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9954
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9955
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'f' LIMIT 1
|
9956
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9957
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9958
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-2' LIMIT 1[0m
|
9959
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9960
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9961
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9963
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9964
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9965
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9966
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-4' LIMIT 1[0m
|
9967
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.367806"], ["name", "Foo"], ["permalink", "foo-4"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.367806"]]
|
9968
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9969
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
9970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9971
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9972
|
+
[1m[36mProduct Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-5' LIMIT 1[0m
|
9973
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.400529"], ["name", "Foo"], ["permalink", "foo-5"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.400529"]]
|
9974
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9975
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9976
|
+
[1m[36mPayola::Affiliate Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_affiliates" WHERE "payola_affiliates"."code" = 'MyString' LIMIT 1[0m
|
9977
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "payola_affiliates" ("code", "created_at", "email", "percent", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "MyString"], ["created_at", "2014-10-05 21:36:07.410131"], ["email", "foo@example.com"], ["percent", 100], ["updated_at", "2014-10-05 21:36:07.410131"]]
|
9978
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9979
|
+
[1m[35mPayola::Affiliate Load (0.1ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE "payola_affiliates"."id" = ? LIMIT 1 [["id", 1]]
|
9980
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
9981
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9982
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9983
|
+
[1m[35mProduct Exists (0.2ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-6' LIMIT 1
|
9984
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.457250"], ["name", "Foo"], ["permalink", "foo-6"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.457250"]]
|
9985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9986
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9987
|
+
[1m[35mPayola::Coupon Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_coupons" WHERE "payola_coupons"."code" = 'MyString' LIMIT 1
|
9988
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "payola_coupons" ("code", "created_at", "percent_off", "updated_at") VALUES (?, ?, ?, ?)[0m [["code", "MyString"], ["created_at", "2014-10-05 21:36:07.468930"], ["percent_off", 1], ["updated_at", "2014-10-05 21:36:07.468930"]]
|
9989
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9990
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
9991
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9992
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9993
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-7' LIMIT 1
|
9994
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.475026"], ["name", "Foo"], ["permalink", "foo-7"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.475026"]]
|
9995
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9996
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9997
|
+
[1m[35mPayola::Coupon Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_coupons" WHERE "payola_coupons"."code" = 'MyString' LIMIT 1
|
9998
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "payola_coupons" ("code", "created_at", "percent_off", "updated_at") VALUES (?, ?, ?, ?)[0m [["code", "MyString"], ["created_at", "2014-10-05 21:36:07.476837"], ["percent_off", 1], ["updated_at", "2014-10-05 21:36:07.476837"]]
|
9999
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10000
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
10001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10002
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10003
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10004
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10006
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10007
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10008
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10010
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10013
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-8' LIMIT 1
|
10014
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.486993"], ["name", "Foo"], ["permalink", "foo-8"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.486993"]]
|
10015
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10016
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10017
|
+
[1m[35mPayola::Sale Exists (0.2ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10018
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10019
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'avrr4' LIMIT 1
|
10020
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.491934"], ["email", "test@example.com"], ["guid", "avrr4"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:07.491934"]]
|
10021
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10022
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10023
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'avrr4' AND "payola_sales"."id" != 1) LIMIT 1
|
10024
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10025
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10026
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'avrr4' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10027
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1 [["card_expiration", "2013-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 0], ["stripe_customer_id", "test_cus_1"], ["stripe_id", "test_ch_3"], ["updated_at", "2014-10-05 21:36:07.497411"]]
|
10028
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10030
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1[0m
|
10031
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10032
|
+
[1m[36mPayola::Sale Load (0.1ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10033
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10036
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-9' LIMIT 1[0m
|
10037
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.507813"], ["name", "Foo"], ["permalink", "foo-9"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.507813"]]
|
10038
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10039
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10040
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10041
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10042
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'qihv62' LIMIT 1[0m
|
10043
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.510330"], ["email", "test@example.com"], ["guid", "qihv62"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:07.510330"]]
|
10044
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10045
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10046
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'qihv62' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10047
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10048
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10049
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'qihv62' AND "payola_sales"."id" != 1) LIMIT 1
|
10050
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1[0m [["card_expiration", "2013-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 0], ["stripe_customer_id", "test_cus_1"], ["stripe_id", "test_ch_3"], ["updated_at", "2014-10-05 21:36:07.514045"]]
|
10051
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10053
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1
|
10054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10055
|
+
[1m[35mPayola::Sale Load (0.0ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1 [["id", 1]]
|
10056
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
10057
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10058
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10059
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-10' LIMIT 1
|
10060
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.519632"], ["name", "Foo"], ["permalink", "foo-10"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.519632"]]
|
10061
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10062
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10063
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10064
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10065
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'g7kdvn' LIMIT 1
|
10066
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.522436"], ["email", "test@example.com"], ["guid", "g7kdvn"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:07.522436"]]
|
10067
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10068
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10069
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'g7kdvn' AND "payola_sales"."id" != 1) LIMIT 1
|
10070
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10071
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10072
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'g7kdvn' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10073
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1 [["card_expiration", "2013-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 0], ["stripe_customer_id", "test_cus_1"], ["stripe_id", "test_ch_3"], ["updated_at", "2014-10-05 21:36:07.526913"]]
|
10074
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10075
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10076
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1[0m
|
10077
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10078
|
+
[1m[36mPayola::Sale Load (0.0ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10079
|
+
[1m[35mPayola::Sale Load (0.0ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1 [["id", 1]]
|
10080
|
+
[1m[36mPayola::Sale Load (0.0ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10081
|
+
[1m[35mPayola::Sale Load (0.0ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1 [["id", 1]]
|
10082
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
10083
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10085
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-11' LIMIT 1
|
10086
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.533984"], ["name", "Foo"], ["permalink", "foo-11"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.533984"]]
|
10087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10088
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10089
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10090
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10091
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'i3c9h5' LIMIT 1
|
10092
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.536682"], ["email", "test@example.com"], ["guid", "i3c9h5"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:07.536682"]]
|
10093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10095
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'i3c9h5' AND "payola_sales"."id" != 1) LIMIT 1
|
10096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10097
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10098
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'i3c9h5' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10099
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "error" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1 [["error", "The card was declined"], ["updated_at", "2014-10-05 21:36:07.540176"]]
|
10100
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10101
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10102
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'errored' WHERE "payola_sales"."id" = 1[0m
|
10103
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10104
|
+
[1m[36mPayola::Sale Load (0.1ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10105
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
10106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10107
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10108
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10109
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10110
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10111
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10112
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10114
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10115
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10117
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10118
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10119
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10121
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10122
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-12' LIMIT 1[0m
|
10123
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.556163"], ["name", "Foo"], ["permalink", "foo-12"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.556163"]]
|
10124
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10125
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10126
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10127
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10128
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'b2ta8n' LIMIT 1[0m
|
10129
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.558854"], ["email", "test@example.com"], ["guid", "b2ta8n"], ["product_id", 1], ["product_type", "Product"], ["state", "pending"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:07.558854"]]
|
10130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10131
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'b2ta8n' AND "payola_sales"."id" != 1) LIMIT 1
|
10132
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10133
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-13' LIMIT 1
|
10134
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.561730"], ["name", "Foo"], ["permalink", "foo-13"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.561730"]]
|
10135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10136
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'b2ta8n' LIMIT 1[0m
|
10137
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10138
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10139
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10140
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-14' LIMIT 1[0m
|
10141
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.567197"], ["name", "Foo"], ["permalink", "foo-14"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.567197"]]
|
10142
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10143
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10144
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10145
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10146
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '9vtjkc' LIMIT 1[0m
|
10147
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.570343"], ["email", "test@example.com"], ["guid", "9vtjkc"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:07.570343"]]
|
10148
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10150
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1[0m
|
10151
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10152
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
10153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10154
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10155
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-15' LIMIT 1
|
10156
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.576108"], ["name", "Foo"], ["permalink", "foo-15"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.576108"]]
|
10157
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10158
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10159
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10160
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10161
|
+
[1m[35mPayola::Sale Exists (0.2ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'oge5t7' LIMIT 1
|
10162
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.579567"], ["email", "test@example.com"], ["guid", "oge5t7"], ["product_id", 1], ["product_type", "Product"], ["state", "pending"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:07.579567"]]
|
10163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10164
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10165
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'processing' WHERE "payola_sales"."id" = 1
|
10166
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10167
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10168
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10170
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-16' LIMIT 1[0m
|
10171
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.586632"], ["name", "Foo"], ["permalink", "foo-16"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.586632"]]
|
10172
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10174
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10175
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10176
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'jrkg0h' LIMIT 1[0m
|
10177
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.590122"], ["email", "test@example.com"], ["guid", "jrkg0h"], ["product_id", 1], ["product_type", "Product"], ["state", "finished"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:07.590122"]]
|
10178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10179
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10180
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'refunded' WHERE "payola_sales"."id" = 1[0m
|
10181
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10182
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
10183
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10184
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10185
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-17' LIMIT 1
|
10186
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.596623"], ["name", "Foo"], ["permalink", "foo-17"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.596623"]]
|
10187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10188
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10189
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10191
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10192
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10194
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10195
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-18' LIMIT 1
|
10196
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.603952"], ["name", "Foo"], ["permalink", "foo-18"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.603952"]]
|
10197
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10198
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10199
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10201
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10202
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-19' LIMIT 1[0m
|
10203
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:07.609001"], ["name", "Foo"], ["permalink", "foo-19"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.609001"]]
|
10204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10205
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10206
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
10207
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10208
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10209
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-20' LIMIT 1
|
10210
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.613868"], ["name", "Foo"], ["permalink", "foo-20"], ["price", 100], ["updated_at", "2014-10-05 21:36:07.613868"]]
|
10211
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10213
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10214
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10215
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '776h98' LIMIT 1
|
10216
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.616597"], ["email", "test@example.com"], ["guid", "776h98"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:07.616597"]]
|
10217
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10218
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10219
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'errored' WHERE "payola_sales"."id" = 1
|
10220
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10221
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10223
|
+
[1m[35mPayola::StripeWebhook Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_stripe_webhooks" WHERE "payola_stripe_webhooks"."stripe_id" = 'test_id' LIMIT 1
|
10224
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10225
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10226
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10227
|
+
[1m[35mPayola::StripeWebhook Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_stripe_webhooks" WHERE "payola_stripe_webhooks"."stripe_id" = 'test_id' LIMIT 1
|
10228
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "payola_stripe_webhooks" ("created_at", "stripe_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-10-05 21:36:07.627080"], ["stripe_id", "test_id"], ["updated_at", "2014-10-05 21:36:07.627080"]]
|
10229
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10230
|
+
[1m[36mPayola::StripeWebhook Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_stripe_webhooks" WHERE "payola_stripe_webhooks"."stripe_id" = 'test_id' LIMIT 1[0m
|
10231
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10233
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10235
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10236
|
+
[1m[36m (3.1ms)[0m [1mCREATE TABLE "payola_affiliates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "email" varchar(255), "percent" integer, "created_at" datetime, "updated_at" datetime) [0m
|
10237
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "payola_coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "percent_off" integer, "created_at" datetime, "updated_at" datetime)
|
10238
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "payola_sales" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "guid" varchar(255), "product_id" integer, "product_type" varchar(255), "created_at" datetime, "updated_at" datetime, "state" varchar(255), "stripe_id" varchar(255), "stripe_token" varchar(255), "card_last4" varchar(255), "card_expiration" date, "card_type" varchar(255), "error" text, "amount" integer, "fee_amount" integer, "coupon_id" integer, "opt_in" boolean, "download_count" integer, "affiliate_id" integer, "customer_address" text, "business_address" text, "stripe_customer_id" varchar(255)) [0m
|
10239
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
10240
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_payola_sales_on_coupon_id" ON "payola_sales" ("coupon_id")[0m
|
10241
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
10242
|
+
FROM sqlite_master
|
10243
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10244
|
+
UNION ALL
|
10245
|
+
SELECT sql
|
10246
|
+
FROM sqlite_temp_master
|
10247
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10248
|
+
|
10249
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_payola_sales_on_email" ON "payola_sales" ("email")[0m
|
10250
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10251
|
+
FROM sqlite_master
|
10252
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10253
|
+
UNION ALL
|
10254
|
+
SELECT sql
|
10255
|
+
FROM sqlite_temp_master
|
10256
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10257
|
+
|
10258
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10259
|
+
FROM sqlite_master
|
10260
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10261
|
+
UNION ALL
|
10262
|
+
SELECT sql
|
10263
|
+
FROM sqlite_temp_master
|
10264
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10265
|
+
[0m
|
10266
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_payola_sales_on_guid" ON "payola_sales" ("guid")
|
10267
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10268
|
+
FROM sqlite_master
|
10269
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
10270
|
+
UNION ALL
|
10271
|
+
SELECT sql
|
10272
|
+
FROM sqlite_temp_master
|
10273
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
10274
|
+
[0m
|
10275
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10276
|
+
FROM sqlite_master
|
10277
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10278
|
+
UNION ALL
|
10279
|
+
SELECT sql
|
10280
|
+
FROM sqlite_temp_master
|
10281
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10282
|
+
|
10283
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10284
|
+
FROM sqlite_master
|
10285
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10286
|
+
UNION ALL
|
10287
|
+
SELECT sql
|
10288
|
+
FROM sqlite_temp_master
|
10289
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10290
|
+
[0m
|
10291
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_payola_sales_on_product" ON "payola_sales" ("product_id", "product_type")
|
10292
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10293
|
+
FROM sqlite_master
|
10294
|
+
WHERE name='index_payola_sales_on_product' AND type='index'
|
10295
|
+
UNION ALL
|
10296
|
+
SELECT sql
|
10297
|
+
FROM sqlite_temp_master
|
10298
|
+
WHERE name='index_payola_sales_on_product' AND type='index'
|
10299
|
+
[0m
|
10300
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10301
|
+
FROM sqlite_master
|
10302
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
10303
|
+
UNION ALL
|
10304
|
+
SELECT sql
|
10305
|
+
FROM sqlite_temp_master
|
10306
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
10307
|
+
|
10308
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10309
|
+
FROM sqlite_master
|
10310
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10311
|
+
UNION ALL
|
10312
|
+
SELECT sql
|
10313
|
+
FROM sqlite_temp_master
|
10314
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10315
|
+
[0m
|
10316
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10317
|
+
FROM sqlite_master
|
10318
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10319
|
+
UNION ALL
|
10320
|
+
SELECT sql
|
10321
|
+
FROM sqlite_temp_master
|
10322
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10323
|
+
|
10324
|
+
[1m[36m (18.4ms)[0m [1mCREATE INDEX "index_payola_sales_on_stripe_customer_id" ON "payola_sales" ("stripe_customer_id")[0m
|
10325
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "payola_stripe_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "created_at" datetime, "updated_at" datetime)
|
10326
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "price" integer, "created_at" datetime, "updated_at" datetime) [0m
|
10327
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
10328
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
10329
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
10330
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141002203725')[0m
|
10331
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141001230848')
|
10332
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141001170138')[0m
|
10333
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141001203541')
|
10334
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141002013618')[0m
|
10335
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141002013701')
|
10336
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10337
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10338
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10339
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-1' LIMIT 1
|
10340
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.198789"], ["name", "Foo"], ["permalink", "foo-1"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.198789"]]
|
10341
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10342
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
10343
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10344
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10345
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-2' LIMIT 1
|
10346
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.272179"], ["name", "Foo"], ["permalink", "foo-2"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.272179"]]
|
10347
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10348
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10349
|
+
[1m[35mPayola::Affiliate Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_affiliates" WHERE "payola_affiliates"."code" = 'MyString' LIMIT 1
|
10350
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "payola_affiliates" ("code", "created_at", "email", "percent", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["code", "MyString"], ["created_at", "2014-10-05 21:36:41.281174"], ["email", "foo@example.com"], ["percent", 100], ["updated_at", "2014-10-05 21:36:41.281174"]]
|
10351
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10352
|
+
[1m[36mPayola::Affiliate Load (0.1ms)[0m [1mSELECT "payola_affiliates".* FROM "payola_affiliates" WHERE "payola_affiliates"."id" = ? LIMIT 1[0m [["id", 1]]
|
10353
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10355
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10356
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-3' LIMIT 1[0m
|
10357
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.290410"], ["name", "Foo"], ["permalink", "foo-3"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.290410"]]
|
10358
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10359
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10360
|
+
[1m[36mPayola::Coupon Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_coupons" WHERE "payola_coupons"."code" = 'MyString' LIMIT 1[0m
|
10361
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "payola_coupons" ("code", "created_at", "percent_off", "updated_at") VALUES (?, ?, ?, ?) [["code", "MyString"], ["created_at", "2014-10-05 21:36:41.297988"], ["percent_off", 1], ["updated_at", "2014-10-05 21:36:41.297988"]]
|
10362
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10363
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
10364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10365
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10366
|
+
[1m[36mProduct Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-4' LIMIT 1[0m
|
10367
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.308109"], ["name", "Foo"], ["permalink", "foo-4"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.308109"]]
|
10368
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10369
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10370
|
+
[1m[36mPayola::Coupon Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_coupons" WHERE "payola_coupons"."code" = 'MyString' LIMIT 1[0m
|
10371
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "payola_coupons" ("code", "created_at", "percent_off", "updated_at") VALUES (?, ?, ?, ?) [["code", "MyString"], ["created_at", "2014-10-05 21:36:41.310229"], ["percent_off", 1], ["updated_at", "2014-10-05 21:36:41.310229"]]
|
10372
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10373
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10375
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10376
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10377
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10378
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10379
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10380
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-5' LIMIT 1[0m
|
10381
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.316472"], ["name", "Foo"], ["permalink", "foo-5"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.316472"]]
|
10382
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10383
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10384
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10385
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10386
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '2sbg9d' LIMIT 1[0m
|
10387
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.320015"], ["email", "test@example.com"], ["guid", "2sbg9d"], ["product_id", 1], ["product_type", "Product"], ["state", "pending"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:41.320015"]]
|
10388
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10389
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = '2sbg9d' AND "payola_sales"."id" != 1) LIMIT 1
|
10390
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10391
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-6' LIMIT 1
|
10392
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.326153"], ["name", "Foo"], ["permalink", "foo-6"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.326153"]]
|
10393
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10394
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '2sbg9d' LIMIT 1[0m
|
10395
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
10396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10397
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10398
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-7' LIMIT 1[0m
|
10399
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.336115"], ["name", "Foo"], ["permalink", "foo-7"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.336115"]]
|
10400
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10401
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10402
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10403
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10404
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'a66216' LIMIT 1[0m
|
10405
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.338815"], ["email", "test@example.com"], ["guid", "a66216"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:41.338815"]]
|
10406
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10407
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10408
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1[0m
|
10409
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10410
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
10411
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10412
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10413
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-8' LIMIT 1
|
10414
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.349247"], ["name", "Foo"], ["permalink", "foo-8"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.349247"]]
|
10415
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10416
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10417
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10418
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10419
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '8q7232' LIMIT 1
|
10420
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.351989"], ["email", "test@example.com"], ["guid", "8q7232"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:41.351989"]]
|
10421
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10422
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10423
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'errored' WHERE "payola_sales"."id" = 1
|
10424
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10425
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10426
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10427
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10428
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-9' LIMIT 1[0m
|
10429
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.395258"], ["name", "Foo"], ["permalink", "foo-9"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.395258"]]
|
10430
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10431
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10432
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
10433
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10434
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10435
|
+
[1m[35mProduct Exists (0.2ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-10' LIMIT 1
|
10436
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.400258"], ["name", "Foo"], ["permalink", "foo-10"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.400258"]]
|
10437
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10438
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10439
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10440
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10441
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10442
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-11' LIMIT 1[0m
|
10443
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.405788"], ["name", "Foo"], ["permalink", "foo-11"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.405788"]]
|
10444
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10445
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10446
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
10447
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10448
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10449
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10450
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10452
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-12' LIMIT 1[0m
|
10453
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.413994"], ["name", "Foo"], ["permalink", "foo-12"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.413994"]]
|
10454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10455
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10456
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10457
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10458
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'p5r7t0' LIMIT 1[0m
|
10459
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.416588"], ["email", "test@example.com"], ["guid", "p5r7t0"], ["product_id", 1], ["product_type", "Product"], ["state", "finished"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:41.416588"]]
|
10460
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10461
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10462
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "payola_sales" SET "state" = 'refunded' WHERE "payola_sales"."id" = 1[0m
|
10463
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10464
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
10465
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10466
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10467
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-13' LIMIT 1
|
10468
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.422762"], ["name", "Foo"], ["permalink", "foo-13"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.422762"]]
|
10469
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10470
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10471
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10472
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10473
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'i1qdqa' LIMIT 1
|
10474
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.425340"], ["email", "test@example.com"], ["guid", "i1qdqa"], ["product_id", 1], ["product_type", "Product"], ["state", "pending"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:41.425340"]]
|
10475
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10476
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10477
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'processing' WHERE "payola_sales"."id" = 1
|
10478
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10479
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
10480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10481
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-14' LIMIT 1
|
10482
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10483
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10484
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'f' LIMIT 1[0m
|
10485
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10486
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10487
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-15' LIMIT 1
|
10488
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10489
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10490
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10491
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10492
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10494
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10495
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10496
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10497
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10498
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10499
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10500
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10501
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10502
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10504
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10505
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-17' LIMIT 1
|
10506
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.445821"], ["name", "Foo"], ["permalink", "foo-17"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.445821"]]
|
10507
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10508
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10509
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10510
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10511
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '1alo8d' LIMIT 1
|
10512
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.448364"], ["email", "test@example.com"], ["guid", "1alo8d"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:41.448364"]]
|
10513
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10515
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = '1alo8d' AND "payola_sales"."id" != 1) LIMIT 1
|
10516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10517
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10518
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = '1alo8d' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10519
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1 [["card_expiration", "2013-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 0], ["stripe_customer_id", "test_cus_1"], ["stripe_id", "test_ch_3"], ["updated_at", "2014-10-05 21:36:41.452531"]]
|
10520
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10521
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10522
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1[0m
|
10523
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10524
|
+
[1m[36mPayola::Sale Load (0.1ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10525
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10526
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10527
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10528
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-18' LIMIT 1[0m
|
10529
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.459897"], ["name", "Foo"], ["permalink", "foo-18"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.459897"]]
|
10530
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10532
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10533
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10534
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'mt56q8' LIMIT 1[0m
|
10535
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:36:41.463435"], ["email", "test@example.com"], ["guid", "mt56q8"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:41.463435"]]
|
10536
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10537
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10538
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'mt56q8' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10539
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10540
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10541
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'mt56q8' AND "payola_sales"."id" != 1) LIMIT 1
|
10542
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1[0m [["card_expiration", "2013-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 0], ["stripe_customer_id", "test_cus_1"], ["stripe_id", "test_ch_3"], ["updated_at", "2014-10-05 21:36:41.467426"]]
|
10543
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10544
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10545
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1
|
10546
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10547
|
+
[1m[35mPayola::Sale Load (0.0ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1 [["id", 1]]
|
10548
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
10549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10550
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10551
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-19' LIMIT 1
|
10552
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.472856"], ["name", "Foo"], ["permalink", "foo-19"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.472856"]]
|
10553
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10554
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10555
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10556
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10557
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'e7olcj' LIMIT 1
|
10558
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.475403"], ["email", "test@example.com"], ["guid", "e7olcj"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:41.475403"]]
|
10559
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10560
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10561
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'e7olcj' AND "payola_sales"."id" != 1) LIMIT 1
|
10562
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10563
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10564
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'e7olcj' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10565
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1 [["card_expiration", "2013-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 0], ["stripe_customer_id", "test_cus_1"], ["stripe_id", "test_ch_3"], ["updated_at", "2014-10-05 21:36:41.479010"]]
|
10566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10568
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1[0m
|
10569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10570
|
+
[1m[36mPayola::Sale Load (0.0ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10571
|
+
[1m[35mPayola::Sale Load (0.0ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1 [["id", 1]]
|
10572
|
+
[1m[36mPayola::Sale Load (0.0ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10573
|
+
[1m[35mPayola::Sale Load (0.0ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1 [["id", 1]]
|
10574
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
10575
|
+
[1m[35m (0.2ms)[0m begin transaction
|
10576
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10577
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-20' LIMIT 1
|
10578
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.486619"], ["name", "Foo"], ["permalink", "foo-20"], ["price", 100], ["updated_at", "2014-10-05 21:36:41.486619"]]
|
10579
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10580
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10581
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10582
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10583
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'iubp9b' LIMIT 1
|
10584
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.489193"], ["email", "test@example.com"], ["guid", "iubp9b"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:36:41.489193"]]
|
10585
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10586
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10587
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'iubp9b' AND "payola_sales"."id" != 1) LIMIT 1
|
10588
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10589
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10590
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'iubp9b' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10591
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "error" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1 [["error", "The card was declined"], ["updated_at", "2014-10-05 21:36:41.492609"]]
|
10592
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10593
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10594
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'errored' WHERE "payola_sales"."id" = 1[0m
|
10595
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10596
|
+
[1m[36mPayola::Sale Load (0.0ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10597
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
10598
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10599
|
+
[1m[35mPayola::StripeWebhook Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_stripe_webhooks" WHERE "payola_stripe_webhooks"."stripe_id" = 'test_id' LIMIT 1
|
10600
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10601
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10603
|
+
[1m[35mPayola::StripeWebhook Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_stripe_webhooks" WHERE "payola_stripe_webhooks"."stripe_id" = 'test_id' LIMIT 1
|
10604
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "payola_stripe_webhooks" ("created_at", "stripe_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-10-05 21:36:41.502361"], ["stripe_id", "test_id"], ["updated_at", "2014-10-05 21:36:41.502361"]]
|
10605
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10606
|
+
[1m[36mPayola::StripeWebhook Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_stripe_webhooks" WHERE "payola_stripe_webhooks"."stripe_id" = 'test_id' LIMIT 1[0m
|
10607
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10609
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10610
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10611
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10612
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10613
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10614
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10615
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10616
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10617
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10618
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10619
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10620
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "payola_affiliates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "email" varchar(255), "percent" integer, "created_at" datetime, "updated_at" datetime) [0m
|
10621
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "payola_coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "percent_off" integer, "created_at" datetime, "updated_at" datetime)
|
10622
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "payola_sales" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "guid" varchar(255), "product_id" integer, "product_type" varchar(255), "created_at" datetime, "updated_at" datetime, "state" varchar(255), "stripe_id" varchar(255), "stripe_token" varchar(255), "card_last4" varchar(255), "card_expiration" date, "card_type" varchar(255), "error" text, "amount" integer, "fee_amount" integer, "coupon_id" integer, "opt_in" boolean, "download_count" integer, "affiliate_id" integer, "customer_address" text, "business_address" text, "stripe_customer_id" varchar(255)) [0m
|
10623
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
10624
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_payola_sales_on_coupon_id" ON "payola_sales" ("coupon_id")[0m
|
10625
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10626
|
+
FROM sqlite_master
|
10627
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10628
|
+
UNION ALL
|
10629
|
+
SELECT sql
|
10630
|
+
FROM sqlite_temp_master
|
10631
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10632
|
+
|
10633
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_payola_sales_on_email" ON "payola_sales" ("email")[0m
|
10634
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10635
|
+
FROM sqlite_master
|
10636
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10637
|
+
UNION ALL
|
10638
|
+
SELECT sql
|
10639
|
+
FROM sqlite_temp_master
|
10640
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10641
|
+
|
10642
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10643
|
+
FROM sqlite_master
|
10644
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10645
|
+
UNION ALL
|
10646
|
+
SELECT sql
|
10647
|
+
FROM sqlite_temp_master
|
10648
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10649
|
+
[0m
|
10650
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_payola_sales_on_guid" ON "payola_sales" ("guid")
|
10651
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10652
|
+
FROM sqlite_master
|
10653
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
10654
|
+
UNION ALL
|
10655
|
+
SELECT sql
|
10656
|
+
FROM sqlite_temp_master
|
10657
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
10658
|
+
[0m
|
10659
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10660
|
+
FROM sqlite_master
|
10661
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10662
|
+
UNION ALL
|
10663
|
+
SELECT sql
|
10664
|
+
FROM sqlite_temp_master
|
10665
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10666
|
+
|
10667
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10668
|
+
FROM sqlite_master
|
10669
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10670
|
+
UNION ALL
|
10671
|
+
SELECT sql
|
10672
|
+
FROM sqlite_temp_master
|
10673
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10674
|
+
[0m
|
10675
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_payola_sales_on_product" ON "payola_sales" ("product_id", "product_type")
|
10676
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10677
|
+
FROM sqlite_master
|
10678
|
+
WHERE name='index_payola_sales_on_product' AND type='index'
|
10679
|
+
UNION ALL
|
10680
|
+
SELECT sql
|
10681
|
+
FROM sqlite_temp_master
|
10682
|
+
WHERE name='index_payola_sales_on_product' AND type='index'
|
10683
|
+
[0m
|
10684
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10685
|
+
FROM sqlite_master
|
10686
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
10687
|
+
UNION ALL
|
10688
|
+
SELECT sql
|
10689
|
+
FROM sqlite_temp_master
|
10690
|
+
WHERE name='index_payola_sales_on_guid' AND type='index'
|
10691
|
+
|
10692
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10693
|
+
FROM sqlite_master
|
10694
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10695
|
+
UNION ALL
|
10696
|
+
SELECT sql
|
10697
|
+
FROM sqlite_temp_master
|
10698
|
+
WHERE name='index_payola_sales_on_email' AND type='index'
|
10699
|
+
[0m
|
10700
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10701
|
+
FROM sqlite_master
|
10702
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10703
|
+
UNION ALL
|
10704
|
+
SELECT sql
|
10705
|
+
FROM sqlite_temp_master
|
10706
|
+
WHERE name='index_payola_sales_on_coupon_id' AND type='index'
|
10707
|
+
|
10708
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_payola_sales_on_stripe_customer_id" ON "payola_sales" ("stripe_customer_id")[0m
|
10709
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "payola_stripe_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stripe_id" varchar(255), "created_at" datetime, "updated_at" datetime)
|
10710
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "price" integer, "created_at" datetime, "updated_at" datetime) [0m
|
10711
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
10712
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
10713
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
10714
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141002203725')[0m
|
10715
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141001230848')
|
10716
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141001170138')[0m
|
10717
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141001203541')
|
10718
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141002013618')[0m
|
10719
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141002013701')
|
10720
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10721
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10722
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10724
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10725
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10726
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10727
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-1' LIMIT 1
|
10728
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.368573"], ["name", "Foo"], ["permalink", "foo-1"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.368573"]]
|
10729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10730
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10731
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10732
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10733
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'j9qo2o' LIMIT 1
|
10734
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.382872"], ["email", "test@example.com"], ["guid", "j9qo2o"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:47:52.382872"]]
|
10735
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10737
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'j9qo2o' AND "payola_sales"."id" != 1) LIMIT 1
|
10738
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10740
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'j9qo2o' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10741
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1 [["card_expiration", "2013-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 0], ["stripe_customer_id", "test_cus_1"], ["stripe_id", "test_ch_3"], ["updated_at", "2014-10-05 21:47:52.389066"]]
|
10742
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10743
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10744
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1[0m
|
10745
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10746
|
+
[1m[36mPayola::Sale Load (0.1ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10747
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
10748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10749
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10750
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-2' LIMIT 1[0m
|
10751
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.402496"], ["name", "Foo"], ["permalink", "foo-2"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.402496"]]
|
10752
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10753
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10754
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10755
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10756
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'k884ug' LIMIT 1[0m
|
10757
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.405129"], ["email", "test@example.com"], ["guid", "k884ug"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:47:52.405129"]]
|
10758
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10759
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10760
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'k884ug' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10761
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10762
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10763
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'k884ug' AND "payola_sales"."id" != 1) LIMIT 1
|
10764
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1[0m [["card_expiration", "2013-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 0], ["stripe_customer_id", "test_cus_1"], ["stripe_id", "test_ch_3"], ["updated_at", "2014-10-05 21:47:52.408826"]]
|
10765
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10766
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10767
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1
|
10768
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10769
|
+
[1m[35mPayola::Sale Load (0.0ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1 [["id", 1]]
|
10770
|
+
[1m[36mPayola::Sale Load (0.0ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10771
|
+
[1m[35mPayola::Sale Load (0.0ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1 [["id", 1]]
|
10772
|
+
[1m[36mPayola::Sale Load (0.0ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10773
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10774
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10775
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10776
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-3' LIMIT 1[0m
|
10777
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.415090"], ["name", "Foo"], ["permalink", "foo-3"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.415090"]]
|
10778
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10779
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10780
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10781
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10782
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'af4u2o' LIMIT 1[0m
|
10783
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.417892"], ["email", "test@example.com"], ["guid", "af4u2o"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:47:52.417892"]]
|
10784
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10785
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10786
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'af4u2o' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10787
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10789
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'af4u2o' AND "payola_sales"."id" != 1) LIMIT 1
|
10790
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1[0m [["card_expiration", "2013-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 0], ["stripe_customer_id", "test_cus_1"], ["stripe_id", "test_ch_3"], ["updated_at", "2014-10-05 21:47:52.421732"]]
|
10791
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10792
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10793
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1
|
10794
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10795
|
+
[1m[35mPayola::Sale Load (0.0ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1 [["id", 1]]
|
10796
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
10797
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10798
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10799
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-4' LIMIT 1
|
10800
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.429006"], ["name", "Foo"], ["permalink", "foo-4"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.429006"]]
|
10801
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10802
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10803
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10804
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10805
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '256q6d' LIMIT 1
|
10806
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.432535"], ["email", "test@example.com"], ["guid", "256q6d"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:47:52.432535"]]
|
10807
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10808
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10809
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = '256q6d' AND "payola_sales"."id" != 1) LIMIT 1
|
10810
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10811
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10812
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = '256q6d' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10813
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "error" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 1 [["error", "The card was declined"], ["updated_at", "2014-10-05 21:47:52.436458"]]
|
10814
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10815
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10816
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'errored' WHERE "payola_sales"."id" = 1[0m
|
10817
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10818
|
+
[1m[36mPayola::Sale Load (0.0ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."id" = ? LIMIT 1[0m [["id", 1]]
|
10819
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
10820
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10821
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10823
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10824
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10825
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10826
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10827
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10828
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10829
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10830
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10831
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-5' LIMIT 1
|
10832
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10833
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10834
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-6' LIMIT 1[0m
|
10835
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10836
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10837
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'f' LIMIT 1
|
10838
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10839
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10840
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10841
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10842
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10843
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10844
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10845
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-8' LIMIT 1
|
10846
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.504953"], ["name", "Foo"], ["permalink", "foo-8"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.504953"]]
|
10847
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10848
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10849
|
+
[1m[35mPayola::Affiliate Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_affiliates" WHERE "payola_affiliates"."code" = 'MyString' LIMIT 1
|
10850
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_affiliates" ("code", "created_at", "email", "percent", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["code", "MyString"], ["created_at", "2014-10-05 21:47:52.512898"], ["email", "foo@example.com"], ["percent", 100], ["updated_at", "2014-10-05 21:47:52.512898"]]
|
10851
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10852
|
+
[1m[36mPayola::Affiliate Load (0.2ms)[0m [1mSELECT "payola_affiliates".* FROM "payola_affiliates" WHERE "payola_affiliates"."id" = ? LIMIT 1[0m [["id", 1]]
|
10853
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
10854
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10855
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10856
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-9' LIMIT 1[0m
|
10857
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.523309"], ["name", "Foo"], ["permalink", "foo-9"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.523309"]]
|
10858
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10859
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10861
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10862
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-10' LIMIT 1[0m
|
10863
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.526990"], ["name", "Foo"], ["permalink", "foo-10"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.526990"]]
|
10864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10865
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10866
|
+
[1m[36mPayola::Coupon Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_coupons" WHERE "payola_coupons"."code" = 'MyString' LIMIT 1[0m
|
10867
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_coupons" ("code", "created_at", "percent_off", "updated_at") VALUES (?, ?, ?, ?) [["code", "MyString"], ["created_at", "2014-10-05 21:47:52.534900"], ["percent_off", 1], ["updated_at", "2014-10-05 21:47:52.534900"]]
|
10868
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10869
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10870
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10871
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10872
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-11' LIMIT 1[0m
|
10873
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.540954"], ["name", "Foo"], ["permalink", "foo-11"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.540954"]]
|
10874
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10875
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10876
|
+
[1m[36mPayola::Coupon Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_coupons" WHERE "payola_coupons"."code" = 'MyString' LIMIT 1[0m
|
10877
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_coupons" ("code", "created_at", "percent_off", "updated_at") VALUES (?, ?, ?, ?) [["code", "MyString"], ["created_at", "2014-10-05 21:47:52.542903"], ["percent_off", 1], ["updated_at", "2014-10-05 21:47:52.542903"]]
|
10878
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10879
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10880
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10881
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
10882
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10883
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10884
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10885
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10886
|
+
[1m[36mPayola::StripeWebhook Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_stripe_webhooks" WHERE "payola_stripe_webhooks"."stripe_id" = 'test_id' LIMIT 1[0m
|
10887
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "payola_stripe_webhooks" ("created_at", "stripe_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-05 21:47:52.553738"], ["stripe_id", "test_id"], ["updated_at", "2014-10-05 21:47:52.553738"]]
|
10888
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10889
|
+
[1m[35mPayola::StripeWebhook Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_stripe_webhooks" WHERE "payola_stripe_webhooks"."stripe_id" = 'test_id' LIMIT 1
|
10890
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
10891
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10892
|
+
[1m[36mPayola::StripeWebhook Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "payola_stripe_webhooks" WHERE "payola_stripe_webhooks"."stripe_id" = 'test_id' LIMIT 1[0m
|
10893
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10895
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10896
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-12' LIMIT 1[0m
|
10897
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.564211"], ["name", "Foo"], ["permalink", "foo-12"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.564211"]]
|
10898
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10900
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10901
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10902
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'n28rhu' LIMIT 1[0m
|
10903
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.567352"], ["email", "test@example.com"], ["guid", "n28rhu"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:47:52.567352"]]
|
10904
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10905
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10906
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 1[0m
|
10907
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10908
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
10909
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10910
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10911
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-13' LIMIT 1
|
10912
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.573469"], ["name", "Foo"], ["permalink", "foo-13"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.573469"]]
|
10913
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10914
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10915
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10916
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10917
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '3unt6s' LIMIT 1
|
10918
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.576107"], ["email", "test@example.com"], ["guid", "3unt6s"], ["product_id", 1], ["product_type", "Product"], ["state", "pending"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:47:52.576107"]]
|
10919
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10920
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = '3unt6s' AND "payola_sales"."id" != 1) LIMIT 1[0m
|
10921
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10922
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-14' LIMIT 1[0m
|
10923
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.579437"], ["name", "Foo"], ["permalink", "foo-14"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.579437"]]
|
10924
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10925
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '3unt6s' LIMIT 1
|
10926
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
10927
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10928
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10929
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-15' LIMIT 1
|
10930
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.585378"], ["name", "Foo"], ["permalink", "foo-15"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.585378"]]
|
10931
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10932
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10933
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10934
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10935
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'etgrrr' LIMIT 1
|
10936
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.588325"], ["email", "test@example.com"], ["guid", "etgrrr"], ["product_id", 1], ["product_type", "Product"], ["state", "pending"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:47:52.588325"]]
|
10937
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10938
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10939
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'processing' WHERE "payola_sales"."id" = 1
|
10940
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10941
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10943
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10944
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-16' LIMIT 1[0m
|
10945
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.593310"], ["name", "Foo"], ["permalink", "foo-16"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.593310"]]
|
10946
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10947
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10948
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10949
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10950
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '61c175' LIMIT 1[0m
|
10951
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.595822"], ["email", "test@example.com"], ["guid", "61c175"], ["product_id", 1], ["product_type", "Product"], ["state", "processing"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:47:52.595822"]]
|
10952
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10953
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10954
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'errored' WHERE "payola_sales"."id" = 1[0m
|
10955
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10956
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
10957
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10958
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10959
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-17' LIMIT 1
|
10960
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.602032"], ["name", "Foo"], ["permalink", "foo-17"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.602032"]]
|
10961
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10962
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10963
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10964
|
+
[1m[36mPayola::Sale Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10965
|
+
[1m[35mPayola::Sale Exists (0.0ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = '89e9e6' LIMIT 1
|
10966
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payola_sales" ("created_at", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.604595"], ["email", "test@example.com"], ["guid", "89e9e6"], ["product_id", 1], ["product_type", "Product"], ["state", "finished"], ["stripe_token", "tok_test"], ["updated_at", "2014-10-05 21:47:52.604595"]]
|
10967
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10968
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10969
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_sales" SET "state" = 'refunded' WHERE "payola_sales"."id" = 1
|
10970
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10971
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10972
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10973
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10974
|
+
[1m[36mProduct Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-18' LIMIT 1[0m
|
10975
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-05 21:47:52.610562"], ["name", "Foo"], ["permalink", "foo-18"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.610562"]]
|
10976
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10977
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10978
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
10979
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10980
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10981
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-19' LIMIT 1
|
10982
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.616117"], ["name", "Foo"], ["permalink", "foo-19"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.616117"]]
|
10983
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10984
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10985
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10986
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10987
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
10988
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10989
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10990
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10991
|
+
[1m[35mProduct Exists (0.1ms)[0m SELECT 1 AS one FROM "products" WHERE "products"."permalink" = 'foo-20' LIMIT 1
|
10992
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "permalink", "price", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-10-05 21:47:52.624873"], ["name", "Foo"], ["permalink", "foo-20"], ["price", 100], ["updated_at", "2014-10-05 21:47:52.624873"]]
|
10993
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10994
|
+
[1m[36mPayola::Sale Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
10995
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10996
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10997
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10998
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10999
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11000
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11001
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11002
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11003
|
+
[1m[35m (0.0ms)[0m rollback transaction
|