payola-payments 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/payola/form.js +7 -3
- data/app/assets/javascripts/payola/subscription_form_onestep.js +77 -0
- data/app/assets/javascripts/payola/{subscription_form.js → subscription_form_twostep.js} +8 -4
- data/app/controllers/concerns/payola/async_behavior.rb +4 -6
- data/app/controllers/concerns/payola/status_behavior.rb +17 -0
- data/app/controllers/payola/subscriptions_controller.rb +2 -1
- data/app/controllers/payola/transactions_controller.rb +1 -0
- data/app/services/payola/create_subscription.rb +11 -3
- data/app/services/payola/start_subscription.rb +2 -2
- data/db/migrate/20141122020755_add_setup_fee_to_payola_subscriptions.rb +5 -0
- data/lib/payola/version.rb +1 -1
- data/spec/controllers/payola/subscriptions_controller_spec.rb +10 -2
- data/spec/controllers/payola/transactions_controller_spec.rb +8 -0
- data/spec/dummy/app/controllers/subscribe_controller.rb +7 -0
- data/spec/dummy/config/routes.rb +1 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +2 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1606 -0
- data/spec/dummy/log/test.log +39964 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0e585aeb88c1555ae8f5292f7c7a9068 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5afa4bc970e0bc781b3500c696ba25ff +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/607dfde9c98ca72f323d73f9584a5a19 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/664efeb51d1b486dcfc30d142db56f3c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/68a3bbdc64a0729b5896fa1e33fce4b1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/725492e0b3449a4859968127df6613cd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/96b1ccdc193a02b2bbea195310262fa5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b20dab973e971c61bc7e334a38453ae0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b83da90cb58011313e13a97a4a41cb6e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bdeec88bc14928f7a03444e1d2efac62 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c0b954b40f2881a6d286061bc069643e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d3f4b67cc032016dfeebc71f2148b9dc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d9856638a3c7b9cfd9d1b884e3b33982 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ef82c31948061751bb026663b54484e1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f0b5d4bea0c6cdd1904e1e9a0a45532f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/payola_spec.rb +0 -6
- data/spec/services/payola/create_subscription_spec.rb +4 -28
- data/spec/spec_helper.rb +11 -0
- metadata +12 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b22da0af6dd975621942e21d8cbb0c53d9313b7
|
4
|
+
data.tar.gz: 0f417cc9ddcdc23fc2cb9b3a7a930489269ba320
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3cca9d9ff83f689ef48d576c8c13469f0770c3f4b8da64b99a0a7751c688bb7add4de4bf042678bf4a8b88d44e66a9c933dfdb0586af49247dcc9261be34fac
|
7
|
+
data.tar.gz: e18f346ba5cb2a0ba01399535b9ad32f413c5afce3ea93a75754b57c42627449fb83b9df3db9c32722c113eeec524fb75bd2c3b76a53d48a05f60e651e1f28f9
|
@@ -17,7 +17,6 @@ var PayolaPaymentForm = {
|
|
17
17
|
stripeResponseHandler: function(form, status, response) {
|
18
18
|
if (response.error) {
|
19
19
|
PayolaPaymentForm.showError(form, response.error.message);
|
20
|
-
form.find(':submit').prop('disabled', false);
|
21
20
|
} else {
|
22
21
|
var email = form.find("[data-payola='email']").val();
|
23
22
|
|
@@ -28,7 +27,7 @@ var PayolaPaymentForm = {
|
|
28
27
|
var data_form = $('<form></form>');
|
29
28
|
data_form.append($('<input type="hidden" name="stripeToken">').val(response.id));
|
30
29
|
data_form.append($('<input type="hidden" name="stripeEmail">').val(email));
|
31
|
-
data_form.append(
|
30
|
+
data_form.append(PayolaPaymentForm.authenticityTokenInput());
|
32
31
|
|
33
32
|
$.ajax({
|
34
33
|
type: "POST",
|
@@ -47,7 +46,7 @@ var PayolaPaymentForm = {
|
|
47
46
|
$.get(base_path + '/status/' + guid, function(data) {
|
48
47
|
if (data.status === "finished") {
|
49
48
|
form.append($('<input type="hidden" name="payola_sale_guid"></input>').val(guid));
|
50
|
-
form.append(
|
49
|
+
form.append(PayolaPaymentForm.authenticityTokenInput());
|
51
50
|
form.get(0).submit();
|
52
51
|
} else if (data.status === "errored") {
|
53
52
|
PayolaPaymentForm.showError(form, data.error);
|
@@ -59,12 +58,17 @@ var PayolaPaymentForm = {
|
|
59
58
|
|
60
59
|
showError: function(form, message) {
|
61
60
|
$('.payola-spinner').hide();
|
61
|
+
form.find(':submit').prop('disabled', false);
|
62
62
|
var error_selector = form.data('payola-error-selector');
|
63
63
|
if (error_selector) {
|
64
64
|
$(error_selector).text(message);
|
65
65
|
} else {
|
66
66
|
form.find('.payola-payment-error').text(message);
|
67
67
|
}
|
68
|
+
},
|
69
|
+
|
70
|
+
authenticityTokenInput: function() {
|
71
|
+
return $('<input type="hidden" name="authenticity_token"></input>').val($('meta[name="csrf-token"]').attr("content"))
|
68
72
|
}
|
69
73
|
};
|
70
74
|
|
@@ -0,0 +1,77 @@
|
|
1
|
+
var PayolaOnestepSubscriptionForm = {
|
2
|
+
initialize: function() {
|
3
|
+
$(document).on('submit', '.payola-onestep-subscription-form', function() {
|
4
|
+
return PayolaOnestepSubscriptionForm.handleSubmit($(this));
|
5
|
+
});
|
6
|
+
},
|
7
|
+
|
8
|
+
handleSubmit: function(form) {
|
9
|
+
$(':submit').prop('disabled', true);
|
10
|
+
$('.payola-spinner').show();
|
11
|
+
Stripe.card.createToken(form, function(status, response) {
|
12
|
+
PayolaOnestepSubscriptionForm.stripeResponseHandler(form, status, response);
|
13
|
+
});
|
14
|
+
return false;
|
15
|
+
},
|
16
|
+
|
17
|
+
stripeResponseHandler: function(form, status, response) {
|
18
|
+
if (response.error) {
|
19
|
+
PayolaOnestepSubscriptionForm.showError(form, response.error.message);
|
20
|
+
} else {
|
21
|
+
var email = form.find("[data-payola='email']").val();
|
22
|
+
var coupon = form.find("[data-payola='coupon']").val();
|
23
|
+
|
24
|
+
var base_path = form.data('payola-base-path');
|
25
|
+
var plan_type = form.data('payola-plan-type');
|
26
|
+
var plan_id = form.data('payola-plan-id');
|
27
|
+
|
28
|
+
form.append($('<input type="hidden" name="plan_type">').val(plan_type));
|
29
|
+
form.append($('<input type="hidden" name="plan_id">').val(plan_id));
|
30
|
+
form.append($('<input type="hidden" name="stripeToken">').val(response.id));
|
31
|
+
form.append($('<input type="hidden" name="stripeEmail">').val(email));
|
32
|
+
form.append($('<input type="hidden" name="coupon">').val(coupon));
|
33
|
+
form.append(PayolaOnestepSubscriptionForm.authenticityTokenInput());
|
34
|
+
$.ajax({
|
35
|
+
type: "POST",
|
36
|
+
url: form.action,
|
37
|
+
data: form.serialize(),
|
38
|
+
success: function(data) { PayolaOnestepSubscriptionForm.poll(form, 60, data.guid, base_path); },
|
39
|
+
error: function(data) { PayolaOnestepSubscriptionForm.showError(form, data.responseJSON.error); }
|
40
|
+
});
|
41
|
+
}
|
42
|
+
},
|
43
|
+
|
44
|
+
poll: function(form, num_retries_left, guid, base_path) {
|
45
|
+
if (num_retries_left === 0) {
|
46
|
+
PayolaOnestepSubscriptionForm.showError(form, "This seems to be taking too long. Please contact support and give them transaction ID: " + guid);
|
47
|
+
}
|
48
|
+
$.get(base_path + '/subscription_status/' + guid, function(data) {
|
49
|
+
if (data.status === "active") {
|
50
|
+
window.location = base_path + '/confirm_subscription/' + guid;
|
51
|
+
} else if (data.status === "errored") {
|
52
|
+
PayolaOnestepSubscriptionForm.showError(form, data.error);
|
53
|
+
} else {
|
54
|
+
setTimeout(function() { PayolaOnestepSubscriptionForm.poll(form, num_retries_left - 1, guid, base_path); }, 500);
|
55
|
+
}
|
56
|
+
});
|
57
|
+
},
|
58
|
+
|
59
|
+
showError: function(form, message) {
|
60
|
+
$('.payola-spinner').hide();
|
61
|
+
$(':submit').prop('disabled', false);
|
62
|
+
var error_selector = form.data('payola-error-selector');
|
63
|
+
if (error_selector) {
|
64
|
+
$(error_selector).text(message);
|
65
|
+
$(error_selector).show();
|
66
|
+
} else {
|
67
|
+
form.find('.payola-payment-error').text(message);
|
68
|
+
form.find('.payola-payment-error').show();
|
69
|
+
}
|
70
|
+
},
|
71
|
+
|
72
|
+
authenticityTokenInput: function() {
|
73
|
+
return $('<input type="hidden" name="authenticity_token"></input>').val($('meta[name="csrf-token"]').attr("content"));
|
74
|
+
}
|
75
|
+
};
|
76
|
+
|
77
|
+
$(function() { PayolaOnestepSubscriptionForm.initialize() } );
|
@@ -17,7 +17,6 @@ var PayolaSubscriptionForm = {
|
|
17
17
|
stripeResponseHandler: function(form, status, response) {
|
18
18
|
if (response.error) {
|
19
19
|
PayolaSubscriptionForm.showError(form, response.error.message);
|
20
|
-
$(':submit').prop('disabled', false);
|
21
20
|
} else {
|
22
21
|
var email = form.find("[data-payola='email']").val();
|
23
22
|
var coupon = form.find("[data-payola='coupon']").val();
|
@@ -30,7 +29,7 @@ var PayolaSubscriptionForm = {
|
|
30
29
|
data_form.append($('<input type="hidden" name="stripeToken">').val(response.id));
|
31
30
|
data_form.append($('<input type="hidden" name="stripeEmail">').val(email));
|
32
31
|
data_form.append($('<input type="hidden" name="coupon">').val(coupon));
|
33
|
-
data_form.append(
|
32
|
+
data_form.append(PayolaSubscriptionForm.authenticityTokenInput());
|
34
33
|
$.ajax({
|
35
34
|
type: "POST",
|
36
35
|
url: base_path + "/subscribe/" + plan_type + "/" + plan_id,
|
@@ -48,7 +47,7 @@ var PayolaSubscriptionForm = {
|
|
48
47
|
$.get(base_path + '/subscription_status/' + guid, function(data) {
|
49
48
|
if (data.status === "active") {
|
50
49
|
form.append($('<input type="hidden" name="payola_subscription_guid"></input>').val(guid));
|
51
|
-
form.append(
|
50
|
+
form.append(PayolaSubscriptionForm.authenticityTokenInput());
|
52
51
|
form.get(0).submit();
|
53
52
|
} else if (data.status === "errored") {
|
54
53
|
PayolaSubscriptionForm.showError(form, data.error);
|
@@ -60,6 +59,7 @@ var PayolaSubscriptionForm = {
|
|
60
59
|
|
61
60
|
showError: function(form, message) {
|
62
61
|
$('.payola-spinner').hide();
|
62
|
+
$(':submit').prop('disabled', false);
|
63
63
|
var error_selector = form.data('payola-error-selector');
|
64
64
|
if (error_selector) {
|
65
65
|
$(error_selector).text(message);
|
@@ -68,7 +68,11 @@ var PayolaSubscriptionForm = {
|
|
68
68
|
form.find('.payola-payment-error').text(message);
|
69
69
|
form.find('.payola-payment-error').show();
|
70
70
|
}
|
71
|
+
},
|
72
|
+
|
73
|
+
authenticityTokenInput: function() {
|
74
|
+
return $('<input type="hidden" name="authenticity_token"></input>').val($('meta[name="csrf-token"]').attr("content"));
|
71
75
|
}
|
72
76
|
};
|
73
77
|
|
74
|
-
$(function() { PayolaSubscriptionForm.initialize()
|
78
|
+
$(function() { PayolaSubscriptionForm.initialize() } );
|
@@ -12,8 +12,7 @@ module Payola
|
|
12
12
|
|
13
13
|
def object_status(object_class)
|
14
14
|
object = object_class.find_by(guid: params[:guid])
|
15
|
-
|
16
|
-
render json: {guid: object.guid, status: object.state, error: object.error}
|
15
|
+
render_payola_status(object)
|
17
16
|
end
|
18
17
|
|
19
18
|
def create_object(object_class, object_creator_class, object_processor_class, product_key, product)
|
@@ -25,12 +24,11 @@ module Payola
|
|
25
24
|
|
26
25
|
object = object_creator_class.call(create_params)
|
27
26
|
|
28
|
-
if object.save
|
27
|
+
if object.save && object_processor_class.present?
|
29
28
|
Payola.queue!(object_processor_class, object.guid)
|
30
|
-
render json: { guid: object.guid }
|
31
|
-
else
|
32
|
-
render json: { error: object.errors.full_messages.join(". ") }, status: 400
|
33
29
|
end
|
30
|
+
|
31
|
+
render_payola_status(object)
|
34
32
|
end
|
35
33
|
end
|
36
34
|
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Payola
|
2
|
+
module StatusBehavior
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
5
|
+
def render_payola_status(object)
|
6
|
+
render nothing: true, status: 404 and return unless object
|
7
|
+
|
8
|
+
errors = ([object.error.presence] + object.errors.full_messages).compact.to_sentence
|
9
|
+
|
10
|
+
render json: {
|
11
|
+
guid: object.guid,
|
12
|
+
status: object.state,
|
13
|
+
error: errors.presence
|
14
|
+
}, status: errors.blank? ? 200 : 400
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -1,6 +1,7 @@
|
|
1
1
|
module Payola
|
2
2
|
class SubscriptionsController < ApplicationController
|
3
3
|
include Payola::AffiliateBehavior
|
4
|
+
include Payola::StatusBehavior
|
4
5
|
include Payola::AsyncBehavior
|
5
6
|
|
6
7
|
before_filter :find_plan_and_coupon, only: [:create, :change_plan]
|
@@ -15,7 +16,7 @@ module Payola
|
|
15
16
|
end
|
16
17
|
|
17
18
|
def create
|
18
|
-
create_object(Subscription, CreateSubscription,
|
19
|
+
create_object(Subscription, CreateSubscription, nil, :plan, @plan)
|
19
20
|
end
|
20
21
|
|
21
22
|
def destroy
|
@@ -1,20 +1,28 @@
|
|
1
1
|
module Payola
|
2
2
|
class CreateSubscription
|
3
|
-
def self.call(params)
|
3
|
+
def self.call(params, owner=nil)
|
4
4
|
plan = params[:plan]
|
5
5
|
affiliate = params[:affiliate]
|
6
6
|
|
7
|
-
Payola::Subscription.new do |s|
|
7
|
+
sub = Payola::Subscription.new do |s|
|
8
8
|
s.plan = plan
|
9
9
|
s.email = params[:stripeEmail]
|
10
10
|
s.stripe_token = params[:stripeToken]
|
11
11
|
s.affiliate_id = affiliate.try(:id)
|
12
12
|
s.currency = plan.respond_to?(:currency) ? plan.currency : Payola.default_currency
|
13
13
|
s.coupon = params[:coupon]
|
14
|
-
|
14
|
+
s.signed_custom_fields = params[:signed_custom_fields]
|
15
|
+
s.setup_fee = params[:setup_fee]
|
15
16
|
|
17
|
+
s.owner = owner
|
16
18
|
s.amount = plan.amount
|
17
19
|
end
|
20
|
+
|
21
|
+
if sub.save
|
22
|
+
Payola.queue!(Payola::ProcessSubscription, sub.guid)
|
23
|
+
end
|
24
|
+
|
25
|
+
sub
|
18
26
|
end
|
19
27
|
end
|
20
28
|
end
|
@@ -13,6 +13,7 @@ module Payola
|
|
13
13
|
plan: subscription.plan.stripe_id,
|
14
14
|
}
|
15
15
|
create_params[:coupon] = subscription.coupon if subscription.coupon.present?
|
16
|
+
create_params[:account_balance] = subscription.setup_fee if subscription.setup_fee.present?
|
16
17
|
|
17
18
|
customer = Stripe::Customer.create(create_params, secret_key)
|
18
19
|
|
@@ -37,5 +38,4 @@ module Payola
|
|
37
38
|
end
|
38
39
|
|
39
40
|
end
|
40
|
-
end
|
41
|
-
|
41
|
+
end
|
data/lib/payola/version.rb
CHANGED
@@ -8,10 +8,15 @@ module Payola
|
|
8
8
|
end
|
9
9
|
|
10
10
|
describe '#create' do
|
11
|
-
it "should pass args to CreateSubscription
|
11
|
+
it "should pass args to CreateSubscription" do
|
12
12
|
subscription = double
|
13
13
|
subscription.should_receive(:save).and_return(true)
|
14
14
|
subscription.should_receive(:guid).at_least(1).times.and_return(1)
|
15
|
+
subscription.should_receive(:error).and_return(nil)
|
16
|
+
errors = double
|
17
|
+
errors.should_receive(:full_messages).and_return([])
|
18
|
+
subscription.should_receive(:errors).and_return(errors)
|
19
|
+
subscription.should_receive(:state).and_return('pending')
|
15
20
|
|
16
21
|
CreateSubscription.should_receive(:call).with(
|
17
22
|
'plan_class' => 'subscription_plan',
|
@@ -23,7 +28,6 @@ module Payola
|
|
23
28
|
'affiliate' => nil
|
24
29
|
).and_return(subscription)
|
25
30
|
|
26
|
-
Payola.should_receive(:queue!)
|
27
31
|
post :create, plan_class: @plan.plan_class, plan_id: @plan.id, use_route: :payola
|
28
32
|
|
29
33
|
expect(response.status).to eq 200
|
@@ -38,6 +42,10 @@ module Payola
|
|
38
42
|
error = double
|
39
43
|
error.should_receive(:full_messages).and_return(['done did broke'])
|
40
44
|
subscription.should_receive(:errors).and_return(error)
|
45
|
+
subscription.should_receive(:state).and_return('errored')
|
46
|
+
subscription.should_receive(:error).and_return('')
|
47
|
+
subscription.should_receive(:guid).and_return('blah')
|
48
|
+
|
41
49
|
|
42
50
|
CreateSubscription.should_receive(:call).and_return(subscription)
|
43
51
|
Payola.should_not_receive(:queue!)
|
@@ -10,6 +10,11 @@ module Payola
|
|
10
10
|
describe '#create' do
|
11
11
|
it "should pass args to CreateSale and queue the job" do
|
12
12
|
sale = double
|
13
|
+
errors = double
|
14
|
+
errors.should_receive(:full_messages).and_return([])
|
15
|
+
sale.should_receive(:state).and_return('pending')
|
16
|
+
sale.should_receive(:error).and_return(nil)
|
17
|
+
sale.should_receive(:errors).and_return(errors)
|
13
18
|
sale.should_receive(:save).and_return(true)
|
14
19
|
sale.should_receive(:guid).at_least(1).times.and_return('blah')
|
15
20
|
|
@@ -34,7 +39,10 @@ module Payola
|
|
34
39
|
describe "with an error" do
|
35
40
|
it "should return an error in json" do
|
36
41
|
sale = double
|
42
|
+
sale.should_receive(:error).and_return(nil)
|
37
43
|
sale.should_receive(:save).and_return(false)
|
44
|
+
sale.should_receive(:state).and_return('failed')
|
45
|
+
sale.should_receive(:guid).at_least(1).times.and_return('blah')
|
38
46
|
error = double
|
39
47
|
error.should_receive(:full_messages).and_return(['done did broke'])
|
40
48
|
sale.should_receive(:errors).and_return(error)
|
@@ -1,5 +1,6 @@
|
|
1
1
|
class SubscribeController < ApplicationController
|
2
2
|
helper Payola::PriceHelper
|
3
|
+
include Payola::StatusBehavior
|
3
4
|
|
4
5
|
def index
|
5
6
|
@plan = SubscriptionPlan.first
|
@@ -8,4 +9,10 @@ class SubscribeController < ApplicationController
|
|
8
9
|
def show
|
9
10
|
@subscription = Payola::Subscription.find_by!(guid: params[:guid])
|
10
11
|
end
|
12
|
+
|
13
|
+
def create
|
14
|
+
params[:plan] = SubscriptionPlan.first
|
15
|
+
subscription = Payola::CreateSubscription.call(params)
|
16
|
+
render_payola_status(subscription)
|
17
|
+
end
|
11
18
|
end
|
data/spec/dummy/config/routes.rb
CHANGED
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20141122020755) do
|
15
15
|
|
16
16
|
create_table "owners", force: true do |t|
|
17
17
|
t.datetime "created_at"
|
@@ -110,6 +110,7 @@ ActiveRecord::Schema.define(version: 20141120170744) do
|
|
110
110
|
t.text "signed_custom_fields"
|
111
111
|
t.text "customer_address"
|
112
112
|
t.text "business_address"
|
113
|
+
t.integer "setup_fee"
|
113
114
|
end
|
114
115
|
|
115
116
|
add_index "payola_subscriptions", ["guid"], name: "index_payola_subscriptions_on_guid"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -4604,3 +4604,1609 @@ Migrating to CreateSubscriptionPlanWithoutIntervalCounts (20141120170744)
|
|
4604
4604
|
FROM sqlite_temp_master
|
4605
4605
|
WHERE name='index_payola_subscriptions_on_guid' AND type='index'
|
4606
4606
|
[0m
|
4607
|
+
|
4608
|
+
|
4609
|
+
Started GET "/" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4610
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4611
|
+
Processing by HomeController#index as HTML
|
4612
|
+
Rendered home/index.html.erb within layouts/application (2.7ms)
|
4613
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.7ms)
|
4614
|
+
Completed 200 OK in 138ms (Views: 137.7ms | ActiveRecord: 0.0ms)
|
4615
|
+
|
4616
|
+
|
4617
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4618
|
+
|
4619
|
+
|
4620
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4621
|
+
|
4622
|
+
|
4623
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4624
|
+
|
4625
|
+
|
4626
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4627
|
+
|
4628
|
+
|
4629
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4630
|
+
|
4631
|
+
|
4632
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4633
|
+
|
4634
|
+
|
4635
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4636
|
+
|
4637
|
+
|
4638
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4639
|
+
|
4640
|
+
|
4641
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:13 -0500
|
4642
|
+
|
4643
|
+
|
4644
|
+
Started GET "/hmm/new" for 127.0.0.1 at 2014-11-21 18:20:16 -0500
|
4645
|
+
Processing by HmmController#new as HTML
|
4646
|
+
[1m[35mSubscriptionPlan Load (0.6ms)[0m SELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1
|
4647
|
+
Rendered hmm/new.html.erb within layouts/application (13.2ms)
|
4648
|
+
Completed 500 Internal Server Error in 16ms
|
4649
|
+
|
4650
|
+
ActionView::Template::Error (First argument in form cannot contain nil or be empty):
|
4651
|
+
1: <%= form_for SubscriptionPlan.first, url: '/hmm' do |f| %>
|
4652
|
+
2: <%= f.submit %>
|
4653
|
+
3: <% end %>
|
4654
|
+
app/views/hmm/new.html.erb:1:in `_app_views_hmm_new_html_erb___560673872852318278_70216458825980'
|
4655
|
+
|
4656
|
+
|
4657
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
4658
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
|
4659
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.6ms)
|
4660
|
+
|
4661
|
+
|
4662
|
+
Started GET "/hmm/new" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4663
|
+
Processing by HmmController#new as HTML
|
4664
|
+
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
4665
|
+
Rendered hmm/new.html.erb within layouts/application (30.0ms)
|
4666
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
4667
|
+
Completed 200 OK in 66ms (Views: 64.5ms | ActiveRecord: 0.9ms)
|
4668
|
+
|
4669
|
+
|
4670
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4671
|
+
|
4672
|
+
|
4673
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4674
|
+
|
4675
|
+
|
4676
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4677
|
+
|
4678
|
+
|
4679
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4680
|
+
|
4681
|
+
|
4682
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4683
|
+
|
4684
|
+
|
4685
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4686
|
+
|
4687
|
+
|
4688
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4689
|
+
|
4690
|
+
|
4691
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4692
|
+
|
4693
|
+
|
4694
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 18:20:40 -0500
|
4695
|
+
|
4696
|
+
|
4697
|
+
Started GET "/hmm/new" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4698
|
+
Processing by HmmController#new as HTML
|
4699
|
+
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
4700
|
+
Rendered hmm/new.html.erb within layouts/application (8.5ms)
|
4701
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
4702
|
+
Completed 200 OK in 51ms (Views: 50.2ms | ActiveRecord: 0.2ms)
|
4703
|
+
|
4704
|
+
|
4705
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4706
|
+
|
4707
|
+
|
4708
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4709
|
+
|
4710
|
+
|
4711
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4712
|
+
|
4713
|
+
|
4714
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4715
|
+
|
4716
|
+
|
4717
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4718
|
+
|
4719
|
+
|
4720
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4721
|
+
|
4722
|
+
|
4723
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4724
|
+
|
4725
|
+
|
4726
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4727
|
+
|
4728
|
+
|
4729
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:08 -0500
|
4730
|
+
|
4731
|
+
|
4732
|
+
Started PATCH "/hmm" for 127.0.0.1 at 2014-11-21 18:21:10 -0500
|
4733
|
+
|
4734
|
+
ActionController::RoutingError (No route matches [PATCH] "/hmm"):
|
4735
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
4736
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
4737
|
+
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
|
4738
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
|
4739
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
4740
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
4741
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
4742
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
|
4743
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
4744
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
4745
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
4746
|
+
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
4747
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
4748
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
|
4749
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
4750
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
4751
|
+
railties (4.1.6) lib/rails/application.rb:144:in `call'
|
4752
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
4753
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
4754
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
4755
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
4756
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
4757
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
4758
|
+
|
4759
|
+
|
4760
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
|
4761
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms)
|
4762
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
|
4763
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
|
4764
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.6ms)
|
4765
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (39.9ms)
|
4766
|
+
|
4767
|
+
|
4768
|
+
Started GET "/hmm/new" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4769
|
+
Processing by HmmController#new as HTML
|
4770
|
+
[1m[36mProduct Load (0.2ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
4771
|
+
Rendered hmm/new.html.erb within layouts/application (2.8ms)
|
4772
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
4773
|
+
Completed 200 OK in 46ms (Views: 45.2ms | ActiveRecord: 0.2ms)
|
4774
|
+
|
4775
|
+
|
4776
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4777
|
+
|
4778
|
+
|
4779
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4780
|
+
|
4781
|
+
|
4782
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4783
|
+
|
4784
|
+
|
4785
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4786
|
+
|
4787
|
+
|
4788
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4789
|
+
|
4790
|
+
|
4791
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4792
|
+
|
4793
|
+
|
4794
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4795
|
+
|
4796
|
+
|
4797
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4798
|
+
|
4799
|
+
|
4800
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:21 -0500
|
4801
|
+
|
4802
|
+
|
4803
|
+
Started POST "/hmm" for 127.0.0.1 at 2014-11-21 18:21:22 -0500
|
4804
|
+
Processing by HmmController#create as HTML
|
4805
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pmeohcfXt8LFtx6fFfyT+rS/4J9mBIyGrp6DsNEfi/w=", "commit"=>"Update Product"}
|
4806
|
+
Redirected to
|
4807
|
+
Completed 500 Internal Server Error in 43ms
|
4808
|
+
|
4809
|
+
NoMethodError (undefined method `new_url' for #<HmmController:0x007fb9142064b0>):
|
4810
|
+
app/controllers/hmm_controller.rb:6:in `create'
|
4811
|
+
|
4812
|
+
|
4813
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
|
4814
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
4815
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
4816
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.5ms)
|
4817
|
+
|
4818
|
+
|
4819
|
+
Started POST "/hmm" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4820
|
+
Processing by HmmController#create as HTML
|
4821
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pmeohcfXt8LFtx6fFfyT+rS/4J9mBIyGrp6DsNEfi/w=", "commit"=>"Update Product"}
|
4822
|
+
Redirected to http://localhost:3000/hmm/new
|
4823
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
4824
|
+
|
4825
|
+
|
4826
|
+
Started GET "/hmm/new" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4827
|
+
Processing by HmmController#new as HTML
|
4828
|
+
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
4829
|
+
Rendered hmm/new.html.erb within layouts/application (10.8ms)
|
4830
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
4831
|
+
Completed 200 OK in 48ms (Views: 46.2ms | ActiveRecord: 1.9ms)
|
4832
|
+
|
4833
|
+
|
4834
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4835
|
+
|
4836
|
+
|
4837
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4838
|
+
|
4839
|
+
|
4840
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4841
|
+
|
4842
|
+
|
4843
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4844
|
+
|
4845
|
+
|
4846
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4847
|
+
|
4848
|
+
|
4849
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4850
|
+
|
4851
|
+
|
4852
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4853
|
+
|
4854
|
+
|
4855
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4856
|
+
|
4857
|
+
|
4858
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:37 -0500
|
4859
|
+
|
4860
|
+
|
4861
|
+
Started POST "/hmm" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4862
|
+
Processing by HmmController#create as HTML
|
4863
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pmeohcfXt8LFtx6fFfyT+rS/4J9mBIyGrp6DsNEfi/w=", "commit"=>"Update Product"}
|
4864
|
+
Redirected to http://localhost:3000/hmm/new
|
4865
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
4866
|
+
|
4867
|
+
|
4868
|
+
Started GET "/hmm/new" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4869
|
+
Processing by HmmController#new as HTML
|
4870
|
+
[1m[36mProduct Load (0.1ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
4871
|
+
Rendered hmm/new.html.erb within layouts/application (1.7ms)
|
4872
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
4873
|
+
Completed 200 OK in 43ms (Views: 43.1ms | ActiveRecord: 0.1ms)
|
4874
|
+
|
4875
|
+
|
4876
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4877
|
+
|
4878
|
+
|
4879
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4880
|
+
|
4881
|
+
|
4882
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4883
|
+
|
4884
|
+
|
4885
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4886
|
+
|
4887
|
+
|
4888
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4889
|
+
|
4890
|
+
|
4891
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4892
|
+
|
4893
|
+
|
4894
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4895
|
+
|
4896
|
+
|
4897
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4898
|
+
|
4899
|
+
|
4900
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:38 -0500
|
4901
|
+
|
4902
|
+
|
4903
|
+
Started POST "/hmm" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4904
|
+
Processing by HmmController#create as HTML
|
4905
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pmeohcfXt8LFtx6fFfyT+rS/4J9mBIyGrp6DsNEfi/w=", "commit"=>"Update Product"}
|
4906
|
+
Redirected to http://localhost:3000/hmm/new
|
4907
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
4908
|
+
|
4909
|
+
|
4910
|
+
Started GET "/hmm/new" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4911
|
+
Processing by HmmController#new as HTML
|
4912
|
+
[1m[35mProduct Load (0.1ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
4913
|
+
Rendered hmm/new.html.erb within layouts/application (2.2ms)
|
4914
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.0ms)
|
4915
|
+
Completed 200 OK in 42ms (Views: 42.0ms | ActiveRecord: 0.1ms)
|
4916
|
+
|
4917
|
+
|
4918
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4919
|
+
|
4920
|
+
|
4921
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4922
|
+
|
4923
|
+
|
4924
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4925
|
+
|
4926
|
+
|
4927
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4928
|
+
|
4929
|
+
|
4930
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4931
|
+
|
4932
|
+
|
4933
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4934
|
+
|
4935
|
+
|
4936
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4937
|
+
|
4938
|
+
|
4939
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4940
|
+
|
4941
|
+
|
4942
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4943
|
+
|
4944
|
+
|
4945
|
+
Started POST "/hmm" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4946
|
+
Processing by HmmController#create as HTML
|
4947
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pmeohcfXt8LFtx6fFfyT+rS/4J9mBIyGrp6DsNEfi/w=", "commit"=>"Update Product"}
|
4948
|
+
Redirected to http://localhost:3000/hmm/new
|
4949
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
4950
|
+
|
4951
|
+
|
4952
|
+
Started GET "/hmm/new" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4953
|
+
Processing by HmmController#new as HTML
|
4954
|
+
[1m[36mProduct Load (0.1ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
4955
|
+
Rendered hmm/new.html.erb within layouts/application (1.6ms)
|
4956
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.0ms)
|
4957
|
+
Completed 200 OK in 39ms (Views: 38.4ms | ActiveRecord: 0.1ms)
|
4958
|
+
|
4959
|
+
|
4960
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4961
|
+
|
4962
|
+
|
4963
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4964
|
+
|
4965
|
+
|
4966
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4967
|
+
|
4968
|
+
|
4969
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4970
|
+
|
4971
|
+
|
4972
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4973
|
+
|
4974
|
+
|
4975
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4976
|
+
|
4977
|
+
|
4978
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4979
|
+
|
4980
|
+
|
4981
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4982
|
+
|
4983
|
+
|
4984
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 18:21:39 -0500
|
4985
|
+
|
4986
|
+
|
4987
|
+
Started GET "/" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
4988
|
+
Processing by HomeController#index as HTML
|
4989
|
+
Rendered home/index.html.erb within layouts/application (1.7ms)
|
4990
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.2ms)
|
4991
|
+
Completed 200 OK in 220ms (Views: 218.2ms | ActiveRecord: 0.0ms)
|
4992
|
+
|
4993
|
+
|
4994
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
4995
|
+
|
4996
|
+
|
4997
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
4998
|
+
|
4999
|
+
|
5000
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
5001
|
+
|
5002
|
+
|
5003
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
5004
|
+
|
5005
|
+
|
5006
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
5007
|
+
|
5008
|
+
|
5009
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
5010
|
+
|
5011
|
+
|
5012
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
5013
|
+
|
5014
|
+
|
5015
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
5016
|
+
|
5017
|
+
|
5018
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:24 -0500
|
5019
|
+
|
5020
|
+
|
5021
|
+
Started GET "/subscribe" for 127.0.0.1 at 2014-11-21 19:02:27 -0500
|
5022
|
+
Processing by SubscribeController#index as HTML
|
5023
|
+
[1m[35mSubscriptionPlan Load (0.6ms)[0m SELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1
|
5024
|
+
Rendered subscribe/index.html.erb within layouts/application (1.9ms)
|
5025
|
+
Completed 500 Internal Server Error in 16ms
|
5026
|
+
|
5027
|
+
ActionView::Template::Error (undefined method `plan_class' for nil:NilClass):
|
5028
|
+
2:
|
5029
|
+
3: <hr>
|
5030
|
+
4:
|
5031
|
+
5: <%= form_for @plan, url: '/', method: :post, html: { class: 'payola-subscription-form', 'data-payola-base-path' => '/subdir/payola', 'data-payola-plan-type' => @plan.plan_class, 'data-payola-plan-id' => @plan.id } do |f| %>
|
5032
|
+
6: <span class="payola-payment-error"></span>
|
5033
|
+
7: Email:<br>
|
5034
|
+
8: <input type="email" name="stripeEmail" data-payola="email"></input><br>
|
5035
|
+
app/views/subscribe/index.html.erb:5:in `_app_views_subscribe_index_html_erb___3860689752389464979_70216474829000'
|
5036
|
+
|
5037
|
+
|
5038
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
|
5039
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms)
|
5040
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.5ms)
|
5041
|
+
|
5042
|
+
|
5043
|
+
Started GET "/buy" for 127.0.0.1 at 2014-11-21 19:02:35 -0500
|
5044
|
+
Processing by BuyController#index as HTML
|
5045
|
+
[1m[36mProduct Load (0.2ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
5046
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (69.5ms)
|
5047
|
+
Rendered buy/index.html.erb within layouts/application (72.1ms)
|
5048
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5049
|
+
Completed 200 OK in 122ms (Views: 120.5ms | ActiveRecord: 0.6ms)
|
5050
|
+
|
5051
|
+
|
5052
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:02:35 -0500
|
5053
|
+
|
5054
|
+
|
5055
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:02:35 -0500
|
5056
|
+
|
5057
|
+
|
5058
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:35 -0500
|
5059
|
+
|
5060
|
+
|
5061
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:35 -0500
|
5062
|
+
|
5063
|
+
|
5064
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:35 -0500
|
5065
|
+
|
5066
|
+
|
5067
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:35 -0500
|
5068
|
+
|
5069
|
+
|
5070
|
+
Started POST "/" for 127.0.0.1 at 2014-11-21 19:02:51 -0500
|
5071
|
+
Processing by HomeController#index as HTML
|
5072
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pmeohcfXt8LFtx6fFfyT+rS/4J9mBIyGrp6DsNEfi/w=", "stripeEmail"=>"test@bugsplat.info"}
|
5073
|
+
Rendered home/index.html.erb within layouts/application (0.2ms)
|
5074
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5075
|
+
Completed 200 OK in 92ms (Views: 92.1ms | ActiveRecord: 0.0ms)
|
5076
|
+
|
5077
|
+
|
5078
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:02:51 -0500
|
5079
|
+
|
5080
|
+
|
5081
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:51 -0500
|
5082
|
+
|
5083
|
+
|
5084
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:51 -0500
|
5085
|
+
|
5086
|
+
|
5087
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:51 -0500
|
5088
|
+
|
5089
|
+
|
5090
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:51 -0500
|
5091
|
+
|
5092
|
+
|
5093
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:02:51 -0500
|
5094
|
+
|
5095
|
+
|
5096
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:51 -0500
|
5097
|
+
|
5098
|
+
|
5099
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:02:51 -0500
|
5100
|
+
|
5101
|
+
|
5102
|
+
Started GET "/buy" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5103
|
+
Processing by BuyController#index as HTML
|
5104
|
+
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
5105
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (4.0ms)
|
5106
|
+
Rendered buy/index.html.erb within layouts/application (6.7ms)
|
5107
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5108
|
+
Completed 200 OK in 123ms (Views: 121.8ms | ActiveRecord: 0.2ms)
|
5109
|
+
|
5110
|
+
|
5111
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5112
|
+
|
5113
|
+
|
5114
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5115
|
+
|
5116
|
+
|
5117
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5118
|
+
|
5119
|
+
|
5120
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5121
|
+
|
5122
|
+
|
5123
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5124
|
+
|
5125
|
+
|
5126
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5127
|
+
|
5128
|
+
|
5129
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5130
|
+
|
5131
|
+
|
5132
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5133
|
+
|
5134
|
+
|
5135
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:03:19 -0500
|
5136
|
+
|
5137
|
+
|
5138
|
+
Started GET "/buy" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5139
|
+
Processing by BuyController#index as HTML
|
5140
|
+
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
5141
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (4.0ms)
|
5142
|
+
Rendered buy/index.html.erb within layouts/application (6.9ms)
|
5143
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5144
|
+
Completed 200 OK in 172ms (Views: 170.8ms | ActiveRecord: 0.3ms)
|
5145
|
+
|
5146
|
+
|
5147
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5148
|
+
|
5149
|
+
|
5150
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5151
|
+
|
5152
|
+
|
5153
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5154
|
+
|
5155
|
+
|
5156
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5157
|
+
|
5158
|
+
|
5159
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5160
|
+
|
5161
|
+
|
5162
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5163
|
+
|
5164
|
+
|
5165
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5166
|
+
|
5167
|
+
|
5168
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5169
|
+
|
5170
|
+
|
5171
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:00 -0500
|
5172
|
+
|
5173
|
+
|
5174
|
+
Started GET "/buy" for 127.0.0.1 at 2014-11-21 19:04:02 -0500
|
5175
|
+
Processing by BuyController#index as HTML
|
5176
|
+
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
5177
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (2.6ms)
|
5178
|
+
Rendered buy/index.html.erb within layouts/application (4.6ms)
|
5179
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5180
|
+
Completed 200 OK in 66ms (Views: 65.0ms | ActiveRecord: 0.2ms)
|
5181
|
+
|
5182
|
+
|
5183
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:04:03 -0500
|
5184
|
+
|
5185
|
+
|
5186
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:04:03 -0500
|
5187
|
+
|
5188
|
+
|
5189
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:03 -0500
|
5190
|
+
|
5191
|
+
|
5192
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:03 -0500
|
5193
|
+
|
5194
|
+
|
5195
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:03 -0500
|
5196
|
+
|
5197
|
+
|
5198
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:03 -0500
|
5199
|
+
|
5200
|
+
|
5201
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:03 -0500
|
5202
|
+
|
5203
|
+
|
5204
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:03 -0500
|
5205
|
+
|
5206
|
+
|
5207
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:03 -0500
|
5208
|
+
|
5209
|
+
|
5210
|
+
Started POST "/subdir/payola/buy/product/foo" for 127.0.0.1 at 2014-11-21 19:04:19 -0500
|
5211
|
+
Processing by Payola::TransactionsController#create as */*
|
5212
|
+
Parameters: {"stripeToken"=>"tok_151RNuBYGTZJSjsO0fuFJ7Cc", "stripeEmail"=>"pete@bugsplat.inf", "product_class"=>"product", "permalink"=>"foo"}
|
5213
|
+
Can't verify CSRF token authenticity
|
5214
|
+
Completed 422 Unprocessable Entity in 2ms
|
5215
|
+
|
5216
|
+
ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
|
5217
|
+
actionpack (4.1.6) lib/action_controller/metal/request_forgery_protection.rb:176:in `handle_unverified_request'
|
5218
|
+
actionpack (4.1.6) lib/action_controller/metal/request_forgery_protection.rb:202:in `handle_unverified_request'
|
5219
|
+
actionpack (4.1.6) lib/action_controller/metal/request_forgery_protection.rb:197:in `verify_authenticity_token'
|
5220
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:424:in `block in make_lambda'
|
5221
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:160:in `call'
|
5222
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:160:in `block in halting'
|
5223
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
5224
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
5225
|
+
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
5226
|
+
actionpack (4.1.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5227
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
5228
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
|
5229
|
+
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5230
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
|
5231
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5232
|
+
actionpack (4.1.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5233
|
+
activerecord (4.1.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5234
|
+
actionpack (4.1.6) lib/abstract_controller/base.rb:136:in `process'
|
5235
|
+
actionview (4.1.6) lib/action_view/rendering.rb:30:in `process'
|
5236
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:196:in `dispatch'
|
5237
|
+
actionpack (4.1.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5238
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:232:in `block in action'
|
5239
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `call'
|
5240
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
|
5241
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:50:in `call'
|
5242
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
5243
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
|
5244
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
|
5245
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
5246
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
5247
|
+
railties (4.1.6) lib/rails/railtie.rb:194:in `public_send'
|
5248
|
+
railties (4.1.6) lib/rails/railtie.rb:194:in `method_missing'
|
5249
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
5250
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
|
5251
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
|
5252
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
5253
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5254
|
+
rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
|
5255
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5256
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5257
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
5258
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5259
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5260
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
5261
|
+
activerecord (4.1.6) lib/active_record/query_cache.rb:36:in `call'
|
5262
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
5263
|
+
activerecord (4.1.6) lib/active_record/migration.rb:380:in `call'
|
5264
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5265
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
5266
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5267
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
5268
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5269
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5270
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5271
|
+
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
|
5272
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
|
5273
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5274
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5275
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5276
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
|
5277
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5278
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5279
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5280
|
+
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
5281
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5282
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5283
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5284
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
5285
|
+
railties (4.1.6) lib/rails/application.rb:144:in `call'
|
5286
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5287
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5288
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5289
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
5290
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
5291
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
5292
|
+
|
5293
|
+
|
5294
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
|
5295
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms)
|
5296
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.0ms)
|
5297
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb (18.8ms)
|
5298
|
+
|
5299
|
+
|
5300
|
+
Started GET "/buy" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5301
|
+
Processing by BuyController#index as HTML
|
5302
|
+
[1m[36mProduct Load (0.2ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
5303
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (4.0ms)
|
5304
|
+
Rendered buy/index.html.erb within layouts/application (6.9ms)
|
5305
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5306
|
+
Completed 200 OK in 84ms (Views: 82.4ms | ActiveRecord: 0.2ms)
|
5307
|
+
|
5308
|
+
|
5309
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5310
|
+
|
5311
|
+
|
5312
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5313
|
+
|
5314
|
+
|
5315
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5316
|
+
|
5317
|
+
|
5318
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5319
|
+
|
5320
|
+
|
5321
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5322
|
+
|
5323
|
+
|
5324
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5325
|
+
|
5326
|
+
|
5327
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5328
|
+
|
5329
|
+
|
5330
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5331
|
+
|
5332
|
+
|
5333
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:32 -0500
|
5334
|
+
|
5335
|
+
|
5336
|
+
Started GET "/buy" for 127.0.0.1 at 2014-11-21 19:04:52 -0500
|
5337
|
+
Processing by BuyController#index as HTML
|
5338
|
+
[1m[35mProduct Load (0.2ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
5339
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (3.6ms)
|
5340
|
+
Rendered buy/index.html.erb within layouts/application (6.5ms)
|
5341
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.2ms)
|
5342
|
+
Completed 200 OK in 158ms (Views: 156.7ms | ActiveRecord: 0.2ms)
|
5343
|
+
|
5344
|
+
|
5345
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:04:53 -0500
|
5346
|
+
|
5347
|
+
|
5348
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:53 -0500
|
5349
|
+
|
5350
|
+
|
5351
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:53 -0500
|
5352
|
+
|
5353
|
+
|
5354
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:04:53 -0500
|
5355
|
+
|
5356
|
+
|
5357
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:53 -0500
|
5358
|
+
|
5359
|
+
|
5360
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:53 -0500
|
5361
|
+
|
5362
|
+
|
5363
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:53 -0500
|
5364
|
+
|
5365
|
+
|
5366
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:53 -0500
|
5367
|
+
|
5368
|
+
|
5369
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:04:53 -0500
|
5370
|
+
|
5371
|
+
|
5372
|
+
Started GET "/buy" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5373
|
+
Processing by BuyController#index as HTML
|
5374
|
+
[1m[36mProduct Load (0.2ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
5375
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (2.8ms)
|
5376
|
+
Rendered buy/index.html.erb within layouts/application (6.2ms)
|
5377
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5378
|
+
Completed 200 OK in 59ms (Views: 58.2ms | ActiveRecord: 0.2ms)
|
5379
|
+
|
5380
|
+
|
5381
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5382
|
+
|
5383
|
+
|
5384
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5385
|
+
|
5386
|
+
|
5387
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5388
|
+
|
5389
|
+
|
5390
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5391
|
+
|
5392
|
+
|
5393
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5394
|
+
|
5395
|
+
|
5396
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5397
|
+
|
5398
|
+
|
5399
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5400
|
+
|
5401
|
+
|
5402
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5403
|
+
|
5404
|
+
|
5405
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:05:14 -0500
|
5406
|
+
|
5407
|
+
|
5408
|
+
Started POST "/subdir/payola/buy/product/foo" for 127.0.0.1 at 2014-11-21 19:05:27 -0500
|
5409
|
+
Processing by Payola::TransactionsController#create as */*
|
5410
|
+
Parameters: {"stripeToken"=>"tok_151RP1BYGTZJSjsOUnMYcrbp", "stripeEmail"=>"pete@bugsplat.inf", "product_class"=>"product", "permalink"=>"foo"}
|
5411
|
+
Can't verify CSRF token authenticity
|
5412
|
+
Completed 422 Unprocessable Entity in 1ms
|
5413
|
+
|
5414
|
+
ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
|
5415
|
+
actionpack (4.1.6) lib/action_controller/metal/request_forgery_protection.rb:176:in `handle_unverified_request'
|
5416
|
+
actionpack (4.1.6) lib/action_controller/metal/request_forgery_protection.rb:202:in `handle_unverified_request'
|
5417
|
+
actionpack (4.1.6) lib/action_controller/metal/request_forgery_protection.rb:197:in `verify_authenticity_token'
|
5418
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:424:in `block in make_lambda'
|
5419
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:160:in `call'
|
5420
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:160:in `block in halting'
|
5421
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
5422
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
5423
|
+
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
5424
|
+
actionpack (4.1.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5425
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
5426
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
|
5427
|
+
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5428
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
|
5429
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5430
|
+
actionpack (4.1.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5431
|
+
activerecord (4.1.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5432
|
+
actionpack (4.1.6) lib/abstract_controller/base.rb:136:in `process'
|
5433
|
+
actionview (4.1.6) lib/action_view/rendering.rb:30:in `process'
|
5434
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:196:in `dispatch'
|
5435
|
+
actionpack (4.1.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5436
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:232:in `block in action'
|
5437
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `call'
|
5438
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
|
5439
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:50:in `call'
|
5440
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
5441
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
|
5442
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
|
5443
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
5444
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
5445
|
+
railties (4.1.6) lib/rails/railtie.rb:194:in `public_send'
|
5446
|
+
railties (4.1.6) lib/rails/railtie.rb:194:in `method_missing'
|
5447
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
5448
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
|
5449
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
|
5450
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
5451
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5452
|
+
rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
|
5453
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5454
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5455
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
5456
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5457
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5458
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
5459
|
+
activerecord (4.1.6) lib/active_record/query_cache.rb:36:in `call'
|
5460
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
5461
|
+
activerecord (4.1.6) lib/active_record/migration.rb:380:in `call'
|
5462
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5463
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
5464
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5465
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
5466
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5467
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5468
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5469
|
+
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
|
5470
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
|
5471
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5472
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5473
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5474
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
|
5475
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5476
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5477
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5478
|
+
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
5479
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5480
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5481
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5482
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
5483
|
+
railties (4.1.6) lib/rails/application.rb:144:in `call'
|
5484
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5485
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5486
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5487
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
5488
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
5489
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
5490
|
+
|
5491
|
+
|
5492
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms)
|
5493
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.9ms)
|
5494
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.0ms)
|
5495
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb (21.4ms)
|
5496
|
+
|
5497
|
+
|
5498
|
+
Started GET "/buy" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5499
|
+
Processing by BuyController#index as HTML
|
5500
|
+
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
|
5501
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (2.5ms)
|
5502
|
+
Rendered buy/index.html.erb within layouts/application (4.5ms)
|
5503
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5504
|
+
Completed 200 OK in 113ms (Views: 111.3ms | ActiveRecord: 0.3ms)
|
5505
|
+
|
5506
|
+
|
5507
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5508
|
+
|
5509
|
+
|
5510
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5511
|
+
|
5512
|
+
|
5513
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5514
|
+
|
5515
|
+
|
5516
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5517
|
+
|
5518
|
+
|
5519
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5520
|
+
|
5521
|
+
|
5522
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5523
|
+
|
5524
|
+
|
5525
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5526
|
+
|
5527
|
+
|
5528
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5529
|
+
|
5530
|
+
|
5531
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:09:57 -0500
|
5532
|
+
|
5533
|
+
|
5534
|
+
Started POST "/subdir/payola/buy/product/foo" for 127.0.0.1 at 2014-11-21 19:10:13 -0500
|
5535
|
+
Processing by Payola::TransactionsController#create as */*
|
5536
|
+
Parameters: {"stripeToken"=>"tok_151RTdBYGTZJSjsOONhGZr46", "stripeEmail"=>"pete@bugsplat.info", "product_class"=>"product", "permalink"=>"foo"}
|
5537
|
+
Can't verify CSRF token authenticity
|
5538
|
+
Completed 422 Unprocessable Entity in 1ms
|
5539
|
+
|
5540
|
+
ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
|
5541
|
+
actionpack (4.1.6) lib/action_controller/metal/request_forgery_protection.rb:176:in `handle_unverified_request'
|
5542
|
+
actionpack (4.1.6) lib/action_controller/metal/request_forgery_protection.rb:202:in `handle_unverified_request'
|
5543
|
+
actionpack (4.1.6) lib/action_controller/metal/request_forgery_protection.rb:197:in `verify_authenticity_token'
|
5544
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:424:in `block in make_lambda'
|
5545
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:160:in `call'
|
5546
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:160:in `block in halting'
|
5547
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
5548
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
5549
|
+
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
5550
|
+
actionpack (4.1.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5551
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
5552
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
|
5553
|
+
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5554
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
|
5555
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
5556
|
+
actionpack (4.1.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
5557
|
+
activerecord (4.1.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5558
|
+
actionpack (4.1.6) lib/abstract_controller/base.rb:136:in `process'
|
5559
|
+
actionview (4.1.6) lib/action_view/rendering.rb:30:in `process'
|
5560
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:196:in `dispatch'
|
5561
|
+
actionpack (4.1.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
5562
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:232:in `block in action'
|
5563
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `call'
|
5564
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
|
5565
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:50:in `call'
|
5566
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
5567
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
|
5568
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
|
5569
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
5570
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
5571
|
+
railties (4.1.6) lib/rails/railtie.rb:194:in `public_send'
|
5572
|
+
railties (4.1.6) lib/rails/railtie.rb:194:in `method_missing'
|
5573
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
5574
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
|
5575
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
|
5576
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
5577
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
5578
|
+
rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
|
5579
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
5580
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
5581
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
5582
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
5583
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
5584
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
5585
|
+
activerecord (4.1.6) lib/active_record/query_cache.rb:36:in `call'
|
5586
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
5587
|
+
activerecord (4.1.6) lib/active_record/migration.rb:380:in `call'
|
5588
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
5589
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
5590
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5591
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
5592
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
5593
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
5594
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5595
|
+
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
|
5596
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
|
5597
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5598
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5599
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5600
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
|
5601
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5602
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5603
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5604
|
+
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
5605
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5606
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5607
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5608
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
5609
|
+
railties (4.1.6) lib/rails/application.rb:144:in `call'
|
5610
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5611
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5612
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5613
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
5614
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
5615
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
5616
|
+
|
5617
|
+
|
5618
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
|
5619
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
|
5620
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.7ms)
|
5621
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb (13.8ms)
|
5622
|
+
|
5623
|
+
|
5624
|
+
Started GET "/buy" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5625
|
+
Processing by BuyController#index as HTML
|
5626
|
+
[1m[36mProduct Load (0.2ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1[0m
|
5627
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_checkout.html.erb (2.0ms)
|
5628
|
+
Rendered buy/index.html.erb within layouts/application (3.5ms)
|
5629
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5630
|
+
Completed 200 OK in 104ms (Views: 103.3ms | ActiveRecord: 0.2ms)
|
5631
|
+
|
5632
|
+
|
5633
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5634
|
+
|
5635
|
+
|
5636
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5637
|
+
|
5638
|
+
|
5639
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5640
|
+
|
5641
|
+
|
5642
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5643
|
+
|
5644
|
+
|
5645
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5646
|
+
|
5647
|
+
|
5648
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5649
|
+
|
5650
|
+
|
5651
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5652
|
+
|
5653
|
+
|
5654
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5655
|
+
|
5656
|
+
|
5657
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:37 -0500
|
5658
|
+
|
5659
|
+
|
5660
|
+
Started POST "/subdir/payola/buy/product/foo" for 127.0.0.1 at 2014-11-21 19:10:50 -0500
|
5661
|
+
Processing by Payola::TransactionsController#create as */*
|
5662
|
+
Parameters: {"stripeToken"=>"tok_151RUDBYGTZJSjsOsZ3etQ0l", "stripeEmail"=>"pete@bugsplat.info", "authenticity_token"=>"qEb90ljOPy3MTsdR6VWrm0ddvJoxz36Lr9kY37d9f80=", "product_class"=>"product", "permalink"=>"foo"}
|
5663
|
+
[1m[35mPayola::Affiliate Load (0.4ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
5664
|
+
[1m[36mProduct Load (0.1ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."permalink" = 'foo' LIMIT 1[0m
|
5665
|
+
[1m[35mPayola::Coupon Load (0.5ms)[0m SELECT "payola_coupons".* FROM "payola_coupons" WHERE (lower(code) = lower(NULL)) ORDER BY "payola_coupons"."id" ASC LIMIT 1
|
5666
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5667
|
+
[1m[35mPayola::Sale Exists (0.5ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1
|
5668
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" IS NULL LIMIT 1[0m
|
5669
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE "payola_sales"."guid" = 'ktqunp' LIMIT 1
|
5670
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "payola_sales" ("amount", "created_at", "currency", "email", "guid", "product_id", "product_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 100], ["created_at", "2014-11-22 00:10:50.290542"], ["currency", "usd"], ["email", "pete@bugsplat.info"], ["guid", "ktqunp"], ["product_id", 1], ["product_type", "Product"], ["state", "pending"], ["stripe_token", "tok_151RUDBYGTZJSjsOsZ3etQ0l"], ["updated_at", "2014-11-22 00:10:50.290542"]]
|
5671
|
+
[1m[35m (1.5ms)[0m commit transaction
|
5672
|
+
Completed 200 OK in 127ms (Views: 0.4ms | ActiveRecord: 6.0ms)
|
5673
|
+
[1m[36mPayola::Sale Load (0.2ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."guid" = 'ktqunp' LIMIT 1[0m
|
5674
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5675
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "payola_sales" SET "state" = 'processing' WHERE "payola_sales"."id" = 5[0m
|
5676
|
+
[1m[35mPayola::Sale Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'ktqunp' AND "payola_sales"."id" != 5) LIMIT 1
|
5677
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_sales" SET "state" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 5[0m [["state", "processing"], ["updated_at", "2014-11-22 00:10:50.370209"]]
|
5678
|
+
|
5679
|
+
|
5680
|
+
Started GET "/subdir/payola/status/ktqunp" for 127.0.0.1 at 2014-11-21 19:10:50 -0500
|
5681
|
+
Processing by Payola::TransactionsController#status as */*
|
5682
|
+
Parameters: {"guid"=>"ktqunp"}
|
5683
|
+
[1m[35mPayola::Affiliate Load (0.2ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
5684
|
+
[1m[36mPayola::Sale Load (0.3ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."guid" = 'ktqunp' LIMIT 1[0m
|
5685
|
+
Completed 200 OK in 40ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
5686
|
+
|
5687
|
+
|
5688
|
+
Started GET "/subdir/payola/status/ktqunp" for 127.0.0.1 at 2014-11-21 19:10:50 -0500
|
5689
|
+
Processing by Payola::TransactionsController#status as */*
|
5690
|
+
Parameters: {"guid"=>"ktqunp"}
|
5691
|
+
[1m[35mPayola::Affiliate Load (0.2ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
5692
|
+
[1m[36mPayola::Sale Load (0.2ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."guid" = 'ktqunp' LIMIT 1[0m
|
5693
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
5694
|
+
|
5695
|
+
|
5696
|
+
Started GET "/subdir/payola/status/ktqunp" for 127.0.0.1 at 2014-11-21 19:10:51 -0500
|
5697
|
+
Processing by Payola::TransactionsController#status as */*
|
5698
|
+
Parameters: {"guid"=>"ktqunp"}
|
5699
|
+
[1m[35mPayola::Affiliate Load (0.2ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
5700
|
+
[1m[36mPayola::Sale Load (0.2ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."guid" = 'ktqunp' LIMIT 1[0m
|
5701
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
5702
|
+
|
5703
|
+
|
5704
|
+
Started GET "/subdir/payola/status/ktqunp" for 127.0.0.1 at 2014-11-21 19:10:51 -0500
|
5705
|
+
Processing by Payola::TransactionsController#status as */*
|
5706
|
+
Parameters: {"guid"=>"ktqunp"}
|
5707
|
+
[1m[35mPayola::Affiliate Load (0.2ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
5708
|
+
[1m[36mPayola::Sale Load (0.2ms)[0m [1mSELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."guid" = 'ktqunp' LIMIT 1[0m
|
5709
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
5710
|
+
[1m[35mPayola::Sale Exists (0.2ms)[0m SELECT 1 AS one FROM "payola_sales" WHERE ("payola_sales"."guid" = 'ktqunp' AND "payola_sales"."id" != 5) LIMIT 1
|
5711
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "payola_sales" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "fee_amount" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_sales"."id" = 5[0m [["card_expiration", "2034-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["fee_amount", 33], ["stripe_customer_id", "cus_5Bp8xw4jUWMD0P"], ["stripe_id", "ch_151RUFBYGTZJSjsODNJQuGBT"], ["updated_at", "2014-11-22 00:10:52.206961"]]
|
5712
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5713
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "payola_sales" SET "state" = 'finished' WHERE "payola_sales"."id" = 5[0m
|
5714
|
+
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]]
|
5715
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5716
|
+
[1m[35m (0.9ms)[0m commit transaction
|
5717
|
+
|
5718
|
+
|
5719
|
+
Started GET "/subdir/payola/status/ktqunp" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5720
|
+
Processing by Payola::TransactionsController#status as */*
|
5721
|
+
Parameters: {"guid"=>"ktqunp"}
|
5722
|
+
[1m[36mPayola::Affiliate Load (0.2ms)[0m [1mSELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1[0m
|
5723
|
+
[1m[35mPayola::Sale Load (0.2ms)[0m SELECT "payola_sales".* FROM "payola_sales" WHERE "payola_sales"."guid" = 'ktqunp' LIMIT 1
|
5724
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
5725
|
+
|
5726
|
+
|
5727
|
+
Started POST "/" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5728
|
+
Processing by HomeController#index as HTML
|
5729
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"qEb90ljOPy3MTsdR6VWrm0ddvJoxz36Lr9kY37d9f80=", "stripeEmail"=>"pete@bugsplat.info", "payola_sale_guid"=>"ktqunp"}
|
5730
|
+
Rendered home/index.html.erb within layouts/application (0.2ms)
|
5731
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5732
|
+
Completed 200 OK in 43ms (Views: 43.1ms | ActiveRecord: 0.0ms)
|
5733
|
+
|
5734
|
+
|
5735
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5736
|
+
|
5737
|
+
|
5738
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5739
|
+
|
5740
|
+
|
5741
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5742
|
+
|
5743
|
+
|
5744
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5745
|
+
|
5746
|
+
|
5747
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5748
|
+
|
5749
|
+
|
5750
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5751
|
+
|
5752
|
+
|
5753
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5754
|
+
|
5755
|
+
|
5756
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5757
|
+
|
5758
|
+
|
5759
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-21 19:10:52 -0500
|
5760
|
+
Terminating 3 actors...
|
5761
|
+
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1[0m
|
5762
|
+
|
5763
|
+
|
5764
|
+
Started GET "/" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5765
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5766
|
+
Processing by HomeController#index as HTML
|
5767
|
+
Rendered home/index.html.erb within layouts/application (1.9ms)
|
5768
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.4ms)
|
5769
|
+
Completed 200 OK in 136ms (Views: 135.3ms | ActiveRecord: 0.0ms)
|
5770
|
+
|
5771
|
+
|
5772
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5773
|
+
|
5774
|
+
|
5775
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5776
|
+
|
5777
|
+
|
5778
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5779
|
+
|
5780
|
+
|
5781
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5782
|
+
|
5783
|
+
|
5784
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5785
|
+
|
5786
|
+
|
5787
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5788
|
+
|
5789
|
+
|
5790
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5791
|
+
|
5792
|
+
|
5793
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5794
|
+
|
5795
|
+
|
5796
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:44:09 -0500
|
5797
|
+
|
5798
|
+
|
5799
|
+
Started GET "/subscribe" for 127.0.0.1 at 2014-11-25 16:44:13 -0500
|
5800
|
+
Processing by SubscribeController#index as HTML
|
5801
|
+
[1m[35mSubscriptionPlan Load (0.6ms)[0m SELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1
|
5802
|
+
Rendered subscribe/index.html.erb within layouts/application (3.1ms)
|
5803
|
+
Completed 500 Internal Server Error in 15ms
|
5804
|
+
|
5805
|
+
ActionView::Template::Error (undefined method `plan_class' for nil:NilClass):
|
5806
|
+
2:
|
5807
|
+
3: <hr>
|
5808
|
+
4:
|
5809
|
+
5: <%= form_for @plan, url: '/', method: :post, html: { class: 'payola-subscription-form', 'data-payola-base-path' => '/subdir/payola', 'data-payola-plan-type' => @plan.plan_class, 'data-payola-plan-id' => @plan.id } do |f| %>
|
5810
|
+
6: <span class="payola-payment-error"></span>
|
5811
|
+
7: Email:<br>
|
5812
|
+
8: <input type="email" name="stripeEmail" data-payola="email"></input><br>
|
5813
|
+
app/views/subscribe/index.html.erb:5:in `_app_views_subscribe_index_html_erb___3778246022795363001_70332745550660'
|
5814
|
+
|
5815
|
+
|
5816
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
|
5817
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms)
|
5818
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (13.2ms)
|
5819
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5820
|
+
[1m[35mSubscriptionPlan Exists (0.1ms)[0m SELECT 1 AS one FROM "subscription_plans" WHERE "subscription_plans"."stripe_id" = 'test' LIMIT 1
|
5821
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5822
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5823
|
+
[1m[36mSubscriptionPlan Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "subscription_plans" WHERE "subscription_plans"."stripe_id" = 'test' LIMIT 1[0m
|
5824
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5825
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5826
|
+
[1m[35mSubscriptionPlan Exists (0.1ms)[0m SELECT 1 AS one FROM "subscription_plans" WHERE "subscription_plans"."stripe_id" = 'test' LIMIT 1
|
5827
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "subscription_plans" ("amount", "created_at", "interval", "interval_count", "name", "stripe_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["amount", 100], ["created_at", "2014-11-25 21:52:16.521359"], ["interval", "month"], ["interval_count", 1], ["name", "Test"], ["stripe_id", "test"], ["updated_at", "2014-11-25 21:52:16.521359"]]
|
5828
|
+
[1m[35m (0.9ms)[0m commit transaction
|
5829
|
+
|
5830
|
+
|
5831
|
+
Started GET "/subscribe" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5832
|
+
Processing by SubscribeController#index as HTML
|
5833
|
+
[1m[36mSubscriptionPlan Load (0.3ms)[0m [1mSELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1[0m
|
5834
|
+
Rendered subscribe/index.html.erb within layouts/application (2.3ms)
|
5835
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5836
|
+
Completed 200 OK in 52ms (Views: 42.6ms | ActiveRecord: 0.4ms)
|
5837
|
+
|
5838
|
+
|
5839
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5840
|
+
|
5841
|
+
|
5842
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5843
|
+
|
5844
|
+
|
5845
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5846
|
+
|
5847
|
+
|
5848
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5849
|
+
|
5850
|
+
|
5851
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5852
|
+
|
5853
|
+
|
5854
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5855
|
+
|
5856
|
+
|
5857
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5858
|
+
|
5859
|
+
|
5860
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5861
|
+
|
5862
|
+
|
5863
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:52:21 -0500
|
5864
|
+
|
5865
|
+
|
5866
|
+
Started POST "/subscribe" for 127.0.0.1 at 2014-11-25 16:52:37 -0500
|
5867
|
+
|
5868
|
+
ActionController::RoutingError (No route matches [POST] "/subscribe"):
|
5869
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
5870
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
5871
|
+
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
|
5872
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
|
5873
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
5874
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
5875
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
5876
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
|
5877
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
5878
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
5879
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
5880
|
+
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
5881
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5882
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
|
5883
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
5884
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
5885
|
+
railties (4.1.6) lib/rails/application.rb:144:in `call'
|
5886
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
5887
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
5888
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
5889
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
5890
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
5891
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
5892
|
+
|
5893
|
+
|
5894
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms)
|
5895
|
+
Rendered /Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (4.4ms)
|
5896
|
+
|
5897
|
+
|
5898
|
+
Started GET "/subscribe" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5899
|
+
Processing by SubscribeController#index as HTML
|
5900
|
+
[1m[35mSubscriptionPlan Load (0.1ms)[0m SELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1
|
5901
|
+
Rendered subscribe/index.html.erb within layouts/application (1.4ms)
|
5902
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5903
|
+
Completed 200 OK in 45ms (Views: 35.9ms | ActiveRecord: 0.7ms)
|
5904
|
+
|
5905
|
+
|
5906
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5907
|
+
|
5908
|
+
|
5909
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5910
|
+
|
5911
|
+
|
5912
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5913
|
+
|
5914
|
+
|
5915
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5916
|
+
|
5917
|
+
|
5918
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5919
|
+
|
5920
|
+
|
5921
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5922
|
+
|
5923
|
+
|
5924
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5925
|
+
|
5926
|
+
|
5927
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5928
|
+
|
5929
|
+
|
5930
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-25 16:53:21 -0500
|
5931
|
+
|
5932
|
+
|
5933
|
+
Started POST "/subscribe" for 127.0.0.1 at 2014-11-25 16:53:36 -0500
|
5934
|
+
Processing by SubscribeController#create as */*
|
5935
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pmeohcfXt8LFtx6fFfyT+rS/4J9mBIyGrp6DsNEfi/w=", "stripeEmail"=>"test@bugsplat.info", "coupon"=>"", "stripeToken"=>"tok_152rFcBYGTZJSjsO3rxUywLC"}
|
5936
|
+
[1m[36mSubscriptionPlan Load (0.2ms)[0m [1mSELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1[0m
|
5937
|
+
[1m[35mPayola::Subscription Load (0.5ms)[0m SELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" IS NULL LIMIT 1
|
5938
|
+
Payola::Worker::SuckerPunch crashed!
|
5939
|
+
NoMethodError: undefined method `process!' for nil:NilClass
|
5940
|
+
/Users/peter/devel/payola/app/services/payola/process_subscription.rb:4:in `call'
|
5941
|
+
/Users/peter/devel/payola/lib/payola/worker/base.rb:5:in `perform'
|
5942
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
|
5943
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
|
5944
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
|
5945
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
|
5946
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
|
5947
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
|
5948
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
|
5949
|
+
Celluloid::PoolManager: async call `perform` aborted!
|
5950
|
+
NoMethodError: undefined method `process!' for nil:NilClass
|
5951
|
+
/Users/peter/devel/payola/app/services/payola/process_subscription.rb:4:in `call'
|
5952
|
+
/Users/peter/devel/payola/lib/payola/worker/base.rb:5:in `perform'
|
5953
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
|
5954
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
|
5955
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
|
5956
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
|
5957
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
|
5958
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
|
5959
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
|
5960
|
+
(celluloid):0:in `remote procedure call'
|
5961
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:in `value'
|
5962
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
|
5963
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/proxies/actor_proxy.rb:20:in `_send_'
|
5964
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/pool_manager.rb:41:in `_send_'
|
5965
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/pool_manager.rb:123:in `method_missing'
|
5966
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
|
5967
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
|
5968
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in `dispatch'
|
5969
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
|
5970
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
|
5971
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
|
5972
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
|
5973
|
+
Completed 200 OK in 99ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
5974
|
+
|
5975
|
+
|
5976
|
+
Started GET "/subdir/payola/subscription_status/null" for 127.0.0.1 at 2014-11-25 16:53:36 -0500
|
5977
|
+
Processing by Payola::SubscriptionsController#status as */*
|
5978
|
+
Parameters: {"guid"=>"null"}
|
5979
|
+
[1m[36mPayola::Affiliate Load (0.5ms)[0m [1mSELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower(NULL)) ORDER BY "payola_affiliates"."id" ASC LIMIT 1[0m
|
5980
|
+
[1m[35mPayola::Subscription Load (0.2ms)[0m SELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 'null' LIMIT 1
|
5981
|
+
Rendered text template (0.0ms)
|
5982
|
+
Completed 404 Not Found in 8ms (Views: 1.7ms | ActiveRecord: 0.9ms)
|
5983
|
+
|
5984
|
+
|
5985
|
+
Started GET "/subscribe" for 127.0.0.1 at 2014-11-25 16:54:26 -0500
|
5986
|
+
Processing by SubscribeController#index as HTML
|
5987
|
+
[1m[36mSubscriptionPlan Load (0.2ms)[0m [1mSELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1[0m
|
5988
|
+
Rendered subscribe/index.html.erb within layouts/application (1.5ms)
|
5989
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
5990
|
+
Completed 200 OK in 89ms (Views: 86.8ms | ActiveRecord: 0.2ms)
|
5991
|
+
|
5992
|
+
|
5993
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-25 16:54:26 -0500
|
5994
|
+
|
5995
|
+
|
5996
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-25 16:54:26 -0500
|
5997
|
+
|
5998
|
+
|
5999
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-25 16:54:26 -0500
|
6000
|
+
|
6001
|
+
|
6002
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-25 16:54:27 -0500
|
6003
|
+
|
6004
|
+
|
6005
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:54:27 -0500
|
6006
|
+
|
6007
|
+
|
6008
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-25 16:54:27 -0500
|
6009
|
+
|
6010
|
+
|
6011
|
+
Started GET "/assets/payola/subscription_form.js?body=1" for 127.0.0.1 at 2014-11-25 16:54:27 -0500
|
6012
|
+
|
6013
|
+
|
6014
|
+
Started GET "/assets/payola/checkout_button.js?body=1" for 127.0.0.1 at 2014-11-25 16:54:27 -0500
|
6015
|
+
|
6016
|
+
|
6017
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:54:27 -0500
|
6018
|
+
|
6019
|
+
|
6020
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-25 16:54:31 -0500
|
6021
|
+
|
6022
|
+
|
6023
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-25 16:54:31 -0500
|
6024
|
+
|
6025
|
+
|
6026
|
+
Started POST "/subscribe" for 127.0.0.1 at 2014-11-25 16:54:52 -0500
|
6027
|
+
Processing by SubscribeController#create as */*
|
6028
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rBkAQhkOB4WJz7LpfiSQGAv0EGg0QyEIqt/gfXaSXuw=", "stripeEmail"=>"testing@bugsplat.info", "coupon"=>"", "stripeToken"=>"tok_152rGqBYGTZJSjsOQzyW1Pyv"}
|
6029
|
+
[1m[35mSubscriptionPlan Load (0.2ms)[0m SELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1
|
6030
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
6031
|
+
[1m[36mPayola::Subscription Load (0.3ms)[0m [1mSELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" IS NULL LIMIT 1[0m
|
6032
|
+
Payola::Worker::SuckerPunch crashed!
|
6033
|
+
NoMethodError: undefined method `process!' for nil:NilClass
|
6034
|
+
/Users/peter/devel/payola/app/services/payola/process_subscription.rb:4:in `call'
|
6035
|
+
/Users/peter/devel/payola/lib/payola/worker/base.rb:5:in `perform'
|
6036
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
|
6037
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
|
6038
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
|
6039
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
|
6040
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
|
6041
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
|
6042
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
|
6043
|
+
Celluloid::PoolManager: async call `perform` aborted!
|
6044
|
+
NoMethodError: undefined method `process!' for nil:NilClass
|
6045
|
+
/Users/peter/devel/payola/app/services/payola/process_subscription.rb:4:in `call'
|
6046
|
+
/Users/peter/devel/payola/lib/payola/worker/base.rb:5:in `perform'
|
6047
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
|
6048
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
|
6049
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
|
6050
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
|
6051
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
|
6052
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
|
6053
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
|
6054
|
+
(celluloid):0:in `remote procedure call'
|
6055
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:in `value'
|
6056
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
|
6057
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/proxies/actor_proxy.rb:20:in `_send_'
|
6058
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/pool_manager.rb:41:in `_send_'
|
6059
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/pool_manager.rb:123:in `method_missing'
|
6060
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
|
6061
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
|
6062
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in `dispatch'
|
6063
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
|
6064
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
|
6065
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
|
6066
|
+
/Users/peter/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
|
6067
|
+
|
6068
|
+
|
6069
|
+
Started GET "/subdir/payola/subscription_status/null" for 127.0.0.1 at 2014-11-25 16:54:53 -0500
|
6070
|
+
Processing by Payola::SubscriptionsController#status as */*
|
6071
|
+
Parameters: {"guid"=>"null"}
|
6072
|
+
[1m[35mPayola::Affiliate Load (1.9ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
6073
|
+
[1m[36mPayola::Subscription Load (0.2ms)[0m [1mSELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 'null' LIMIT 1[0m
|
6074
|
+
Rendered text template (0.0ms)
|
6075
|
+
Completed 404 Not Found in 6ms (Views: 0.5ms | ActiveRecord: 2.5ms)
|
6076
|
+
Terminating 3 actors...
|
6077
|
+
Terminating task: type=:finalizer, meta={:method_name=>:__shutdown__}, status=:callwait
|
6078
|
+
|
6079
|
+
|
6080
|
+
Started GET "/subscribe" for 127.0.0.1 at 2014-11-25 16:55:52 -0500
|
6081
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6082
|
+
Processing by SubscribeController#index as HTML
|
6083
|
+
[1m[35mSubscriptionPlan Load (0.1ms)[0m SELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1
|
6084
|
+
Rendered subscribe/index.html.erb within layouts/application (11.9ms)
|
6085
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.4ms)
|
6086
|
+
Completed 200 OK in 116ms (Views: 101.2ms | ActiveRecord: 0.4ms)
|
6087
|
+
|
6088
|
+
|
6089
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-25 16:55:52 -0500
|
6090
|
+
|
6091
|
+
|
6092
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-25 16:55:52 -0500
|
6093
|
+
|
6094
|
+
|
6095
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-25 16:55:52 -0500
|
6096
|
+
|
6097
|
+
|
6098
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-25 16:55:52 -0500
|
6099
|
+
|
6100
|
+
|
6101
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:55:52 -0500
|
6102
|
+
|
6103
|
+
|
6104
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-25 16:55:52 -0500
|
6105
|
+
|
6106
|
+
|
6107
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:55:53 -0500
|
6108
|
+
|
6109
|
+
|
6110
|
+
Started POST "/subscribe" for 127.0.0.1 at 2014-11-25 16:56:11 -0500
|
6111
|
+
Processing by SubscribeController#create as */*
|
6112
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rBkAQhkOB4WJz7LpfiSQGAv0EGg0QyEIqt/gfXaSXuw=", "stripeEmail"=>"pete@bugsplat.info", "coupon"=>"", "stripeToken"=>"tok_152rI7BYGTZJSjsOcHu8cpuY"}
|
6113
|
+
[1m[36mSubscriptionPlan Load (0.2ms)[0m [1mSELECT "subscription_plans".* FROM "subscription_plans" ORDER BY "subscription_plans"."id" ASC LIMIT 1[0m
|
6114
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6115
|
+
[1m[36mPayola::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" IS NULL LIMIT 1[0m
|
6116
|
+
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" IS NULL LIMIT 1
|
6117
|
+
[1m[36mPayola::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 's7q3oq' LIMIT 1[0m
|
6118
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "payola_subscriptions" ("amount", "coupon", "created_at", "currency", "email", "guid", "plan_id", "plan_type", "state", "stripe_token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["amount", 100], ["coupon", ""], ["created_at", "2014-11-25 21:56:11.490771"], ["currency", "usd"], ["email", "pete@bugsplat.info"], ["guid", "s7q3oq"], ["plan_id", 1], ["plan_type", "SubscriptionPlan"], ["state", "pending"], ["stripe_token", "tok_152rI7BYGTZJSjsOcHu8cpuY"], ["updated_at", "2014-11-25 21:56:11.490771"]]
|
6119
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
6120
|
+
[1m[35mPayola::Subscription Load (0.2ms)[0m SELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 's7q3oq' LIMIT 1
|
6121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6122
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "payola_subscriptions" SET "state" = 'processing' WHERE "payola_subscriptions"."id" = 1
|
6123
|
+
[1m[36mPayola::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "payola_subscriptions" WHERE ("payola_subscriptions"."guid" = 's7q3oq' AND "payola_subscriptions"."id" != 1) LIMIT 1[0m
|
6124
|
+
Completed 200 OK in 156ms (Views: 0.2ms | ActiveRecord: 2.9ms)
|
6125
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "payola_subscriptions" SET "state" = ?, "updated_at" = ? WHERE "payola_subscriptions"."id" = 1 [["state", "processing"], ["updated_at", "2014-11-25 21:56:11.560712"]]
|
6126
|
+
[1m[36mSubscriptionPlan Load (0.2ms)[0m [1mSELECT "subscription_plans".* FROM "subscription_plans" WHERE "subscription_plans"."id" = ? LIMIT 1[0m [["id", 1]]
|
6127
|
+
|
6128
|
+
|
6129
|
+
Started GET "/subdir/payola/subscription_status/s7q3oq" for 127.0.0.1 at 2014-11-25 16:56:11 -0500
|
6130
|
+
Processing by Payola::SubscriptionsController#status as */*
|
6131
|
+
Parameters: {"guid"=>"s7q3oq"}
|
6132
|
+
[1m[35mPayola::Affiliate Load (0.4ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
6133
|
+
[1m[36mPayola::Subscription Load (0.2ms)[0m [1mSELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 's7q3oq' LIMIT 1[0m
|
6134
|
+
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.9ms)
|
6135
|
+
|
6136
|
+
|
6137
|
+
Started GET "/subdir/payola/subscription_status/s7q3oq" for 127.0.0.1 at 2014-11-25 16:56:12 -0500
|
6138
|
+
Processing by Payola::SubscriptionsController#status as */*
|
6139
|
+
Parameters: {"guid"=>"s7q3oq"}
|
6140
|
+
[1m[35mPayola::Affiliate Load (0.2ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
6141
|
+
[1m[36mPayola::Subscription Load (0.2ms)[0m [1mSELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 's7q3oq' LIMIT 1[0m
|
6142
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
6143
|
+
|
6144
|
+
|
6145
|
+
Started GET "/subdir/payola/subscription_status/s7q3oq" for 127.0.0.1 at 2014-11-25 16:56:12 -0500
|
6146
|
+
Processing by Payola::SubscriptionsController#status as */*
|
6147
|
+
Parameters: {"guid"=>"s7q3oq"}
|
6148
|
+
[1m[35mPayola::Affiliate Load (0.2ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
6149
|
+
[1m[36mPayola::Subscription Load (0.5ms)[0m [1mSELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 's7q3oq' LIMIT 1[0m
|
6150
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
6151
|
+
|
6152
|
+
|
6153
|
+
Started GET "/subdir/payola/subscription_status/s7q3oq" for 127.0.0.1 at 2014-11-25 16:56:13 -0500
|
6154
|
+
Processing by Payola::SubscriptionsController#status as */*
|
6155
|
+
Parameters: {"guid"=>"s7q3oq"}
|
6156
|
+
[1m[35mPayola::Affiliate Load (0.3ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
6157
|
+
[1m[36mPayola::Subscription Load (0.3ms)[0m [1mSELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 's7q3oq' LIMIT 1[0m
|
6158
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
6159
|
+
[1m[35mPayola::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "payola_subscriptions" WHERE ("payola_subscriptions"."guid" = 's7q3oq' AND "payola_subscriptions"."id" != 1) LIMIT 1
|
6160
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "payola_subscriptions" SET "card_expiration" = ?, "card_last4" = ?, "card_type" = ?, "stripe_customer_id" = ?, "stripe_id" = ?, "updated_at" = ? WHERE "payola_subscriptions"."id" = 1[0m [["card_expiration", "2034-12-01"], ["card_last4", "4242"], ["card_type", "Visa"], ["stripe_customer_id", "cus_5DHruJR5SzmXz2"], ["stripe_id", "sub_5DHrwQkimHHrJ6"], ["updated_at", "2014-11-25 21:56:13.255229"]]
|
6161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6162
|
+
[1m[36mSQL (0.9ms)[0m [1mUPDATE "payola_subscriptions" SET "state" = 'active' WHERE "payola_subscriptions"."id" = 1[0m
|
6163
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
6164
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
6165
|
+
|
6166
|
+
|
6167
|
+
Started GET "/subdir/payola/subscription_status/s7q3oq" for 127.0.0.1 at 2014-11-25 16:56:13 -0500
|
6168
|
+
Processing by Payola::SubscriptionsController#status as */*
|
6169
|
+
Parameters: {"guid"=>"s7q3oq"}
|
6170
|
+
[1m[35mPayola::Affiliate Load (0.2ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
6171
|
+
[1m[36mPayola::Subscription Load (0.2ms)[0m [1mSELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 's7q3oq' LIMIT 1[0m
|
6172
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
6173
|
+
|
6174
|
+
|
6175
|
+
Started GET "/subdir/payola/confirm_subscription/s7q3oq" for 127.0.0.1 at 2014-11-25 16:56:13 -0500
|
6176
|
+
Processing by Payola::SubscriptionsController#show as HTML
|
6177
|
+
Parameters: {"guid"=>"s7q3oq"}
|
6178
|
+
[1m[35mPayola::Affiliate Load (0.2ms)[0m SELECT "payola_affiliates".* FROM "payola_affiliates" WHERE (lower(code) = lower('pa1')) ORDER BY "payola_affiliates"."id" ASC LIMIT 1
|
6179
|
+
[1m[36mPayola::Subscription Load (0.4ms)[0m [1mSELECT "payola_subscriptions".* FROM "payola_subscriptions" WHERE "payola_subscriptions"."guid" = 's7q3oq' LIMIT 1[0m
|
6180
|
+
[1m[35mSubscriptionPlan Load (0.2ms)[0m SELECT "subscription_plans".* FROM "subscription_plans" WHERE "subscription_plans"."id" = ? LIMIT 1 [["id", 1]]
|
6181
|
+
Redirected to http://localhost:3000/
|
6182
|
+
Completed 302 Found in 28ms (ActiveRecord: 0.9ms)
|
6183
|
+
|
6184
|
+
|
6185
|
+
Started GET "/" for 127.0.0.1 at 2014-11-25 16:56:13 -0500
|
6186
|
+
Processing by HomeController#index as HTML
|
6187
|
+
Rendered home/index.html.erb within layouts/application (0.6ms)
|
6188
|
+
Rendered /Users/peter/devel/payola/app/views/payola/transactions/_stripe_header.html.erb (0.1ms)
|
6189
|
+
Completed 200 OK in 51ms (Views: 50.7ms | ActiveRecord: 0.0ms)
|
6190
|
+
|
6191
|
+
|
6192
|
+
Started GET "/assets/buy.css?body=1" for 127.0.0.1 at 2014-11-25 16:56:13 -0500
|
6193
|
+
|
6194
|
+
|
6195
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-25 16:56:13 -0500
|
6196
|
+
|
6197
|
+
|
6198
|
+
Started GET "/assets/payola/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:56:14 -0500
|
6199
|
+
|
6200
|
+
|
6201
|
+
Started GET "/assets/payola/form.js?body=1" for 127.0.0.1 at 2014-11-25 16:56:14 -0500
|
6202
|
+
|
6203
|
+
|
6204
|
+
Started GET "/assets/buy.js?body=1" for 127.0.0.1 at 2014-11-25 16:56:14 -0500
|
6205
|
+
|
6206
|
+
|
6207
|
+
Started GET "/assets/payola.js?body=1" for 127.0.0.1 at 2014-11-25 16:56:14 -0500
|
6208
|
+
|
6209
|
+
|
6210
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-25 16:56:14 -0500
|
6211
|
+
Terminating 3 actors...
|
6212
|
+
Terminating task: type=:finalizer, meta={:method_name=>:__shutdown__}, status=:callwait
|