deal_redemptions 0.0.7 → 0.0.8
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/controllers/deal_redemptions/redeem_controller.rb +36 -31
- data/lib/deal_redemptions/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +2673 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11145f66dc4478e7e6fb9de8084a8f38eeaeade4
|
4
|
+
data.tar.gz: d4d78bb509e8138f7a529c90467c4dd7ecd8602a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 605e783d9f1afe145a8c21f01b234819b13c1212bd00d4d20ee6ef27b3c6008569f85a9e7e2ff8ea0c90f8f25b3c5c714321304ea197dbe93598b17565dac724
|
7
|
+
data.tar.gz: 352ab17c98e2803466cbf893f393d865b050cc5f9edbdb7faadde9ebca3c92e3ced4bb5dfe1d23abd6ea0c47077d2414e1cb42863d8ffd19656714c328144560
|
@@ -14,45 +14,50 @@ module DealRedemptions
|
|
14
14
|
redeem = DealRedemptions::Redemptions::Redeem.new(@company)
|
15
15
|
redeem_codes = DealRedemptions::RedeemCode.find_all_by_code params[:redeem_codes]
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
17
|
+
if redeem_codes.count > 0
|
18
|
+
redeem.validate_redeem_codes redeem_codes do |validate|
|
19
|
+
# Returns true, then all codes validated
|
20
|
+
if validate
|
21
|
+
begin
|
22
|
+
ActiveRecord::Base.transaction do
|
23
|
+
# Save redemption
|
24
|
+
@redeem = DealRedemptions::Redemption.create(redemption_params)
|
25
|
+
# Save redemption codes
|
26
|
+
redeem_codes.each do |code|
|
27
|
+
code.redemption_id = @redeem.id
|
28
|
+
code.status = 2
|
29
|
+
code.save
|
30
|
+
end
|
29
31
|
end
|
30
|
-
end
|
31
32
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
33
|
+
# Save to mailing list if opt in
|
34
|
+
if params[:redemption][:mailing_list]
|
35
|
+
begin
|
36
|
+
redemption = params[:redemption]
|
37
|
+
DealRedemptions::MailingList.create(
|
38
|
+
first_name: redemption[:first_name],
|
39
|
+
last_name: redemption[:last_name],
|
40
|
+
email_address: redemption[:email_address]
|
41
|
+
)
|
42
|
+
end
|
41
43
|
end
|
42
|
-
end
|
43
44
|
|
44
|
-
|
45
|
-
|
45
|
+
# Send confirmation email
|
46
|
+
DealRedemptions::RedemptionMailer.confirmation(@redemption).deliver
|
46
47
|
|
47
|
-
|
48
|
-
|
49
|
-
|
48
|
+
redirect_to thank_you_path and return
|
49
|
+
rescue
|
50
|
+
flash[:notice] = 'Something went wrong. Please try again.'
|
51
|
+
render :new
|
52
|
+
end
|
53
|
+
else
|
54
|
+
flash[:notice] = 'Please enter redemption codes that have not been previously used.'
|
50
55
|
render :new
|
51
56
|
end
|
52
|
-
else
|
53
|
-
flash[:notice] = 'Please make sure to only redeem valid redemption codes.'
|
54
|
-
render :new
|
55
57
|
end
|
58
|
+
else
|
59
|
+
flash[:notice] = 'Please make sure to only redeem valid redemption codes.'
|
60
|
+
render :new
|
56
61
|
end
|
57
62
|
end
|
58
63
|
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -338990,3 +338990,2676 @@ Note: If this is not Example User, please disregard this email.
|
|
338990
338990
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
338991
338991
|
[1m[35m (0.0ms)[0m begin transaction
|
338992
338992
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
338993
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
338994
|
+
[1m[35m (1.1ms)[0m DELETE FROM "deal_redemptions_companies";
|
338995
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
338996
|
+
[1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'deal_redemptions_companies';
|
338997
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "deal_redemptions_mailing_lists";[0m
|
338998
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
338999
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'deal_redemptions_mailing_lists';[0m
|
339000
|
+
[1m[35m (0.7ms)[0m DELETE FROM "deal_redemptions_products";
|
339001
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
339002
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'deal_redemptions_products';
|
339003
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "deal_redemptions_redeem_codes";[0m
|
339004
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
339005
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'deal_redemptions_redeem_codes';[0m
|
339006
|
+
[1m[35m (0.7ms)[0m DELETE FROM "deal_redemptions_redemptions";
|
339007
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
339008
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'deal_redemptions_redemptions';
|
339009
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "deal_redemptions_users";[0m
|
339010
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
339011
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'deal_redemptions_users';[0m
|
339012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339013
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339014
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339015
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339016
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339017
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339018
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339019
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339021
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339023
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339024
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339025
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339026
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339027
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339028
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339029
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339030
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339031
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339032
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339033
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339034
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339035
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339036
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339037
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339038
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339039
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339040
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339041
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339042
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339043
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339044
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339045
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339046
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339047
|
+
[1m[36mDealRedemptions::MailingList Load (0.1ms)[0m [1mSELECT "deal_redemptions_mailing_lists".* FROM "deal_redemptions_mailing_lists" ORDER BY "deal_redemptions_mailing_lists"."id" ASC LIMIT 1[0m
|
339048
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339049
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_mailing_lists" ("created_at", "email_address", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-09-04 16:48:32.188633"], ["email_address", "0"], ["updated_at", "2014-09-04 16:48:32.188633"]]
|
339050
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339051
|
+
[1m[36mDealRedemptions::MailingList Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_mailing_lists" WHERE "deal_redemptions_mailing_lists"."email_address" = '0' LIMIT 1[0m
|
339052
|
+
[1m[35mDealRedemptions::MailingList Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_mailing_lists" WHERE "deal_redemptions_mailing_lists"."email_address" = '0' LIMIT 1
|
339053
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
339054
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339055
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339056
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339057
|
+
[1m[36mDealRedemptions::MailingList Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_mailing_lists" WHERE "deal_redemptions_mailing_lists"."email_address" IS NULL LIMIT 1[0m
|
339058
|
+
[1m[35mDealRedemptions::MailingList Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_mailing_lists" WHERE "deal_redemptions_mailing_lists"."email_address" IS NULL LIMIT 1
|
339059
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339060
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339061
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339062
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339063
|
+
Processing by DealRedemptions::Admin::SessionsController#new as HTML
|
339064
|
+
Rendered /Users/allancutler/Documents/Work/Smile Sciences/Redemptions/deal_redemptions/app/views/deal_redemptions/admin/sessions/new.html.haml within layouts//deal_redemptions/admin/auth (0.2ms)
|
339065
|
+
Completed 200 OK in 7ms (Views: 7.3ms | ActiveRecord: 0.0ms)
|
339066
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339067
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339068
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339070
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
339071
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
339072
|
+
Binary data inserted for `string` type on column `password_hash`
|
339073
|
+
Binary data inserted for `string` type on column `password_salt`
|
339074
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:32.301152"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:32.300243"], ["last_name", "Doe"], ["password_hash", "$2a$10$FCHcxRwujPAooo6qRt6tcuwSlHrW9sf0..as3v5drqF7tERIbSp8m"], ["password_salt", "$2a$10$FCHcxRwujPAooo6qRt6tcu"], ["updated_at", "2014-09-04 16:48:32.301152"]]
|
339075
|
+
|
339076
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 19.6ms
|
339077
|
+
|
339078
|
+
Sent mail to johndoe@gmail.com (9.2ms)
|
339079
|
+
Date: Thu, 04 Sep 2014 09:48:32 -0700
|
339080
|
+
From: noreply@domain.com
|
339081
|
+
To: johndoe@gmail.com
|
339082
|
+
Message-ID: <540897e050174_15b443fecad85a6e0199f1@Allans-MacBook-Pro.local.mail>
|
339083
|
+
Subject: New User Confirmation
|
339084
|
+
Mime-Version: 1.0
|
339085
|
+
Content-Type: text/html;
|
339086
|
+
charset=UTF-8
|
339087
|
+
Content-Transfer-Encoding: 7bit
|
339088
|
+
|
339089
|
+
Hi John Doe,
|
339090
|
+
|
339091
|
+
Below are your login credentials:
|
339092
|
+
|
339093
|
+
Email: johndoe@gmail.com
|
339094
|
+
Password: test123
|
339095
|
+
|
339096
|
+
Note: If this is not John Doe, please disregard this email.
|
339097
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339098
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
339099
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
339100
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
339101
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:32.341029"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:32.341029"], ["url", "http://www.groupon.com"]]
|
339102
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339103
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
339104
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:32.348649"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:32.348649"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339105
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339106
|
+
Processing by DealRedemptions::Admin::ImportController#new as HTML
|
339107
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
339108
|
+
Completed 200 OK in 43ms (Views: 39.3ms | ActiveRecord: 0.1ms)
|
339109
|
+
[1m[35mDealRedemptions::Product Load (0.1ms)[0m SELECT "deal_redemptions_products".* FROM "deal_redemptions_products"
|
339110
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
339111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339112
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339114
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339115
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
339116
|
+
Binary data inserted for `string` type on column `password_hash`
|
339117
|
+
Binary data inserted for `string` type on column `password_salt`
|
339118
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:32.465467"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:32.465310"], ["last_name", "Doe"], ["password_hash", "$2a$10$/8Fxn63RMU0kNzEZiimUeecabOFE9kPovpRmu5EYsO5ZClq3dhNgy"], ["password_salt", "$2a$10$/8Fxn63RMU0kNzEZiimUee"], ["updated_at", "2014-09-04 16:48:32.465467"]]
|
339119
|
+
|
339120
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
339121
|
+
|
339122
|
+
Sent mail to johndoe@gmail.com (4.5ms)
|
339123
|
+
Date: Thu, 04 Sep 2014 09:48:32 -0700
|
339124
|
+
From: noreply@domain.com
|
339125
|
+
To: johndoe@gmail.com
|
339126
|
+
Message-ID: <540897e073463_15b443fecad85a6e020035@Allans-MacBook-Pro.local.mail>
|
339127
|
+
Subject: New User Confirmation
|
339128
|
+
Mime-Version: 1.0
|
339129
|
+
Content-Type: text/html;
|
339130
|
+
charset=UTF-8
|
339131
|
+
Content-Transfer-Encoding: 7bit
|
339132
|
+
|
339133
|
+
Hi John Doe,
|
339134
|
+
|
339135
|
+
Below are your login credentials:
|
339136
|
+
|
339137
|
+
Email: johndoe@gmail.com
|
339138
|
+
Password: test123
|
339139
|
+
|
339140
|
+
Note: If this is not John Doe, please disregard this email.
|
339141
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339142
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339143
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
339144
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
339145
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:32.478054"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:32.478054"], ["url", "http://www.groupon.com"]]
|
339146
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339147
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339148
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:32.479594"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:32.479594"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339149
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339150
|
+
Processing by DealRedemptions::Admin::ImportController#new as HTML
|
339151
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
339152
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
339153
|
+
[1m[35mDealRedemptions::Company Load (0.1ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."active" = 1
|
339154
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
339155
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339156
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339157
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339158
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
339159
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'sample-user@dealsiteredemptions.com' LIMIT 1
|
339160
|
+
Binary data inserted for `string` type on column `password_hash`
|
339161
|
+
Binary data inserted for `string` type on column `password_salt`
|
339162
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:32.562085"], ["email", "sample-user@dealsiteredemptions.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:32.561922"], ["last_name", "Doe"], ["password_hash", "$2a$10$w92RQwG6hP2IxUjn2MC..eTox8RyZKUI5OOoJlwHLZ1uUhGUBtW7q"], ["password_salt", "$2a$10$w92RQwG6hP2IxUjn2MC..e"], ["updated_at", "2014-09-04 16:48:32.562085"]]
|
339163
|
+
|
339164
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
339165
|
+
|
339166
|
+
Sent mail to sample-user@dealsiteredemptions.com (4.7ms)
|
339167
|
+
Date: Thu, 04 Sep 2014 09:48:32 -0700
|
339168
|
+
From: noreply@domain.com
|
339169
|
+
To: sample-user@dealsiteredemptions.com
|
339170
|
+
Message-ID: <540897e08ada2_15b443fecad85a6e020147@Allans-MacBook-Pro.local.mail>
|
339171
|
+
Subject: New User Confirmation
|
339172
|
+
Mime-Version: 1.0
|
339173
|
+
Content-Type: text/html;
|
339174
|
+
charset=UTF-8
|
339175
|
+
Content-Transfer-Encoding: 7bit
|
339176
|
+
|
339177
|
+
Hi John Doe,
|
339178
|
+
|
339179
|
+
Below are your login credentials:
|
339180
|
+
|
339181
|
+
Email: sample-user@dealsiteredemptions.com
|
339182
|
+
Password: password
|
339183
|
+
|
339184
|
+
Note: If this is not John Doe, please disregard this email.
|
339185
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339186
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
339187
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339188
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339190
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339191
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'sample-user@dealsiteredemptions.com' LIMIT 1
|
339192
|
+
Binary data inserted for `string` type on column `password_hash`
|
339193
|
+
Binary data inserted for `string` type on column `password_salt`
|
339194
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:32.641782"], ["email", "sample-user@dealsiteredemptions.com"], ["first_name", "Example"], ["last_login", "2014-09-04 16:48:32.641634"], ["last_name", "User"], ["password_hash", "$2a$10$r557WjzofZYLUD2XxEtVh.oEKaaFOitoWpnfaK8MTRrYFBN53298m"], ["password_salt", "$2a$10$r557WjzofZYLUD2XxEtVh."], ["updated_at", "2014-09-04 16:48:32.641782"]]
|
339195
|
+
|
339196
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
339197
|
+
|
339198
|
+
Sent mail to sample-user@dealsiteredemptions.com (4.6ms)
|
339199
|
+
Date: Thu, 04 Sep 2014 09:48:32 -0700
|
339200
|
+
From: noreply@domain.com
|
339201
|
+
To: sample-user@dealsiteredemptions.com
|
339202
|
+
Message-ID: <540897e09e52c_15b443fecad85a6e020275@Allans-MacBook-Pro.local.mail>
|
339203
|
+
Subject: New User Confirmation
|
339204
|
+
Mime-Version: 1.0
|
339205
|
+
Content-Type: text/html;
|
339206
|
+
charset=UTF-8
|
339207
|
+
Content-Transfer-Encoding: 7bit
|
339208
|
+
|
339209
|
+
Hi Example User,
|
339210
|
+
|
339211
|
+
Below are your login credentials:
|
339212
|
+
|
339213
|
+
Email: sample-user@dealsiteredemptions.com
|
339214
|
+
Password: password
|
339215
|
+
|
339216
|
+
Note: If this is not Example User, please disregard this email.
|
339217
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339218
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
339219
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339220
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339221
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339222
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339223
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339224
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339225
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339226
|
+
Processing by DealRedemptions::WelcomeController#index as HTML
|
339227
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
339228
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339229
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339230
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339232
|
+
Processing by DealRedemptions::WelcomeController#index as HTML
|
339233
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
339234
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339235
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339236
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339237
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339238
|
+
Processing by DealRedemptions::WelcomeController#index as HTML
|
339239
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
339240
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339241
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339242
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339243
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339244
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339246
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339248
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339249
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339250
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339252
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339254
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339257
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
339258
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
339259
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:32.685587"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:32.685587"], ["url", "http://www.groupon.com"]]
|
339260
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339261
|
+
Processing by DealRedemptions::RedeemController#new as HTML
|
339262
|
+
Parameters: {"company"=>"groupon"}
|
339263
|
+
[1m[35mDealRedemptions::Company Load (0.1ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
|
339264
|
+
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
339265
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
339266
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339267
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339268
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339269
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339270
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
339271
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
339272
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:32.696184"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:32.696184"], ["url", "http://www.groupon.com"]]
|
339273
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339274
|
+
Processing by DealRedemptions::RedeemController#new as HTML
|
339275
|
+
Parameters: {"company"=>"groupon"}
|
339276
|
+
[1m[35mDealRedemptions::Company Load (0.1ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
|
339277
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
339278
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
339279
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339280
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
339281
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339283
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
339284
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
339285
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:32.703713"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:32.703713"], ["url", "http://www.groupon.com"]]
|
339286
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339287
|
+
Processing by DealRedemptions::RedeemController#new as HTML
|
339288
|
+
Parameters: {"company"=>""}
|
339289
|
+
[1m[35mDealRedemptions::Company Load (0.1ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = '' LIMIT 1
|
339290
|
+
Redirected to http://test.host/deal_redemptions/
|
339291
|
+
Filter chain halted as :find_company rendered or redirected
|
339292
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
339293
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
339294
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339295
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339296
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339297
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339298
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339299
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339300
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339301
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
339302
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339303
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339304
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339305
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339306
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
339307
|
+
Binary data inserted for `string` type on column `password_hash`
|
339308
|
+
Binary data inserted for `string` type on column `password_salt`
|
339309
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:32.777721"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:32.777556"], ["last_name", "Doe"], ["password_hash", "$2a$10$OKfHcpzwB35Uw65zQqj5M.MSvLfIdjMG09GA6DHt3gMjgiYIwUfWW"], ["password_salt", "$2a$10$OKfHcpzwB35Uw65zQqj5M."], ["updated_at", "2014-09-04 16:48:32.777721"]]
|
339310
|
+
|
339311
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.4ms
|
339312
|
+
|
339313
|
+
Sent mail to johndoe@gmail.com (4.3ms)
|
339314
|
+
Date: Thu, 04 Sep 2014 09:48:32 -0700
|
339315
|
+
From: noreply@domain.com
|
339316
|
+
To: johndoe@gmail.com
|
339317
|
+
Message-ID: <540897e0bf722_15b443fecad85a6e02036@Allans-MacBook-Pro.local.mail>
|
339318
|
+
Subject: New User Confirmation
|
339319
|
+
Mime-Version: 1.0
|
339320
|
+
Content-Type: text/html;
|
339321
|
+
charset=UTF-8
|
339322
|
+
Content-Transfer-Encoding: 7bit
|
339323
|
+
|
339324
|
+
Hi John Doe,
|
339325
|
+
|
339326
|
+
Below are your login credentials:
|
339327
|
+
|
339328
|
+
Email: johndoe@gmail.com
|
339329
|
+
Password: test123
|
339330
|
+
|
339331
|
+
Note: If this is not John Doe, please disregard this email.
|
339332
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339333
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339334
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["address1", "1600 N Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Comments going here."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:32.789113"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:32.789113"], ["zip_code", "91351"]]
|
339335
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["address1", "200 S Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", ""], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:32.791571"], ["email_address", "john@smith.com"], ["first_name", "John"], ["id", 2], ["last_name", "Smith"], ["phone", "6616005555"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:32.791571"], ["zip_code", "91355"]]
|
339338
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339339
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339340
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["address1", "3000 E Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Please redeem voucher."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:32.793451"], ["email_address", "joan@smithson.com"], ["first_name", "Joan"], ["id", 3], ["last_name", "Smithson"], ["phone", "6618881111"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:32.793451"], ["zip_code", "91355"]]
|
339341
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339342
|
+
Processing by DealRedemptions::Admin::RedemptionsController#show as HTML
|
339343
|
+
Parameters: {"id"=>"1"}
|
339344
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
339345
|
+
[1m[36mDealRedemptions::Redemption Load (0.1ms)[0m [1mSELECT "deal_redemptions_redemptions".* FROM "deal_redemptions_redemptions" WHERE "deal_redemptions_redemptions"."id" = ? LIMIT 1[0m [["id", 1]]
|
339346
|
+
[1m[35mDealRedemptions::RedeemCode Load (0.1ms)[0m SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."redemption_id" IN (1)
|
339347
|
+
Completed 200 OK in 47ms (Views: 2.1ms | ActiveRecord: 0.5ms)
|
339348
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
339349
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339350
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339351
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339352
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339353
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
339354
|
+
Binary data inserted for `string` type on column `password_hash`
|
339355
|
+
Binary data inserted for `string` type on column `password_salt`
|
339356
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:32.913715"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:32.913542"], ["last_name", "Doe"], ["password_hash", "$2a$10$j4cWpAO16bQQg1SvXiZcVu98DlFvGap7TCM2BC3xoSoMC95UeZ9pa"], ["password_salt", "$2a$10$j4cWpAO16bQQg1SvXiZcVu"], ["updated_at", "2014-09-04 16:48:32.913715"]]
|
339357
|
+
|
339358
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.9ms
|
339359
|
+
|
339360
|
+
Sent mail to johndoe@gmail.com (4.5ms)
|
339361
|
+
Date: Thu, 04 Sep 2014 09:48:32 -0700
|
339362
|
+
From: noreply@domain.com
|
339363
|
+
To: johndoe@gmail.com
|
339364
|
+
Message-ID: <540897e0e0d13_15b443fecad85a6e02049@Allans-MacBook-Pro.local.mail>
|
339365
|
+
Subject: New User Confirmation
|
339366
|
+
Mime-Version: 1.0
|
339367
|
+
Content-Type: text/html;
|
339368
|
+
charset=UTF-8
|
339369
|
+
Content-Transfer-Encoding: 7bit
|
339370
|
+
|
339371
|
+
Hi John Doe,
|
339372
|
+
|
339373
|
+
Below are your login credentials:
|
339374
|
+
|
339375
|
+
Email: johndoe@gmail.com
|
339376
|
+
Password: test123
|
339377
|
+
|
339378
|
+
Note: If this is not John Doe, please disregard this email.
|
339379
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339380
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339381
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["address1", "1600 N Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Comments going here."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:32.926017"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:32.926017"], ["zip_code", "91351"]]
|
339382
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339383
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339384
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["address1", "200 S Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", ""], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:32.928143"], ["email_address", "john@smith.com"], ["first_name", "John"], ["id", 2], ["last_name", "Smith"], ["phone", "6616005555"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:32.928143"], ["zip_code", "91355"]]
|
339385
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339386
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339387
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["address1", "3000 E Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Please redeem voucher."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:32.929736"], ["email_address", "joan@smithson.com"], ["first_name", "Joan"], ["id", 3], ["last_name", "Smithson"], ["phone", "6618881111"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:32.929736"], ["zip_code", "91355"]]
|
339388
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339389
|
+
Processing by DealRedemptions::Admin::RedemptionsController#index as HTML
|
339390
|
+
Parameters: {"search"=>"John Doe"}
|
339391
|
+
[1m[35mDealRedemptions::User Load (0.0ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
339392
|
+
[1m[36mDealRedemptions::Redemption Load (0.1ms)[0m [1mSELECT "deal_redemptions_redemptions"."id", "deal_redemptions_redemptions"."company_id", "deal_redemptions_redemptions"."first_name", "deal_redemptions_redemptions"."last_name", "deal_redemptions_redemptions"."email_address", "deal_redemptions_redemptions"."created_at" FROM "deal_redemptions_redemptions" INNER JOIN "deal_redemptions_companies" ON "deal_redemptions_redemptions"."company_id" = "deal_redemptions_companies"."id" WHERE ("deal_redemptions_redemptions"."first_name" LIKE '%John%' OR "deal_redemptions_redemptions"."last_name" LIKE '%John%') AND ("deal_redemptions_redemptions"."first_name" LIKE '%Doe%' OR "deal_redemptions_redemptions"."last_name" LIKE '%Doe%')[0m
|
339393
|
+
Completed 200 OK in 43ms (Views: 41.0ms | ActiveRecord: 0.2ms)
|
339394
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
339395
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339396
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339397
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339398
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339399
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
339400
|
+
Binary data inserted for `string` type on column `password_hash`
|
339401
|
+
Binary data inserted for `string` type on column `password_salt`
|
339402
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:33.044238"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:33.044081"], ["last_name", "Doe"], ["password_hash", "$2a$10$/zUtcfLc5U3d/PyHKwO3/.f3ERJxl15ouA7y7MgtIV5DGDq0JtVOu"], ["password_salt", "$2a$10$/zUtcfLc5U3d/PyHKwO3/."], ["updated_at", "2014-09-04 16:48:33.044238"]]
|
339403
|
+
|
339404
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.4ms
|
339405
|
+
|
339406
|
+
Sent mail to johndoe@gmail.com (4.4ms)
|
339407
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339408
|
+
From: noreply@domain.com
|
339409
|
+
To: johndoe@gmail.com
|
339410
|
+
Message-ID: <540897e1c63d_15b443fecad85a6e02054a@Allans-MacBook-Pro.local.mail>
|
339411
|
+
Subject: New User Confirmation
|
339412
|
+
Mime-Version: 1.0
|
339413
|
+
Content-Type: text/html;
|
339414
|
+
charset=UTF-8
|
339415
|
+
Content-Transfer-Encoding: 7bit
|
339416
|
+
|
339417
|
+
Hi John Doe,
|
339418
|
+
|
339419
|
+
Below are your login credentials:
|
339420
|
+
|
339421
|
+
Email: johndoe@gmail.com
|
339422
|
+
Password: test123
|
339423
|
+
|
339424
|
+
Note: If this is not John Doe, please disregard this email.
|
339425
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339426
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339427
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["address1", "1600 N Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Comments going here."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:33.055677"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:33.055677"], ["zip_code", "91351"]]
|
339428
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339429
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339430
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["address1", "200 S Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", ""], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:33.057434"], ["email_address", "john@smith.com"], ["first_name", "John"], ["id", 2], ["last_name", "Smith"], ["phone", "6616005555"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:33.057434"], ["zip_code", "91355"]]
|
339431
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339432
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339433
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["address1", "3000 E Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Please redeem voucher."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:33.058728"], ["email_address", "joan@smithson.com"], ["first_name", "Joan"], ["id", 3], ["last_name", "Smithson"], ["phone", "6618881111"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:33.058728"], ["zip_code", "91355"]]
|
339434
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339435
|
+
Processing by DealRedemptions::Admin::RedemptionsController#index as HTML
|
339436
|
+
Parameters: {"search"=>"John Doe"}
|
339437
|
+
[1m[36mDealRedemptions::User Load (0.0ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
339438
|
+
[1m[35mDealRedemptions::Redemption Load (0.1ms)[0m SELECT "deal_redemptions_redemptions"."id", "deal_redemptions_redemptions"."company_id", "deal_redemptions_redemptions"."first_name", "deal_redemptions_redemptions"."last_name", "deal_redemptions_redemptions"."email_address", "deal_redemptions_redemptions"."created_at" FROM "deal_redemptions_redemptions" INNER JOIN "deal_redemptions_companies" ON "deal_redemptions_redemptions"."company_id" = "deal_redemptions_companies"."id" WHERE ("deal_redemptions_redemptions"."first_name" LIKE '%John%' OR "deal_redemptions_redemptions"."last_name" LIKE '%John%') AND ("deal_redemptions_redemptions"."first_name" LIKE '%Doe%' OR "deal_redemptions_redemptions"."last_name" LIKE '%Doe%')
|
339439
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
339440
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
339441
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339442
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339443
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339445
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
339446
|
+
Binary data inserted for `string` type on column `password_hash`
|
339447
|
+
Binary data inserted for `string` type on column `password_salt`
|
339448
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.131118"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:33.130941"], ["last_name", "Doe"], ["password_hash", "$2a$10$u3cPgteyeS.r5ZIAuerdluz9w5kw4yP7ZbQa4BsKNx2ePImko/Fni"], ["password_salt", "$2a$10$u3cPgteyeS.r5ZIAuerdlu"], ["updated_at", "2014-09-04 16:48:33.131118"]]
|
339449
|
+
|
339450
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.4ms
|
339451
|
+
|
339452
|
+
Sent mail to johndoe@gmail.com (4.3ms)
|
339453
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339454
|
+
From: noreply@domain.com
|
339455
|
+
To: johndoe@gmail.com
|
339456
|
+
Message-ID: <540897e121980_15b443fecad85a6e0206a4@Allans-MacBook-Pro.local.mail>
|
339457
|
+
Subject: New User Confirmation
|
339458
|
+
Mime-Version: 1.0
|
339459
|
+
Content-Type: text/html;
|
339460
|
+
charset=UTF-8
|
339461
|
+
Content-Transfer-Encoding: 7bit
|
339462
|
+
|
339463
|
+
Hi John Doe,
|
339464
|
+
|
339465
|
+
Below are your login credentials:
|
339466
|
+
|
339467
|
+
Email: johndoe@gmail.com
|
339468
|
+
Password: test123
|
339469
|
+
|
339470
|
+
Note: If this is not John Doe, please disregard this email.
|
339471
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339472
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339473
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["address1", "1600 N Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Comments going here."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:33.142488"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:33.142488"], ["zip_code", "91351"]]
|
339474
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339475
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339476
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["address1", "200 S Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", ""], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:33.144272"], ["email_address", "john@smith.com"], ["first_name", "John"], ["id", 2], ["last_name", "Smith"], ["phone", "6616005555"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:33.144272"], ["zip_code", "91355"]]
|
339477
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339478
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339479
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["address1", "3000 E Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Please redeem voucher."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:33.145565"], ["email_address", "joan@smithson.com"], ["first_name", "Joan"], ["id", 3], ["last_name", "Smithson"], ["phone", "6618881111"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:33.145565"], ["zip_code", "91355"]]
|
339480
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339481
|
+
Processing by DealRedemptions::Admin::RedemptionsController#index as HTML
|
339482
|
+
[1m[35mDealRedemptions::User Load (0.0ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
339483
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
339484
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
339485
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339486
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339487
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339488
|
+
Processing by DealRedemptions::Admin::ProductsController#create as HTML
|
339489
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
|
339490
|
+
Unpermitted parameters: id
|
339491
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339492
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
339493
|
+
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
339494
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339495
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339496
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339497
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339498
|
+
Processing by DealRedemptions::Admin::ProductsController#create as HTML
|
339499
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
|
339500
|
+
Unpermitted parameters: id
|
339501
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
339502
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
339503
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
339504
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339505
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339506
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339507
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339508
|
+
Processing by DealRedemptions::Admin::ProductsController#create as HTML
|
339509
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
|
339510
|
+
Unpermitted parameters: id
|
339511
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339512
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_products" ("created_at", "name", "updated_at", "url") VALUES (?, ?, ?, ?) [["created_at", "2014-09-04 16:48:33.170315"], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.170315"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339513
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339514
|
+
Redirected to http://test.host/deal_redemptions/admin/products
|
339515
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
339516
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
339517
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339518
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339519
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339520
|
+
Processing by DealRedemptions::Admin::ProductsController#create as HTML
|
339521
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
|
339522
|
+
Unpermitted parameters: id
|
339523
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339524
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "name", "updated_at", "url") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.175851"], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.175851"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339525
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339526
|
+
Redirected to http://test.host/deal_redemptions/admin/products
|
339527
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
339528
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
339529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339530
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339532
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_products"[0m
|
339533
|
+
Processing by DealRedemptions::Admin::ProductsController#create as HTML
|
339534
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
|
339535
|
+
Unpermitted parameters: id
|
339536
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339537
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "name", "updated_at", "url") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.183898"], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.183898"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339538
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339539
|
+
Redirected to http://test.host/deal_redemptions/admin/products
|
339540
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
339541
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_products"[0m
|
339542
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
339543
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
339544
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339546
|
+
Processing by DealRedemptions::Admin::ProductsController#new as HTML
|
339547
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
339548
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
339549
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339550
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339551
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339552
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339553
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.193987"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.193987"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339554
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339555
|
+
Processing by DealRedemptions::Admin::ProductsController#destroy as HTML
|
339556
|
+
Parameters: {"id"=>"1"}
|
339557
|
+
[1m[36mDealRedemptions::Product Load (0.1ms)[0m [1mSELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
339558
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339559
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ?[0m [["id", 1]]
|
339560
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339561
|
+
Redirected to http://test.host/deal_redemptions/admin/products
|
339562
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
339563
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
339564
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339565
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339566
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339567
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339568
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:33.201501"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.201501"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339569
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339570
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "deal_redemptions_products"
|
339571
|
+
Processing by DealRedemptions::Admin::ProductsController#destroy as HTML
|
339572
|
+
Parameters: {"id"=>"1"}
|
339573
|
+
[1m[36mDealRedemptions::Product Load (0.0ms)[0m [1mSELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
339574
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339575
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ?[0m [["id", 1]]
|
339576
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339577
|
+
Redirected to http://test.host/deal_redemptions/admin/products
|
339578
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
339579
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_products"[0m
|
339580
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
339581
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339582
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339584
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339585
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.209145"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.209145"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339586
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339587
|
+
Processing by DealRedemptions::Admin::ProductsController#edit as HTML
|
339588
|
+
Parameters: {"id"=>"1"}
|
339589
|
+
[1m[36mDealRedemptions::Product Load (0.0ms)[0m [1mSELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
339590
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
339591
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
339592
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339593
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339594
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339595
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339596
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.216481"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.216481"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339597
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339598
|
+
Processing by DealRedemptions::Admin::ProductsController#index as HTML
|
339599
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
339600
|
+
[1m[36mDealRedemptions::Product Load (0.1ms)[0m [1mSELECT "deal_redemptions_products".* FROM "deal_redemptions_products" LIMIT 25 OFFSET 0[0m
|
339601
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
339602
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339603
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339604
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339606
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.224440"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.224440"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339608
|
+
Processing by DealRedemptions::Admin::ProductsController#update as HTML
|
339609
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
|
339610
|
+
[1m[36mDealRedemptions::Product Load (0.0ms)[0m [1mSELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
339611
|
+
Unpermitted parameters: id
|
339612
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339613
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
339614
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
339615
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
339616
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
339617
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339618
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339619
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
339620
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.234456"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.234456"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339621
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339622
|
+
Processing by DealRedemptions::Admin::ProductsController#update as HTML
|
339623
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
|
339624
|
+
[1m[36mDealRedemptions::Product Load (0.1ms)[0m [1mSELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
339625
|
+
Unpermitted parameters: id
|
339626
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339627
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
339628
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
339629
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
339630
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
339631
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339632
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339633
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339634
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.243461"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.243461"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339635
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339636
|
+
Processing by DealRedemptions::Admin::ProductsController#update as HTML
|
339637
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
|
339638
|
+
[1m[36mDealRedemptions::Product Load (0.0ms)[0m [1mSELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
339639
|
+
Unpermitted parameters: id
|
339640
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339641
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339642
|
+
Redirected to http://test.host/deal_redemptions/admin/products
|
339643
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
339644
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
339645
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339646
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339649
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.250256"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.250256"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339650
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339651
|
+
Processing by DealRedemptions::Admin::ProductsController#update as HTML
|
339652
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
|
339653
|
+
[1m[36mDealRedemptions::Product Load (0.0ms)[0m [1mSELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
339654
|
+
Unpermitted parameters: id
|
339655
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339656
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339657
|
+
Redirected to http://test.host/deal_redemptions/admin/products
|
339658
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
339659
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
339660
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339661
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339663
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
339664
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.288722"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:33.288722"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
|
339665
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339666
|
+
Processing by DealRedemptions::Admin::ProductsController#update as HTML
|
339667
|
+
Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
|
339668
|
+
[1m[36mDealRedemptions::Product Load (0.0ms)[0m [1mSELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
339669
|
+
Unpermitted parameters: id
|
339670
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339671
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339672
|
+
Redirected to http://test.host/deal_redemptions/admin/products
|
339673
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
339674
|
+
[1m[35mDealRedemptions::Product Load (0.1ms)[0m SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
|
339675
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
339676
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339677
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339678
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339679
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339680
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
339681
|
+
Binary data inserted for `string` type on column `password_hash`
|
339682
|
+
Binary data inserted for `string` type on column `password_salt`
|
339683
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.364105"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:33.363935"], ["last_name", "Doe"], ["password_hash", "$2a$10$7Kg82Iw4uuyZjvx6qeAafO57P9JnFtDM/1w1rgxjc2zVGu1M45n6W"], ["password_salt", "$2a$10$7Kg82Iw4uuyZjvx6qeAafO"], ["updated_at", "2014-09-04 16:48:33.364105"]]
|
339684
|
+
|
339685
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
|
339686
|
+
|
339687
|
+
Sent mail to johndoe@gmail.com (4.5ms)
|
339688
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339689
|
+
From: noreply@domain.com
|
339690
|
+
To: johndoe@gmail.com
|
339691
|
+
Message-ID: <540897e15a9d8_15b443fecad85a6e02078d@Allans-MacBook-Pro.local.mail>
|
339692
|
+
Subject: New User Confirmation
|
339693
|
+
Mime-Version: 1.0
|
339694
|
+
Content-Type: text/html;
|
339695
|
+
charset=UTF-8
|
339696
|
+
Content-Transfer-Encoding: 7bit
|
339697
|
+
|
339698
|
+
Hi John Doe,
|
339699
|
+
|
339700
|
+
Below are your login credentials:
|
339701
|
+
|
339702
|
+
Email: johndoe@gmail.com
|
339703
|
+
Password: test123
|
339704
|
+
|
339705
|
+
Note: If this is not John Doe, please disregard this email.
|
339706
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339707
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
339708
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339709
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339710
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339711
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339712
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
339713
|
+
Binary data inserted for `string` type on column `password_hash`
|
339714
|
+
Binary data inserted for `string` type on column `password_salt`
|
339715
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.443023"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:33.442861"], ["last_name", "Doe"], ["password_hash", "$2a$10$CAkKAm0OsmvcuGyZ4qsLlee21uX6Dm9Q3YfQiZlqw/sFeltaoaag."], ["password_salt", "$2a$10$CAkKAm0OsmvcuGyZ4qsLle"], ["updated_at", "2014-09-04 16:48:33.443023"]]
|
339716
|
+
|
339717
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
|
339718
|
+
|
339719
|
+
Sent mail to johndoe@gmail.com (4.8ms)
|
339720
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339721
|
+
From: noreply@domain.com
|
339722
|
+
To: johndoe@gmail.com
|
339723
|
+
Message-ID: <540897e16ddd1_15b443fecad85a6e020855@Allans-MacBook-Pro.local.mail>
|
339724
|
+
Subject: New User Confirmation
|
339725
|
+
Mime-Version: 1.0
|
339726
|
+
Content-Type: text/html;
|
339727
|
+
charset=UTF-8
|
339728
|
+
Content-Transfer-Encoding: 7bit
|
339729
|
+
|
339730
|
+
Hi John Doe,
|
339731
|
+
|
339732
|
+
Below are your login credentials:
|
339733
|
+
|
339734
|
+
Email: johndoe@gmail.com
|
339735
|
+
Password: test123
|
339736
|
+
|
339737
|
+
Note: If this is not John Doe, please disregard this email.
|
339738
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339739
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
339740
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339741
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
339742
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339743
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
339744
|
+
[1m[35mDealRedemptions::User Exists (0.2ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
339745
|
+
Binary data inserted for `string` type on column `password_hash`
|
339746
|
+
Binary data inserted for `string` type on column `password_salt`
|
339747
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.524672"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:33.524507"], ["last_name", "Doe"], ["password_hash", "$2a$10$d7IFk4Wyzjp9DkmS9XunZORrFf8qRjmIIgilJCZJm.qTnx0r/r6Nq"], ["password_salt", "$2a$10$d7IFk4Wyzjp9DkmS9XunZO"], ["updated_at", "2014-09-04 16:48:33.524672"]]
|
339748
|
+
|
339749
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
339750
|
+
|
339751
|
+
Sent mail to johndoe@gmail.com (5.1ms)
|
339752
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339753
|
+
From: noreply@domain.com
|
339754
|
+
To: johndoe@gmail.com
|
339755
|
+
Message-ID: <540897e181c2c_15b443fecad85a6e020914@Allans-MacBook-Pro.local.mail>
|
339756
|
+
Subject: New User Confirmation
|
339757
|
+
Mime-Version: 1.0
|
339758
|
+
Content-Type: text/html;
|
339759
|
+
charset=UTF-8
|
339760
|
+
Content-Transfer-Encoding: 7bit
|
339761
|
+
|
339762
|
+
Hi John Doe,
|
339763
|
+
|
339764
|
+
Below are your login credentials:
|
339765
|
+
|
339766
|
+
Email: johndoe@gmail.com
|
339767
|
+
Password: test123
|
339768
|
+
|
339769
|
+
Note: If this is not John Doe, please disregard this email.
|
339770
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339771
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
339772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339773
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339774
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339775
|
+
[1m[36mDealRedemptions::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1[0m
|
339776
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
|
339777
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339778
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339779
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339780
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339781
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1[0m
|
339782
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
|
339783
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339784
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339785
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339786
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339787
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339788
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '' LIMIT 1
|
339789
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
339790
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
339791
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339792
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339793
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339794
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
|
339795
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1[0m
|
339796
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
339797
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
339798
|
+
[1m[35m (0.1ms)[0m commit transaction
|
339799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
339800
|
+
[1m[35mDealRedemptions::User Exists (0.2ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
|
339801
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1[0m
|
339802
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
339803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339804
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339805
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339806
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" ORDER BY "deal_redemptions_users"."id" ASC LIMIT 1
|
339807
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339808
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:33.587693"], ["email", "0"], ["first_name", "0"], ["last_login", "2014-09-04 16:48:33.587586"], ["last_name", "0"], ["password_hash", "0"], ["password_salt", "0"], ["updated_at", "2014-09-04 16:48:33.587693"]]
|
339809
|
+
|
339810
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.1ms
|
339811
|
+
|
339812
|
+
Sent mail to 0 (3.9ms)
|
339813
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339814
|
+
From: noreply@domain.com
|
339815
|
+
To: 0
|
339816
|
+
Message-ID: <540897e190f75_15b443fecad85a6e02104d@Allans-MacBook-Pro.local.mail>
|
339817
|
+
Subject: New User Confirmation
|
339818
|
+
Mime-Version: 1.0
|
339819
|
+
Content-Type: text/html;
|
339820
|
+
charset=UTF-8
|
339821
|
+
Content-Transfer-Encoding: 7bit
|
339822
|
+
|
339823
|
+
Hi 0 0,
|
339824
|
+
|
339825
|
+
Below are your login credentials:
|
339826
|
+
|
339827
|
+
Email: 0
|
339828
|
+
Password:
|
339829
|
+
|
339830
|
+
Note: If this is not 0 0, please disregard this email.
|
339831
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339832
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '0' LIMIT 1
|
339833
|
+
[1m[36mDealRedemptions::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '0' LIMIT 1[0m
|
339834
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
339835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
339836
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339838
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
339839
|
+
[1m[36mDealRedemptions::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail1@gmail.com' LIMIT 1[0m
|
339840
|
+
Binary data inserted for `string` type on column `password_hash`
|
339841
|
+
Binary data inserted for `string` type on column `password_salt`
|
339842
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:33.716482"], ["email", "testemail1@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:33.716321"], ["last_name", "Doe"], ["password_hash", "$2a$10$m7zOouIgM8oUylCbYBjQp.jdAzqbEqDloS3KTGYQ9Iu1gcMIY8Fem"], ["password_salt", "$2a$10$m7zOouIgM8oUylCbYBjQp."], ["updated_at", "2014-09-04 16:48:33.716482"]]
|
339843
|
+
|
339844
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
339845
|
+
|
339846
|
+
Sent mail to testemail1@gmail.com (4.4ms)
|
339847
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339848
|
+
From: noreply@domain.com
|
339849
|
+
To: testemail1@gmail.com
|
339850
|
+
Message-ID: <540897e1b0928_15b443fecad85a6e0211f0@Allans-MacBook-Pro.local.mail>
|
339851
|
+
Subject: New User Confirmation
|
339852
|
+
Mime-Version: 1.0
|
339853
|
+
Content-Type: text/html;
|
339854
|
+
charset=UTF-8
|
339855
|
+
Content-Transfer-Encoding: 7bit
|
339856
|
+
|
339857
|
+
Hi John Doe,
|
339858
|
+
|
339859
|
+
Below are your login credentials:
|
339860
|
+
|
339861
|
+
Email: testemail1@gmail.com
|
339862
|
+
Password: test123
|
339863
|
+
|
339864
|
+
Note: If this is not John Doe, please disregard this email.
|
339865
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339866
|
+
Processing by DealRedemptions::Admin::UserController#destroy as HTML
|
339867
|
+
Parameters: {"id"=>"1"}
|
339868
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
339869
|
+
[1m[36mDealRedemptions::User Load (0.0ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
339870
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339871
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ?[0m [["id", 1]]
|
339872
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339873
|
+
Redirected to http://test.host/deal_redemptions/admin/settings
|
339874
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
339875
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
339876
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339877
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
339878
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339879
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339880
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail2@gmail.com' LIMIT 1
|
339881
|
+
Binary data inserted for `string` type on column `password_hash`
|
339882
|
+
Binary data inserted for `string` type on column `password_salt`
|
339883
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:33.802761"], ["email", "testemail2@gmail.com"], ["first_name", "John"], ["id", 2], ["last_login", "2014-09-04 16:48:33.802566"], ["last_name", "Doe"], ["password_hash", "$2a$10$LtgkV0sMLhyL4TGNbCu6te99xcAIue4pbX1hJFyOj9gB5N230IQhi"], ["password_salt", "$2a$10$LtgkV0sMLhyL4TGNbCu6te"], ["updated_at", "2014-09-04 16:48:33.802761"]]
|
339884
|
+
|
339885
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
339886
|
+
|
339887
|
+
Sent mail to testemail2@gmail.com (4.2ms)
|
339888
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339889
|
+
From: noreply@domain.com
|
339890
|
+
To: testemail2@gmail.com
|
339891
|
+
Message-ID: <540897e1c5a99_15b443fecad85a6e0212c2@Allans-MacBook-Pro.local.mail>
|
339892
|
+
Subject: New User Confirmation
|
339893
|
+
Mime-Version: 1.0
|
339894
|
+
Content-Type: text/html;
|
339895
|
+
charset=UTF-8
|
339896
|
+
Content-Transfer-Encoding: 7bit
|
339897
|
+
|
339898
|
+
Hi John Doe,
|
339899
|
+
|
339900
|
+
Below are your login credentials:
|
339901
|
+
|
339902
|
+
Email: testemail2@gmail.com
|
339903
|
+
Password: test123
|
339904
|
+
|
339905
|
+
Note: If this is not John Doe, please disregard this email.
|
339906
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
339907
|
+
Processing by DealRedemptions::Admin::UserController#destroy as HTML
|
339908
|
+
Parameters: {"id"=>"2"}
|
339909
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 2]]
|
339910
|
+
[1m[35mDealRedemptions::User Load (0.0ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 2]]
|
339911
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
339912
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? [["id", 2]]
|
339913
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339914
|
+
Redirected to http://test.host/deal_redemptions/admin/settings
|
339915
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
339916
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
339917
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
339918
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339919
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339920
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
339921
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail3@gmail.com' LIMIT 1[0m
|
339922
|
+
Binary data inserted for `string` type on column `password_hash`
|
339923
|
+
Binary data inserted for `string` type on column `password_salt`
|
339924
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:33.889665"], ["email", "testemail3@gmail.com"], ["first_name", "John"], ["id", 3], ["last_login", "2014-09-04 16:48:33.889506"], ["last_name", "Doe"], ["password_hash", "$2a$10$lEEJCcr.s5KPIYvBaNrR4.XbzumsMNJistXDhfkyVq8NZjr5Zr/M2"], ["password_salt", "$2a$10$lEEJCcr.s5KPIYvBaNrR4."], ["updated_at", "2014-09-04 16:48:33.889665"]]
|
339925
|
+
|
339926
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.4ms
|
339927
|
+
|
339928
|
+
Sent mail to testemail3@gmail.com (4.4ms)
|
339929
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339930
|
+
From: noreply@domain.com
|
339931
|
+
To: testemail3@gmail.com
|
339932
|
+
Message-ID: <540897e1dac79_15b443fecad85a6e021396@Allans-MacBook-Pro.local.mail>
|
339933
|
+
Subject: New User Confirmation
|
339934
|
+
Mime-Version: 1.0
|
339935
|
+
Content-Type: text/html;
|
339936
|
+
charset=UTF-8
|
339937
|
+
Content-Transfer-Encoding: 7bit
|
339938
|
+
|
339939
|
+
Hi John Doe,
|
339940
|
+
|
339941
|
+
Below are your login credentials:
|
339942
|
+
|
339943
|
+
Email: testemail3@gmail.com
|
339944
|
+
Password: test123
|
339945
|
+
|
339946
|
+
Note: If this is not John Doe, please disregard this email.
|
339947
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339948
|
+
Processing by DealRedemptions::Admin::UserController#create as HTML
|
339949
|
+
Parameters: {"user"=>{"id"=>"4", "first_name"=>"John", "last_name"=>"Doe", "email"=>"", "password"=>"[FILTERED]"}}
|
339950
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 3]]
|
339951
|
+
Unpermitted parameters: id
|
339952
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
339953
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '' LIMIT 1
|
339954
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
339955
|
+
Redirected to http://test.host/deal_redemptions/admin/settings
|
339956
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
339957
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
339958
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339959
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339960
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339962
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail4@gmail.com' LIMIT 1[0m
|
339963
|
+
Binary data inserted for `string` type on column `password_hash`
|
339964
|
+
Binary data inserted for `string` type on column `password_salt`
|
339965
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:33.973399"], ["email", "testemail4@gmail.com"], ["first_name", "John"], ["id", 5], ["last_login", "2014-09-04 16:48:33.973249"], ["last_name", "Doe"], ["password_hash", "$2a$10$yar1fB4yt8eiiZYSayVL0Oa46yWJqflWqwRSL3mXJlrOm0pE3Ew/C"], ["password_salt", "$2a$10$yar1fB4yt8eiiZYSayVL0O"], ["updated_at", "2014-09-04 16:48:33.973399"]]
|
339966
|
+
|
339967
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.2ms
|
339968
|
+
|
339969
|
+
Sent mail to testemail4@gmail.com (4.4ms)
|
339970
|
+
Date: Thu, 04 Sep 2014 09:48:33 -0700
|
339971
|
+
From: noreply@domain.com
|
339972
|
+
To: testemail4@gmail.com
|
339973
|
+
Message-ID: <540897e1ef2b4_15b443fecad85a6e021422@Allans-MacBook-Pro.local.mail>
|
339974
|
+
Subject: New User Confirmation
|
339975
|
+
Mime-Version: 1.0
|
339976
|
+
Content-Type: text/html;
|
339977
|
+
charset=UTF-8
|
339978
|
+
Content-Transfer-Encoding: 7bit
|
339979
|
+
|
339980
|
+
Hi John Doe,
|
339981
|
+
|
339982
|
+
Below are your login credentials:
|
339983
|
+
|
339984
|
+
Email: testemail4@gmail.com
|
339985
|
+
Password: test123
|
339986
|
+
|
339987
|
+
Note: If this is not John Doe, please disregard this email.
|
339988
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
339989
|
+
Processing by DealRedemptions::Admin::UserController#create as HTML
|
339990
|
+
Parameters: {"user"=>{"id"=>"6", "first_name"=>"John", "last_name"=>"Doe", "email"=>"", "password"=>"[FILTERED]"}}
|
339991
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 5]]
|
339992
|
+
Unpermitted parameters: id
|
339993
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
339994
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '' LIMIT 1
|
339995
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
339996
|
+
Redirected to http://test.host/deal_redemptions/admin/settings
|
339997
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
339998
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
339999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340000
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340001
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340002
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340003
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail5@gmail.com' LIMIT 1[0m
|
340004
|
+
Binary data inserted for `string` type on column `password_hash`
|
340005
|
+
Binary data inserted for `string` type on column `password_salt`
|
340006
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:34.057142"], ["email", "testemail5@gmail.com"], ["first_name", "John"], ["id", 7], ["last_login", "2014-09-04 16:48:34.056993"], ["last_name", "Doe"], ["password_hash", "$2a$10$GqXM1FM5.eNRdoKJkTgfIulAxhX1xzrNhSLczb5iAauB5..9IQ65u"], ["password_salt", "$2a$10$GqXM1FM5.eNRdoKJkTgfIu"], ["updated_at", "2014-09-04 16:48:34.057142"]]
|
340007
|
+
|
340008
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.2ms
|
340009
|
+
|
340010
|
+
Sent mail to testemail5@gmail.com (4.4ms)
|
340011
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340012
|
+
From: noreply@domain.com
|
340013
|
+
To: testemail5@gmail.com
|
340014
|
+
Message-ID: <540897e2f776_15b443fecad85a6e021550@Allans-MacBook-Pro.local.mail>
|
340015
|
+
Subject: New User Confirmation
|
340016
|
+
Mime-Version: 1.0
|
340017
|
+
Content-Type: text/html;
|
340018
|
+
charset=UTF-8
|
340019
|
+
Content-Transfer-Encoding: 7bit
|
340020
|
+
|
340021
|
+
Hi John Doe,
|
340022
|
+
|
340023
|
+
Below are your login credentials:
|
340024
|
+
|
340025
|
+
Email: testemail5@gmail.com
|
340026
|
+
Password: test123
|
340027
|
+
|
340028
|
+
Note: If this is not John Doe, please disregard this email.
|
340029
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340030
|
+
Processing by DealRedemptions::Admin::UserController#create as HTML
|
340031
|
+
Parameters: {"user"=>{"id"=>"8", "first_name"=>"John", "last_name"=>"Doe", "email"=>"testemail6@gmail.com", "password"=>"[FILTERED]"}}
|
340032
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 7]]
|
340033
|
+
Unpermitted parameters: id
|
340034
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340035
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail6@gmail.com' LIMIT 1
|
340036
|
+
Binary data inserted for `string` type on column `password_hash`
|
340037
|
+
Binary data inserted for `string` type on column `password_salt`
|
340038
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:34.141920"], ["email", "testemail6@gmail.com"], ["first_name", "John"], ["last_login", "2014-09-04 16:48:34.141764"], ["last_name", "Doe"], ["password_hash", "$2a$10$oGui6EMc7CIi1e0WD9sKHeHLJwiZ45gYODl2uR7KBzKk63s4VF6ti"], ["password_salt", "$2a$10$oGui6EMc7CIi1e0WD9sKHe"], ["updated_at", "2014-09-04 16:48:34.141920"]]
|
340039
|
+
|
340040
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.2ms
|
340041
|
+
|
340042
|
+
Sent mail to testemail6@gmail.com (35.8ms)
|
340043
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340044
|
+
From: noreply@domain.com
|
340045
|
+
To: testemail6@gmail.com
|
340046
|
+
Message-ID: <540897e2242fc_15b443fecad85a6e02166b@Allans-MacBook-Pro.local.mail>
|
340047
|
+
Subject: New User Confirmation
|
340048
|
+
Mime-Version: 1.0
|
340049
|
+
Content-Type: text/html;
|
340050
|
+
charset=UTF-8
|
340051
|
+
Content-Transfer-Encoding: 7bit
|
340052
|
+
|
340053
|
+
Hi John Doe,
|
340054
|
+
|
340055
|
+
Below are your login credentials:
|
340056
|
+
|
340057
|
+
Email: testemail6@gmail.com
|
340058
|
+
Password: test123
|
340059
|
+
|
340060
|
+
Note: If this is not John Doe, please disregard this email.
|
340061
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340062
|
+
Redirected to http://test.host/deal_redemptions/admin/settings
|
340063
|
+
Completed 302 Found in 115ms (ActiveRecord: 0.6ms)
|
340064
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
340065
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340066
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340067
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340068
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340069
|
+
[1m[35mDealRedemptions::User Exists (0.2ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail7@gmail.com' LIMIT 1
|
340070
|
+
Binary data inserted for `string` type on column `password_hash`
|
340071
|
+
Binary data inserted for `string` type on column `password_salt`
|
340072
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:34.255229"], ["email", "testemail7@gmail.com"], ["first_name", "John"], ["id", 9], ["last_login", "2014-09-04 16:48:34.255061"], ["last_name", "Doe"], ["password_hash", "$2a$10$iuT7a6TScIeLK5HIHyiaxOM19zdFLK0UxSq.8A6CyrhSaifT.z9oi"], ["password_salt", "$2a$10$iuT7a6TScIeLK5HIHyiaxO"], ["updated_at", "2014-09-04 16:48:34.255229"]]
|
340073
|
+
|
340074
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
340075
|
+
|
340076
|
+
Sent mail to testemail7@gmail.com (4.6ms)
|
340077
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340078
|
+
From: noreply@domain.com
|
340079
|
+
To: testemail7@gmail.com
|
340080
|
+
Message-ID: <540897e23ff95_15b443fecad85a6e0217ab@Allans-MacBook-Pro.local.mail>
|
340081
|
+
Subject: New User Confirmation
|
340082
|
+
Mime-Version: 1.0
|
340083
|
+
Content-Type: text/html;
|
340084
|
+
charset=UTF-8
|
340085
|
+
Content-Transfer-Encoding: 7bit
|
340086
|
+
|
340087
|
+
Hi John Doe,
|
340088
|
+
|
340089
|
+
Below are your login credentials:
|
340090
|
+
|
340091
|
+
Email: testemail7@gmail.com
|
340092
|
+
Password: test123
|
340093
|
+
|
340094
|
+
Note: If this is not John Doe, please disregard this email.
|
340095
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340096
|
+
Processing by DealRedemptions::Admin::UserController#create as HTML
|
340097
|
+
Parameters: {"user"=>{"id"=>"10", "first_name"=>"John", "last_name"=>"Doe", "email"=>"testemail8@gmail.com", "password"=>"[FILTERED]"}}
|
340098
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 9]]
|
340099
|
+
Unpermitted parameters: id
|
340100
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340101
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail8@gmail.com' LIMIT 1[0m
|
340102
|
+
Binary data inserted for `string` type on column `password_hash`
|
340103
|
+
Binary data inserted for `string` type on column `password_salt`
|
340104
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:34.334294"], ["email", "testemail8@gmail.com"], ["first_name", "John"], ["last_login", "2014-09-04 16:48:34.334167"], ["last_name", "Doe"], ["password_hash", "$2a$10$wjOUhc7hfF8F.6vbIczTvOhJYI.Kn48gGJIbluPAlOvlgiQPwcSp2"], ["password_salt", "$2a$10$wjOUhc7hfF8F.6vbIczTvO"], ["updated_at", "2014-09-04 16:48:34.334294"]]
|
340105
|
+
|
340106
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
|
340107
|
+
|
340108
|
+
Sent mail to testemail8@gmail.com (4.5ms)
|
340109
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340110
|
+
From: noreply@domain.com
|
340111
|
+
To: testemail8@gmail.com
|
340112
|
+
Message-ID: <540897e253418_15b443fecad85a6e021872@Allans-MacBook-Pro.local.mail>
|
340113
|
+
Subject: New User Confirmation
|
340114
|
+
Mime-Version: 1.0
|
340115
|
+
Content-Type: text/html;
|
340116
|
+
charset=UTF-8
|
340117
|
+
Content-Transfer-Encoding: 7bit
|
340118
|
+
|
340119
|
+
Hi John Doe,
|
340120
|
+
|
340121
|
+
Below are your login credentials:
|
340122
|
+
|
340123
|
+
Email: testemail8@gmail.com
|
340124
|
+
Password: test123
|
340125
|
+
|
340126
|
+
Note: If this is not John Doe, please disregard this email.
|
340127
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340128
|
+
Redirected to http://test.host/deal_redemptions/admin/settings
|
340129
|
+
Completed 302 Found in 77ms (ActiveRecord: 0.6ms)
|
340130
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
340131
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340132
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340133
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340134
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340135
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["address1", "1600 N Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Comments going here."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:34.350375"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:34.350375"], ["zip_code", "91351"]]
|
340136
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340137
|
+
|
340138
|
+
DealRedemptions::RedemptionMailer#confirmation: processed outbound mail in 12.7ms
|
340139
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
340140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340141
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
340142
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340143
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340144
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["address1", "1600 N Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Comments going here."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:34.369790"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:34.369790"], ["zip_code", "91351"]]
|
340145
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340146
|
+
|
340147
|
+
DealRedemptions::RedemptionMailer#confirmation: processed outbound mail in 5.2ms
|
340148
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
340149
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340150
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340152
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340153
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_redemptions" ("address1", "address2", "city", "comments", "company_id", "country", "created_at", "email_address", "first_name", "id", "last_name", "phone", "state", "updated_at", "zip_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["address1", "1600 N Street Rd"], ["address2", ""], ["city", "Valencia"], ["comments", "Comments going here."], ["company_id", 1], ["country", "United States"], ["created_at", "2014-09-04 16:48:34.380692"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-04 16:48:34.380692"], ["zip_code", "91351"]]
|
340154
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340155
|
+
|
340156
|
+
DealRedemptions::RedemptionMailer#confirmation: processed outbound mail in 5.8ms
|
340157
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
340158
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340159
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340160
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340161
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340162
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:34.391635"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-04 16:48:34.391635"], ["url", "http://www.redemptions.com"]]
|
340163
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340164
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
340165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340166
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340168
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340169
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340170
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340172
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
340173
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340174
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340176
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
340177
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
340178
|
+
Binary data inserted for `string` type on column `password_hash`
|
340179
|
+
Binary data inserted for `string` type on column `password_salt`
|
340180
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:34.470308"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:34.470094"], ["last_name", "Doe"], ["password_hash", "$2a$10$tKEdHMazoYYt.rW3SDh1DOKN4UlN/7L24OXulIIrpdqoG2UJmO8Z6"], ["password_salt", "$2a$10$tKEdHMazoYYt.rW3SDh1DO"], ["updated_at", "2014-09-04 16:48:34.470308"]]
|
340181
|
+
|
340182
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.8ms
|
340183
|
+
|
340184
|
+
Sent mail to johndoe@gmail.com (4.9ms)
|
340185
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340186
|
+
From: noreply@domain.com
|
340187
|
+
To: johndoe@gmail.com
|
340188
|
+
Message-ID: <540897e274e66_15b443fecad85a6e02195f@Allans-MacBook-Pro.local.mail>
|
340189
|
+
Subject: New User Confirmation
|
340190
|
+
Mime-Version: 1.0
|
340191
|
+
Content-Type: text/html;
|
340192
|
+
charset=UTF-8
|
340193
|
+
Content-Transfer-Encoding: 7bit
|
340194
|
+
|
340195
|
+
Hi John Doe,
|
340196
|
+
|
340197
|
+
Below are your login credentials:
|
340198
|
+
|
340199
|
+
Email: johndoe@gmail.com
|
340200
|
+
Password: test123
|
340201
|
+
|
340202
|
+
Note: If this is not John Doe, please disregard this email.
|
340203
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340204
|
+
Processing by DealRedemptions::Admin::SettingsController#index as HTML
|
340205
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
340206
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
340207
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" ORDER BY "deal_redemptions_users"."first_name" ASC[0m
|
340208
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
340209
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340210
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340211
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340212
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340213
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
340214
|
+
Binary data inserted for `string` type on column `password_hash`
|
340215
|
+
Binary data inserted for `string` type on column `password_salt`
|
340216
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:34.556661"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:34.556466"], ["last_name", "Doe"], ["password_hash", "$2a$10$oBXN73KdS1/.9drGkyLbb.psmS4kiU3kNFgutIJVY/wdCnxQVaaLS"], ["password_salt", "$2a$10$oBXN73KdS1/.9drGkyLbb."], ["updated_at", "2014-09-04 16:48:34.556661"]]
|
340217
|
+
|
340218
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.2ms
|
340219
|
+
|
340220
|
+
Sent mail to johndoe@gmail.com (39.2ms)
|
340221
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340222
|
+
From: noreply@domain.com
|
340223
|
+
To: johndoe@gmail.com
|
340224
|
+
Message-ID: <540897e289c39_15b443fecad85a6e02201e@Allans-MacBook-Pro.local.mail>
|
340225
|
+
Subject: New User Confirmation
|
340226
|
+
Mime-Version: 1.0
|
340227
|
+
Content-Type: text/html;
|
340228
|
+
charset=UTF-8
|
340229
|
+
Content-Transfer-Encoding: 7bit
|
340230
|
+
|
340231
|
+
Hi John Doe,
|
340232
|
+
|
340233
|
+
Below are your login credentials:
|
340234
|
+
|
340235
|
+
Email: johndoe@gmail.com
|
340236
|
+
Password: test123
|
340237
|
+
|
340238
|
+
Note: If this is not John Doe, please disregard this email.
|
340239
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340240
|
+
Processing by DealRedemptions::Admin::SettingsController#index as HTML
|
340241
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
340242
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
340243
|
+
[1m[36m (1.7ms)[0m [1mrollback transaction[0m
|
340244
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340245
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340246
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340247
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340248
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
340249
|
+
Binary data inserted for `string` type on column `password_hash`
|
340250
|
+
Binary data inserted for `string` type on column `password_salt`
|
340251
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:34.674820"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:34.674659"], ["last_name", "Doe"], ["password_hash", "$2a$10$SDpZ9Neexhf1bb6n.wgaL.7tou4Cr3AsERIeRae0.ZmmAAwIGqWvu"], ["password_salt", "$2a$10$SDpZ9Neexhf1bb6n.wgaL."], ["updated_at", "2014-09-04 16:48:34.674820"]]
|
340252
|
+
|
340253
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
|
340254
|
+
|
340255
|
+
Sent mail to johndoe@gmail.com (4.6ms)
|
340256
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340257
|
+
From: noreply@domain.com
|
340258
|
+
To: johndoe@gmail.com
|
340259
|
+
Message-ID: <540897e2a6727_15b443fecad85a6e02215e@Allans-MacBook-Pro.local.mail>
|
340260
|
+
Subject: New User Confirmation
|
340261
|
+
Mime-Version: 1.0
|
340262
|
+
Content-Type: text/html;
|
340263
|
+
charset=UTF-8
|
340264
|
+
Content-Transfer-Encoding: 7bit
|
340265
|
+
|
340266
|
+
Hi John Doe,
|
340267
|
+
|
340268
|
+
Below are your login credentials:
|
340269
|
+
|
340270
|
+
Email: johndoe@gmail.com
|
340271
|
+
Password: test123
|
340272
|
+
|
340273
|
+
Note: If this is not John Doe, please disregard this email.
|
340274
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340275
|
+
Processing by DealRedemptions::Admin::SettingsController#index as HTML
|
340276
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340277
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
340278
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
340279
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340280
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340282
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340283
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340284
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340285
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340286
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340288
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340289
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340290
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340291
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340292
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340294
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340296
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340297
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340298
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340299
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340300
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340302
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340303
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340304
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340306
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
340307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340308
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340309
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340310
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340311
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340312
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340313
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340314
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340315
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340316
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340317
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340318
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340319
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1[0m
|
340320
|
+
[1m[35mDealRedemptions::Company Exists (0.0ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
|
340321
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:34.709849"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:34.709849"], ["url", "http://www.groupon.com"]]
|
340322
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340323
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340324
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:34.711401"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:34.711401"]]
|
340325
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340326
|
+
[1m[35mDealRedemptions::Company Load (0.1ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
|
340327
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
340328
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340329
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340330
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340331
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340332
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
340333
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
340334
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:34.720288"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:34.720288"], ["url", "http://www.groupon.com"]]
|
340335
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340337
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:34.721995"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:34.721995"]]
|
340338
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340339
|
+
[1m[36mDealRedemptions::Company Load (0.0ms)[0m [1mSELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1[0m [["id", 1]]
|
340340
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
340341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340342
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340344
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
340345
|
+
[1m[36mDealRedemptions::Company Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1[0m
|
340346
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
|
340347
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:34.728633"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:34.728633"], ["url", "http://www.groupon.com"]]
|
340348
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340349
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340350
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:34.730575"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:34.730575"]]
|
340351
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340352
|
+
[1m[35mDealRedemptions::Company Load (0.1ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
|
340353
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
340354
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340355
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340356
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340357
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
340358
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340359
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340360
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340361
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
340362
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340363
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340364
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340365
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
340366
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340367
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340368
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340369
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
340370
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340371
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340372
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340373
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340374
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
340375
|
+
Binary data inserted for `string` type on column `password_hash`
|
340376
|
+
Binary data inserted for `string` type on column `password_salt`
|
340377
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:34.811127"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:34.810957"], ["last_name", "Doe"], ["password_hash", "$2a$10$aupOoucoPZqXb7uQL/mMauIWKHOUjyYpA.mdZSZF9ELYS50z/gmwW"], ["password_salt", "$2a$10$aupOoucoPZqXb7uQL/mMau"], ["updated_at", "2014-09-04 16:48:34.811127"]]
|
340378
|
+
|
340379
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
340380
|
+
|
340381
|
+
Sent mail to johndoe@gmail.com (4.7ms)
|
340382
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340383
|
+
From: noreply@domain.com
|
340384
|
+
To: johndoe@gmail.com
|
340385
|
+
Message-ID: <540897e2c7b6c_15b443fecad85a6e022242@Allans-MacBook-Pro.local.mail>
|
340386
|
+
Subject: New User Confirmation
|
340387
|
+
Mime-Version: 1.0
|
340388
|
+
Content-Type: text/html;
|
340389
|
+
charset=UTF-8
|
340390
|
+
Content-Transfer-Encoding: 7bit
|
340391
|
+
|
340392
|
+
Hi John Doe,
|
340393
|
+
|
340394
|
+
Below are your login credentials:
|
340395
|
+
|
340396
|
+
Email: johndoe@gmail.com
|
340397
|
+
Password: test123
|
340398
|
+
|
340399
|
+
Note: If this is not John Doe, please disregard this email.
|
340400
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340401
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
|
340402
|
+
Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"", "status"=>"active"}}
|
340403
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340404
|
+
Unpermitted parameters: redemption_id
|
340405
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '' AND company_id = '1')
|
340406
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340407
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
340408
|
+
Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms)
|
340409
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
340410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340411
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340412
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340413
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340414
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
340415
|
+
Binary data inserted for `string` type on column `password_hash`
|
340416
|
+
Binary data inserted for `string` type on column `password_salt`
|
340417
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:34.900202"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:34.899981"], ["last_name", "Doe"], ["password_hash", "$2a$10$Jjepa2j0.5Uf5DUIXfVGkewLUKqlDhOaAYSXBo69Sl8nN7iiXeqQe"], ["password_salt", "$2a$10$Jjepa2j0.5Uf5DUIXfVGke"], ["updated_at", "2014-09-04 16:48:34.900202"]]
|
340418
|
+
|
340419
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.2ms
|
340420
|
+
|
340421
|
+
Sent mail to johndoe@gmail.com (5.0ms)
|
340422
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340423
|
+
From: noreply@domain.com
|
340424
|
+
To: johndoe@gmail.com
|
340425
|
+
Message-ID: <540897e2dd9df_15b443fecad85a6e02235c@Allans-MacBook-Pro.local.mail>
|
340426
|
+
Subject: New User Confirmation
|
340427
|
+
Mime-Version: 1.0
|
340428
|
+
Content-Type: text/html;
|
340429
|
+
charset=UTF-8
|
340430
|
+
Content-Transfer-Encoding: 7bit
|
340431
|
+
|
340432
|
+
Hi John Doe,
|
340433
|
+
|
340434
|
+
Below are your login credentials:
|
340435
|
+
|
340436
|
+
Email: johndoe@gmail.com
|
340437
|
+
Password: test123
|
340438
|
+
|
340439
|
+
Note: If this is not John Doe, please disregard this email.
|
340440
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340441
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
|
340442
|
+
Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"", "status"=>"active"}}
|
340443
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340444
|
+
Unpermitted parameters: redemption_id
|
340445
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '' AND company_id = '1')
|
340446
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340447
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
340448
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
340449
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
340450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340451
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340452
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340453
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340454
|
+
[1m[35mDealRedemptions::User Exists (0.2ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
340455
|
+
Binary data inserted for `string` type on column `password_hash`
|
340456
|
+
Binary data inserted for `string` type on column `password_salt`
|
340457
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:34.990076"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:34.989901"], ["last_name", "Doe"], ["password_hash", "$2a$10$Ev8bQnMKVmH.UvxLUw0Rkea.QFfZ6GfMtpypDfrsuEKKFhDHCHKV2"], ["password_salt", "$2a$10$Ev8bQnMKVmH.UvxLUw0Rke"], ["updated_at", "2014-09-04 16:48:34.990076"]]
|
340458
|
+
|
340459
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.0ms
|
340460
|
+
|
340461
|
+
Sent mail to johndoe@gmail.com (5.3ms)
|
340462
|
+
Date: Thu, 04 Sep 2014 09:48:34 -0700
|
340463
|
+
From: noreply@domain.com
|
340464
|
+
To: johndoe@gmail.com
|
340465
|
+
Message-ID: <540897e2f383a_15b443fecad85a6e022451@Allans-MacBook-Pro.local.mail>
|
340466
|
+
Subject: New User Confirmation
|
340467
|
+
Mime-Version: 1.0
|
340468
|
+
Content-Type: text/html;
|
340469
|
+
charset=UTF-8
|
340470
|
+
Content-Transfer-Encoding: 7bit
|
340471
|
+
|
340472
|
+
Hi John Doe,
|
340473
|
+
|
340474
|
+
Below are your login credentials:
|
340475
|
+
|
340476
|
+
Email: johndoe@gmail.com
|
340477
|
+
Password: test123
|
340478
|
+
|
340479
|
+
Note: If this is not John Doe, please disregard this email.
|
340480
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340481
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
|
340482
|
+
Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}}
|
340483
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340484
|
+
Unpermitted parameters: redemption_id
|
340485
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')
|
340486
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340487
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "123456789"], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.039690"], ["product_id", 1], ["updated_at", "2014-09-04 16:48:35.039690"]]
|
340488
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340489
|
+
Redirected to http://test.host/deal_redemptions/admin/redeem_codes
|
340490
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
340491
|
+
[1m[35m (1.8ms)[0m rollback transaction
|
340492
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340493
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340494
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340495
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340496
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
340497
|
+
Binary data inserted for `string` type on column `password_hash`
|
340498
|
+
Binary data inserted for `string` type on column `password_salt`
|
340499
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:35.110517"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.110354"], ["last_name", "Doe"], ["password_hash", "$2a$10$/Kjf4zILOO/uUCN9YCzK4egSUOkWzytaOIUCY4fXwShhpkykRDW1W"], ["password_salt", "$2a$10$/Kjf4zILOO/uUCN9YCzK4e"], ["updated_at", "2014-09-04 16:48:35.110517"]]
|
340500
|
+
|
340501
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
|
340502
|
+
|
340503
|
+
Sent mail to johndoe@gmail.com (4.6ms)
|
340504
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340505
|
+
From: noreply@domain.com
|
340506
|
+
To: johndoe@gmail.com
|
340507
|
+
Message-ID: <540897e31cba8_15b443fecad85a6e0225d5@Allans-MacBook-Pro.local.mail>
|
340508
|
+
Subject: New User Confirmation
|
340509
|
+
Mime-Version: 1.0
|
340510
|
+
Content-Type: text/html;
|
340511
|
+
charset=UTF-8
|
340512
|
+
Content-Transfer-Encoding: 7bit
|
340513
|
+
|
340514
|
+
Hi John Doe,
|
340515
|
+
|
340516
|
+
Below are your login credentials:
|
340517
|
+
|
340518
|
+
Email: johndoe@gmail.com
|
340519
|
+
Password: test123
|
340520
|
+
|
340521
|
+
Note: If this is not John Doe, please disregard this email.
|
340522
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340523
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
|
340524
|
+
Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}}
|
340525
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
340526
|
+
Unpermitted parameters: redemption_id
|
340527
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')[0m
|
340528
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
340529
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["code", "123456789"], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.126528"], ["product_id", 1], ["updated_at", "2014-09-04 16:48:35.126528"]]
|
340530
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340531
|
+
Redirected to http://test.host/deal_redemptions/admin/redeem_codes
|
340532
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
340533
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
340534
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340535
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340536
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340537
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340538
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
340539
|
+
Binary data inserted for `string` type on column `password_hash`
|
340540
|
+
Binary data inserted for `string` type on column `password_salt`
|
340541
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:35.196279"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.195998"], ["last_name", "Doe"], ["password_hash", "$2a$10$W63UsLEYTwZdB/sPq8JFtuUO4/.6d09HZRP562ibhRr6.81Fu800K"], ["password_salt", "$2a$10$W63UsLEYTwZdB/sPq8JFtu"], ["updated_at", "2014-09-04 16:48:35.196279"]]
|
340542
|
+
|
340543
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.9ms
|
340544
|
+
|
340545
|
+
Sent mail to johndoe@gmail.com (5.0ms)
|
340546
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340547
|
+
From: noreply@domain.com
|
340548
|
+
To: johndoe@gmail.com
|
340549
|
+
Message-ID: <540897e331ebd_15b443fecad85a6e0226bc@Allans-MacBook-Pro.local.mail>
|
340550
|
+
Subject: New User Confirmation
|
340551
|
+
Mime-Version: 1.0
|
340552
|
+
Content-Type: text/html;
|
340553
|
+
charset=UTF-8
|
340554
|
+
Content-Transfer-Encoding: 7bit
|
340555
|
+
|
340556
|
+
Hi John Doe,
|
340557
|
+
|
340558
|
+
Below are your login credentials:
|
340559
|
+
|
340560
|
+
Email: johndoe@gmail.com
|
340561
|
+
Password: test123
|
340562
|
+
|
340563
|
+
Note: If this is not John Doe, please disregard this email.
|
340564
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340565
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_redeem_codes"[0m
|
340566
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
|
340567
|
+
Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}}
|
340568
|
+
[1m[35mDealRedemptions::User Load (0.0ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
340569
|
+
Unpermitted parameters: redemption_id
|
340570
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')[0m
|
340571
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340572
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["code", "123456789"], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.214201"], ["product_id", 1], ["updated_at", "2014-09-04 16:48:35.214201"]]
|
340573
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340574
|
+
Redirected to http://test.host/deal_redemptions/admin/redeem_codes
|
340575
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
340576
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_redeem_codes"[0m
|
340577
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
340578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340579
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340580
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340581
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340582
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
340583
|
+
Binary data inserted for `string` type on column `password_hash`
|
340584
|
+
Binary data inserted for `string` type on column `password_salt`
|
340585
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:35.284209"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.284051"], ["last_name", "Doe"], ["password_hash", "$2a$10$ui3hMgmn3qPNaqZCu/IqwuEjFn.N4Fc4U1LmkiZi23DVFj/956qp."], ["password_salt", "$2a$10$ui3hMgmn3qPNaqZCu/Iqwu"], ["updated_at", "2014-09-04 16:48:35.284209"]]
|
340586
|
+
|
340587
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
|
340588
|
+
|
340589
|
+
Sent mail to johndoe@gmail.com (4.6ms)
|
340590
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340591
|
+
From: noreply@domain.com
|
340592
|
+
To: johndoe@gmail.com
|
340593
|
+
Message-ID: <540897e3470ac_15b443fecad85a6e022756@Allans-MacBook-Pro.local.mail>
|
340594
|
+
Subject: New User Confirmation
|
340595
|
+
Mime-Version: 1.0
|
340596
|
+
Content-Type: text/html;
|
340597
|
+
charset=UTF-8
|
340598
|
+
Content-Transfer-Encoding: 7bit
|
340599
|
+
|
340600
|
+
Hi John Doe,
|
340601
|
+
|
340602
|
+
Below are your login credentials:
|
340603
|
+
|
340604
|
+
Email: johndoe@gmail.com
|
340605
|
+
Password: test123
|
340606
|
+
|
340607
|
+
Note: If this is not John Doe, please disregard this email.
|
340608
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340609
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#new as HTML
|
340610
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
340611
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
340612
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
340613
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340614
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340616
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340617
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
340618
|
+
Binary data inserted for `string` type on column `password_hash`
|
340619
|
+
Binary data inserted for `string` type on column `password_salt`
|
340620
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:35.370432"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.370266"], ["last_name", "Doe"], ["password_hash", "$2a$10$pSvMRr.OH6vgY98lj5wpNObOR31uxNBL8Sd8LCvw8mK3HLmrZBPTi"], ["password_salt", "$2a$10$pSvMRr.OH6vgY98lj5wpNO"], ["updated_at", "2014-09-04 16:48:35.370432"]]
|
340621
|
+
|
340622
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.4ms
|
340623
|
+
|
340624
|
+
Sent mail to johndoe@gmail.com (4.4ms)
|
340625
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340626
|
+
From: noreply@domain.com
|
340627
|
+
To: johndoe@gmail.com
|
340628
|
+
Message-ID: <540897e35c0a8_15b443fecad85a6e02285a@Allans-MacBook-Pro.local.mail>
|
340629
|
+
Subject: New User Confirmation
|
340630
|
+
Mime-Version: 1.0
|
340631
|
+
Content-Type: text/html;
|
340632
|
+
charset=UTF-8
|
340633
|
+
Content-Transfer-Encoding: 7bit
|
340634
|
+
|
340635
|
+
Hi John Doe,
|
340636
|
+
|
340637
|
+
Below are your login credentials:
|
340638
|
+
|
340639
|
+
Email: johndoe@gmail.com
|
340640
|
+
Password: test123
|
340641
|
+
|
340642
|
+
Note: If this is not John Doe, please disregard this email.
|
340643
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340644
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340645
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.382163"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:35.382163"]]
|
340646
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340647
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#destroy as HTML
|
340648
|
+
Parameters: {"id"=>"1"}
|
340649
|
+
[1m[35mDealRedemptions::User Load (0.0ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
340650
|
+
[1m[36mDealRedemptions::RedeemCode Load (0.1ms)[0m [1mSELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1[0m [["id", 1]]
|
340651
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340652
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ?[0m [["id", 1]]
|
340653
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340654
|
+
Redirected to http://test.host/deal_redemptions/admin/redeem_codes
|
340655
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
340656
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
340657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340658
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340659
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340660
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340661
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
340662
|
+
Binary data inserted for `string` type on column `password_hash`
|
340663
|
+
Binary data inserted for `string` type on column `password_salt`
|
340664
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:35.458338"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.458174"], ["last_name", "Doe"], ["password_hash", "$2a$10$gsGykBcQAE9TVRAXeBfuuevQ5ijw/Rj3x9Y/Ar8C.4IJ.KZNv5vXi"], ["password_salt", "$2a$10$gsGykBcQAE9TVRAXeBfuue"], ["updated_at", "2014-09-04 16:48:35.458338"]]
|
340665
|
+
|
340666
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
|
340667
|
+
|
340668
|
+
Sent mail to johndoe@gmail.com (4.6ms)
|
340669
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340670
|
+
From: noreply@domain.com
|
340671
|
+
To: johndoe@gmail.com
|
340672
|
+
Message-ID: <540897e3719f5_15b443fecad85a6e0229d7@Allans-MacBook-Pro.local.mail>
|
340673
|
+
Subject: New User Confirmation
|
340674
|
+
Mime-Version: 1.0
|
340675
|
+
Content-Type: text/html;
|
340676
|
+
charset=UTF-8
|
340677
|
+
Content-Transfer-Encoding: 7bit
|
340678
|
+
|
340679
|
+
Hi John Doe,
|
340680
|
+
|
340681
|
+
Below are your login credentials:
|
340682
|
+
|
340683
|
+
Email: johndoe@gmail.com
|
340684
|
+
Password: test123
|
340685
|
+
|
340686
|
+
Note: If this is not John Doe, please disregard this email.
|
340687
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340688
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340689
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.470798"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:35.470798"]]
|
340690
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340691
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "deal_redemptions_redeem_codes"
|
340692
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#destroy as HTML
|
340693
|
+
Parameters: {"id"=>"1"}
|
340694
|
+
[1m[36mDealRedemptions::User Load (0.0ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340695
|
+
[1m[35mDealRedemptions::RedeemCode Load (0.0ms)[0m SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
|
340696
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340697
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? [["id", 1]]
|
340698
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340699
|
+
Redirected to http://test.host/deal_redemptions/admin/redeem_codes
|
340700
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
340701
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "deal_redemptions_redeem_codes"
|
340702
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
340703
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340704
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340705
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340707
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
340708
|
+
Binary data inserted for `string` type on column `password_hash`
|
340709
|
+
Binary data inserted for `string` type on column `password_salt`
|
340710
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:35.544723"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.544483"], ["last_name", "Doe"], ["password_hash", "$2a$10$J/hDIr5XP4i4DOYoJNru2ebYv6rBbXCXRyw9yZEPx8zYDLRHFCBZa"], ["password_salt", "$2a$10$J/hDIr5XP4i4DOYoJNru2e"], ["updated_at", "2014-09-04 16:48:35.544723"]]
|
340711
|
+
|
340712
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.3ms
|
340713
|
+
|
340714
|
+
Sent mail to johndoe@gmail.com (37.4ms)
|
340715
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340716
|
+
From: noreply@domain.com
|
340717
|
+
To: johndoe@gmail.com
|
340718
|
+
Message-ID: <540897e386e0e_15b443fecad85a6e023083@Allans-MacBook-Pro.local.mail>
|
340719
|
+
Subject: New User Confirmation
|
340720
|
+
Mime-Version: 1.0
|
340721
|
+
Content-Type: text/html;
|
340722
|
+
charset=UTF-8
|
340723
|
+
Content-Transfer-Encoding: 7bit
|
340724
|
+
|
340725
|
+
Hi John Doe,
|
340726
|
+
|
340727
|
+
Below are your login credentials:
|
340728
|
+
|
340729
|
+
Email: johndoe@gmail.com
|
340730
|
+
Password: test123
|
340731
|
+
|
340732
|
+
Note: If this is not John Doe, please disregard this email.
|
340733
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340734
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340735
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.590811"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:35.590811"]]
|
340736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340737
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#edit as HTML
|
340738
|
+
Parameters: {"id"=>"1"}
|
340739
|
+
[1m[35mDealRedemptions::User Load (0.0ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
340740
|
+
[1m[36mDealRedemptions::RedeemCode Load (0.0ms)[0m [1mSELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1[0m [["id", 1]]
|
340741
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
340742
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
340743
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340744
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340745
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340746
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340747
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
340748
|
+
Binary data inserted for `string` type on column `password_hash`
|
340749
|
+
Binary data inserted for `string` type on column `password_salt`
|
340750
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:35.666191"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.665925"], ["last_name", "Doe"], ["password_hash", "$2a$10$/NJEWSYT5FvCTKNp3EYFjOoBnApmMeUCVfA.xcdARyomPPvM.pVIy"], ["password_salt", "$2a$10$/NJEWSYT5FvCTKNp3EYFjO"], ["updated_at", "2014-09-04 16:48:35.666191"]]
|
340751
|
+
|
340752
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
340753
|
+
|
340754
|
+
Sent mail to johndoe@gmail.com (4.4ms)
|
340755
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340756
|
+
From: noreply@domain.com
|
340757
|
+
To: johndoe@gmail.com
|
340758
|
+
Message-ID: <540897e3a4537_15b443fecad85a6e0231d2@Allans-MacBook-Pro.local.mail>
|
340759
|
+
Subject: New User Confirmation
|
340760
|
+
Mime-Version: 1.0
|
340761
|
+
Content-Type: text/html;
|
340762
|
+
charset=UTF-8
|
340763
|
+
Content-Transfer-Encoding: 7bit
|
340764
|
+
|
340765
|
+
Hi John Doe,
|
340766
|
+
|
340767
|
+
Below are your login credentials:
|
340768
|
+
|
340769
|
+
Email: johndoe@gmail.com
|
340770
|
+
Password: test123
|
340771
|
+
|
340772
|
+
Note: If this is not John Doe, please disregard this email.
|
340773
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340774
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340775
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.678332"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:35.678332"]]
|
340776
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
340777
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#index as HTML
|
340778
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340779
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
|
340780
|
+
[1m[35mDealRedemptions::RedeemCode Load (0.2ms)[0m SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" ORDER BY "deal_redemptions_redeem_codes"."code" ASC LIMIT 25 OFFSET 0
|
340781
|
+
[1m[36mDealRedemptions::Company Load (0.2ms)[0m [1mSELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" IN (1)[0m
|
340782
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
340783
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340784
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340785
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340786
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
340787
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
340788
|
+
Binary data inserted for `string` type on column `password_hash`
|
340789
|
+
Binary data inserted for `string` type on column `password_salt`
|
340790
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:35.762760"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.762594"], ["last_name", "Doe"], ["password_hash", "$2a$10$KG.jpf1UYSKHzsJIpEvykelx0rdMJUZXF5mXR7CUY7Q.u.9VBOBae"], ["password_salt", "$2a$10$KG.jpf1UYSKHzsJIpEvyke"], ["updated_at", "2014-09-04 16:48:35.762760"]]
|
340791
|
+
|
340792
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
340793
|
+
|
340794
|
+
Sent mail to johndoe@gmail.com (4.4ms)
|
340795
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340796
|
+
From: noreply@domain.com
|
340797
|
+
To: johndoe@gmail.com
|
340798
|
+
Message-ID: <540897e3bbe3e_15b443fecad85a6e023291@Allans-MacBook-Pro.local.mail>
|
340799
|
+
Subject: New User Confirmation
|
340800
|
+
Mime-Version: 1.0
|
340801
|
+
Content-Type: text/html;
|
340802
|
+
charset=UTF-8
|
340803
|
+
Content-Transfer-Encoding: 7bit
|
340804
|
+
|
340805
|
+
Hi John Doe,
|
340806
|
+
|
340807
|
+
Below are your login credentials:
|
340808
|
+
|
340809
|
+
Email: johndoe@gmail.com
|
340810
|
+
Password: test123
|
340811
|
+
|
340812
|
+
Note: If this is not John Doe, please disregard this email.
|
340813
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340814
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340815
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.774806"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:35.774806"]]
|
340816
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340817
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#update as HTML
|
340818
|
+
Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"", "status"=>"active"}, "id"=>"1"}
|
340819
|
+
[1m[36mDealRedemptions::User Load (0.0ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340820
|
+
[1m[35mDealRedemptions::RedeemCode Load (0.0ms)[0m SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
|
340821
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '' AND company_id = '1')[0m
|
340822
|
+
Unpermitted parameters: redemption_id
|
340823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340824
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
340825
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
340826
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
340827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340828
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340829
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340830
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
340831
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
340832
|
+
Binary data inserted for `string` type on column `password_hash`
|
340833
|
+
Binary data inserted for `string` type on column `password_salt`
|
340834
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:35.853416"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.853249"], ["last_name", "Doe"], ["password_hash", "$2a$10$yU21pAp6biL2kdFrIJh0U.8RE9/PuUhZ3rVg/ozWQbMBQH4RySjWu"], ["password_salt", "$2a$10$yU21pAp6biL2kdFrIJh0U."], ["updated_at", "2014-09-04 16:48:35.853416"]]
|
340835
|
+
|
340836
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
340837
|
+
|
340838
|
+
Sent mail to johndoe@gmail.com (4.6ms)
|
340839
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340840
|
+
From: noreply@domain.com
|
340841
|
+
To: johndoe@gmail.com
|
340842
|
+
Message-ID: <540897e3d20d5_15b443fecad85a6e0233fa@Allans-MacBook-Pro.local.mail>
|
340843
|
+
Subject: New User Confirmation
|
340844
|
+
Mime-Version: 1.0
|
340845
|
+
Content-Type: text/html;
|
340846
|
+
charset=UTF-8
|
340847
|
+
Content-Transfer-Encoding: 7bit
|
340848
|
+
|
340849
|
+
Hi John Doe,
|
340850
|
+
|
340851
|
+
Below are your login credentials:
|
340852
|
+
|
340853
|
+
Email: johndoe@gmail.com
|
340854
|
+
Password: test123
|
340855
|
+
|
340856
|
+
Note: If this is not John Doe, please disregard this email.
|
340857
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340858
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340859
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.865715"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:35.865715"]]
|
340860
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340861
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#update as HTML
|
340862
|
+
Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"", "status"=>"active"}, "id"=>"1"}
|
340863
|
+
[1m[36mDealRedemptions::User Load (0.0ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340864
|
+
[1m[35mDealRedemptions::RedeemCode Load (0.0ms)[0m SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
|
340865
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '' AND company_id = '1')[0m
|
340866
|
+
Unpermitted parameters: redemption_id
|
340867
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
340868
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
340869
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
340870
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
340871
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340872
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340874
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
340875
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
340876
|
+
Binary data inserted for `string` type on column `password_hash`
|
340877
|
+
Binary data inserted for `string` type on column `password_salt`
|
340878
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:35.942764"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:35.942596"], ["last_name", "Doe"], ["password_hash", "$2a$10$MoBpLkX1EbiesDZ.yGOfGuyfSUjjh/CCS3I/whLxZPG89SZjy0Qma"], ["password_salt", "$2a$10$MoBpLkX1EbiesDZ.yGOfGu"], ["updated_at", "2014-09-04 16:48:35.942764"]]
|
340879
|
+
|
340880
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
340881
|
+
|
340882
|
+
Sent mail to johndoe@gmail.com (4.8ms)
|
340883
|
+
Date: Thu, 04 Sep 2014 09:48:35 -0700
|
340884
|
+
From: noreply@domain.com
|
340885
|
+
To: johndoe@gmail.com
|
340886
|
+
Message-ID: <540897e3e7d9a_15b443fecad85a6e023479@Allans-MacBook-Pro.local.mail>
|
340887
|
+
Subject: New User Confirmation
|
340888
|
+
Mime-Version: 1.0
|
340889
|
+
Content-Type: text/html;
|
340890
|
+
charset=UTF-8
|
340891
|
+
Content-Transfer-Encoding: 7bit
|
340892
|
+
|
340893
|
+
Hi John Doe,
|
340894
|
+
|
340895
|
+
Below are your login credentials:
|
340896
|
+
|
340897
|
+
Email: johndoe@gmail.com
|
340898
|
+
Password: test123
|
340899
|
+
|
340900
|
+
Note: If this is not John Doe, please disregard this email.
|
340901
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340902
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340903
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:35.955217"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:35.955217"]]
|
340904
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340905
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#update as HTML
|
340906
|
+
Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}, "id"=>"1"}
|
340907
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340908
|
+
[1m[35mDealRedemptions::RedeemCode Load (0.0ms)[0m SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
|
340909
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')[0m
|
340910
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
340911
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
340912
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340913
|
+
[1m[35m (0.1ms)[0m commit transaction
|
340914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340915
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
340916
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
340917
|
+
Binary data inserted for `string` type on column `password_hash`
|
340918
|
+
Binary data inserted for `string` type on column `password_salt`
|
340919
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.032699"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:36.032547"], ["last_name", "Doe"], ["password_hash", "$2a$10$eyLpQCCsphNqPrkkN489x.hFnuq8/koFT8bj2ZsFQ6cghAZLX.iuy"], ["password_salt", "$2a$10$eyLpQCCsphNqPrkkN489x."], ["updated_at", "2014-09-04 16:48:36.032699"]]
|
340920
|
+
|
340921
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
|
340922
|
+
|
340923
|
+
Sent mail to johndoe@gmail.com (4.8ms)
|
340924
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
340925
|
+
From: noreply@domain.com
|
340926
|
+
To: johndoe@gmail.com
|
340927
|
+
Message-ID: <540897e49b1e_15b443fecad85a6e023541@Allans-MacBook-Pro.local.mail>
|
340928
|
+
Subject: New User Confirmation
|
340929
|
+
Mime-Version: 1.0
|
340930
|
+
Content-Type: text/html;
|
340931
|
+
charset=UTF-8
|
340932
|
+
Content-Transfer-Encoding: 7bit
|
340933
|
+
|
340934
|
+
Hi John Doe,
|
340935
|
+
|
340936
|
+
Below are your login credentials:
|
340937
|
+
|
340938
|
+
Email: johndoe@gmail.com
|
340939
|
+
Password: test123
|
340940
|
+
|
340941
|
+
Note: If this is not John Doe, please disregard this email.
|
340942
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340943
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
340944
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:36.045421"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:36.045421"]]
|
340945
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
340946
|
+
Processing by DealRedemptions::Admin::RedeemCodesController#update as HTML
|
340947
|
+
Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}, "id"=>"1"}
|
340948
|
+
[1m[36mDealRedemptions::User Load (0.0ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
340949
|
+
[1m[35mDealRedemptions::RedeemCode Load (0.1ms)[0m SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
|
340950
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')[0m
|
340951
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
340952
|
+
[1m[35mDealRedemptions::RedeemCode Load (0.0ms)[0m SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
|
340953
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
340954
|
+
[1m[35m (0.1ms)[0m begin transaction
|
340955
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
340956
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340957
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340958
|
+
[1m[35mDealRedemptions::Company Exists (0.2ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
340959
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
340960
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.089978"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:36.089978"], ["url", "http://www.groupon.com"]]
|
340961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340962
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
340963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340964
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340965
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340966
|
+
[1m[35mDealRedemptions::Company Load (0.2ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" ORDER BY "deal_redemptions_companies"."id" ASC LIMIT 1
|
340967
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340968
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "name", "slug", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.097076"], ["name", "0"], ["slug", "0"], ["updated_at", "2014-09-04 16:48:36.097076"]]
|
340969
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340970
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = '0' LIMIT 1
|
340971
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1[0m
|
340972
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = '0' LIMIT 1
|
340973
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1[0m
|
340974
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
340975
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340976
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340977
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340978
|
+
[1m[35mDealRedemptions::Company Load (0.1ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" ORDER BY "deal_redemptions_companies"."id" ASC LIMIT 1
|
340979
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
340980
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "name", "slug", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.110547"], ["name", "0"], ["slug", "0"], ["updated_at", "2014-09-04 16:48:36.110547"]]
|
340981
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340982
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
|
340983
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = '0' LIMIT 1[0m
|
340984
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
|
340985
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = '0' LIMIT 1[0m
|
340986
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
340987
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
340988
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340989
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340990
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
|
340991
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1[0m
|
340992
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
|
340993
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1[0m
|
340994
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
340995
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340996
|
+
[1m[35m (0.0ms)[0m commit transaction
|
340997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340998
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
|
340999
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1[0m
|
341000
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
|
341001
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1[0m
|
341002
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
341003
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341004
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341005
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341006
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
341007
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
341008
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
341009
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341010
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341011
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341012
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341013
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail9@gmail.com' LIMIT 1[0m
|
341014
|
+
Binary data inserted for `string` type on column `password_hash`
|
341015
|
+
Binary data inserted for `string` type on column `password_salt`
|
341016
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.204427"], ["email", "testemail9@gmail.com"], ["first_name", "John"], ["id", 11], ["last_login", "2014-09-04 16:48:36.204261"], ["last_name", "Doe"], ["password_hash", "$2a$10$G9PukD3itRfBBanJNoN9E.eODemOwMPNVBgQAQzH/AKIaTfoMfdIy"], ["password_salt", "$2a$10$G9PukD3itRfBBanJNoN9E."], ["updated_at", "2014-09-04 16:48:36.204427"]]
|
341017
|
+
|
341018
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
|
341019
|
+
|
341020
|
+
Sent mail to testemail9@gmail.com (5.1ms)
|
341021
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
341022
|
+
From: noreply@domain.com
|
341023
|
+
To: testemail9@gmail.com
|
341024
|
+
Message-ID: <540897e433aca_15b443fecad85a6e0236b0@Allans-MacBook-Pro.local.mail>
|
341025
|
+
Subject: New User Confirmation
|
341026
|
+
Mime-Version: 1.0
|
341027
|
+
Content-Type: text/html;
|
341028
|
+
charset=UTF-8
|
341029
|
+
Content-Transfer-Encoding: 7bit
|
341030
|
+
|
341031
|
+
Hi John Doe,
|
341032
|
+
|
341033
|
+
Below are your login credentials:
|
341034
|
+
|
341035
|
+
Email: testemail9@gmail.com
|
341036
|
+
Password: test123
|
341037
|
+
|
341038
|
+
Note: If this is not John Doe, please disregard this email.
|
341039
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341040
|
+
|
341041
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
|
341042
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
341043
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341044
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341045
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341046
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341047
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail10@gmail.com' LIMIT 1[0m
|
341048
|
+
Binary data inserted for `string` type on column `password_hash`
|
341049
|
+
Binary data inserted for `string` type on column `password_salt`
|
341050
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.290466"], ["email", "testemail10@gmail.com"], ["first_name", "John"], ["id", 12], ["last_login", "2014-09-04 16:48:36.290300"], ["last_name", "Doe"], ["password_hash", "$2a$10$FLX1dSS2ZDusY3f2mXTLO.3XYP/fsd4JrqEGmm6vZ18b6511hCPlC"], ["password_salt", "$2a$10$FLX1dSS2ZDusY3f2mXTLO."], ["updated_at", "2014-09-04 16:48:36.290466"]]
|
341051
|
+
|
341052
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
|
341053
|
+
|
341054
|
+
Sent mail to testemail10@gmail.com (4.9ms)
|
341055
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
341056
|
+
From: noreply@domain.com
|
341057
|
+
To: testemail10@gmail.com
|
341058
|
+
Message-ID: <540897e448951_15b443fecad85a6e023776@Allans-MacBook-Pro.local.mail>
|
341059
|
+
Subject: New User Confirmation
|
341060
|
+
Mime-Version: 1.0
|
341061
|
+
Content-Type: text/html;
|
341062
|
+
charset=UTF-8
|
341063
|
+
Content-Transfer-Encoding: 7bit
|
341064
|
+
|
341065
|
+
Hi John Doe,
|
341066
|
+
|
341067
|
+
Below are your login credentials:
|
341068
|
+
|
341069
|
+
Email: testemail10@gmail.com
|
341070
|
+
Password: test123
|
341071
|
+
|
341072
|
+
Note: If this is not John Doe, please disregard this email.
|
341073
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341074
|
+
|
341075
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
|
341076
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
341077
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
341078
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341079
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341080
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341081
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail11@gmail.com' LIMIT 1[0m
|
341082
|
+
Binary data inserted for `string` type on column `password_hash`
|
341083
|
+
Binary data inserted for `string` type on column `password_salt`
|
341084
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.375637"], ["email", "testemail11@gmail.com"], ["first_name", "John"], ["id", 13], ["last_login", "2014-09-04 16:48:36.375473"], ["last_name", "Doe"], ["password_hash", "$2a$10$m17G2hjqosWZ80cj2XQRBe5z/8YyikbkV9dKhICDrLNcUxkU3XnyC"], ["password_salt", "$2a$10$m17G2hjqosWZ80cj2XQRBe"], ["updated_at", "2014-09-04 16:48:36.375637"]]
|
341085
|
+
|
341086
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.9ms
|
341087
|
+
|
341088
|
+
Sent mail to testemail11@gmail.com (4.9ms)
|
341089
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
341090
|
+
From: noreply@domain.com
|
341091
|
+
To: testemail11@gmail.com
|
341092
|
+
Message-ID: <540897e45d6d1_15b443fecad85a6e023844@Allans-MacBook-Pro.local.mail>
|
341093
|
+
Subject: New User Confirmation
|
341094
|
+
Mime-Version: 1.0
|
341095
|
+
Content-Type: text/html;
|
341096
|
+
charset=UTF-8
|
341097
|
+
Content-Transfer-Encoding: 7bit
|
341098
|
+
|
341099
|
+
Hi John Doe,
|
341100
|
+
|
341101
|
+
Below are your login credentials:
|
341102
|
+
|
341103
|
+
Email: testemail11@gmail.com
|
341104
|
+
Password: test123
|
341105
|
+
|
341106
|
+
Note: If this is not John Doe, please disregard this email.
|
341107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341108
|
+
|
341109
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
|
341110
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
341111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
341112
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341113
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341114
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341115
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_redeem_codes" ("code", "company_id", "created_at", "product_id", "redemption_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["code", 123456789], ["company_id", 1], ["created_at", "2014-09-04 16:48:36.395790"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-04 16:48:36.395790"]]
|
341116
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
341117
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341118
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
341119
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
341120
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.398466"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:36.398466"], ["url", "http://www.groupon.com"]]
|
341121
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341122
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
341123
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
341124
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341125
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341126
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
341127
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
341128
|
+
Binary data inserted for `string` type on column `password_hash`
|
341129
|
+
Binary data inserted for `string` type on column `password_salt`
|
341130
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.499290"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:36.499114"], ["last_name", "Doe"], ["password_hash", "$2a$10$N6WCACVGys24.xG0rapNqeYK8c.Y5fuCYnCzRwoj/6LLuabzNOnCO"], ["password_salt", "$2a$10$N6WCACVGys24.xG0rapNqe"], ["updated_at", "2014-09-04 16:48:36.499290"]]
|
341131
|
+
|
341132
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
|
341133
|
+
|
341134
|
+
Sent mail to johndoe@gmail.com (4.6ms)
|
341135
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
341136
|
+
From: noreply@domain.com
|
341137
|
+
To: johndoe@gmail.com
|
341138
|
+
Message-ID: <540897e47b950_15b443fecad85a6e0239d1@Allans-MacBook-Pro.local.mail>
|
341139
|
+
Subject: New User Confirmation
|
341140
|
+
Mime-Version: 1.0
|
341141
|
+
Content-Type: text/html;
|
341142
|
+
charset=UTF-8
|
341143
|
+
Content-Transfer-Encoding: 7bit
|
341144
|
+
|
341145
|
+
Hi John Doe,
|
341146
|
+
|
341147
|
+
Below are your login credentials:
|
341148
|
+
|
341149
|
+
Email: johndoe@gmail.com
|
341150
|
+
Password: test123
|
341151
|
+
|
341152
|
+
Note: If this is not John Doe, please disregard this email.
|
341153
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341154
|
+
Processing by DealRedemptions::Admin::CompaniesController#edit as HTML
|
341155
|
+
Parameters: {"id"=>"100000"}
|
341156
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
341157
|
+
[1m[36mDealRedemptions::Company Load (0.0ms)[0m [1mSELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1[0m [["id", 100000]]
|
341158
|
+
Redirected to http://test.host/deal_redemptions/admin/companies
|
341159
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
341160
|
+
[1m[35m (1.8ms)[0m rollback transaction
|
341161
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
341162
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341164
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
341165
|
+
[1m[36mDealRedemptions::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
341166
|
+
Binary data inserted for `string` type on column `password_hash`
|
341167
|
+
Binary data inserted for `string` type on column `password_salt`
|
341168
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.586137"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:36.585966"], ["last_name", "Doe"], ["password_hash", "$2a$10$47nzabF6ELbMJUzzs1oN0eq91QNqXvKkQaWLRzIkWqiefgsA5lhg2"], ["password_salt", "$2a$10$47nzabF6ELbMJUzzs1oN0e"], ["updated_at", "2014-09-04 16:48:36.586137"]]
|
341169
|
+
|
341170
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
|
341171
|
+
|
341172
|
+
Sent mail to johndoe@gmail.com (4.5ms)
|
341173
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
341174
|
+
From: noreply@domain.com
|
341175
|
+
To: johndoe@gmail.com
|
341176
|
+
Message-ID: <540897e490d7e_15b443fecad85a6e0240ea@Allans-MacBook-Pro.local.mail>
|
341177
|
+
Subject: New User Confirmation
|
341178
|
+
Mime-Version: 1.0
|
341179
|
+
Content-Type: text/html;
|
341180
|
+
charset=UTF-8
|
341181
|
+
Content-Transfer-Encoding: 7bit
|
341182
|
+
|
341183
|
+
Hi John Doe,
|
341184
|
+
|
341185
|
+
Below are your login credentials:
|
341186
|
+
|
341187
|
+
Email: johndoe@gmail.com
|
341188
|
+
Password: test123
|
341189
|
+
|
341190
|
+
Note: If this is not John Doe, please disregard this email.
|
341191
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341192
|
+
Processing by DealRedemptions::Admin::CompaniesController#edit as HTML
|
341193
|
+
Parameters: {"id"=>"1"}
|
341194
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
341195
|
+
[1m[36mDealRedemptions::Company Load (0.0ms)[0m [1mSELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1[0m [["id", 1]]
|
341196
|
+
Redirected to http://test.host/deal_redemptions/admin/companies
|
341197
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
341198
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
341199
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
341200
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341201
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341202
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341203
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
341204
|
+
Binary data inserted for `string` type on column `password_hash`
|
341205
|
+
Binary data inserted for `string` type on column `password_salt`
|
341206
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.668073"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:36.667905"], ["last_name", "Doe"], ["password_hash", "$2a$10$pdevCzGBgBNf.7UJ9Pag4.HD.GiIPPy60sqnVhRncbBBQe46f/BIC"], ["password_salt", "$2a$10$pdevCzGBgBNf.7UJ9Pag4."], ["updated_at", "2014-09-04 16:48:36.668073"]]
|
341207
|
+
|
341208
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
|
341209
|
+
|
341210
|
+
Sent mail to johndoe@gmail.com (4.7ms)
|
341211
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
341212
|
+
From: noreply@domain.com
|
341213
|
+
To: johndoe@gmail.com
|
341214
|
+
Message-ID: <540897e4a4d01_15b443fecad85a6e02411d@Allans-MacBook-Pro.local.mail>
|
341215
|
+
Subject: New User Confirmation
|
341216
|
+
Mime-Version: 1.0
|
341217
|
+
Content-Type: text/html;
|
341218
|
+
charset=UTF-8
|
341219
|
+
Content-Transfer-Encoding: 7bit
|
341220
|
+
|
341221
|
+
Hi John Doe,
|
341222
|
+
|
341223
|
+
Below are your login credentials:
|
341224
|
+
|
341225
|
+
Email: johndoe@gmail.com
|
341226
|
+
Password: test123
|
341227
|
+
|
341228
|
+
Note: If this is not John Doe, please disregard this email.
|
341229
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341230
|
+
Processing by DealRedemptions::Admin::CompaniesController#new as HTML
|
341231
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
341232
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
|
341233
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
341234
|
+
[1m[35m (0.1ms)[0m begin transaction
|
341235
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
341236
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341237
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
341238
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
341239
|
+
Binary data inserted for `string` type on column `password_hash`
|
341240
|
+
Binary data inserted for `string` type on column `password_salt`
|
341241
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:36.759037"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:36.758791"], ["last_name", "Doe"], ["password_hash", "$2a$10$Canc2FtoX9iYBqji.6D5cuMrUE6YvvYQofmkyNi0h8gRQ/1LTDF4y"], ["password_salt", "$2a$10$Canc2FtoX9iYBqji.6D5cu"], ["updated_at", "2014-09-04 16:48:36.759037"]]
|
341242
|
+
|
341243
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.0ms
|
341244
|
+
|
341245
|
+
Sent mail to johndoe@gmail.com (4.7ms)
|
341246
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
341247
|
+
From: noreply@domain.com
|
341248
|
+
To: johndoe@gmail.com
|
341249
|
+
Message-ID: <540897e4bb21e_15b443fecad85a6e024213@Allans-MacBook-Pro.local.mail>
|
341250
|
+
Subject: New User Confirmation
|
341251
|
+
Mime-Version: 1.0
|
341252
|
+
Content-Type: text/html;
|
341253
|
+
charset=UTF-8
|
341254
|
+
Content-Transfer-Encoding: 7bit
|
341255
|
+
|
341256
|
+
Hi John Doe,
|
341257
|
+
|
341258
|
+
Below are your login credentials:
|
341259
|
+
|
341260
|
+
Email: johndoe@gmail.com
|
341261
|
+
Password: test123
|
341262
|
+
|
341263
|
+
Note: If this is not John Doe, please disregard this email.
|
341264
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
341265
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341266
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
341267
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
341268
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.772920"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:36.772920"], ["url", "http://www.groupon.com"]]
|
341269
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341270
|
+
Processing by DealRedemptions::Admin::CompaniesController#destroy as HTML
|
341271
|
+
Parameters: {"id"=>"1"}
|
341272
|
+
[1m[35mDealRedemptions::User Load (0.0ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
341273
|
+
[1m[36mDealRedemptions::Company Load (0.0ms)[0m [1mSELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1[0m [["id", 1]]
|
341274
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341275
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ?[0m [["id", 1]]
|
341276
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
341277
|
+
Redirected to http://test.host/deal_redemptions/admin/companies
|
341278
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
341279
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
341280
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341281
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
341282
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341283
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341284
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
341285
|
+
Binary data inserted for `string` type on column `password_hash`
|
341286
|
+
Binary data inserted for `string` type on column `password_salt`
|
341287
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:36.844667"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:36.844512"], ["last_name", "Doe"], ["password_hash", "$2a$10$qPFVKI0DW4eJOMam/Ko6YOr0kr6i1FiSUrCqHl42/GfHjOXroKfBa"], ["password_salt", "$2a$10$qPFVKI0DW4eJOMam/Ko6YO"], ["updated_at", "2014-09-04 16:48:36.844667"]]
|
341288
|
+
|
341289
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.0ms
|
341290
|
+
|
341291
|
+
Sent mail to johndoe@gmail.com (5.0ms)
|
341292
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
341293
|
+
From: noreply@domain.com
|
341294
|
+
To: johndoe@gmail.com
|
341295
|
+
Message-ID: <540897e4cff79_15b443fecad85a6e024350@Allans-MacBook-Pro.local.mail>
|
341296
|
+
Subject: New User Confirmation
|
341297
|
+
Mime-Version: 1.0
|
341298
|
+
Content-Type: text/html;
|
341299
|
+
charset=UTF-8
|
341300
|
+
Content-Transfer-Encoding: 7bit
|
341301
|
+
|
341302
|
+
Hi John Doe,
|
341303
|
+
|
341304
|
+
Below are your login credentials:
|
341305
|
+
|
341306
|
+
Email: johndoe@gmail.com
|
341307
|
+
Password: test123
|
341308
|
+
|
341309
|
+
Note: If this is not John Doe, please disregard this email.
|
341310
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
341311
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341312
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
341313
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
341314
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:36.858826"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:36.858826"], ["url", "http://www.groupon.com"]]
|
341315
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341316
|
+
Processing by DealRedemptions::Admin::CompaniesController#destroy as HTML
|
341317
|
+
Parameters: {"id"=>"1"}
|
341318
|
+
[1m[35mDealRedemptions::User Load (0.0ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
341319
|
+
[1m[36mDealRedemptions::Company Load (0.1ms)[0m [1mSELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1[0m [["id", 1]]
|
341320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341321
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ?[0m [["id", 1]]
|
341322
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
341323
|
+
Redirected to http://test.host/deal_redemptions/admin/companies
|
341324
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
341325
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
341326
|
+
[1m[35m (0.1ms)[0m begin transaction
|
341327
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
341328
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341329
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341330
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
341331
|
+
Binary data inserted for `string` type on column `password_hash`
|
341332
|
+
Binary data inserted for `string` type on column `password_salt`
|
341333
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:36.931312"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:36.931143"], ["last_name", "Doe"], ["password_hash", "$2a$10$AcNoy7NljFxMwB6McOeQVOzE0TrwwFpjJ4FDH.bNmozDvq5aC2sjS"], ["password_salt", "$2a$10$AcNoy7NljFxMwB6McOeQVO"], ["updated_at", "2014-09-04 16:48:36.931312"]]
|
341334
|
+
|
341335
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.0ms
|
341336
|
+
|
341337
|
+
Sent mail to johndoe@gmail.com (5.0ms)
|
341338
|
+
Date: Thu, 04 Sep 2014 09:48:36 -0700
|
341339
|
+
From: noreply@domain.com
|
341340
|
+
To: johndoe@gmail.com
|
341341
|
+
Message-ID: <540897e4e529e_15b443fecad85a6e024453@Allans-MacBook-Pro.local.mail>
|
341342
|
+
Subject: New User Confirmation
|
341343
|
+
Mime-Version: 1.0
|
341344
|
+
Content-Type: text/html;
|
341345
|
+
charset=UTF-8
|
341346
|
+
Content-Transfer-Encoding: 7bit
|
341347
|
+
|
341348
|
+
Hi John Doe,
|
341349
|
+
|
341350
|
+
Below are your login credentials:
|
341351
|
+
|
341352
|
+
Email: johndoe@gmail.com
|
341353
|
+
Password: test123
|
341354
|
+
|
341355
|
+
Note: If this is not John Doe, please disregard this email.
|
341356
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
341357
|
+
Processing by DealRedemptions::Admin::CompaniesController#create as HTML
|
341358
|
+
Parameters: {"company"=>{"id"=>"1", "name"=>"Groupon", "description"=>"Please use the 2nd code, not internal code.", "url"=>"http://www.groupon.com", "slug"=>"groupon", "active"=>"1"}}
|
341359
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
341360
|
+
Unpermitted parameters: id
|
341361
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341362
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1[0m
|
341363
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
|
341364
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_companies" ("created_at", "description", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:36.948558"], ["description", "Please use the 2nd code, not internal code."], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:36.948558"], ["url", "http://www.groupon.com"]]
|
341365
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
341366
|
+
Redirected to http://test.host/deal_redemptions/admin/companies
|
341367
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
341368
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
341369
|
+
[1m[35m (0.1ms)[0m begin transaction
|
341370
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
341371
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341372
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341373
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
341374
|
+
Binary data inserted for `string` type on column `password_hash`
|
341375
|
+
Binary data inserted for `string` type on column `password_salt`
|
341376
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:37.018040"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:37.017819"], ["last_name", "Doe"], ["password_hash", "$2a$10$45FsYg9VjGGQtn1dsyaPPOgWpvceVnW2jTxjnZMBsJWVCz/73N3Yi"], ["password_salt", "$2a$10$45FsYg9VjGGQtn1dsyaPPO"], ["updated_at", "2014-09-04 16:48:37.018040"]]
|
341377
|
+
|
341378
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 36.1ms
|
341379
|
+
|
341380
|
+
Sent mail to johndoe@gmail.com (4.6ms)
|
341381
|
+
Date: Thu, 04 Sep 2014 09:48:37 -0700
|
341382
|
+
From: noreply@domain.com
|
341383
|
+
To: johndoe@gmail.com
|
341384
|
+
Message-ID: <540897e5dcfd_15b443fecad85a6e024513@Allans-MacBook-Pro.local.mail>
|
341385
|
+
Subject: New User Confirmation
|
341386
|
+
Mime-Version: 1.0
|
341387
|
+
Content-Type: text/html;
|
341388
|
+
charset=UTF-8
|
341389
|
+
Content-Transfer-Encoding: 7bit
|
341390
|
+
|
341391
|
+
Hi John Doe,
|
341392
|
+
|
341393
|
+
Below are your login credentials:
|
341394
|
+
|
341395
|
+
Email: johndoe@gmail.com
|
341396
|
+
Password: test123
|
341397
|
+
|
341398
|
+
Note: If this is not John Doe, please disregard this email.
|
341399
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
341400
|
+
Processing by DealRedemptions::Admin::CompaniesController#create as HTML
|
341401
|
+
Parameters: {"company"=>{"id"=>"1", "name"=>"", "description"=>"Please use the 2nd code, not internal code.", "url"=>"http://www.groupon.com", "slug"=>"groupon", "active"=>"1"}}
|
341402
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
341403
|
+
Unpermitted parameters: id
|
341404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341405
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = '' LIMIT 1[0m
|
341406
|
+
[1m[35mDealRedemptions::Company Exists (0.0ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
|
341407
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
341408
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
341409
|
+
[1m[35m (1.8ms)[0m rollback transaction
|
341410
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
341411
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341413
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
341414
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
341415
|
+
Binary data inserted for `string` type on column `password_hash`
|
341416
|
+
Binary data inserted for `string` type on column `password_salt`
|
341417
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:37.139229"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:37.139061"], ["last_name", "Doe"], ["password_hash", "$2a$10$5LfmtSfIULqvWXbCyZQ33eIa/a6KT0DN0QGQALQHcOt7sH2OEsEse"], ["password_salt", "$2a$10$5LfmtSfIULqvWXbCyZQ33e"], ["updated_at", "2014-09-04 16:48:37.139229"]]
|
341418
|
+
|
341419
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.9ms
|
341420
|
+
|
341421
|
+
Sent mail to johndoe@gmail.com (4.5ms)
|
341422
|
+
Date: Thu, 04 Sep 2014 09:48:37 -0700
|
341423
|
+
From: noreply@domain.com
|
341424
|
+
To: johndoe@gmail.com
|
341425
|
+
Message-ID: <540897e523bce_15b443fecad85a6e024641@Allans-MacBook-Pro.local.mail>
|
341426
|
+
Subject: New User Confirmation
|
341427
|
+
Mime-Version: 1.0
|
341428
|
+
Content-Type: text/html;
|
341429
|
+
charset=UTF-8
|
341430
|
+
Content-Transfer-Encoding: 7bit
|
341431
|
+
|
341432
|
+
Hi John Doe,
|
341433
|
+
|
341434
|
+
Below are your login credentials:
|
341435
|
+
|
341436
|
+
Email: johndoe@gmail.com
|
341437
|
+
Password: test123
|
341438
|
+
|
341439
|
+
Note: If this is not John Doe, please disregard this email.
|
341440
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341441
|
+
Processing by DealRedemptions::Admin::CompaniesController#create as HTML
|
341442
|
+
Parameters: {"company"=>{"id"=>"1", "name"=>"Groupon", "description"=>"Please use the 2nd code, not internal code.", "url"=>"http://www.groupon.com", "slug"=>"groupon", "active"=>"1"}}
|
341443
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
341444
|
+
Unpermitted parameters: id
|
341445
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341446
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
341447
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
341448
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:37.155525"], ["description", "Please use the 2nd code, not internal code."], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:37.155525"], ["url", "http://www.groupon.com"]]
|
341449
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341450
|
+
Redirected to http://test.host/deal_redemptions/admin/companies
|
341451
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
341452
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
341453
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341454
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341455
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341456
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341457
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
341458
|
+
Binary data inserted for `string` type on column `password_hash`
|
341459
|
+
Binary data inserted for `string` type on column `password_salt`
|
341460
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:37.224641"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:37.224474"], ["last_name", "Doe"], ["password_hash", "$2a$10$Nn9NNr4YuwIETGwNtmPwC.NDiyAKWJMfdvYlRXBE3o6rwZPT2TPwK"], ["password_salt", "$2a$10$Nn9NNr4YuwIETGwNtmPwC."], ["updated_at", "2014-09-04 16:48:37.224641"]]
|
341461
|
+
|
341462
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
341463
|
+
|
341464
|
+
Sent mail to johndoe@gmail.com (4.6ms)
|
341465
|
+
Date: Thu, 04 Sep 2014 09:48:37 -0700
|
341466
|
+
From: noreply@domain.com
|
341467
|
+
To: johndoe@gmail.com
|
341468
|
+
Message-ID: <540897e538825_15b443fecad85a6e02479a@Allans-MacBook-Pro.local.mail>
|
341469
|
+
Subject: New User Confirmation
|
341470
|
+
Mime-Version: 1.0
|
341471
|
+
Content-Type: text/html;
|
341472
|
+
charset=UTF-8
|
341473
|
+
Content-Transfer-Encoding: 7bit
|
341474
|
+
|
341475
|
+
Hi John Doe,
|
341476
|
+
|
341477
|
+
Below are your login credentials:
|
341478
|
+
|
341479
|
+
Email: johndoe@gmail.com
|
341480
|
+
Password: test123
|
341481
|
+
|
341482
|
+
Note: If this is not John Doe, please disregard this email.
|
341483
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341484
|
+
Processing by DealRedemptions::Admin::CompaniesController#index as HTML
|
341485
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
341486
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
341487
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
341488
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341489
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
341490
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341491
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341492
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
341493
|
+
Binary data inserted for `string` type on column `password_hash`
|
341494
|
+
Binary data inserted for `string` type on column `password_salt`
|
341495
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:37.307639"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:37.307470"], ["last_name", "Doe"], ["password_hash", "$2a$10$dDprjccYPvi2MyNMMbTlmOY48IbNNYpgQZFvA.DHHfxHBCachp4oS"], ["password_salt", "$2a$10$dDprjccYPvi2MyNMMbTlmO"], ["updated_at", "2014-09-04 16:48:37.307639"]]
|
341496
|
+
|
341497
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
|
341498
|
+
|
341499
|
+
Sent mail to johndoe@gmail.com (4.5ms)
|
341500
|
+
Date: Thu, 04 Sep 2014 09:48:37 -0700
|
341501
|
+
From: noreply@domain.com
|
341502
|
+
To: johndoe@gmail.com
|
341503
|
+
Message-ID: <540897e54cc7e_15b443fecad85a6e0248e9@Allans-MacBook-Pro.local.mail>
|
341504
|
+
Subject: New User Confirmation
|
341505
|
+
Mime-Version: 1.0
|
341506
|
+
Content-Type: text/html;
|
341507
|
+
charset=UTF-8
|
341508
|
+
Content-Transfer-Encoding: 7bit
|
341509
|
+
|
341510
|
+
Hi John Doe,
|
341511
|
+
|
341512
|
+
Below are your login credentials:
|
341513
|
+
|
341514
|
+
Email: johndoe@gmail.com
|
341515
|
+
Password: test123
|
341516
|
+
|
341517
|
+
Note: If this is not John Doe, please disregard this email.
|
341518
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
341519
|
+
Processing by DealRedemptions::Admin::CompaniesController#index as HTML
|
341520
|
+
[1m[36mDealRedemptions::User Load (0.1ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
341521
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
341522
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
341523
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
341524
|
+
[1m[35m (0.0ms)[0m commit transaction
|
341525
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341526
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
341527
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
341528
|
+
Binary data inserted for `string` type on column `password_hash`
|
341529
|
+
Binary data inserted for `string` type on column `password_salt`
|
341530
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:37.389675"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:37.389515"], ["last_name", "Doe"], ["password_hash", "$2a$10$QmEz3T945iytgV00bCTprONZkOgpJoL9hNdbb6khMj2hOa3V8iN.2"], ["password_salt", "$2a$10$QmEz3T945iytgV00bCTprO"], ["updated_at", "2014-09-04 16:48:37.389675"]]
|
341531
|
+
|
341532
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
|
341533
|
+
|
341534
|
+
Sent mail to johndoe@gmail.com (4.6ms)
|
341535
|
+
Date: Thu, 04 Sep 2014 09:48:37 -0700
|
341536
|
+
From: noreply@domain.com
|
341537
|
+
To: johndoe@gmail.com
|
341538
|
+
Message-ID: <540897e560d04_15b443fecad85a6e02494b@Allans-MacBook-Pro.local.mail>
|
341539
|
+
Subject: New User Confirmation
|
341540
|
+
Mime-Version: 1.0
|
341541
|
+
Content-Type: text/html;
|
341542
|
+
charset=UTF-8
|
341543
|
+
Content-Transfer-Encoding: 7bit
|
341544
|
+
|
341545
|
+
Hi John Doe,
|
341546
|
+
|
341547
|
+
Below are your login credentials:
|
341548
|
+
|
341549
|
+
Email: johndoe@gmail.com
|
341550
|
+
Password: test123
|
341551
|
+
|
341552
|
+
Note: If this is not John Doe, please disregard this email.
|
341553
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341554
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341555
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1[0m
|
341556
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
|
341557
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:37.402850"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:37.402850"], ["url", "http://www.groupon.com"]]
|
341558
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
341559
|
+
Processing by DealRedemptions::Admin::CompaniesController#update as HTML
|
341560
|
+
Parameters: {"company"=>{"id"=>"1", "name"=>"Groupon", "description"=>"Please use the 2nd code, not internal code.", "url"=>"http://www.groupon.com", "slug"=>"groupon", "active"=>"1"}, "id"=>"1"}
|
341561
|
+
[1m[36mDealRedemptions::User Load (0.0ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
341562
|
+
[1m[35mDealRedemptions::Company Load (0.0ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
|
341563
|
+
Unpermitted parameters: id
|
341564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341565
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."name" = 'Groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1
|
341566
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."slug" = 'groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1[0m
|
341567
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
341568
|
+
Redirected to http://test.host/deal_redemptions/admin/companies
|
341569
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
341570
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
341571
|
+
[1m[35m (0.1ms)[0m begin transaction
|
341572
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
341573
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341574
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
341575
|
+
[1m[35mDealRedemptions::User Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
|
341576
|
+
Binary data inserted for `string` type on column `password_hash`
|
341577
|
+
Binary data inserted for `string` type on column `password_salt`
|
341578
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:37.480752"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:37.480600"], ["last_name", "Doe"], ["password_hash", "$2a$10$3RIz0JjcsoETERaujOh3vuOJYp9RzKLVlOSVBHEpSNughJduk3TLG"], ["password_salt", "$2a$10$3RIz0JjcsoETERaujOh3vu"], ["updated_at", "2014-09-04 16:48:37.480752"]]
|
341579
|
+
|
341580
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
|
341581
|
+
|
341582
|
+
Sent mail to johndoe@gmail.com (5.1ms)
|
341583
|
+
Date: Thu, 04 Sep 2014 09:48:37 -0700
|
341584
|
+
From: noreply@domain.com
|
341585
|
+
To: johndoe@gmail.com
|
341586
|
+
Message-ID: <540897e5771f9_15b443fecad85a6e02507a@Allans-MacBook-Pro.local.mail>
|
341587
|
+
Subject: New User Confirmation
|
341588
|
+
Mime-Version: 1.0
|
341589
|
+
Content-Type: text/html;
|
341590
|
+
charset=UTF-8
|
341591
|
+
Content-Transfer-Encoding: 7bit
|
341592
|
+
|
341593
|
+
Hi John Doe,
|
341594
|
+
|
341595
|
+
Below are your login credentials:
|
341596
|
+
|
341597
|
+
Email: johndoe@gmail.com
|
341598
|
+
Password: test123
|
341599
|
+
|
341600
|
+
Note: If this is not John Doe, please disregard this email.
|
341601
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
341602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341603
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
|
341604
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1[0m
|
341605
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:37.494774"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:37.494774"], ["url", "http://www.groupon.com"]]
|
341606
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341607
|
+
Processing by DealRedemptions::Admin::CompaniesController#update as HTML
|
341608
|
+
Parameters: {"company"=>{"id"=>"1", "name"=>"", "description"=>"Please use the 2nd code, not internal code.", "url"=>"http://www.groupon.com", "slug"=>"groupon", "active"=>"1"}, "id"=>"1"}
|
341609
|
+
[1m[35mDealRedemptions::User Load (0.1ms)[0m SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
|
341610
|
+
[1m[36mDealRedemptions::Company Load (0.0ms)[0m [1mSELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1[0m [["id", 1]]
|
341611
|
+
Unpermitted parameters: id
|
341612
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
341613
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."name" = '' AND "deal_redemptions_companies"."id" != 1) LIMIT 1[0m
|
341614
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."slug" = 'groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1
|
341615
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
341616
|
+
Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 0.4ms)
|
341617
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
341618
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341619
|
+
[1m[35m (0.1ms)[0m commit transaction
|
341620
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
341621
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
341622
|
+
[1m[36mDealRedemptions::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1[0m
|
341623
|
+
Binary data inserted for `string` type on column `password_hash`
|
341624
|
+
Binary data inserted for `string` type on column `password_salt`
|
341625
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deal_redemptions_users" ("created_at", "email", "first_name", "id", "last_login", "last_name", "password_hash", "password_salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-04 16:48:37.609112"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-04 16:48:37.608946"], ["last_name", "Doe"], ["password_hash", "$2a$10$WAtnHVW1.5RJ7Q2JlomGp.XnpJFkT5Rl05gVIo0ubVKdl.JWp7tbK"], ["password_salt", "$2a$10$WAtnHVW1.5RJ7Q2JlomGp."], ["updated_at", "2014-09-04 16:48:37.609112"]]
|
341626
|
+
|
341627
|
+
DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
|
341628
|
+
|
341629
|
+
Sent mail to johndoe@gmail.com (4.7ms)
|
341630
|
+
Date: Thu, 04 Sep 2014 09:48:37 -0700
|
341631
|
+
From: noreply@domain.com
|
341632
|
+
To: johndoe@gmail.com
|
341633
|
+
Message-ID: <540897e596542_15b443fecad85a6e0251ad@Allans-MacBook-Pro.local.mail>
|
341634
|
+
Subject: New User Confirmation
|
341635
|
+
Mime-Version: 1.0
|
341636
|
+
Content-Type: text/html;
|
341637
|
+
charset=UTF-8
|
341638
|
+
Content-Transfer-Encoding: 7bit
|
341639
|
+
|
341640
|
+
Hi John Doe,
|
341641
|
+
|
341642
|
+
Below are your login credentials:
|
341643
|
+
|
341644
|
+
Email: johndoe@gmail.com
|
341645
|
+
Password: test123
|
341646
|
+
|
341647
|
+
Note: If this is not John Doe, please disregard this email.
|
341648
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341649
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341650
|
+
[1m[36mDealRedemptions::Company Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1[0m
|
341651
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
|
341652
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-09-04 16:48:37.622251"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-04 16:48:37.622251"], ["url", "http://www.groupon.com"]]
|
341653
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
341654
|
+
Processing by DealRedemptions::Admin::CompaniesController#update as HTML
|
341655
|
+
Parameters: {"company"=>{"id"=>"1", "name"=>"Groupon", "description"=>"Please use the 2nd code, not internal code.", "url"=>"http://www.groupon.com", "slug"=>"groupon", "active"=>"1"}, "id"=>"1"}
|
341656
|
+
[1m[36mDealRedemptions::User Load (0.0ms)[0m [1mSELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
341657
|
+
[1m[35mDealRedemptions::Company Load (0.0ms)[0m SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
|
341658
|
+
Unpermitted parameters: id
|
341659
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
341660
|
+
[1m[35mDealRedemptions::Company Exists (0.1ms)[0m SELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."name" = 'Groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1
|
341661
|
+
[1m[36mDealRedemptions::Company Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."slug" = 'groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1[0m
|
341662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
341663
|
+
Redirected to http://test.host/deal_redemptions/admin/companies
|
341664
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
341665
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|