deal_redemptions 0.0.8 → 0.0.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11145f66dc4478e7e6fb9de8084a8f38eeaeade4
4
- data.tar.gz: d4d78bb509e8138f7a529c90467c4dd7ecd8602a
3
+ metadata.gz: 2cb5540ef7af2b6a68fcc436219e78cb3febda9f
4
+ data.tar.gz: b12289a9eac469b0d63bd30d472d1680ff94ec32
5
5
  SHA512:
6
- metadata.gz: 605e783d9f1afe145a8c21f01b234819b13c1212bd00d4d20ee6ef27b3c6008569f85a9e7e2ff8ea0c90f8f25b3c5c714321304ea197dbe93598b17565dac724
7
- data.tar.gz: 352ab17c98e2803466cbf893f393d865b050cc5f9edbdb7faadde9ebca3c92e3ced4bb5dfe1d23abd6ea0c47077d2414e1cb42863d8ffd19656714c328144560
6
+ metadata.gz: a305e91a9c746004680479edf57a6c4c756d714bcd1f50799a912245474978c8672aebccd8f8ac6061266f6734e1ec8934c1addba15c6e77f0517c1ede0dc53f
7
+ data.tar.gz: 0f28e9763e301dec2f10600c0ab862fa7fb9a197ebd52ab6923e8bd9997a5956c83bc8dc84136aa8878a69fa2c0672e5725818014c76a663fe3d2e94558c0d62
@@ -13,5 +13,6 @@
13
13
  //= require jquery
14
14
  //= require bootstrap
15
15
  //= require bootstrap-datepicker
16
+ //= require html5shiv.min
16
17
  //= stub deal_redemptions/admin
17
18
  //= require_tree .
@@ -19,5 +19,5 @@
19
19
  %hr
20
20
 
21
21
  .form-input
22
- = password_field_tag :password, placeholder: 'Password:', required: 'required'
22
+ = password_field_tag :password, '', placeholder: 'Password:', required: 'required'
23
23
  = submit_tag 'Login'
@@ -1,3 +1,3 @@
1
1
  module DealRedemptions
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
Binary file
@@ -341663,3 +341663,2676 @@ Unpermitted parameters: id
341663
341663
  Redirected to http://test.host/deal_redemptions/admin/companies
341664
341664
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
341665
341665
   (0.7ms) rollback transaction
341666
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
341667
+  (0.8ms) DELETE FROM "deal_redemptions_companies";
341668
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
341669
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'deal_redemptions_companies';
341670
+  (0.7ms) DELETE FROM "deal_redemptions_mailing_lists";
341671
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
341672
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'deal_redemptions_mailing_lists';
341673
+  (0.8ms) DELETE FROM "deal_redemptions_products";
341674
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
341675
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'deal_redemptions_products';
341676
+  (0.9ms) DELETE FROM "deal_redemptions_redeem_codes";
341677
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
341678
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'deal_redemptions_redeem_codes';
341679
+  (0.8ms) DELETE FROM "deal_redemptions_redemptions";
341680
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
341681
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'deal_redemptions_redemptions';
341682
+  (0.7ms) DELETE FROM "deal_redemptions_users";
341683
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
341684
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'deal_redemptions_users';
341685
+  (0.0ms) begin transaction
341686
+  (0.0ms) commit transaction
341687
+  (0.0ms) begin transaction
341688
+  (0.1ms) rollback transaction
341689
+  (0.0ms) begin transaction
341690
+  (0.0ms) commit transaction
341691
+  (0.1ms) begin transaction
341692
+  (0.1ms) rollback transaction
341693
+  (0.0ms) begin transaction
341694
+  (0.0ms) commit transaction
341695
+  (0.0ms) begin transaction
341696
+  (0.0ms) rollback transaction
341697
+  (0.0ms) begin transaction
341698
+  (0.0ms) commit transaction
341699
+  (0.0ms) begin transaction
341700
+  (0.1ms) rollback transaction
341701
+  (0.1ms) begin transaction
341702
+  (0.0ms) commit transaction
341703
+  (0.0ms) begin transaction
341704
+  (0.0ms) rollback transaction
341705
+  (0.0ms) begin transaction
341706
+  (0.0ms) commit transaction
341707
+  (0.0ms) begin transaction
341708
+  (0.0ms) rollback transaction
341709
+  (0.0ms) begin transaction
341710
+  (0.0ms) commit transaction
341711
+  (0.0ms) begin transaction
341712
+  (0.0ms) rollback transaction
341713
+  (0.0ms) begin transaction
341714
+  (0.0ms) commit transaction
341715
+  (0.0ms) begin transaction
341716
+  (0.1ms) SAVEPOINT active_record_1
341717
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
341718
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
341719
+ SQL (0.3ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:22.450821"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:22.450821"], ["url", "http://www.groupon.com"]]
341720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341721
+  (0.0ms) SAVEPOINT active_record_1
341722
+ SQL (1.0ms) 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-08 16:22:22.488314"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:22.488314"]]
341723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
341724
+ DealRedemptions::Company Load (0.1ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
341725
+  (0.4ms) rollback transaction
341726
+  (0.0ms) begin transaction
341727
+  (0.0ms) commit transaction
341728
+  (0.0ms) begin transaction
341729
+  (0.0ms) SAVEPOINT active_record_1
341730
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
341731
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
341732
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:22.499371"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:22.499371"], ["url", "http://www.groupon.com"]]
341733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341734
+  (0.0ms) SAVEPOINT active_record_1
341735
+ SQL (0.2ms) 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-08 16:22:22.500745"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:22.500745"]]
341736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341737
+ DealRedemptions::Company Load (0.0ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
341738
+  (0.4ms) rollback transaction
341739
+  (0.0ms) begin transaction
341740
+  (0.0ms) commit transaction
341741
+  (0.0ms) begin transaction
341742
+  (0.0ms) SAVEPOINT active_record_1
341743
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
341744
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
341745
+ SQL (0.1ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:22.504187"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:22.504187"], ["url", "http://www.groupon.com"]]
341746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341747
+  (0.0ms) SAVEPOINT active_record_1
341748
+ SQL (0.2ms) 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-08 16:22:22.505269"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:22.505269"]]
341749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341750
+ DealRedemptions::Company Load (0.0ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
341751
+  (0.4ms) rollback transaction
341752
+  (0.0ms) begin transaction
341753
+  (0.0ms) commit transaction
341754
+  (0.0ms) begin transaction
341755
+  (0.0ms) SAVEPOINT active_record_1
341756
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
341757
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
341758
+ SQL (0.1ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:22.509316"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:22.509316"], ["url", "http://www.groupon.com"]]
341759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341760
+  (0.3ms) rollback transaction
341761
+  (0.1ms) begin transaction
341762
+  (0.0ms) commit transaction
341763
+  (0.0ms) begin transaction
341764
+ DealRedemptions::Company Load (0.2ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" ORDER BY "deal_redemptions_companies"."id" ASC LIMIT 1
341765
+  (0.1ms) SAVEPOINT active_record_1
341766
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "name", "slug", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-09-08 16:22:22.514976"], ["name", "0"], ["slug", "0"], ["updated_at", "2014-09-08 16:22:22.514976"]]
341767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341768
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
341769
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = '0' LIMIT 1
341770
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
341771
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = '0' LIMIT 1
341772
+  (0.3ms) rollback transaction
341773
+  (0.0ms) begin transaction
341774
+  (0.0ms) commit transaction
341775
+  (0.0ms) begin transaction
341776
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
341777
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
341778
+  (0.0ms) rollback transaction
341779
+  (0.0ms) begin transaction
341780
+  (0.0ms) commit transaction
341781
+  (0.0ms) begin transaction
341782
+ DealRedemptions::Company Load (0.1ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" ORDER BY "deal_redemptions_companies"."id" ASC LIMIT 1
341783
+  (0.0ms) SAVEPOINT active_record_1
341784
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "name", "slug", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-09-08 16:22:22.526234"], ["name", "0"], ["slug", "0"], ["updated_at", "2014-09-08 16:22:22.526234"]]
341785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341786
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = '0' LIMIT 1
341787
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1
341788
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = '0' LIMIT 1
341789
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1
341790
+  (0.3ms) rollback transaction
341791
+  (0.0ms) begin transaction
341792
+  (0.0ms) commit transaction
341793
+  (0.0ms) begin transaction
341794
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
341795
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1
341796
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
341797
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1
341798
+  (0.0ms) rollback transaction
341799
+  (0.0ms) begin transaction
341800
+  (0.0ms) commit transaction
341801
+  (0.0ms) begin transaction
341802
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
341803
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1
341804
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" IS NULL LIMIT 1
341805
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" IS NULL LIMIT 1
341806
+  (0.0ms) rollback transaction
341807
+  (0.0ms) begin transaction
341808
+  (0.0ms) commit transaction
341809
+  (0.0ms) begin transaction
341810
+  (0.1ms) rollback transaction
341811
+  (0.0ms) begin transaction
341812
+  (0.0ms) commit transaction
341813
+  (0.0ms) begin transaction
341814
+  (0.1ms) rollback transaction
341815
+  (0.0ms) begin transaction
341816
+  (0.0ms) commit transaction
341817
+  (0.0ms) begin transaction
341818
+  (0.0ms) rollback transaction
341819
+  (0.0ms) begin transaction
341820
+  (0.0ms) commit transaction
341821
+  (0.0ms) begin transaction
341822
+  (0.0ms) rollback transaction
341823
+  (0.0ms) begin transaction
341824
+  (0.0ms) commit transaction
341825
+  (0.0ms) begin transaction
341826
+  (0.0ms) rollback transaction
341827
+  (0.0ms) begin transaction
341828
+  (0.0ms) commit transaction
341829
+  (0.0ms) begin transaction
341830
+  (0.0ms) rollback transaction
341831
+  (0.0ms) begin transaction
341832
+  (0.0ms) commit transaction
341833
+  (0.0ms) begin transaction
341834
+  (0.0ms) rollback transaction
341835
+  (0.0ms) begin transaction
341836
+  (0.0ms) commit transaction
341837
+  (0.0ms) begin transaction
341838
+  (0.1ms) rollback transaction
341839
+  (0.0ms) begin transaction
341840
+  (0.0ms) commit transaction
341841
+  (0.0ms) begin transaction
341842
+  (0.0ms) rollback transaction
341843
+  (0.0ms) begin transaction
341844
+  (0.0ms) commit transaction
341845
+  (0.0ms) begin transaction
341846
+  (0.0ms) rollback transaction
341847
+  (0.0ms) begin transaction
341848
+  (0.0ms) commit transaction
341849
+  (0.0ms) begin transaction
341850
+  (0.0ms) rollback transaction
341851
+  (0.0ms) begin transaction
341852
+  (0.0ms) commit transaction
341853
+  (0.0ms) begin transaction
341854
+  (0.0ms) rollback transaction
341855
+  (0.0ms) begin transaction
341856
+  (0.0ms) commit transaction
341857
+  (0.0ms) begin transaction
341858
+  (0.1ms) rollback transaction
341859
+  (0.0ms) begin transaction
341860
+  (0.0ms) commit transaction
341861
+  (0.0ms) begin transaction
341862
+  (0.0ms) rollback transaction
341863
+  (0.0ms) begin transaction
341864
+  (0.0ms) commit transaction
341865
+  (0.0ms) begin transaction
341866
+ Processing by DealRedemptions::WelcomeController#index as HTML
341867
+ Rendered /Users/allancutler/Documents/Work/Smile Sciences/Redemptions/deal_redemptions/app/views/deal_redemptions/welcome/index.html.haml within layouts/deal_redemptions/application (0.2ms)
341868
+ Completed 200 OK in 47ms (Views: 45.1ms | ActiveRecord: 0.0ms)
341869
+  (0.1ms) rollback transaction
341870
+  (0.0ms) begin transaction
341871
+  (0.0ms) commit transaction
341872
+  (0.0ms) begin transaction
341873
+ Processing by DealRedemptions::WelcomeController#index as HTML
341874
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
341875
+  (0.0ms) rollback transaction
341876
+  (0.0ms) begin transaction
341877
+  (0.0ms) commit transaction
341878
+  (0.0ms) begin transaction
341879
+ Processing by DealRedemptions::WelcomeController#index as HTML
341880
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
341881
+  (0.0ms) rollback transaction
341882
+  (0.0ms) begin transaction
341883
+  (0.0ms) commit transaction
341884
+  (0.0ms) begin transaction
341885
+  (0.0ms) SAVEPOINT active_record_1
341886
+ SQL (0.3ms) 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-08 16:22:22.720920"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:22.720920"]]
341887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341888
+  (0.0ms) SAVEPOINT active_record_1
341889
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
341890
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
341891
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:22.723328"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:22.723328"], ["url", "http://www.groupon.com"]]
341892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341893
+  (0.4ms) rollback transaction
341894
+  (0.1ms) begin transaction
341895
+  (0.0ms) commit transaction
341896
+  (0.0ms) begin transaction
341897
+  (0.0ms) rollback transaction
341898
+  (0.0ms) begin transaction
341899
+  (0.0ms) commit transaction
341900
+  (0.0ms) begin transaction
341901
+  (0.0ms) rollback transaction
341902
+  (0.0ms) begin transaction
341903
+  (0.0ms) commit transaction
341904
+  (0.0ms) begin transaction
341905
+ DealRedemptions::MailingList Load (0.1ms) SELECT "deal_redemptions_mailing_lists".* FROM "deal_redemptions_mailing_lists" ORDER BY "deal_redemptions_mailing_lists"."id" ASC LIMIT 1
341906
+  (0.0ms) SAVEPOINT active_record_1
341907
+ SQL (0.2ms) INSERT INTO "deal_redemptions_mailing_lists" ("created_at", "email_address", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-09-08 16:22:22.744126"], ["email_address", "0"], ["updated_at", "2014-09-08 16:22:22.744126"]]
341908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341909
+ DealRedemptions::MailingList Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_mailing_lists" WHERE "deal_redemptions_mailing_lists"."email_address" = '0' LIMIT 1
341910
+ DealRedemptions::MailingList Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_mailing_lists" WHERE "deal_redemptions_mailing_lists"."email_address" = '0' LIMIT 1
341911
+  (0.4ms) rollback transaction
341912
+  (0.0ms) begin transaction
341913
+  (0.0ms) commit transaction
341914
+  (0.0ms) begin transaction
341915
+ DealRedemptions::MailingList Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_mailing_lists" WHERE "deal_redemptions_mailing_lists"."email_address" IS NULL LIMIT 1
341916
+ DealRedemptions::MailingList Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_mailing_lists" WHERE "deal_redemptions_mailing_lists"."email_address" IS NULL LIMIT 1
341917
+  (0.0ms) rollback transaction
341918
+  (0.0ms) begin transaction
341919
+  (0.0ms) commit transaction
341920
+  (0.0ms) begin transaction
341921
+  (0.1ms) SAVEPOINT active_record_1
341922
+ SQL (0.3ms) 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-08 16:22:22.762581"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:22.762581"], ["zip_code", "91351"]]
341923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341924
+
341925
+ DealRedemptions::RedemptionMailer#confirmation: processed outbound mail in 13.9ms
341926
+  (0.4ms) rollback transaction
341927
+  (0.0ms) begin transaction
341928
+  (0.0ms) commit transaction
341929
+  (0.0ms) begin transaction
341930
+  (0.0ms) SAVEPOINT active_record_1
341931
+ SQL (0.2ms) 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-08 16:22:22.784104"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:22.784104"], ["zip_code", "91351"]]
341932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341933
+
341934
+ DealRedemptions::RedemptionMailer#confirmation: processed outbound mail in 3.8ms
341935
+  (0.3ms) rollback transaction
341936
+  (0.0ms) begin transaction
341937
+  (0.0ms) commit transaction
341938
+  (0.0ms) begin transaction
341939
+  (0.0ms) SAVEPOINT active_record_1
341940
+ SQL (0.2ms) 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-08 16:22:22.792453"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:22.792453"], ["zip_code", "91351"]]
341941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341942
+
341943
+ DealRedemptions::RedemptionMailer#confirmation: processed outbound mail in 4.5ms
341944
+  (0.4ms) rollback transaction
341945
+  (0.0ms) begin transaction
341946
+  (0.0ms) commit transaction
341947
+  (0.0ms) begin transaction
341948
+  (0.0ms) SAVEPOINT active_record_1
341949
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:22.804782"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:22.804782"], ["url", "http://www.redemptions.com"]]
341950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341951
+  (0.3ms) rollback transaction
341952
+  (0.0ms) begin transaction
341953
+  (0.0ms) commit transaction
341954
+  (0.0ms) begin transaction
341955
+  (0.0ms) rollback transaction
341956
+  (0.0ms) begin transaction
341957
+  (0.0ms) commit transaction
341958
+  (0.0ms) begin transaction
341959
+  (0.0ms) rollback transaction
341960
+  (0.1ms) begin transaction
341961
+  (0.0ms) commit transaction
341962
+  (0.0ms) begin transaction
341963
+  (0.0ms) SAVEPOINT active_record_1
341964
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
341965
+ Binary data inserted for `string` type on column `password_hash`
341966
+ Binary data inserted for `string` type on column `password_salt`
341967
+ SQL (0.3ms) 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-08 16:22:22.885937"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:22.885745"], ["last_name", "Doe"], ["password_hash", "$2a$10$XBroPLuuhwgORLECXMDj8eb2xU7ElSGaGmYbBNuHY8X5rXmCBbjG2"], ["password_salt", "$2a$10$XBroPLuuhwgORLECXMDj8e"], ["updated_at", "2014-09-08 16:22:22.885937"]]
341968
+
341969
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 12.0ms
341970
+
341971
+ Sent mail to johndoe@gmail.com (6.6ms)
341972
+ Date: Mon, 08 Sep 2014 09:22:22 -0700
341973
+ From: noreply@domain.com
341974
+ To: johndoe@gmail.com
341975
+ Message-ID: <540dd7bedc45f_35963fc81545e6e847255@Allans-MacBook-Pro.local.mail>
341976
+ Subject: New User Confirmation
341977
+ Mime-Version: 1.0
341978
+ Content-Type: text/html;
341979
+ charset=UTF-8
341980
+ Content-Transfer-Encoding: 7bit
341981
+
341982
+ Hi John Doe,
341983
+
341984
+ Below are your login credentials:
341985
+
341986
+ Email: johndoe@gmail.com
341987
+ Password: test123
341988
+
341989
+ Note: If this is not John Doe, please disregard this email.
341990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
341991
+  (0.0ms) SAVEPOINT active_record_1
341992
+ SQL (0.3ms) 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-08 16:22:22.908065"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:22.908065"]]
341993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341994
+ Processing by DealRedemptions::Admin::RedeemCodesController#destroy as HTML
341995
+ Parameters: {"id"=>"1"}
341996
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
341997
+ DealRedemptions::RedeemCode Load (0.1ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
341998
+  (0.0ms) SAVEPOINT active_record_1
341999
+ SQL (0.2ms) DELETE FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? [["id", 1]]
342000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342001
+ Redirected to http://test.host/deal_redemptions/admin/redeem_codes
342002
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
342003
+  (0.4ms) rollback transaction
342004
+  (0.0ms) begin transaction
342005
+  (0.1ms) commit transaction
342006
+  (0.0ms) begin transaction
342007
+  (0.0ms) SAVEPOINT active_record_1
342008
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342009
+ Binary data inserted for `string` type on column `password_hash`
342010
+ Binary data inserted for `string` type on column `password_salt`
342011
+ SQL (0.3ms) 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-08 16:22:22.981117"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:22.980973"], ["last_name", "Doe"], ["password_hash", "$2a$10$qSn/60QYYYKKMMwodjZDw.uyOWp04jy/k2X3mQ/YYOSKAknCZp63i"], ["password_salt", "$2a$10$qSn/60QYYYKKMMwodjZDw."], ["updated_at", "2014-09-08 16:22:22.981117"]]
342012
+
342013
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 35.5ms
342014
+
342015
+ Sent mail to johndoe@gmail.com (4.5ms)
342016
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342017
+ From: noreply@domain.com
342018
+ To: johndoe@gmail.com
342019
+ Message-ID: <540dd7bf4960_35963fc81545e6e84736f@Allans-MacBook-Pro.local.mail>
342020
+ Subject: New User Confirmation
342021
+ Mime-Version: 1.0
342022
+ Content-Type: text/html;
342023
+ charset=UTF-8
342024
+ Content-Transfer-Encoding: 7bit
342025
+
342026
+ Hi John Doe,
342027
+
342028
+ Below are your login credentials:
342029
+
342030
+ Email: johndoe@gmail.com
342031
+ Password: test123
342032
+
342033
+ Note: If this is not John Doe, please disregard this email.
342034
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342035
+  (0.0ms) SAVEPOINT active_record_1
342036
+ SQL (0.3ms) 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-08 16:22:23.024122"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:23.024122"]]
342037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342038
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes"
342039
+ Processing by DealRedemptions::Admin::RedeemCodesController#destroy as HTML
342040
+ Parameters: {"id"=>"1"}
342041
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342042
+ DealRedemptions::RedeemCode Load (0.1ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
342043
+  (0.0ms) SAVEPOINT active_record_1
342044
+ SQL (0.1ms) DELETE FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? [["id", 1]]
342045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342046
+ Redirected to http://test.host/deal_redemptions/admin/redeem_codes
342047
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
342048
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes"
342049
+  (0.4ms) rollback transaction
342050
+  (0.0ms) begin transaction
342051
+  (0.0ms) commit transaction
342052
+  (0.0ms) begin transaction
342053
+  (0.0ms) SAVEPOINT active_record_1
342054
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342055
+ Binary data inserted for `string` type on column `password_hash`
342056
+ Binary data inserted for `string` type on column `password_salt`
342057
+ SQL (0.3ms) 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-08 16:22:23.100100"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.099937"], ["last_name", "Doe"], ["password_hash", "$2a$10$T3NWlFv9Km.xUWnKUJm7O.idHrh4ytOFEwaL21L/2tkE/oLIoy4C6"], ["password_salt", "$2a$10$T3NWlFv9Km.xUWnKUJm7O."], ["updated_at", "2014-09-08 16:22:23.100100"]]
342058
+
342059
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 44.0ms
342060
+
342061
+ Sent mail to johndoe@gmail.com (4.4ms)
342062
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342063
+ From: noreply@domain.com
342064
+ To: johndoe@gmail.com
342065
+ Message-ID: <540dd7bf23b72_35963fc81545e6e847466@Allans-MacBook-Pro.local.mail>
342066
+ Subject: New User Confirmation
342067
+ Mime-Version: 1.0
342068
+ Content-Type: text/html;
342069
+ charset=UTF-8
342070
+ Content-Transfer-Encoding: 7bit
342071
+
342072
+ Hi John Doe,
342073
+
342074
+ Below are your login credentials:
342075
+
342076
+ Email: johndoe@gmail.com
342077
+ Password: test123
342078
+
342079
+ Note: If this is not John Doe, please disregard this email.
342080
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342081
+  (0.0ms) SAVEPOINT active_record_1
342082
+ SQL (0.3ms) 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-08 16:22:23.151404"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:23.151404"]]
342083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342084
+ Processing by DealRedemptions::Admin::RedeemCodesController#update as HTML
342085
+ Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"", "status"=>"active"}, "id"=>"1"}
342086
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342087
+ DealRedemptions::RedeemCode Load (0.0ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
342088
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '' AND company_id = '1')
342089
+ Unpermitted parameters: redemption_id
342090
+  (0.0ms) SAVEPOINT active_record_1
342091
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
342092
+ Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
342093
+  (1.7ms) rollback transaction
342094
+  (0.0ms) begin transaction
342095
+  (0.0ms) commit transaction
342096
+  (0.0ms) begin transaction
342097
+  (0.0ms) SAVEPOINT active_record_1
342098
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342099
+ Binary data inserted for `string` type on column `password_hash`
342100
+ Binary data inserted for `string` type on column `password_salt`
342101
+ SQL (0.3ms) 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-08 16:22:23.228324"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.228175"], ["last_name", "Doe"], ["password_hash", "$2a$10$4aMbA8ULBtimwDrAh96oC.t7JA1bd2aS8km/rk12sh9TKuhblei/."], ["password_salt", "$2a$10$4aMbA8ULBtimwDrAh96oC."], ["updated_at", "2014-09-08 16:22:23.228324"]]
342102
+
342103
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.3ms
342104
+
342105
+ Sent mail to johndoe@gmail.com (4.3ms)
342106
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342107
+ From: noreply@domain.com
342108
+ To: johndoe@gmail.com
342109
+ Message-ID: <540dd7bf394ae_35963fc81545e6e847534@Allans-MacBook-Pro.local.mail>
342110
+ Subject: New User Confirmation
342111
+ Mime-Version: 1.0
342112
+ Content-Type: text/html;
342113
+ charset=UTF-8
342114
+ Content-Transfer-Encoding: 7bit
342115
+
342116
+ Hi John Doe,
342117
+
342118
+ Below are your login credentials:
342119
+
342120
+ Email: johndoe@gmail.com
342121
+ Password: test123
342122
+
342123
+ Note: If this is not John Doe, please disregard this email.
342124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342125
+  (0.0ms) SAVEPOINT active_record_1
342126
+ SQL (0.4ms) 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-08 16:22:23.239730"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:23.239730"]]
342127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342128
+ Processing by DealRedemptions::Admin::RedeemCodesController#update as HTML
342129
+ Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"", "status"=>"active"}, "id"=>"1"}
342130
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342131
+ DealRedemptions::RedeemCode Load (0.0ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
342132
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '' AND company_id = '1')
342133
+ Unpermitted parameters: redemption_id
342134
+  (0.0ms) SAVEPOINT active_record_1
342135
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
342136
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)
342137
+  (0.8ms) rollback transaction
342138
+  (0.0ms) begin transaction
342139
+  (0.0ms) commit transaction
342140
+  (0.0ms) begin transaction
342141
+  (0.0ms) SAVEPOINT active_record_1
342142
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342143
+ Binary data inserted for `string` type on column `password_hash`
342144
+ Binary data inserted for `string` type on column `password_salt`
342145
+ SQL (0.3ms) 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-08 16:22:23.314212"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.314059"], ["last_name", "Doe"], ["password_hash", "$2a$10$cdOM2yVXLqt95UrKKhytOOsa/Vu9KzdSaEJydP0SZydOU5kCPUHXm"], ["password_salt", "$2a$10$cdOM2yVXLqt95UrKKhytOO"], ["updated_at", "2014-09-08 16:22:23.314212"]]
342146
+
342147
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.2ms
342148
+
342149
+ Sent mail to johndoe@gmail.com (4.1ms)
342150
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342151
+ From: noreply@domain.com
342152
+ To: johndoe@gmail.com
342153
+ Message-ID: <540dd7bf4e3dc_35963fc81545e6e847644@Allans-MacBook-Pro.local.mail>
342154
+ Subject: New User Confirmation
342155
+ Mime-Version: 1.0
342156
+ Content-Type: text/html;
342157
+ charset=UTF-8
342158
+ Content-Transfer-Encoding: 7bit
342159
+
342160
+ Hi John Doe,
342161
+
342162
+ Below are your login credentials:
342163
+
342164
+ Email: johndoe@gmail.com
342165
+ Password: test123
342166
+
342167
+ Note: If this is not John Doe, please disregard this email.
342168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342169
+  (0.0ms) SAVEPOINT active_record_1
342170
+ SQL (0.3ms) 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-08 16:22:23.325394"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:23.325394"]]
342171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342172
+ Processing by DealRedemptions::Admin::RedeemCodesController#update as HTML
342173
+ Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}, "id"=>"1"}
342174
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342175
+ DealRedemptions::RedeemCode Load (0.0ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
342176
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')
342177
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
342178
+  (0.7ms) rollback transaction
342179
+  (0.0ms) begin transaction
342180
+  (0.0ms) commit transaction
342181
+  (0.0ms) begin transaction
342182
+  (0.0ms) SAVEPOINT active_record_1
342183
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342184
+ Binary data inserted for `string` type on column `password_hash`
342185
+ Binary data inserted for `string` type on column `password_salt`
342186
+ SQL (0.3ms) 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-08 16:22:23.398120"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.397974"], ["last_name", "Doe"], ["password_hash", "$2a$10$EFjur9L5EEsyJDHBT0XS4OSUQODKwutXqEjgJr6qUwSsbgfPw8FCu"], ["password_salt", "$2a$10$EFjur9L5EEsyJDHBT0XS4O"], ["updated_at", "2014-09-08 16:22:23.398120"]]
342187
+
342188
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.2ms
342189
+
342190
+ Sent mail to johndoe@gmail.com (4.2ms)
342191
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342192
+ From: noreply@domain.com
342193
+ To: johndoe@gmail.com
342194
+ Message-ID: <540dd7bf62b87_35963fc81545e6e847787@Allans-MacBook-Pro.local.mail>
342195
+ Subject: New User Confirmation
342196
+ Mime-Version: 1.0
342197
+ Content-Type: text/html;
342198
+ charset=UTF-8
342199
+ Content-Transfer-Encoding: 7bit
342200
+
342201
+ Hi John Doe,
342202
+
342203
+ Below are your login credentials:
342204
+
342205
+ Email: johndoe@gmail.com
342206
+ Password: test123
342207
+
342208
+ Note: If this is not John Doe, please disregard this email.
342209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342210
+  (0.0ms) SAVEPOINT active_record_1
342211
+ SQL (0.3ms) 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-08 16:22:23.409309"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:23.409309"]]
342212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342213
+ Processing by DealRedemptions::Admin::RedeemCodesController#update as HTML
342214
+ Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}, "id"=>"1"}
342215
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342216
+ DealRedemptions::RedeemCode Load (0.0ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
342217
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')
342218
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
342219
+ DealRedemptions::RedeemCode Load (0.0ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
342220
+  (0.7ms) rollback transaction
342221
+  (0.0ms) begin transaction
342222
+  (0.0ms) commit transaction
342223
+  (0.0ms) begin transaction
342224
+  (0.0ms) SAVEPOINT active_record_1
342225
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342226
+ Binary data inserted for `string` type on column `password_hash`
342227
+ Binary data inserted for `string` type on column `password_salt`
342228
+ SQL (0.3ms) 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-08 16:22:23.482111"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.481963"], ["last_name", "Doe"], ["password_hash", "$2a$10$V6G3UAsUQAqaZPYsHkNDc.vz6oAclFoLa0.0SW01FkR785ZTrjq.S"], ["password_salt", "$2a$10$V6G3UAsUQAqaZPYsHkNDc."], ["updated_at", "2014-09-08 16:22:23.482111"]]
342229
+
342230
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.2ms
342231
+
342232
+ Sent mail to johndoe@gmail.com (4.2ms)
342233
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342234
+ From: noreply@domain.com
342235
+ To: johndoe@gmail.com
342236
+ Message-ID: <540dd7bf773c1_35963fc81545e6e8478b1@Allans-MacBook-Pro.local.mail>
342237
+ Subject: New User Confirmation
342238
+ Mime-Version: 1.0
342239
+ Content-Type: text/html;
342240
+ charset=UTF-8
342241
+ Content-Transfer-Encoding: 7bit
342242
+
342243
+ Hi John Doe,
342244
+
342245
+ Below are your login credentials:
342246
+
342247
+ Email: johndoe@gmail.com
342248
+ Password: test123
342249
+
342250
+ Note: If this is not John Doe, please disregard this email.
342251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342252
+ Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
342253
+ Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"", "status"=>"active"}}
342254
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342255
+ Unpermitted parameters: redemption_id
342256
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '' AND company_id = '1')
342257
+  (0.0ms) SAVEPOINT active_record_1
342258
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
342259
+ Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)
342260
+  (0.7ms) rollback transaction
342261
+  (0.1ms) begin transaction
342262
+  (0.0ms) commit transaction
342263
+  (0.0ms) begin transaction
342264
+  (0.0ms) SAVEPOINT active_record_1
342265
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342266
+ Binary data inserted for `string` type on column `password_hash`
342267
+ Binary data inserted for `string` type on column `password_salt`
342268
+ SQL (0.3ms) 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-08 16:22:23.569759"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.569610"], ["last_name", "Doe"], ["password_hash", "$2a$10$aFOFNTwxsXtD507D6N0Dc.cFs7GuOxw29MTMzKUp1glt5DbIGgV0a"], ["password_salt", "$2a$10$aFOFNTwxsXtD507D6N0Dc."], ["updated_at", "2014-09-08 16:22:23.569759"]]
342269
+
342270
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.3ms
342271
+
342272
+ Sent mail to johndoe@gmail.com (4.6ms)
342273
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342274
+ From: noreply@domain.com
342275
+ To: johndoe@gmail.com
342276
+ Message-ID: <540dd7bf8cad1_35963fc81545e6e84794@Allans-MacBook-Pro.local.mail>
342277
+ Subject: New User Confirmation
342278
+ Mime-Version: 1.0
342279
+ Content-Type: text/html;
342280
+ charset=UTF-8
342281
+ Content-Transfer-Encoding: 7bit
342282
+
342283
+ Hi John Doe,
342284
+
342285
+ Below are your login credentials:
342286
+
342287
+ Email: johndoe@gmail.com
342288
+ Password: test123
342289
+
342290
+ Note: If this is not John Doe, please disregard this email.
342291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342292
+ Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
342293
+ Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"", "status"=>"active"}}
342294
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342295
+ Unpermitted parameters: redemption_id
342296
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '' AND company_id = '1')
342297
+  (0.0ms) SAVEPOINT active_record_1
342298
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
342299
+ Completed 200 OK in 34ms (Views: 31.3ms | ActiveRecord: 0.2ms)
342300
+  (1.8ms) rollback transaction
342301
+  (0.1ms) begin transaction
342302
+  (0.0ms) commit transaction
342303
+  (0.0ms) begin transaction
342304
+  (0.1ms) SAVEPOINT active_record_1
342305
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342306
+ Binary data inserted for `string` type on column `password_hash`
342307
+ Binary data inserted for `string` type on column `password_salt`
342308
+ SQL (0.3ms) 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-08 16:22:23.689678"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.689527"], ["last_name", "Doe"], ["password_hash", "$2a$10$Ug8Jq0ILmONLgNii4lC.tOdhYz3xKxicn32LKtExADMZShDoYQG0m"], ["password_salt", "$2a$10$Ug8Jq0ILmONLgNii4lC.tO"], ["updated_at", "2014-09-08 16:22:23.689678"]]
342309
+
342310
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
342311
+
342312
+ Sent mail to johndoe@gmail.com (4.8ms)
342313
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342314
+ From: noreply@domain.com
342315
+ To: johndoe@gmail.com
342316
+ Message-ID: <540dd7bfaa035_35963fc81545e6e848048@Allans-MacBook-Pro.local.mail>
342317
+ Subject: New User Confirmation
342318
+ Mime-Version: 1.0
342319
+ Content-Type: text/html;
342320
+ charset=UTF-8
342321
+ Content-Transfer-Encoding: 7bit
342322
+
342323
+ Hi John Doe,
342324
+
342325
+ Below are your login credentials:
342326
+
342327
+ Email: johndoe@gmail.com
342328
+ Password: test123
342329
+
342330
+ Note: If this is not John Doe, please disregard this email.
342331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342332
+ Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
342333
+ Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}}
342334
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342335
+ Unpermitted parameters: redemption_id
342336
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')
342337
+  (0.0ms) SAVEPOINT active_record_1
342338
+ SQL (0.3ms) 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-08 16:22:23.705324"], ["product_id", 1], ["updated_at", "2014-09-08 16:22:23.705324"]]
342339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342340
+ Redirected to http://test.host/deal_redemptions/admin/redeem_codes
342341
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
342342
+  (0.4ms) rollback transaction
342343
+  (0.0ms) begin transaction
342344
+  (0.0ms) commit transaction
342345
+  (0.0ms) begin transaction
342346
+  (0.1ms) SAVEPOINT active_record_1
342347
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342348
+ Binary data inserted for `string` type on column `password_hash`
342349
+ Binary data inserted for `string` type on column `password_salt`
342350
+ SQL (0.3ms) 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-08 16:22:23.775745"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.775567"], ["last_name", "Doe"], ["password_hash", "$2a$10$G.Djvk7LrF1yBQC.eUd46u5O4kN6DkaBCTbYh.adwrB3Q06SXQQ7m"], ["password_salt", "$2a$10$G.Djvk7LrF1yBQC.eUd46u"], ["updated_at", "2014-09-08 16:22:23.775745"]]
342351
+
342352
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
342353
+
342354
+ Sent mail to johndoe@gmail.com (4.6ms)
342355
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342356
+ From: noreply@domain.com
342357
+ To: johndoe@gmail.com
342358
+ Message-ID: <540dd7bfbf033_35963fc81545e6e848167@Allans-MacBook-Pro.local.mail>
342359
+ Subject: New User Confirmation
342360
+ Mime-Version: 1.0
342361
+ Content-Type: text/html;
342362
+ charset=UTF-8
342363
+ Content-Transfer-Encoding: 7bit
342364
+
342365
+ Hi John Doe,
342366
+
342367
+ Below are your login credentials:
342368
+
342369
+ Email: johndoe@gmail.com
342370
+ Password: test123
342371
+
342372
+ Note: If this is not John Doe, please disregard this email.
342373
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342374
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes"
342375
+ Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
342376
+ Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}}
342377
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342378
+ Unpermitted parameters: redemption_id
342379
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')
342380
+  (0.0ms) SAVEPOINT active_record_1
342381
+ SQL (0.3ms) 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-08 16:22:23.791703"], ["product_id", 1], ["updated_at", "2014-09-08 16:22:23.791703"]]
342382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342383
+ Redirected to http://test.host/deal_redemptions/admin/redeem_codes
342384
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
342385
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes"
342386
+  (0.7ms) rollback transaction
342387
+  (0.1ms) begin transaction
342388
+  (0.0ms) commit transaction
342389
+  (0.1ms) begin transaction
342390
+  (0.1ms) SAVEPOINT active_record_1
342391
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342392
+ Binary data inserted for `string` type on column `password_hash`
342393
+ Binary data inserted for `string` type on column `password_salt`
342394
+ SQL (0.3ms) 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-08 16:22:23.866345"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.866192"], ["last_name", "Doe"], ["password_hash", "$2a$10$hq6X3Oa6VCTAtV97z0/ECOL9fq0Z.8.Vy6RzGmMw.vdAhIWkJ18YW"], ["password_salt", "$2a$10$hq6X3Oa6VCTAtV97z0/ECO"], ["updated_at", "2014-09-08 16:22:23.866345"]]
342395
+
342396
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
342397
+
342398
+ Sent mail to johndoe@gmail.com (4.5ms)
342399
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342400
+ From: noreply@domain.com
342401
+ To: johndoe@gmail.com
342402
+ Message-ID: <540dd7bfd52b3_35963fc81545e6e848262@Allans-MacBook-Pro.local.mail>
342403
+ Subject: New User Confirmation
342404
+ Mime-Version: 1.0
342405
+ Content-Type: text/html;
342406
+ charset=UTF-8
342407
+ Content-Transfer-Encoding: 7bit
342408
+
342409
+ Hi John Doe,
342410
+
342411
+ Below are your login credentials:
342412
+
342413
+ Email: johndoe@gmail.com
342414
+ Password: test123
342415
+
342416
+ Note: If this is not John Doe, please disregard this email.
342417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342418
+ Processing by DealRedemptions::Admin::RedeemCodesController#create as HTML
342419
+ Parameters: {"redeem_code"=>{"company_id"=>"1", "product_id"=>"1", "redemption_id"=>"1", "code"=>"123456789", "status"=>"active"}}
342420
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342421
+ Unpermitted parameters: redemption_id
342422
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_redeem_codes" WHERE (code = '123456789' AND company_id = '1')
342423
+  (0.0ms) SAVEPOINT active_record_1
342424
+ SQL (0.3ms) 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-08 16:22:23.881806"], ["product_id", 1], ["updated_at", "2014-09-08 16:22:23.881806"]]
342425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342426
+ Redirected to http://test.host/deal_redemptions/admin/redeem_codes
342427
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
342428
+  (0.8ms) rollback transaction
342429
+  (0.1ms) begin transaction
342430
+  (0.0ms) commit transaction
342431
+  (0.0ms) begin transaction
342432
+  (0.1ms) SAVEPOINT active_record_1
342433
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342434
+ Binary data inserted for `string` type on column `password_hash`
342435
+ Binary data inserted for `string` type on column `password_salt`
342436
+ SQL (0.2ms) 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-08 16:22:23.954141"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:23.953993"], ["last_name", "Doe"], ["password_hash", "$2a$10$57/GoweUWjl4I9KskR4rsuqpNy7roVX964OlTdHNuH.mzvdaQ3yKm"], ["password_salt", "$2a$10$57/GoweUWjl4I9KskR4rsu"], ["updated_at", "2014-09-08 16:22:23.954141"]]
342437
+
342438
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
342439
+
342440
+ Sent mail to johndoe@gmail.com (4.6ms)
342441
+ Date: Mon, 08 Sep 2014 09:22:23 -0700
342442
+ From: noreply@domain.com
342443
+ To: johndoe@gmail.com
342444
+ Message-ID: <540dd7bfea99d_35963fc81545e6e848324@Allans-MacBook-Pro.local.mail>
342445
+ Subject: New User Confirmation
342446
+ Mime-Version: 1.0
342447
+ Content-Type: text/html;
342448
+ charset=UTF-8
342449
+ Content-Transfer-Encoding: 7bit
342450
+
342451
+ Hi John Doe,
342452
+
342453
+ Below are your login credentials:
342454
+
342455
+ Email: johndoe@gmail.com
342456
+ Password: test123
342457
+
342458
+ Note: If this is not John Doe, please disregard this email.
342459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342460
+ Processing by DealRedemptions::Admin::RedeemCodesController#new as HTML
342461
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342462
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
342463
+  (0.7ms) rollback transaction
342464
+  (0.0ms) begin transaction
342465
+  (0.0ms) commit transaction
342466
+  (0.0ms) begin transaction
342467
+  (0.0ms) SAVEPOINT active_record_1
342468
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342469
+ Binary data inserted for `string` type on column `password_hash`
342470
+ Binary data inserted for `string` type on column `password_salt`
342471
+ SQL (0.3ms) 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-08 16:22:24.035787"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:24.035579"], ["last_name", "Doe"], ["password_hash", "$2a$10$WIbjv3HzEAkl3STbe0cqkOxZpoi7Cn0cNjGvokTlkCVA7kReJyUfm"], ["password_salt", "$2a$10$WIbjv3HzEAkl3STbe0cqkO"], ["updated_at", "2014-09-08 16:22:24.035787"]]
342472
+
342473
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
342474
+
342475
+ Sent mail to johndoe@gmail.com (4.6ms)
342476
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342477
+ From: noreply@domain.com
342478
+ To: johndoe@gmail.com
342479
+ Message-ID: <540dd7c0a592_35963fc81545e6e8484ba@Allans-MacBook-Pro.local.mail>
342480
+ Subject: New User Confirmation
342481
+ Mime-Version: 1.0
342482
+ Content-Type: text/html;
342483
+ charset=UTF-8
342484
+ Content-Transfer-Encoding: 7bit
342485
+
342486
+ Hi John Doe,
342487
+
342488
+ Below are your login credentials:
342489
+
342490
+ Email: johndoe@gmail.com
342491
+ Password: test123
342492
+
342493
+ Note: If this is not John Doe, please disregard this email.
342494
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342495
+  (0.0ms) SAVEPOINT active_record_1
342496
+ SQL (0.3ms) 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-08 16:22:24.047782"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:24.047782"]]
342497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342498
+ Processing by DealRedemptions::Admin::RedeemCodesController#index as HTML
342499
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342500
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
342501
+ DealRedemptions::RedeemCode Load (0.2ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" ORDER BY "deal_redemptions_redeem_codes"."code" ASC LIMIT 25 OFFSET 0
342502
+ DealRedemptions::Company Load (0.1ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" IN (1)
342503
+  (0.4ms) rollback transaction
342504
+  (0.0ms) begin transaction
342505
+  (0.0ms) commit transaction
342506
+  (0.0ms) begin transaction
342507
+  (0.0ms) SAVEPOINT active_record_1
342508
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
342509
+ Binary data inserted for `string` type on column `password_hash`
342510
+ Binary data inserted for `string` type on column `password_salt`
342511
+ SQL (0.3ms) 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-08 16:22:24.125463"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:24.125291"], ["last_name", "Doe"], ["password_hash", "$2a$10$ZFwzp3BDc/Z0Dq/txfY58.k8.FImr4kSjiiO4ks4OV.Y3CNq2s6.a"], ["password_salt", "$2a$10$ZFwzp3BDc/Z0Dq/txfY58."], ["updated_at", "2014-09-08 16:22:24.125463"]]
342512
+
342513
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.9ms
342514
+
342515
+ Sent mail to johndoe@gmail.com (36.9ms)
342516
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342517
+ From: noreply@domain.com
342518
+ To: johndoe@gmail.com
342519
+ Message-ID: <540dd7c0205b1_35963fc81545e6e8485a0@Allans-MacBook-Pro.local.mail>
342520
+ Subject: New User Confirmation
342521
+ Mime-Version: 1.0
342522
+ Content-Type: text/html;
342523
+ charset=UTF-8
342524
+ Content-Transfer-Encoding: 7bit
342525
+
342526
+ Hi John Doe,
342527
+
342528
+ Below are your login credentials:
342529
+
342530
+ Email: johndoe@gmail.com
342531
+ Password: test123
342532
+
342533
+ Note: If this is not John Doe, please disregard this email.
342534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342535
+  (0.0ms) SAVEPOINT active_record_1
342536
+ SQL (0.3ms) 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-08 16:22:24.170377"], ["product_id", 1], ["redemption_id", 1], ["updated_at", "2014-09-08 16:22:24.170377"]]
342537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342538
+ Processing by DealRedemptions::Admin::RedeemCodesController#edit as HTML
342539
+ Parameters: {"id"=>"1"}
342540
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342541
+ DealRedemptions::RedeemCode Load (0.0ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."id" = ? LIMIT 1 [["id", 1]]
342542
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
342543
+  (1.8ms) rollback transaction
342544
+  (0.1ms) begin transaction
342545
+  (0.0ms) commit transaction
342546
+  (0.0ms) begin transaction
342547
+  (0.0ms) SAVEPOINT active_record_1
342548
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail1@gmail.com' LIMIT 1
342549
+ Binary data inserted for `string` type on column `password_hash`
342550
+ Binary data inserted for `string` type on column `password_salt`
342551
+ SQL (0.3ms) 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-08 16:22:24.244421"], ["email", "testemail1@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:24.244181"], ["last_name", "Doe"], ["password_hash", "$2a$10$XQQf7SyXNFA0s3exkj9ykeyG6ZUWl8LyxcyyxvYxeYObNmyywEixK"], ["password_salt", "$2a$10$XQQf7SyXNFA0s3exkj9yke"], ["updated_at", "2014-09-08 16:22:24.244421"]]
342552
+
342553
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
342554
+
342555
+ Sent mail to testemail1@gmail.com (4.6ms)
342556
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342557
+ From: noreply@domain.com
342558
+ To: testemail1@gmail.com
342559
+ Message-ID: <540dd7c03d657_35963fc81545e6e8486a1@Allans-MacBook-Pro.local.mail>
342560
+ Subject: New User Confirmation
342561
+ Mime-Version: 1.0
342562
+ Content-Type: text/html;
342563
+ charset=UTF-8
342564
+ Content-Transfer-Encoding: 7bit
342565
+
342566
+ Hi John Doe,
342567
+
342568
+ Below are your login credentials:
342569
+
342570
+ Email: testemail1@gmail.com
342571
+ Password: test123
342572
+
342573
+ Note: If this is not John Doe, please disregard this email.
342574
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342575
+ Processing by DealRedemptions::Admin::UserController#destroy as HTML
342576
+ Parameters: {"id"=>"1"}
342577
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342578
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
342579
+  (0.0ms) SAVEPOINT active_record_1
342580
+ SQL (0.2ms) DELETE FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? [["id", 1]]
342581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342582
+ Redirected to http://test.host/deal_redemptions/admin/settings
342583
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
342584
+  (0.8ms) rollback transaction
342585
+  (0.1ms) begin transaction
342586
+  (0.0ms) commit transaction
342587
+  (0.0ms) begin transaction
342588
+  (0.1ms) SAVEPOINT active_record_1
342589
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail2@gmail.com' LIMIT 1
342590
+ Binary data inserted for `string` type on column `password_hash`
342591
+ Binary data inserted for `string` type on column `password_salt`
342592
+ SQL (0.3ms) 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-08 16:22:24.331011"], ["email", "testemail2@gmail.com"], ["first_name", "John"], ["id", 2], ["last_login", "2014-09-08 16:22:24.330844"], ["last_name", "Doe"], ["password_hash", "$2a$10$RuhrCJqv34zNNvaybvMZXudOga2BtyF7kPP0iOXk/lUHWQQwllLQG"], ["password_salt", "$2a$10$RuhrCJqv34zNNvaybvMZXu"], ["updated_at", "2014-09-08 16:22:24.331011"]]
342593
+
342594
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
342595
+
342596
+ Sent mail to testemail2@gmail.com (4.3ms)
342597
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342598
+ From: noreply@domain.com
342599
+ To: testemail2@gmail.com
342600
+ Message-ID: <540dd7c0527ac_35963fc81545e6e84871b@Allans-MacBook-Pro.local.mail>
342601
+ Subject: New User Confirmation
342602
+ Mime-Version: 1.0
342603
+ Content-Type: text/html;
342604
+ charset=UTF-8
342605
+ Content-Transfer-Encoding: 7bit
342606
+
342607
+ Hi John Doe,
342608
+
342609
+ Below are your login credentials:
342610
+
342611
+ Email: testemail2@gmail.com
342612
+ Password: test123
342613
+
342614
+ Note: If this is not John Doe, please disregard this email.
342615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342616
+ Processing by DealRedemptions::Admin::UserController#destroy as HTML
342617
+ Parameters: {"id"=>"2"}
342618
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 2]]
342619
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 2]]
342620
+  (0.0ms) SAVEPOINT active_record_1
342621
+ SQL (0.2ms) DELETE FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? [["id", 2]]
342622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342623
+ Redirected to http://test.host/deal_redemptions/admin/settings
342624
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
342625
+  (0.7ms) rollback transaction
342626
+  (0.0ms) begin transaction
342627
+  (0.0ms) commit transaction
342628
+  (0.0ms) begin transaction
342629
+  (0.0ms) SAVEPOINT active_record_1
342630
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail3@gmail.com' LIMIT 1
342631
+ Binary data inserted for `string` type on column `password_hash`
342632
+ Binary data inserted for `string` type on column `password_salt`
342633
+ SQL (0.3ms) 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-08 16:22:24.412636"], ["email", "testemail3@gmail.com"], ["first_name", "John"], ["id", 3], ["last_login", "2014-09-08 16:22:24.412473"], ["last_name", "Doe"], ["password_hash", "$2a$10$8Y3uzFwIrOBRp7xBCaW0uuYRVXxDxKrvGJRRSv.T.0QzV4xzVKavW"], ["password_salt", "$2a$10$8Y3uzFwIrOBRp7xBCaW0uu"], ["updated_at", "2014-09-08 16:22:24.412636"]]
342634
+
342635
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
342636
+
342637
+ Sent mail to testemail3@gmail.com (4.5ms)
342638
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342639
+ From: noreply@domain.com
342640
+ To: testemail3@gmail.com
342641
+ Message-ID: <540dd7c0666c2_35963fc81545e6e848813@Allans-MacBook-Pro.local.mail>
342642
+ Subject: New User Confirmation
342643
+ Mime-Version: 1.0
342644
+ Content-Type: text/html;
342645
+ charset=UTF-8
342646
+ Content-Transfer-Encoding: 7bit
342647
+
342648
+ Hi John Doe,
342649
+
342650
+ Below are your login credentials:
342651
+
342652
+ Email: testemail3@gmail.com
342653
+ Password: test123
342654
+
342655
+ Note: If this is not John Doe, please disregard this email.
342656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342657
+ Processing by DealRedemptions::Admin::UserController#create as HTML
342658
+ Parameters: {"user"=>{"id"=>"4", "first_name"=>"John", "last_name"=>"Doe", "email"=>"", "password"=>"[FILTERED]"}}
342659
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 3]]
342660
+ Unpermitted parameters: id
342661
+  (0.1ms) SAVEPOINT active_record_1
342662
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '' LIMIT 1
342663
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
342664
+ Redirected to http://test.host/deal_redemptions/admin/settings
342665
+ Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
342666
+  (0.7ms) rollback transaction
342667
+  (0.0ms) begin transaction
342668
+  (0.0ms) commit transaction
342669
+  (0.0ms) begin transaction
342670
+  (0.0ms) SAVEPOINT active_record_1
342671
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail4@gmail.com' LIMIT 1
342672
+ Binary data inserted for `string` type on column `password_hash`
342673
+ Binary data inserted for `string` type on column `password_salt`
342674
+ SQL (0.3ms) 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-08 16:22:24.497792"], ["email", "testemail4@gmail.com"], ["first_name", "John"], ["id", 5], ["last_login", "2014-09-08 16:22:24.497625"], ["last_name", "Doe"], ["password_hash", "$2a$10$w1lVxGBADvnupizYAqSkgu3eLruFWCixxRHddWZNJr7.4SoW99yQ2"], ["password_salt", "$2a$10$w1lVxGBADvnupizYAqSkgu"], ["updated_at", "2014-09-08 16:22:24.497792"]]
342675
+
342676
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
342677
+
342678
+ Sent mail to testemail4@gmail.com (4.5ms)
342679
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342680
+ From: noreply@domain.com
342681
+ To: testemail4@gmail.com
342682
+ Message-ID: <540dd7c07b371_35963fc81545e6e848974@Allans-MacBook-Pro.local.mail>
342683
+ Subject: New User Confirmation
342684
+ Mime-Version: 1.0
342685
+ Content-Type: text/html;
342686
+ charset=UTF-8
342687
+ Content-Transfer-Encoding: 7bit
342688
+
342689
+ Hi John Doe,
342690
+
342691
+ Below are your login credentials:
342692
+
342693
+ Email: testemail4@gmail.com
342694
+ Password: test123
342695
+
342696
+ Note: If this is not John Doe, please disregard this email.
342697
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342698
+ Processing by DealRedemptions::Admin::UserController#create as HTML
342699
+ Parameters: {"user"=>{"id"=>"6", "first_name"=>"John", "last_name"=>"Doe", "email"=>"", "password"=>"[FILTERED]"}}
342700
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 5]]
342701
+ Unpermitted parameters: id
342702
+  (0.0ms) SAVEPOINT active_record_1
342703
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '' LIMIT 1
342704
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
342705
+ Redirected to http://test.host/deal_redemptions/admin/settings
342706
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
342707
+  (0.7ms) rollback transaction
342708
+  (0.0ms) begin transaction
342709
+  (0.0ms) commit transaction
342710
+  (0.0ms) begin transaction
342711
+  (0.0ms) SAVEPOINT active_record_1
342712
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail5@gmail.com' LIMIT 1
342713
+ Binary data inserted for `string` type on column `password_hash`
342714
+ Binary data inserted for `string` type on column `password_salt`
342715
+ SQL (0.3ms) 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-08 16:22:24.583245"], ["email", "testemail5@gmail.com"], ["first_name", "John"], ["id", 7], ["last_login", "2014-09-08 16:22:24.583079"], ["last_name", "Doe"], ["password_hash", "$2a$10$3CIs1HKdKi3fbyCV.EFLUejbajGspfcUtG18.l72FhwzLf1ZOhbeS"], ["password_salt", "$2a$10$3CIs1HKdKi3fbyCV.EFLUe"], ["updated_at", "2014-09-08 16:22:24.583245"]]
342716
+
342717
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
342718
+
342719
+ Sent mail to testemail5@gmail.com (4.6ms)
342720
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342721
+ From: noreply@domain.com
342722
+ To: testemail5@gmail.com
342723
+ Message-ID: <540dd7c09024d_35963fc81545e6e849097@Allans-MacBook-Pro.local.mail>
342724
+ Subject: New User Confirmation
342725
+ Mime-Version: 1.0
342726
+ Content-Type: text/html;
342727
+ charset=UTF-8
342728
+ Content-Transfer-Encoding: 7bit
342729
+
342730
+ Hi John Doe,
342731
+
342732
+ Below are your login credentials:
342733
+
342734
+ Email: testemail5@gmail.com
342735
+ Password: test123
342736
+
342737
+ Note: If this is not John Doe, please disregard this email.
342738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342739
+ Processing by DealRedemptions::Admin::UserController#create as HTML
342740
+ Parameters: {"user"=>{"id"=>"8", "first_name"=>"John", "last_name"=>"Doe", "email"=>"testemail6@gmail.com", "password"=>"[FILTERED]"}}
342741
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 7]]
342742
+ Unpermitted parameters: id
342743
+  (0.0ms) SAVEPOINT active_record_1
342744
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail6@gmail.com' LIMIT 1
342745
+ Binary data inserted for `string` type on column `password_hash`
342746
+ Binary data inserted for `string` type on column `password_salt`
342747
+ SQL (0.3ms) 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-08 16:22:24.661597"], ["email", "testemail6@gmail.com"], ["first_name", "John"], ["last_login", "2014-09-08 16:22:24.661478"], ["last_name", "Doe"], ["password_hash", "$2a$10$rMrvmVJHWzgGW6H2C4s7ou6zYm57lXfOFacatFd/V0ElDVTp3XueO"], ["password_salt", "$2a$10$rMrvmVJHWzgGW6H2C4s7ou"], ["updated_at", "2014-09-08 16:22:24.661597"]]
342748
+
342749
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.2ms
342750
+
342751
+ Sent mail to testemail6@gmail.com (37.3ms)
342752
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342753
+ From: noreply@domain.com
342754
+ To: testemail6@gmail.com
342755
+ Message-ID: <540dd7c0a356e_35963fc81545e6e8491a6@Allans-MacBook-Pro.local.mail>
342756
+ Subject: New User Confirmation
342757
+ Mime-Version: 1.0
342758
+ Content-Type: text/html;
342759
+ charset=UTF-8
342760
+ Content-Transfer-Encoding: 7bit
342761
+
342762
+ Hi John Doe,
342763
+
342764
+ Below are your login credentials:
342765
+
342766
+ Email: testemail6@gmail.com
342767
+ Password: test123
342768
+
342769
+ Note: If this is not John Doe, please disregard this email.
342770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342771
+ Redirected to http://test.host/deal_redemptions/admin/settings
342772
+ Completed 302 Found in 110ms (ActiveRecord: 0.5ms)
342773
+  (1.7ms) rollback transaction
342774
+  (0.0ms) begin transaction
342775
+  (0.0ms) commit transaction
342776
+  (0.0ms) begin transaction
342777
+  (0.0ms) SAVEPOINT active_record_1
342778
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail7@gmail.com' LIMIT 1
342779
+ Binary data inserted for `string` type on column `password_hash`
342780
+ Binary data inserted for `string` type on column `password_salt`
342781
+ SQL (0.3ms) 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-08 16:22:24.775289"], ["email", "testemail7@gmail.com"], ["first_name", "John"], ["id", 9], ["last_login", "2014-09-08 16:22:24.775053"], ["last_name", "Doe"], ["password_hash", "$2a$10$32GK8lSwtt.wxfvBYjIA0OBiLXA4.rZGB2YGUe01TRst34iYHQE6y"], ["password_salt", "$2a$10$32GK8lSwtt.wxfvBYjIA0O"], ["updated_at", "2014-09-08 16:22:24.775289"]]
342782
+
342783
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
342784
+
342785
+ Sent mail to testemail7@gmail.com (4.8ms)
342786
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342787
+ From: noreply@domain.com
342788
+ To: testemail7@gmail.com
342789
+ Message-ID: <540dd7c0bf052_35963fc81545e6e849212@Allans-MacBook-Pro.local.mail>
342790
+ Subject: New User Confirmation
342791
+ Mime-Version: 1.0
342792
+ Content-Type: text/html;
342793
+ charset=UTF-8
342794
+ Content-Transfer-Encoding: 7bit
342795
+
342796
+ Hi John Doe,
342797
+
342798
+ Below are your login credentials:
342799
+
342800
+ Email: testemail7@gmail.com
342801
+ Password: test123
342802
+
342803
+ Note: If this is not John Doe, please disregard this email.
342804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342805
+ Processing by DealRedemptions::Admin::UserController#create as HTML
342806
+ Parameters: {"user"=>{"id"=>"10", "first_name"=>"John", "last_name"=>"Doe", "email"=>"testemail8@gmail.com", "password"=>"[FILTERED]"}}
342807
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 9]]
342808
+ Unpermitted parameters: id
342809
+  (0.0ms) SAVEPOINT active_record_1
342810
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail8@gmail.com' LIMIT 1
342811
+ Binary data inserted for `string` type on column `password_hash`
342812
+ Binary data inserted for `string` type on column `password_salt`
342813
+ SQL (0.3ms) 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-08 16:22:24.853977"], ["email", "testemail8@gmail.com"], ["first_name", "John"], ["last_login", "2014-09-08 16:22:24.853851"], ["last_name", "Doe"], ["password_hash", "$2a$10$Ec7OLHiXH9baILqlHJET4.jXIyT3u5Jg2.C7XI7ghLKirYIDwOoGm"], ["password_salt", "$2a$10$Ec7OLHiXH9baILqlHJET4."], ["updated_at", "2014-09-08 16:22:24.853977"]]
342814
+
342815
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
342816
+
342817
+ Sent mail to testemail8@gmail.com (4.5ms)
342818
+ Date: Mon, 08 Sep 2014 09:22:24 -0700
342819
+ From: noreply@domain.com
342820
+ To: testemail8@gmail.com
342821
+ Message-ID: <540dd7c0d22a2_35963fc81545e6e849360@Allans-MacBook-Pro.local.mail>
342822
+ Subject: New User Confirmation
342823
+ Mime-Version: 1.0
342824
+ Content-Type: text/html;
342825
+ charset=UTF-8
342826
+ Content-Transfer-Encoding: 7bit
342827
+
342828
+ Hi John Doe,
342829
+
342830
+ Below are your login credentials:
342831
+
342832
+ Email: testemail8@gmail.com
342833
+ Password: test123
342834
+
342835
+ Note: If this is not John Doe, please disregard this email.
342836
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342837
+ Redirected to http://test.host/deal_redemptions/admin/settings
342838
+ Completed 302 Found in 76ms (ActiveRecord: 0.5ms)
342839
+  (1.7ms) rollback transaction
342840
+  (0.0ms) begin transaction
342841
+  (0.0ms) commit transaction
342842
+  (0.0ms) begin transaction
342843
+  (0.0ms) SAVEPOINT active_record_1
342844
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.870424"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.870424"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
342845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342846
+ Processing by DealRedemptions::Admin::ProductsController#destroy as HTML
342847
+ Parameters: {"id"=>"1"}
342848
+ DealRedemptions::Product Load (0.1ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
342849
+  (0.0ms) SAVEPOINT active_record_1
342850
+ SQL (0.2ms) DELETE FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? [["id", 1]]
342851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342852
+ Redirected to http://test.host/deal_redemptions/admin/products
342853
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
342854
+  (0.4ms) rollback transaction
342855
+  (0.0ms) begin transaction
342856
+  (0.0ms) commit transaction
342857
+  (0.0ms) begin transaction
342858
+  (0.0ms) SAVEPOINT active_record_1
342859
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.878044"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.878044"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
342860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342861
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_products"
342862
+ Processing by DealRedemptions::Admin::ProductsController#destroy as HTML
342863
+ Parameters: {"id"=>"1"}
342864
+ DealRedemptions::Product Load (0.0ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
342865
+  (0.0ms) SAVEPOINT active_record_1
342866
+ SQL (0.2ms) DELETE FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? [["id", 1]]
342867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342868
+ Redirected to http://test.host/deal_redemptions/admin/products
342869
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
342870
+  (0.0ms) SELECT COUNT(*) FROM "deal_redemptions_products"
342871
+  (0.4ms) rollback transaction
342872
+  (0.0ms) begin transaction
342873
+  (0.0ms) commit transaction
342874
+  (0.0ms) begin transaction
342875
+  (0.0ms) SAVEPOINT active_record_1
342876
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.885467"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.885467"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
342877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342878
+ Processing by DealRedemptions::Admin::ProductsController#update as HTML
342879
+ Parameters: {"product"=>{"id"=>"1", "name"=>"", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
342880
+ DealRedemptions::Product Load (0.0ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
342881
+ Unpermitted parameters: id
342882
+  (0.0ms) SAVEPOINT active_record_1
342883
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
342884
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms)
342885
+  (0.3ms) rollback transaction
342886
+  (0.0ms) begin transaction
342887
+  (0.0ms) commit transaction
342888
+  (0.0ms) begin transaction
342889
+  (0.0ms) SAVEPOINT active_record_1
342890
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.895578"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.895578"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
342891
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342892
+ Processing by DealRedemptions::Admin::ProductsController#update as HTML
342893
+ Parameters: {"product"=>{"id"=>"1", "name"=>"", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
342894
+ DealRedemptions::Product Load (0.0ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
342895
+ Unpermitted parameters: id
342896
+  (0.0ms) SAVEPOINT active_record_1
342897
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
342898
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)
342899
+  (0.4ms) rollback transaction
342900
+  (0.0ms) begin transaction
342901
+  (0.0ms) commit transaction
342902
+  (0.0ms) begin transaction
342903
+  (0.1ms) SAVEPOINT active_record_1
342904
+ SQL (0.3ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.904479"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.904479"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
342905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
342906
+ Processing by DealRedemptions::Admin::ProductsController#update as HTML
342907
+ Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
342908
+ DealRedemptions::Product Load (0.0ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
342909
+ Unpermitted parameters: id
342910
+  (0.0ms) SAVEPOINT active_record_1
342911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342912
+ Redirected to http://test.host/deal_redemptions/admin/products
342913
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
342914
+  (0.4ms) rollback transaction
342915
+  (0.0ms) begin transaction
342916
+  (0.0ms) commit transaction
342917
+  (0.0ms) begin transaction
342918
+  (0.0ms) SAVEPOINT active_record_1
342919
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.912684"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.912684"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
342920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342921
+ Processing by DealRedemptions::Admin::ProductsController#update as HTML
342922
+ Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
342923
+ DealRedemptions::Product Load (0.0ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
342924
+ Unpermitted parameters: id
342925
+  (0.0ms) SAVEPOINT active_record_1
342926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342927
+ Redirected to http://test.host/deal_redemptions/admin/products
342928
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
342929
+ DealRedemptions::Product Load (0.0ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
342930
+  (0.4ms) rollback transaction
342931
+  (0.0ms) begin transaction
342932
+  (0.0ms) commit transaction
342933
+  (0.0ms) begin transaction
342934
+  (0.0ms) SAVEPOINT active_record_1
342935
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.920797"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.920797"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
342936
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342937
+ Processing by DealRedemptions::Admin::ProductsController#update as HTML
342938
+ Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}, "id"=>"1"}
342939
+ DealRedemptions::Product Load (0.0ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
342940
+ Unpermitted parameters: id
342941
+  (0.0ms) SAVEPOINT active_record_1
342942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342943
+ Redirected to http://test.host/deal_redemptions/admin/products
342944
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
342945
+  (0.4ms) rollback transaction
342946
+  (0.0ms) begin transaction
342947
+  (0.0ms) commit transaction
342948
+  (0.0ms) begin transaction
342949
+ Processing by DealRedemptions::Admin::ProductsController#create as HTML
342950
+ Parameters: {"product"=>{"id"=>"1", "name"=>"", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
342951
+ Unpermitted parameters: id
342952
+  (0.0ms) SAVEPOINT active_record_1
342953
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
342954
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
342955
+  (0.0ms) rollback transaction
342956
+  (0.0ms) begin transaction
342957
+  (0.0ms) commit transaction
342958
+  (0.0ms) begin transaction
342959
+ Processing by DealRedemptions::Admin::ProductsController#create as HTML
342960
+ Parameters: {"product"=>{"id"=>"1", "name"=>"", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
342961
+ Unpermitted parameters: id
342962
+  (0.0ms) SAVEPOINT active_record_1
342963
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
342964
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
342965
+  (0.0ms) rollback transaction
342966
+  (0.1ms) begin transaction
342967
+  (0.0ms) commit transaction
342968
+  (0.0ms) begin transaction
342969
+ Processing by DealRedemptions::Admin::ProductsController#create as HTML
342970
+ Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
342971
+ Unpermitted parameters: id
342972
+  (0.0ms) SAVEPOINT active_record_1
342973
+ SQL (0.3ms) INSERT INTO "deal_redemptions_products" ("created_at", "name", "updated_at", "url") VALUES (?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.941846"], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.941846"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
342974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342975
+ Redirected to http://test.host/deal_redemptions/admin/products
342976
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
342977
+  (0.3ms) rollback transaction
342978
+  (0.0ms) begin transaction
342979
+  (0.0ms) commit transaction
342980
+  (0.1ms) begin transaction
342981
+  (0.2ms) SELECT COUNT(*) FROM "deal_redemptions_products"
342982
+ Processing by DealRedemptions::Admin::ProductsController#create as HTML
342983
+ Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
342984
+ Unpermitted parameters: id
342985
+  (0.1ms) SAVEPOINT active_record_1
342986
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "name", "updated_at", "url") VALUES (?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.949712"], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.949712"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
342987
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342988
+ Redirected to http://test.host/deal_redemptions/admin/products
342989
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
342990
+  (0.1ms) SELECT COUNT(*) FROM "deal_redemptions_products"
342991
+  (0.3ms) rollback transaction
342992
+  (0.0ms) begin transaction
342993
+  (0.0ms) commit transaction
342994
+  (0.0ms) begin transaction
342995
+ Processing by DealRedemptions::Admin::ProductsController#create as HTML
342996
+ Parameters: {"product"=>{"id"=>"1", "name"=>"Smile Sciences Teeth Whitening Pen", "url"=>"http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"}}
342997
+ Unpermitted parameters: id
342998
+  (0.1ms) SAVEPOINT active_record_1
342999
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "name", "updated_at", "url") VALUES (?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.956702"], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.956702"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
343000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343001
+ Redirected to http://test.host/deal_redemptions/admin/products
343002
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
343003
+  (0.3ms) rollback transaction
343004
+  (0.1ms) begin transaction
343005
+  (0.0ms) commit transaction
343006
+  (0.0ms) begin transaction
343007
+ Processing by DealRedemptions::Admin::ProductsController#new as HTML
343008
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
343009
+  (0.1ms) rollback transaction
343010
+  (0.1ms) begin transaction
343011
+  (0.0ms) commit transaction
343012
+  (0.0ms) begin transaction
343013
+  (0.0ms) SAVEPOINT active_record_1
343014
+ SQL (0.2ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:24.965515"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:24.965515"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
343015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343016
+ Processing by DealRedemptions::Admin::ProductsController#index as HTML
343017
+ Completed 200 OK in 34ms (Views: 33.5ms | ActiveRecord: 0.0ms)
343018
+ DealRedemptions::Product Load (0.1ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" LIMIT 25 OFFSET 0
343019
+  (0.4ms) rollback transaction
343020
+  (0.0ms) begin transaction
343021
+  (0.0ms) commit transaction
343022
+  (0.0ms) begin transaction
343023
+  (0.1ms) SAVEPOINT active_record_1
343024
+ SQL (0.3ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:25.005982"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:25.005982"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
343025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343026
+ Processing by DealRedemptions::Admin::ProductsController#edit as HTML
343027
+ Parameters: {"id"=>"1"}
343028
+ DealRedemptions::Product Load (0.0ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products" WHERE "deal_redemptions_products"."id" = ? LIMIT 1 [["id", 1]]
343029
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
343030
+  (0.4ms) rollback transaction
343031
+  (0.1ms) begin transaction
343032
+  (0.0ms) commit transaction
343033
+  (0.0ms) begin transaction
343034
+  (0.0ms) SAVEPOINT active_record_1
343035
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail9@gmail.com' LIMIT 1
343036
+ Binary data inserted for `string` type on column `password_hash`
343037
+ Binary data inserted for `string` type on column `password_salt`
343038
+ SQL (0.3ms) 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-08 16:22:25.078062"], ["email", "testemail9@gmail.com"], ["first_name", "John"], ["id", 11], ["last_login", "2014-09-08 16:22:25.077896"], ["last_name", "Doe"], ["password_hash", "$2a$10$F1m9CUlnxWYsL.vn6XYPYehayPnOj/mQF5GgUZdNiJp3iPqi/IWDC"], ["password_salt", "$2a$10$F1m9CUlnxWYsL.vn6XYPYe"], ["updated_at", "2014-09-08 16:22:25.078062"]]
343039
+
343040
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
343041
+
343042
+ Sent mail to testemail9@gmail.com (4.4ms)
343043
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343044
+ From: noreply@domain.com
343045
+ To: testemail9@gmail.com
343046
+ Message-ID: <540dd7c114ba2_35963fc81545e6e84946f@Allans-MacBook-Pro.local.mail>
343047
+ Subject: New User Confirmation
343048
+ Mime-Version: 1.0
343049
+ Content-Type: text/html;
343050
+ charset=UTF-8
343051
+ Content-Transfer-Encoding: 7bit
343052
+
343053
+ Hi John Doe,
343054
+
343055
+ Below are your login credentials:
343056
+
343057
+ Email: testemail9@gmail.com
343058
+ Password: test123
343059
+
343060
+ Note: If this is not John Doe, please disregard this email.
343061
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343062
+
343063
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.4ms
343064
+  (0.7ms) rollback transaction
343065
+  (0.0ms) begin transaction
343066
+  (0.0ms) commit transaction
343067
+  (0.0ms) begin transaction
343068
+  (0.0ms) SAVEPOINT active_record_1
343069
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail10@gmail.com' LIMIT 1
343070
+ Binary data inserted for `string` type on column `password_hash`
343071
+ Binary data inserted for `string` type on column `password_salt`
343072
+ SQL (0.2ms) 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-08 16:22:25.161142"], ["email", "testemail10@gmail.com"], ["first_name", "John"], ["id", 12], ["last_login", "2014-09-08 16:22:25.160975"], ["last_name", "Doe"], ["password_hash", "$2a$10$T9OhysEhadEamYwRRZu7UehwqHX6yvdT3RQQ.d2ohF4IFHMpUZ/I6"], ["password_salt", "$2a$10$T9OhysEhadEamYwRRZu7Ue"], ["updated_at", "2014-09-08 16:22:25.161142"]]
343073
+
343074
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
343075
+
343076
+ Sent mail to testemail10@gmail.com (4.6ms)
343077
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343078
+ From: noreply@domain.com
343079
+ To: testemail10@gmail.com
343080
+ Message-ID: <540dd7c128f6c_35963fc81545e6e8495e0@Allans-MacBook-Pro.local.mail>
343081
+ Subject: New User Confirmation
343082
+ Mime-Version: 1.0
343083
+ Content-Type: text/html;
343084
+ charset=UTF-8
343085
+ Content-Transfer-Encoding: 7bit
343086
+
343087
+ Hi John Doe,
343088
+
343089
+ Below are your login credentials:
343090
+
343091
+ Email: testemail10@gmail.com
343092
+ Password: test123
343093
+
343094
+ Note: If this is not John Doe, please disregard this email.
343095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343096
+
343097
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.2ms
343098
+  (0.7ms) rollback transaction
343099
+  (0.0ms) begin transaction
343100
+  (0.0ms) commit transaction
343101
+  (0.0ms) begin transaction
343102
+  (0.0ms) SAVEPOINT active_record_1
343103
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'testemail11@gmail.com' LIMIT 1
343104
+ Binary data inserted for `string` type on column `password_hash`
343105
+ Binary data inserted for `string` type on column `password_salt`
343106
+ SQL (0.3ms) 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-08 16:22:25.244442"], ["email", "testemail11@gmail.com"], ["first_name", "John"], ["id", 13], ["last_login", "2014-09-08 16:22:25.244295"], ["last_name", "Doe"], ["password_hash", "$2a$10$PTMLFmwnK5NVYW4qxtzqrOL3vQjA1u0JaB122SqfkS5.xMYzt2HX6"], ["password_salt", "$2a$10$PTMLFmwnK5NVYW4qxtzqrO"], ["updated_at", "2014-09-08 16:22:25.244442"]]
343107
+
343108
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
343109
+
343110
+ Sent mail to testemail11@gmail.com (4.5ms)
343111
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343112
+ From: noreply@domain.com
343113
+ To: testemail11@gmail.com
343114
+ Message-ID: <540dd7c13d5e4_35963fc81545e6e849640@Allans-MacBook-Pro.local.mail>
343115
+ Subject: New User Confirmation
343116
+ Mime-Version: 1.0
343117
+ Content-Type: text/html;
343118
+ charset=UTF-8
343119
+ Content-Transfer-Encoding: 7bit
343120
+
343121
+ Hi John Doe,
343122
+
343123
+ Below are your login credentials:
343124
+
343125
+ Email: testemail11@gmail.com
343126
+ Password: test123
343127
+
343128
+ Note: If this is not John Doe, please disregard this email.
343129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343130
+
343131
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.2ms
343132
+  (0.6ms) rollback transaction
343133
+  (0.1ms) begin transaction
343134
+  (0.0ms) commit transaction
343135
+  (0.0ms) begin transaction
343136
+  (0.0ms) SAVEPOINT active_record_1
343137
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343138
+ Binary data inserted for `string` type on column `password_hash`
343139
+ Binary data inserted for `string` type on column `password_salt`
343140
+ SQL (0.3ms) 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-08 16:22:25.328131"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:25.327953"], ["last_name", "Doe"], ["password_hash", "$2a$10$C0Lzq2YF39pm1agUwoiYO.GB3UbihwZlk0mTjLTS2W.oXHl12N8oy"], ["password_salt", "$2a$10$C0Lzq2YF39pm1agUwoiYO."], ["updated_at", "2014-09-08 16:22:25.328131"]]
343141
+
343142
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.9ms
343143
+
343144
+ Sent mail to johndoe@gmail.com (5.1ms)
343145
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343146
+ From: noreply@domain.com
343147
+ To: johndoe@gmail.com
343148
+ Message-ID: <540dd7c151e63_35963fc81545e6e849718@Allans-MacBook-Pro.local.mail>
343149
+ Subject: New User Confirmation
343150
+ Mime-Version: 1.0
343151
+ Content-Type: text/html;
343152
+ charset=UTF-8
343153
+ Content-Transfer-Encoding: 7bit
343154
+
343155
+ Hi John Doe,
343156
+
343157
+ Below are your login credentials:
343158
+
343159
+ Email: johndoe@gmail.com
343160
+ Password: test123
343161
+
343162
+ Note: If this is not John Doe, please disregard this email.
343163
+  (0.4ms) RELEASE SAVEPOINT active_record_1
343164
+ Processing by DealRedemptions::Admin::SettingsController#index as HTML
343165
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343166
+ Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.1ms)
343167
+ DealRedemptions::User Load (0.2ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" ORDER BY "deal_redemptions_users"."first_name" ASC
343168
+  (0.6ms) rollback transaction
343169
+  (0.1ms) begin transaction
343170
+  (0.0ms) commit transaction
343171
+  (0.1ms) begin transaction
343172
+  (0.0ms) SAVEPOINT active_record_1
343173
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343174
+ Binary data inserted for `string` type on column `password_hash`
343175
+ Binary data inserted for `string` type on column `password_salt`
343176
+ SQL (0.3ms) 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-08 16:22:25.419922"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:25.419750"], ["last_name", "Doe"], ["password_hash", "$2a$10$4XwUcbbVl.UBVTJfzzh04uOc4wphutLSLF65mTdWpsV/7UmGP4Pu."], ["password_salt", "$2a$10$4XwUcbbVl.UBVTJfzzh04u"], ["updated_at", "2014-09-08 16:22:25.419922"]]
343177
+
343178
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.3ms
343179
+
343180
+ Sent mail to johndoe@gmail.com (36.8ms)
343181
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343182
+ From: noreply@domain.com
343183
+ To: johndoe@gmail.com
343184
+ Message-ID: <540dd7c17026d_35963fc81545e6e84983f@Allans-MacBook-Pro.local.mail>
343185
+ Subject: New User Confirmation
343186
+ Mime-Version: 1.0
343187
+ Content-Type: text/html;
343188
+ charset=UTF-8
343189
+ Content-Transfer-Encoding: 7bit
343190
+
343191
+ Hi John Doe,
343192
+
343193
+ Below are your login credentials:
343194
+
343195
+ Email: johndoe@gmail.com
343196
+ Password: test123
343197
+
343198
+ Note: If this is not John Doe, please disregard this email.
343199
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343200
+ Processing by DealRedemptions::Admin::SettingsController#index as HTML
343201
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343202
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
343203
+  (0.7ms) rollback transaction
343204
+  (0.0ms) begin transaction
343205
+  (0.0ms) commit transaction
343206
+  (0.0ms) begin transaction
343207
+  (0.0ms) SAVEPOINT active_record_1
343208
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343209
+ Binary data inserted for `string` type on column `password_hash`
343210
+ Binary data inserted for `string` type on column `password_salt`
343211
+ SQL (0.3ms) 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-08 16:22:25.534506"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:25.534331"], ["last_name", "Doe"], ["password_hash", "$2a$10$ySWgbj7g67tHr5gFz3mGFOJ/KrpxqI55x0Fk3wXLGgBsIRyQrn4hC"], ["password_salt", "$2a$10$ySWgbj7g67tHr5gFz3mGFO"], ["updated_at", "2014-09-08 16:22:25.534506"]]
343212
+
343213
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
343214
+
343215
+ Sent mail to johndoe@gmail.com (4.5ms)
343216
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343217
+ From: noreply@domain.com
343218
+ To: johndoe@gmail.com
343219
+ Message-ID: <540dd7c18433e_35963fc81545e6e84997f@Allans-MacBook-Pro.local.mail>
343220
+ Subject: New User Confirmation
343221
+ Mime-Version: 1.0
343222
+ Content-Type: text/html;
343223
+ charset=UTF-8
343224
+ Content-Transfer-Encoding: 7bit
343225
+
343226
+ Hi John Doe,
343227
+
343228
+ Below are your login credentials:
343229
+
343230
+ Email: johndoe@gmail.com
343231
+ Password: test123
343232
+
343233
+ Note: If this is not John Doe, please disregard this email.
343234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343235
+ Processing by DealRedemptions::Admin::SettingsController#index as HTML
343236
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343237
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
343238
+  (0.7ms) rollback transaction
343239
+  (0.0ms) begin transaction
343240
+  (0.0ms) commit transaction
343241
+  (0.0ms) begin transaction
343242
+  (0.0ms) SAVEPOINT active_record_1
343243
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343244
+ Binary data inserted for `string` type on column `password_hash`
343245
+ Binary data inserted for `string` type on column `password_salt`
343246
+ SQL (0.3ms) 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-08 16:22:25.616365"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:25.616200"], ["last_name", "Doe"], ["password_hash", "$2a$10$AqFvL3yc41dcuEB1twr.cOhVV6mgJqFA1HUIlTvVrHZVMDLeWhJgq"], ["password_salt", "$2a$10$AqFvL3yc41dcuEB1twr.cO"], ["updated_at", "2014-09-08 16:22:25.616365"]]
343247
+
343248
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
343249
+
343250
+ Sent mail to johndoe@gmail.com (4.5ms)
343251
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343252
+ From: noreply@domain.com
343253
+ To: johndoe@gmail.com
343254
+ Message-ID: <540dd7c198294_35963fc81545e6e850082@Allans-MacBook-Pro.local.mail>
343255
+ Subject: New User Confirmation
343256
+ Mime-Version: 1.0
343257
+ Content-Type: text/html;
343258
+ charset=UTF-8
343259
+ Content-Transfer-Encoding: 7bit
343260
+
343261
+ Hi John Doe,
343262
+
343263
+ Below are your login credentials:
343264
+
343265
+ Email: johndoe@gmail.com
343266
+ Password: test123
343267
+
343268
+ Note: If this is not John Doe, please disregard this email.
343269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343270
+  (0.6ms) rollback transaction
343271
+  (0.1ms) begin transaction
343272
+  (0.0ms) commit transaction
343273
+  (0.0ms) begin transaction
343274
+  (0.0ms) SAVEPOINT active_record_1
343275
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343276
+ Binary data inserted for `string` type on column `password_hash`
343277
+ Binary data inserted for `string` type on column `password_salt`
343278
+ SQL (0.3ms) 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-08 16:22:25.694136"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:25.693979"], ["last_name", "Doe"], ["password_hash", "$2a$10$OqAZq2Rc4b0d697byygLTuJn/EQrbIHnMxaQ6Gy6oRMawWxC.H5Hm"], ["password_salt", "$2a$10$OqAZq2Rc4b0d697byygLTu"], ["updated_at", "2014-09-08 16:22:25.694136"]]
343279
+
343280
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 5.9ms
343281
+
343282
+ Sent mail to johndoe@gmail.com (7.3ms)
343283
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343284
+ From: noreply@domain.com
343285
+ To: johndoe@gmail.com
343286
+ Message-ID: <540dd7c1ab8b5_35963fc81545e6e850186@Allans-MacBook-Pro.local.mail>
343287
+ Subject: New User Confirmation
343288
+ Mime-Version: 1.0
343289
+ Content-Type: text/html;
343290
+ charset=UTF-8
343291
+ Content-Transfer-Encoding: 7bit
343292
+
343293
+ Hi John Doe,
343294
+
343295
+ Below are your login credentials:
343296
+
343297
+ Email: johndoe@gmail.com
343298
+ Password: test123
343299
+
343300
+ Note: If this is not John Doe, please disregard this email.
343301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343302
+  (0.7ms) rollback transaction
343303
+  (0.0ms) begin transaction
343304
+  (0.0ms) commit transaction
343305
+  (0.0ms) begin transaction
343306
+  (0.0ms) SAVEPOINT active_record_1
343307
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343308
+ Binary data inserted for `string` type on column `password_hash`
343309
+ Binary data inserted for `string` type on column `password_salt`
343310
+ SQL (0.3ms) 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-08 16:22:25.776741"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:25.776573"], ["last_name", "Doe"], ["password_hash", "$2a$10$OcpbF1A/YdCgD0oHiiQVsuUCOUsiGa4hCHVvFur1w08t/.Nr3aC2C"], ["password_salt", "$2a$10$OcpbF1A/YdCgD0oHiiQVsu"], ["updated_at", "2014-09-08 16:22:25.776741"]]
343311
+
343312
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
343313
+
343314
+ Sent mail to johndoe@gmail.com (4.5ms)
343315
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343316
+ From: noreply@domain.com
343317
+ To: johndoe@gmail.com
343318
+ Message-ID: <540dd7c1bf470_35963fc81545e6e850274@Allans-MacBook-Pro.local.mail>
343319
+ Subject: New User Confirmation
343320
+ Mime-Version: 1.0
343321
+ Content-Type: text/html;
343322
+ charset=UTF-8
343323
+ Content-Transfer-Encoding: 7bit
343324
+
343325
+ Hi John Doe,
343326
+
343327
+ Below are your login credentials:
343328
+
343329
+ Email: johndoe@gmail.com
343330
+ Password: test123
343331
+
343332
+ Note: If this is not John Doe, please disregard this email.
343333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343334
+  (0.6ms) rollback transaction
343335
+  (0.1ms) begin transaction
343336
+  (0.1ms) commit transaction
343337
+  (0.1ms) begin transaction
343338
+  (0.1ms) SAVEPOINT active_record_1
343339
+ DealRedemptions::User Exists (0.2ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '' LIMIT 1
343340
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
343341
+  (0.1ms) rollback transaction
343342
+  (0.1ms) begin transaction
343343
+  (0.0ms) commit transaction
343344
+  (0.1ms) begin transaction
343345
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" ORDER BY "deal_redemptions_users"."id" ASC LIMIT 1
343346
+  (0.1ms) SAVEPOINT active_record_1
343347
+ SQL (0.2ms) 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-08 16:22:25.797920"], ["email", "0"], ["first_name", "0"], ["last_login", "2014-09-08 16:22:25.797704"], ["last_name", "0"], ["password_hash", "0"], ["password_salt", "0"], ["updated_at", "2014-09-08 16:22:25.797920"]]
343348
+
343349
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.4ms
343350
+
343351
+ Sent mail to 0 (3.8ms)
343352
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343353
+ From: noreply@domain.com
343354
+ To: 0
343355
+ Message-ID: <540dd7c1c46b7_35963fc81545e6e850321@Allans-MacBook-Pro.local.mail>
343356
+ Subject: New User Confirmation
343357
+ Mime-Version: 1.0
343358
+ Content-Type: text/html;
343359
+ charset=UTF-8
343360
+ Content-Transfer-Encoding: 7bit
343361
+
343362
+ Hi 0 0,
343363
+
343364
+ Below are your login credentials:
343365
+
343366
+ Email: 0
343367
+ Password:
343368
+
343369
+ Note: If this is not 0 0, please disregard this email.
343370
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343371
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '0' LIMIT 1
343372
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = '0' LIMIT 1
343373
+  (0.5ms) rollback transaction
343374
+  (0.1ms) begin transaction
343375
+  (0.0ms) commit transaction
343376
+  (0.1ms) begin transaction
343377
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
343378
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
343379
+  (0.1ms) rollback transaction
343380
+  (0.1ms) begin transaction
343381
+  (0.0ms) commit transaction
343382
+  (0.0ms) begin transaction
343383
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
343384
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
343385
+  (0.1ms) rollback transaction
343386
+  (0.0ms) begin transaction
343387
+  (0.0ms) commit transaction
343388
+  (0.0ms) begin transaction
343389
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
343390
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
343391
+  (0.1ms) rollback transaction
343392
+  (0.0ms) begin transaction
343393
+  (0.0ms) commit transaction
343394
+  (0.0ms) begin transaction
343395
+ DealRedemptions::User Exists (0.2ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
343396
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" IS NULL LIMIT 1
343397
+  (0.0ms) rollback transaction
343398
+  (0.0ms) begin transaction
343399
+  (0.0ms) commit transaction
343400
+  (0.0ms) begin transaction
343401
+  (0.0ms) rollback transaction
343402
+  (0.0ms) begin transaction
343403
+  (0.0ms) commit transaction
343404
+  (0.0ms) begin transaction
343405
+  (0.0ms) rollback transaction
343406
+  (0.0ms) begin transaction
343407
+  (0.0ms) commit transaction
343408
+  (0.0ms) begin transaction
343409
+  (0.0ms) rollback transaction
343410
+  (0.1ms) begin transaction
343411
+  (0.0ms) commit transaction
343412
+  (0.0ms) begin transaction
343413
+  (0.0ms) SAVEPOINT active_record_1
343414
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343415
+ Binary data inserted for `string` type on column `password_hash`
343416
+ Binary data inserted for `string` type on column `password_salt`
343417
+ SQL (0.2ms) 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-08 16:22:25.965006"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:25.964841"], ["last_name", "Doe"], ["password_hash", "$2a$10$tlMj5LRIZCPTn6CuQhdfLOQMhLnSpGs8FPxNYRhvOOlyBW5rQf.xO"], ["password_salt", "$2a$10$tlMj5LRIZCPTn6CuQhdfLO"], ["updated_at", "2014-09-08 16:22:25.965006"]]
343418
+
343419
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
343420
+
343421
+ Sent mail to johndoe@gmail.com (4.6ms)
343422
+ Date: Mon, 08 Sep 2014 09:22:25 -0700
343423
+ From: noreply@domain.com
343424
+ To: johndoe@gmail.com
343425
+ Message-ID: <540dd7c1ed426_35963fc81545e6e850494@Allans-MacBook-Pro.local.mail>
343426
+ Subject: New User Confirmation
343427
+ Mime-Version: 1.0
343428
+ Content-Type: text/html;
343429
+ charset=UTF-8
343430
+ Content-Transfer-Encoding: 7bit
343431
+
343432
+ Hi John Doe,
343433
+
343434
+ Below are your login credentials:
343435
+
343436
+ Email: johndoe@gmail.com
343437
+ Password: test123
343438
+
343439
+ Note: If this is not John Doe, please disregard this email.
343440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343441
+  (0.0ms) SAVEPOINT active_record_1
343442
+ SQL (0.3ms) 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-08 16:22:25.976922"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:25.976922"], ["zip_code", "91351"]]
343443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343444
+  (0.0ms) SAVEPOINT active_record_1
343445
+ SQL (0.1ms) 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-08 16:22:25.979319"], ["email_address", "john@smith.com"], ["first_name", "John"], ["id", 2], ["last_name", "Smith"], ["phone", "6616005555"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:25.979319"], ["zip_code", "91355"]]
343446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343447
+  (0.0ms) SAVEPOINT active_record_1
343448
+ SQL (0.1ms) 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-08 16:22:25.981217"], ["email_address", "joan@smithson.com"], ["first_name", "Joan"], ["id", 3], ["last_name", "Smithson"], ["phone", "6618881111"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:25.981217"], ["zip_code", "91355"]]
343449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343450
+ Processing by DealRedemptions::Admin::RedemptionsController#show as HTML
343451
+ Parameters: {"id"=>"1"}
343452
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343453
+ DealRedemptions::Redemption Load (0.1ms) SELECT "deal_redemptions_redemptions".* FROM "deal_redemptions_redemptions" WHERE "deal_redemptions_redemptions"."id" = ? LIMIT 1 [["id", 1]]
343454
+ DealRedemptions::RedeemCode Load (0.1ms) SELECT "deal_redemptions_redeem_codes".* FROM "deal_redemptions_redeem_codes" WHERE "deal_redemptions_redeem_codes"."redemption_id" IN (1)
343455
+ Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 0.3ms)
343456
+  (0.4ms) rollback transaction
343457
+  (0.0ms) begin transaction
343458
+  (0.0ms) commit transaction
343459
+  (0.0ms) begin transaction
343460
+  (0.1ms) SAVEPOINT active_record_1
343461
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343462
+ Binary data inserted for `string` type on column `password_hash`
343463
+ Binary data inserted for `string` type on column `password_salt`
343464
+ SQL (0.3ms) 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-08 16:22:26.066026"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:26.065766"], ["last_name", "Doe"], ["password_hash", "$2a$10$FN3rJS5gt6bNjkBcJciw9.5oGtP9AKYglwGMour/zmU3PWpl727fG"], ["password_salt", "$2a$10$FN3rJS5gt6bNjkBcJciw9."], ["updated_at", "2014-09-08 16:22:26.066026"]]
343465
+
343466
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
343467
+
343468
+ Sent mail to johndoe@gmail.com (4.6ms)
343469
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343470
+ From: noreply@domain.com
343471
+ To: johndoe@gmail.com
343472
+ Message-ID: <540dd7c211bd8_35963fc81545e6e8505d9@Allans-MacBook-Pro.local.mail>
343473
+ Subject: New User Confirmation
343474
+ Mime-Version: 1.0
343475
+ Content-Type: text/html;
343476
+ charset=UTF-8
343477
+ Content-Transfer-Encoding: 7bit
343478
+
343479
+ Hi John Doe,
343480
+
343481
+ Below are your login credentials:
343482
+
343483
+ Email: johndoe@gmail.com
343484
+ Password: test123
343485
+
343486
+ Note: If this is not John Doe, please disregard this email.
343487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343488
+  (0.1ms) SAVEPOINT active_record_1
343489
+ SQL (0.3ms) 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-08 16:22:26.077915"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:26.077915"], ["zip_code", "91351"]]
343490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343491
+  (0.0ms) SAVEPOINT active_record_1
343492
+ SQL (0.1ms) 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-08 16:22:26.080099"], ["email_address", "john@smith.com"], ["first_name", "John"], ["id", 2], ["last_name", "Smith"], ["phone", "6616005555"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:26.080099"], ["zip_code", "91355"]]
343493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343494
+  (0.0ms) SAVEPOINT active_record_1
343495
+ SQL (0.1ms) 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-08 16:22:26.081857"], ["email_address", "joan@smithson.com"], ["first_name", "Joan"], ["id", 3], ["last_name", "Smithson"], ["phone", "6618881111"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:26.081857"], ["zip_code", "91355"]]
343496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343497
+ Processing by DealRedemptions::Admin::RedemptionsController#index as HTML
343498
+ Parameters: {"search"=>"John Doe"}
343499
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343500
+ DealRedemptions::Redemption Load (0.1ms) 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%')
343501
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
343502
+  (0.8ms) rollback transaction
343503
+  (0.1ms) begin transaction
343504
+  (0.0ms) commit transaction
343505
+  (0.0ms) begin transaction
343506
+  (0.1ms) SAVEPOINT active_record_1
343507
+ DealRedemptions::User Exists (0.2ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343508
+ Binary data inserted for `string` type on column `password_hash`
343509
+ Binary data inserted for `string` type on column `password_salt`
343510
+ SQL (0.2ms) 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-08 16:22:26.158757"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:26.158568"], ["last_name", "Doe"], ["password_hash", "$2a$10$.VfZtNIzEZ0K3piAmZRc2OJWpnDjQ06C9NMXbYkqj/eV82ikpILkW"], ["password_salt", "$2a$10$.VfZtNIzEZ0K3piAmZRc2O"], ["updated_at", "2014-09-08 16:22:26.158757"]]
343511
+
343512
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
343513
+
343514
+ Sent mail to johndoe@gmail.com (4.6ms)
343515
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343516
+ From: noreply@domain.com
343517
+ To: johndoe@gmail.com
343518
+ Message-ID: <540dd7c228673_35963fc81545e6e8506cc@Allans-MacBook-Pro.local.mail>
343519
+ Subject: New User Confirmation
343520
+ Mime-Version: 1.0
343521
+ Content-Type: text/html;
343522
+ charset=UTF-8
343523
+ Content-Transfer-Encoding: 7bit
343524
+
343525
+ Hi John Doe,
343526
+
343527
+ Below are your login credentials:
343528
+
343529
+ Email: johndoe@gmail.com
343530
+ Password: test123
343531
+
343532
+ Note: If this is not John Doe, please disregard this email.
343533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343534
+  (0.0ms) SAVEPOINT active_record_1
343535
+ SQL (0.3ms) 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-08 16:22:26.170639"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:26.170639"], ["zip_code", "91351"]]
343536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343537
+  (0.0ms) SAVEPOINT active_record_1
343538
+ SQL (0.1ms) 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-08 16:22:26.172679"], ["email_address", "john@smith.com"], ["first_name", "John"], ["id", 2], ["last_name", "Smith"], ["phone", "6616005555"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:26.172679"], ["zip_code", "91355"]]
343539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343540
+  (0.0ms) SAVEPOINT active_record_1
343541
+ SQL (0.1ms) 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-08 16:22:26.174392"], ["email_address", "joan@smithson.com"], ["first_name", "Joan"], ["id", 3], ["last_name", "Smithson"], ["phone", "6618881111"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:26.174392"], ["zip_code", "91355"]]
343542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343543
+ Processing by DealRedemptions::Admin::RedemptionsController#index as HTML
343544
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343545
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
343546
+  (0.7ms) rollback transaction
343547
+  (0.0ms) begin transaction
343548
+  (0.0ms) commit transaction
343549
+  (0.0ms) begin transaction
343550
+  (0.0ms) SAVEPOINT active_record_1
343551
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343552
+ Binary data inserted for `string` type on column `password_hash`
343553
+ Binary data inserted for `string` type on column `password_salt`
343554
+ SQL (0.3ms) 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-08 16:22:26.246183"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:26.246023"], ["last_name", "Doe"], ["password_hash", "$2a$10$5S51FTJiREWKcocUSZpIiu18Q/e597KkwktQ1jkzpiGuRyKyRgyyq"], ["password_salt", "$2a$10$5S51FTJiREWKcocUSZpIiu"], ["updated_at", "2014-09-08 16:22:26.246183"]]
343555
+
343556
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
343557
+
343558
+ Sent mail to johndoe@gmail.com (4.6ms)
343559
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343560
+ From: noreply@domain.com
343561
+ To: johndoe@gmail.com
343562
+ Message-ID: <540dd7c23dc13_35963fc81545e6e850796@Allans-MacBook-Pro.local.mail>
343563
+ Subject: New User Confirmation
343564
+ Mime-Version: 1.0
343565
+ Content-Type: text/html;
343566
+ charset=UTF-8
343567
+ Content-Transfer-Encoding: 7bit
343568
+
343569
+ Hi John Doe,
343570
+
343571
+ Below are your login credentials:
343572
+
343573
+ Email: johndoe@gmail.com
343574
+ Password: test123
343575
+
343576
+ Note: If this is not John Doe, please disregard this email.
343577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343578
+  (0.0ms) SAVEPOINT active_record_1
343579
+ SQL (0.3ms) 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-08 16:22:26.258092"], ["email_address", "john@doe.com"], ["first_name", "John"], ["id", 1], ["last_name", "Doe"], ["phone", "6615557897"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:26.258092"], ["zip_code", "91351"]]
343580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343581
+  (0.0ms) SAVEPOINT active_record_1
343582
+ SQL (0.1ms) 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-08 16:22:26.260046"], ["email_address", "john@smith.com"], ["first_name", "John"], ["id", 2], ["last_name", "Smith"], ["phone", "6616005555"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:26.260046"], ["zip_code", "91355"]]
343583
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343584
+  (0.0ms) SAVEPOINT active_record_1
343585
+ SQL (0.1ms) 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-08 16:22:26.261457"], ["email_address", "joan@smithson.com"], ["first_name", "Joan"], ["id", 3], ["last_name", "Smithson"], ["phone", "6618881111"], ["state", "CA"], ["updated_at", "2014-09-08 16:22:26.261457"], ["zip_code", "91355"]]
343586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343587
+ Processing by DealRedemptions::Admin::RedemptionsController#index as HTML
343588
+ Parameters: {"search"=>"John Doe"}
343589
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343590
+ DealRedemptions::Redemption Load (0.1ms) 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%')
343591
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)
343592
+  (0.7ms) rollback transaction
343593
+  (0.0ms) begin transaction
343594
+  (0.0ms) commit transaction
343595
+  (0.0ms) begin transaction
343596
+ Processing by DealRedemptions::Admin::SessionsController#new as HTML
343597
+ Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
343598
+  (0.1ms) rollback transaction
343599
+  (0.0ms) begin transaction
343600
+  (0.0ms) commit transaction
343601
+  (0.0ms) begin transaction
343602
+  (0.0ms) SAVEPOINT active_record_1
343603
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'sample-user@dealsiteredemptions.com' LIMIT 1
343604
+ Binary data inserted for `string` type on column `password_hash`
343605
+ Binary data inserted for `string` type on column `password_salt`
343606
+ SQL (0.2ms) 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-08 16:22:26.340832"], ["email", "sample-user@dealsiteredemptions.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:26.340666"], ["last_name", "Doe"], ["password_hash", "$2a$10$KXBedgGNRzB6496zfxH/3OuY1sVhWwR1OM8t0eLuHaEr4thczuspy"], ["password_salt", "$2a$10$KXBedgGNRzB6496zfxH/3O"], ["updated_at", "2014-09-08 16:22:26.340832"]]
343607
+
343608
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 37.8ms
343609
+
343610
+ Sent mail to sample-user@dealsiteredemptions.com (4.9ms)
343611
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343612
+ From: noreply@domain.com
343613
+ To: sample-user@dealsiteredemptions.com
343614
+ Message-ID: <540dd7c25cfe1_35963fc81545e6e8508c@Allans-MacBook-Pro.local.mail>
343615
+ Subject: New User Confirmation
343616
+ Mime-Version: 1.0
343617
+ Content-Type: text/html;
343618
+ charset=UTF-8
343619
+ Content-Transfer-Encoding: 7bit
343620
+
343621
+ Hi John Doe,
343622
+
343623
+ Below are your login credentials:
343624
+
343625
+ Email: sample-user@dealsiteredemptions.com
343626
+ Password: password
343627
+
343628
+ Note: If this is not John Doe, please disregard this email.
343629
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343630
+  (1.7ms) rollback transaction
343631
+  (0.0ms) begin transaction
343632
+  (0.0ms) commit transaction
343633
+  (0.0ms) begin transaction
343634
+  (0.0ms) SAVEPOINT active_record_1
343635
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'sample-user@dealsiteredemptions.com' LIMIT 1
343636
+ Binary data inserted for `string` type on column `password_hash`
343637
+ Binary data inserted for `string` type on column `password_salt`
343638
+ SQL (0.3ms) 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-08 16:22:26.455066"], ["email", "sample-user@dealsiteredemptions.com"], ["first_name", "Example"], ["last_login", "2014-09-08 16:22:26.454898"], ["last_name", "User"], ["password_hash", "$2a$10$AjN.UEUbSPV9RdnTiVul7e/UW/S0L8HjlAS.yO838r9ODFOmiEcNO"], ["password_salt", "$2a$10$AjN.UEUbSPV9RdnTiVul7e"], ["updated_at", "2014-09-08 16:22:26.455066"]]
343639
+
343640
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
343641
+
343642
+ Sent mail to sample-user@dealsiteredemptions.com (4.6ms)
343643
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343644
+ From: noreply@domain.com
343645
+ To: sample-user@dealsiteredemptions.com
343646
+ Message-ID: <540dd7c270d51_35963fc81545e6e850949@Allans-MacBook-Pro.local.mail>
343647
+ Subject: New User Confirmation
343648
+ Mime-Version: 1.0
343649
+ Content-Type: text/html;
343650
+ charset=UTF-8
343651
+ Content-Transfer-Encoding: 7bit
343652
+
343653
+ Hi Example User,
343654
+
343655
+ Below are your login credentials:
343656
+
343657
+ Email: sample-user@dealsiteredemptions.com
343658
+ Password: password
343659
+
343660
+ Note: If this is not Example User, please disregard this email.
343661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343662
+  (0.6ms) rollback transaction
343663
+  (0.1ms) begin transaction
343664
+  (0.0ms) commit transaction
343665
+  (0.1ms) begin transaction
343666
+  (0.0ms) rollback transaction
343667
+  (0.0ms) begin transaction
343668
+  (0.0ms) commit transaction
343669
+  (0.0ms) begin transaction
343670
+  (0.0ms) SAVEPOINT active_record_1
343671
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
343672
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343673
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:26.472442"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:26.472442"], ["url", "http://www.groupon.com"]]
343674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343675
+ Processing by DealRedemptions::RedeemController#new as HTML
343676
+ Parameters: {"company"=>"groupon"}
343677
+ DealRedemptions::Company Load (0.1ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343678
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)
343679
+  (0.4ms) rollback transaction
343680
+  (0.0ms) begin transaction
343681
+  (0.0ms) commit transaction
343682
+  (0.0ms) begin transaction
343683
+  (0.0ms) SAVEPOINT active_record_1
343684
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
343685
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343686
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:26.482450"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:26.482450"], ["url", "http://www.groupon.com"]]
343687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343688
+ Processing by DealRedemptions::RedeemController#new as HTML
343689
+ Parameters: {"company"=>""}
343690
+ DealRedemptions::Company Load (0.1ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = '' LIMIT 1
343691
+ Redirected to http://test.host/deal_redemptions/
343692
+ Filter chain halted as :find_company rendered or redirected
343693
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
343694
+  (0.3ms) rollback transaction
343695
+  (0.1ms) begin transaction
343696
+  (0.0ms) commit transaction
343697
+  (0.0ms) begin transaction
343698
+  (0.0ms) SAVEPOINT active_record_1
343699
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
343700
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343701
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:26.489028"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:26.489028"], ["url", "http://www.groupon.com"]]
343702
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343703
+ Processing by DealRedemptions::RedeemController#new as HTML
343704
+ Parameters: {"company"=>"groupon"}
343705
+ DealRedemptions::Company Load (0.1ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343706
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
343707
+  (0.4ms) rollback transaction
343708
+  (0.1ms) begin transaction
343709
+  (0.0ms) commit transaction
343710
+  (0.0ms) begin transaction
343711
+  (0.0ms) SAVEPOINT active_record_1
343712
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343713
+ Binary data inserted for `string` type on column `password_hash`
343714
+ Binary data inserted for `string` type on column `password_salt`
343715
+ SQL (0.3ms) 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-08 16:22:26.564402"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:26.564150"], ["last_name", "Doe"], ["password_hash", "$2a$10$1MxNK0RX/2CoiUciz/FtouC3blA6rhx25XgnLQ71vm1sT0fJmpJdu"], ["password_salt", "$2a$10$1MxNK0RX/2CoiUciz/Ftou"], ["updated_at", "2014-09-08 16:22:26.564402"]]
343716
+
343717
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.4ms
343718
+
343719
+ Sent mail to johndoe@gmail.com (4.5ms)
343720
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343721
+ From: noreply@domain.com
343722
+ To: johndoe@gmail.com
343723
+ Message-ID: <540dd7c28b679_35963fc81545e6e85101e@Allans-MacBook-Pro.local.mail>
343724
+ Subject: New User Confirmation
343725
+ Mime-Version: 1.0
343726
+ Content-Type: text/html;
343727
+ charset=UTF-8
343728
+ Content-Transfer-Encoding: 7bit
343729
+
343730
+ Hi John Doe,
343731
+
343732
+ Below are your login credentials:
343733
+
343734
+ Email: johndoe@gmail.com
343735
+ Password: test123
343736
+
343737
+ Note: If this is not John Doe, please disregard this email.
343738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343739
+  (0.0ms) SAVEPOINT active_record_1
343740
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
343741
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343742
+ SQL (0.3ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:26.577091"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:26.577091"], ["url", "http://www.groupon.com"]]
343743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343744
+ Processing by DealRedemptions::Admin::CompaniesController#destroy as HTML
343745
+ Parameters: {"id"=>"1"}
343746
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343747
+ DealRedemptions::Company Load (0.0ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
343748
+  (0.0ms) SAVEPOINT active_record_1
343749
+ SQL (0.1ms) DELETE FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? [["id", 1]]
343750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343751
+ Redirected to http://test.host/deal_redemptions/admin/companies
343752
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
343753
+  (0.7ms) rollback transaction
343754
+  (0.1ms) begin transaction
343755
+  (0.0ms) commit transaction
343756
+  (0.0ms) begin transaction
343757
+  (0.1ms) SAVEPOINT active_record_1
343758
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343759
+ Binary data inserted for `string` type on column `password_hash`
343760
+ Binary data inserted for `string` type on column `password_salt`
343761
+ SQL (0.3ms) 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-08 16:22:26.652724"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:26.652560"], ["last_name", "Doe"], ["password_hash", "$2a$10$CjYfHzsuHzR7n3GcpyoqwuZ5YcVdvBgUlWPDoHvNnpcH6BIO7UCFy"], ["password_salt", "$2a$10$CjYfHzsuHzR7n3Gcpyoqwu"], ["updated_at", "2014-09-08 16:22:26.652724"]]
343762
+
343763
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
343764
+
343765
+ Sent mail to johndoe@gmail.com (4.5ms)
343766
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343767
+ From: noreply@domain.com
343768
+ To: johndoe@gmail.com
343769
+ Message-ID: <540dd7c2a1102_35963fc81545e6e85114b@Allans-MacBook-Pro.local.mail>
343770
+ Subject: New User Confirmation
343771
+ Mime-Version: 1.0
343772
+ Content-Type: text/html;
343773
+ charset=UTF-8
343774
+ Content-Transfer-Encoding: 7bit
343775
+
343776
+ Hi John Doe,
343777
+
343778
+ Below are your login credentials:
343779
+
343780
+ Email: johndoe@gmail.com
343781
+ Password: test123
343782
+
343783
+ Note: If this is not John Doe, please disregard this email.
343784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343785
+  (0.0ms) SAVEPOINT active_record_1
343786
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
343787
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343788
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:26.665581"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:26.665581"], ["url", "http://www.groupon.com"]]
343789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343790
+ Processing by DealRedemptions::Admin::CompaniesController#destroy as HTML
343791
+ Parameters: {"id"=>"1"}
343792
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343793
+ DealRedemptions::Company Load (0.0ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
343794
+  (0.0ms) SAVEPOINT active_record_1
343795
+ SQL (0.0ms) DELETE FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? [["id", 1]]
343796
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343797
+ Redirected to http://test.host/deal_redemptions/admin/companies
343798
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
343799
+  (0.7ms) rollback transaction
343800
+  (0.0ms) begin transaction
343801
+  (0.0ms) commit transaction
343802
+  (0.0ms) begin transaction
343803
+  (0.1ms) SAVEPOINT active_record_1
343804
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343805
+ Binary data inserted for `string` type on column `password_hash`
343806
+ Binary data inserted for `string` type on column `password_salt`
343807
+ SQL (0.3ms) 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-08 16:22:26.737673"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:26.737509"], ["last_name", "Doe"], ["password_hash", "$2a$10$0jJvrtaWQxDw0T4EGm5vuu/2MtJZ4az1G8HPpyDfaQFnMQCuNMf6a"], ["password_salt", "$2a$10$0jJvrtaWQxDw0T4EGm5vuu"], ["updated_at", "2014-09-08 16:22:26.737673"]]
343808
+
343809
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.9ms
343810
+
343811
+ Sent mail to johndoe@gmail.com (4.7ms)
343812
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343813
+ From: noreply@domain.com
343814
+ To: johndoe@gmail.com
343815
+ Message-ID: <540dd7c2b5db1_35963fc81545e6e85123f@Allans-MacBook-Pro.local.mail>
343816
+ Subject: New User Confirmation
343817
+ Mime-Version: 1.0
343818
+ Content-Type: text/html;
343819
+ charset=UTF-8
343820
+ Content-Transfer-Encoding: 7bit
343821
+
343822
+ Hi John Doe,
343823
+
343824
+ Below are your login credentials:
343825
+
343826
+ Email: johndoe@gmail.com
343827
+ Password: test123
343828
+
343829
+ Note: If this is not John Doe, please disregard this email.
343830
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343831
+  (0.0ms) SAVEPOINT active_record_1
343832
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
343833
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343834
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:26.751181"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:26.751181"], ["url", "http://www.groupon.com"]]
343835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343836
+ Processing by DealRedemptions::Admin::CompaniesController#update as HTML
343837
+ 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"}
343838
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343839
+ DealRedemptions::Company Load (0.0ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
343840
+ Unpermitted parameters: id
343841
+  (0.1ms) SAVEPOINT active_record_1
343842
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."name" = 'Groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1
343843
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."slug" = 'groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1
343844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343845
+ Redirected to http://test.host/deal_redemptions/admin/companies
343846
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
343847
+  (0.7ms) rollback transaction
343848
+  (0.0ms) begin transaction
343849
+  (0.0ms) commit transaction
343850
+  (0.0ms) begin transaction
343851
+  (0.0ms) SAVEPOINT active_record_1
343852
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343853
+ Binary data inserted for `string` type on column `password_hash`
343854
+ Binary data inserted for `string` type on column `password_salt`
343855
+ SQL (0.3ms) 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-08 16:22:26.826160"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:26.825999"], ["last_name", "Doe"], ["password_hash", "$2a$10$LUrNT2jIXJ9qxz1UkgSlie1xYtWSQrPFfE51QbuOfBw3lUXzkoSgK"], ["password_salt", "$2a$10$LUrNT2jIXJ9qxz1UkgSlie"], ["updated_at", "2014-09-08 16:22:26.826160"]]
343856
+
343857
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 37.0ms
343858
+
343859
+ Sent mail to johndoe@gmail.com (4.7ms)
343860
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343861
+ From: noreply@domain.com
343862
+ To: johndoe@gmail.com
343863
+ Message-ID: <540dd7c2d35c4_35963fc81545e6e85139f@Allans-MacBook-Pro.local.mail>
343864
+ Subject: New User Confirmation
343865
+ Mime-Version: 1.0
343866
+ Content-Type: text/html;
343867
+ charset=UTF-8
343868
+ Content-Transfer-Encoding: 7bit
343869
+
343870
+ Hi John Doe,
343871
+
343872
+ Below are your login credentials:
343873
+
343874
+ Email: johndoe@gmail.com
343875
+ Password: test123
343876
+
343877
+ Note: If this is not John Doe, please disregard this email.
343878
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343879
+  (0.0ms) SAVEPOINT active_record_1
343880
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
343881
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343882
+ SQL (0.3ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:26.872018"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:26.872018"], ["url", "http://www.groupon.com"]]
343883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343884
+ Processing by DealRedemptions::Admin::CompaniesController#update as HTML
343885
+ 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"}
343886
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343887
+ DealRedemptions::Company Load (0.1ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
343888
+ Unpermitted parameters: id
343889
+  (0.0ms) SAVEPOINT active_record_1
343890
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."name" = 'Groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1
343891
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."slug" = 'groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1
343892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343893
+ Redirected to http://test.host/deal_redemptions/admin/companies
343894
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
343895
+  (1.7ms) rollback transaction
343896
+  (0.0ms) begin transaction
343897
+  (0.0ms) commit transaction
343898
+  (0.0ms) begin transaction
343899
+  (0.0ms) SAVEPOINT active_record_1
343900
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343901
+ Binary data inserted for `string` type on column `password_hash`
343902
+ Binary data inserted for `string` type on column `password_salt`
343903
+ SQL (0.3ms) 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-08 16:22:26.948095"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:26.947840"], ["last_name", "Doe"], ["password_hash", "$2a$10$5DsiSD4/aaGsXsJtexBRXuL9bQlAWZmAXsXGuF8GTUVg1xRei11V6"], ["password_salt", "$2a$10$5DsiSD4/aaGsXsJtexBRXu"], ["updated_at", "2014-09-08 16:22:26.948095"]]
343904
+
343905
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
343906
+
343907
+ Sent mail to johndoe@gmail.com (4.6ms)
343908
+ Date: Mon, 08 Sep 2014 09:22:26 -0700
343909
+ From: noreply@domain.com
343910
+ To: johndoe@gmail.com
343911
+ Message-ID: <540dd7c2e92f4_35963fc81545e6e851484@Allans-MacBook-Pro.local.mail>
343912
+ Subject: New User Confirmation
343913
+ Mime-Version: 1.0
343914
+ Content-Type: text/html;
343915
+ charset=UTF-8
343916
+ Content-Transfer-Encoding: 7bit
343917
+
343918
+ Hi John Doe,
343919
+
343920
+ Below are your login credentials:
343921
+
343922
+ Email: johndoe@gmail.com
343923
+ Password: test123
343924
+
343925
+ Note: If this is not John Doe, please disregard this email.
343926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343927
+  (0.1ms) SAVEPOINT active_record_1
343928
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
343929
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
343930
+ SQL (0.3ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:26.961206"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:26.961206"], ["url", "http://www.groupon.com"]]
343931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343932
+ Processing by DealRedemptions::Admin::CompaniesController#update as HTML
343933
+ 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"}
343934
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343935
+ DealRedemptions::Company Load (0.0ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
343936
+ Unpermitted parameters: id
343937
+  (0.0ms) SAVEPOINT active_record_1
343938
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."name" = '' AND "deal_redemptions_companies"."id" != 1) LIMIT 1
343939
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE ("deal_redemptions_companies"."slug" = 'groupon' AND "deal_redemptions_companies"."id" != 1) LIMIT 1
343940
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
343941
+ Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)
343942
+  (0.8ms) rollback transaction
343943
+  (0.1ms) begin transaction
343944
+  (0.0ms) commit transaction
343945
+  (0.1ms) begin transaction
343946
+  (0.0ms) SAVEPOINT active_record_1
343947
+ DealRedemptions::User Exists (0.2ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343948
+ Binary data inserted for `string` type on column `password_hash`
343949
+ Binary data inserted for `string` type on column `password_salt`
343950
+ SQL (0.3ms) 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-08 16:22:27.039878"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.039708"], ["last_name", "Doe"], ["password_hash", "$2a$10$wjXCWZCXVJcsNemI1zsege1sHcUTIhfnX5ApfDbIyfgwcwy58sYa2"], ["password_salt", "$2a$10$wjXCWZCXVJcsNemI1zsege"], ["updated_at", "2014-09-08 16:22:27.039878"]]
343951
+
343952
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
343953
+
343954
+ Sent mail to johndoe@gmail.com (4.5ms)
343955
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
343956
+ From: noreply@domain.com
343957
+ To: johndoe@gmail.com
343958
+ Message-ID: <540dd7c3b6a0_35963fc81545e6e851525@Allans-MacBook-Pro.local.mail>
343959
+ Subject: New User Confirmation
343960
+ Mime-Version: 1.0
343961
+ Content-Type: text/html;
343962
+ charset=UTF-8
343963
+ Content-Transfer-Encoding: 7bit
343964
+
343965
+ Hi John Doe,
343966
+
343967
+ Below are your login credentials:
343968
+
343969
+ Email: johndoe@gmail.com
343970
+ Password: test123
343971
+
343972
+ Note: If this is not John Doe, please disregard this email.
343973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343974
+ Processing by DealRedemptions::Admin::CompaniesController#edit as HTML
343975
+ Parameters: {"id"=>"100000"}
343976
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
343977
+ DealRedemptions::Company Load (0.0ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 100000]]
343978
+ Redirected to http://test.host/deal_redemptions/admin/companies
343979
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
343980
+  (0.7ms) rollback transaction
343981
+  (0.0ms) begin transaction
343982
+  (0.0ms) commit transaction
343983
+  (0.0ms) begin transaction
343984
+  (0.0ms) SAVEPOINT active_record_1
343985
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
343986
+ Binary data inserted for `string` type on column `password_hash`
343987
+ Binary data inserted for `string` type on column `password_salt`
343988
+ SQL (0.3ms) 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-08 16:22:27.120898"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.120706"], ["last_name", "Doe"], ["password_hash", "$2a$10$HFO5AnrM5qppOdSpplG83e7tMOLycXDbPMuRRV3G.HczT2PFtG1gi"], ["password_salt", "$2a$10$HFO5AnrM5qppOdSpplG83e"], ["updated_at", "2014-09-08 16:22:27.120898"]]
343989
+
343990
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
343991
+
343992
+ Sent mail to johndoe@gmail.com (4.7ms)
343993
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
343994
+ From: noreply@domain.com
343995
+ To: johndoe@gmail.com
343996
+ Message-ID: <540dd7c31f2b8_35963fc81545e6e8516a5@Allans-MacBook-Pro.local.mail>
343997
+ Subject: New User Confirmation
343998
+ Mime-Version: 1.0
343999
+ Content-Type: text/html;
344000
+ charset=UTF-8
344001
+ Content-Transfer-Encoding: 7bit
344002
+
344003
+ Hi John Doe,
344004
+
344005
+ Below are your login credentials:
344006
+
344007
+ Email: johndoe@gmail.com
344008
+ Password: test123
344009
+
344010
+ Note: If this is not John Doe, please disregard this email.
344011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344012
+ Processing by DealRedemptions::Admin::CompaniesController#edit as HTML
344013
+ Parameters: {"id"=>"1"}
344014
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
344015
+ DealRedemptions::Company Load (0.0ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."id" = ? LIMIT 1 [["id", 1]]
344016
+ Redirected to http://test.host/deal_redemptions/admin/companies
344017
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
344018
+  (0.8ms) rollback transaction
344019
+  (0.0ms) begin transaction
344020
+  (0.0ms) commit transaction
344021
+  (0.1ms) begin transaction
344022
+  (0.0ms) SAVEPOINT active_record_1
344023
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
344024
+ Binary data inserted for `string` type on column `password_hash`
344025
+ Binary data inserted for `string` type on column `password_salt`
344026
+ SQL (0.3ms) 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-08 16:22:27.201994"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.201835"], ["last_name", "Doe"], ["password_hash", "$2a$10$tD6DKC5umhwdabb741yrIem1v8ze3sf0iONFhHG5jkcshOWc3atNW"], ["password_salt", "$2a$10$tD6DKC5umhwdabb741yrIe"], ["updated_at", "2014-09-08 16:22:27.201994"]]
344027
+
344028
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
344029
+
344030
+ Sent mail to johndoe@gmail.com (4.7ms)
344031
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
344032
+ From: noreply@domain.com
344033
+ To: johndoe@gmail.com
344034
+ Message-ID: <540dd7c33300f_35963fc81545e6e8517ed@Allans-MacBook-Pro.local.mail>
344035
+ Subject: New User Confirmation
344036
+ Mime-Version: 1.0
344037
+ Content-Type: text/html;
344038
+ charset=UTF-8
344039
+ Content-Transfer-Encoding: 7bit
344040
+
344041
+ Hi John Doe,
344042
+
344043
+ Below are your login credentials:
344044
+
344045
+ Email: johndoe@gmail.com
344046
+ Password: test123
344047
+
344048
+ Note: If this is not John Doe, please disregard this email.
344049
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344050
+ Processing by DealRedemptions::Admin::CompaniesController#new as HTML
344051
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
344052
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
344053
+  (0.7ms) rollback transaction
344054
+  (0.0ms) begin transaction
344055
+  (0.0ms) commit transaction
344056
+  (0.0ms) begin transaction
344057
+  (0.1ms) SAVEPOINT active_record_1
344058
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
344059
+ Binary data inserted for `string` type on column `password_hash`
344060
+ Binary data inserted for `string` type on column `password_salt`
344061
+ SQL (0.3ms) 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-08 16:22:27.285396"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.285226"], ["last_name", "Doe"], ["password_hash", "$2a$10$VXOOwE4ofbPEHTaX26qs2O4Gi4CcJXz3aZBMLHBMeqNriqqNWszxm"], ["password_salt", "$2a$10$VXOOwE4ofbPEHTaX26qs2O"], ["updated_at", "2014-09-08 16:22:27.285396"]]
344062
+
344063
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
344064
+
344065
+ Sent mail to johndoe@gmail.com (5.0ms)
344066
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
344067
+ From: noreply@domain.com
344068
+ To: johndoe@gmail.com
344069
+ Message-ID: <540dd7c347629_35963fc81545e6e851864@Allans-MacBook-Pro.local.mail>
344070
+ Subject: New User Confirmation
344071
+ Mime-Version: 1.0
344072
+ Content-Type: text/html;
344073
+ charset=UTF-8
344074
+ Content-Transfer-Encoding: 7bit
344075
+
344076
+ Hi John Doe,
344077
+
344078
+ Below are your login credentials:
344079
+
344080
+ Email: johndoe@gmail.com
344081
+ Password: test123
344082
+
344083
+ Note: If this is not John Doe, please disregard this email.
344084
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344085
+ Processing by DealRedemptions::Admin::CompaniesController#index as HTML
344086
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
344087
+ Completed 200 OK in 36ms (Views: 1.6ms | ActiveRecord: 0.1ms)
344088
+  (1.7ms) rollback transaction
344089
+  (0.0ms) begin transaction
344090
+  (0.0ms) commit transaction
344091
+  (0.0ms) begin transaction
344092
+  (0.0ms) SAVEPOINT active_record_1
344093
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
344094
+ Binary data inserted for `string` type on column `password_hash`
344095
+ Binary data inserted for `string` type on column `password_salt`
344096
+ SQL (0.3ms) 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-08 16:22:27.402851"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.402699"], ["last_name", "Doe"], ["password_hash", "$2a$10$f8i18ppyDBIwJEN.FGagsuTfUiA3YyV63C3eni4T4SybZJEh3bW9y"], ["password_salt", "$2a$10$f8i18ppyDBIwJEN.FGagsu"], ["updated_at", "2014-09-08 16:22:27.402851"]]
344097
+
344098
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.5ms
344099
+
344100
+ Sent mail to johndoe@gmail.com (4.5ms)
344101
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
344102
+ From: noreply@domain.com
344103
+ To: johndoe@gmail.com
344104
+ Message-ID: <540dd7c363fd4_35963fc81545e6e85191@Allans-MacBook-Pro.local.mail>
344105
+ Subject: New User Confirmation
344106
+ Mime-Version: 1.0
344107
+ Content-Type: text/html;
344108
+ charset=UTF-8
344109
+ Content-Transfer-Encoding: 7bit
344110
+
344111
+ Hi John Doe,
344112
+
344113
+ Below are your login credentials:
344114
+
344115
+ Email: johndoe@gmail.com
344116
+ Password: test123
344117
+
344118
+ Note: If this is not John Doe, please disregard this email.
344119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344120
+ Processing by DealRedemptions::Admin::CompaniesController#index as HTML
344121
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
344122
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
344123
+  (0.7ms) rollback transaction
344124
+  (0.0ms) begin transaction
344125
+  (0.0ms) commit transaction
344126
+  (0.0ms) begin transaction
344127
+  (0.0ms) SAVEPOINT active_record_1
344128
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
344129
+ Binary data inserted for `string` type on column `password_hash`
344130
+ Binary data inserted for `string` type on column `password_salt`
344131
+ SQL (0.3ms) 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-08 16:22:27.484493"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.484336"], ["last_name", "Doe"], ["password_hash", "$2a$10$hV2t99/XahubvDZEj4S2rex7zOGhb5S0geG4HLyS/Aw0IW7AYsM3C"], ["password_salt", "$2a$10$hV2t99/XahubvDZEj4S2re"], ["updated_at", "2014-09-08 16:22:27.484493"]]
344132
+
344133
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
344134
+
344135
+ Sent mail to johndoe@gmail.com (4.4ms)
344136
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
344137
+ From: noreply@domain.com
344138
+ To: johndoe@gmail.com
344139
+ Message-ID: <540dd7c378068_35963fc81545e6e8520b9@Allans-MacBook-Pro.local.mail>
344140
+ Subject: New User Confirmation
344141
+ Mime-Version: 1.0
344142
+ Content-Type: text/html;
344143
+ charset=UTF-8
344144
+ Content-Transfer-Encoding: 7bit
344145
+
344146
+ Hi John Doe,
344147
+
344148
+ Below are your login credentials:
344149
+
344150
+ Email: johndoe@gmail.com
344151
+ Password: test123
344152
+
344153
+ Note: If this is not John Doe, please disregard this email.
344154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344155
+ Processing by DealRedemptions::Admin::CompaniesController#create as HTML
344156
+ Parameters: {"company"=>{"id"=>"1", "name"=>"Groupon", "description"=>"Please use the 2nd code, not internal code.", "url"=>"http://www.groupon.com", "slug"=>"groupon", "active"=>"1"}}
344157
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
344158
+ Unpermitted parameters: id
344159
+  (0.0ms) SAVEPOINT active_record_1
344160
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
344161
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
344162
+ SQL (0.3ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:27.500711"], ["description", "Please use the 2nd code, not internal code."], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:27.500711"], ["url", "http://www.groupon.com"]]
344163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
344164
+ Redirected to http://test.host/deal_redemptions/admin/companies
344165
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
344166
+  (0.7ms) rollback transaction
344167
+  (0.0ms) begin transaction
344168
+  (0.0ms) commit transaction
344169
+  (0.0ms) begin transaction
344170
+  (0.0ms) SAVEPOINT active_record_1
344171
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
344172
+ Binary data inserted for `string` type on column `password_hash`
344173
+ Binary data inserted for `string` type on column `password_salt`
344174
+ SQL (0.3ms) 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-08 16:22:27.569634"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.569466"], ["last_name", "Doe"], ["password_hash", "$2a$10$pzdJ9EabV8egjVlXGOEfY.KpJl54aq/99DDFVZNRGfEwEVhPpWheS"], ["password_salt", "$2a$10$pzdJ9EabV8egjVlXGOEfY."], ["updated_at", "2014-09-08 16:22:27.569634"]]
344175
+
344176
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
344177
+
344178
+ Sent mail to johndoe@gmail.com (4.7ms)
344179
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
344180
+ From: noreply@domain.com
344181
+ To: johndoe@gmail.com
344182
+ Message-ID: <540dd7c38ccb4_35963fc81545e6e85211e@Allans-MacBook-Pro.local.mail>
344183
+ Subject: New User Confirmation
344184
+ Mime-Version: 1.0
344185
+ Content-Type: text/html;
344186
+ charset=UTF-8
344187
+ Content-Transfer-Encoding: 7bit
344188
+
344189
+ Hi John Doe,
344190
+
344191
+ Below are your login credentials:
344192
+
344193
+ Email: johndoe@gmail.com
344194
+ Password: test123
344195
+
344196
+ Note: If this is not John Doe, please disregard this email.
344197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344198
+ Processing by DealRedemptions::Admin::CompaniesController#create as HTML
344199
+ Parameters: {"company"=>{"id"=>"1", "name"=>"Groupon", "description"=>"Please use the 2nd code, not internal code.", "url"=>"http://www.groupon.com", "slug"=>"groupon", "active"=>"1"}}
344200
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
344201
+ Unpermitted parameters: id
344202
+  (0.1ms) SAVEPOINT active_record_1
344203
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
344204
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
344205
+ SQL (0.3ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:27.587425"], ["description", "Please use the 2nd code, not internal code."], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:27.587425"], ["url", "http://www.groupon.com"]]
344206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344207
+ Redirected to http://test.host/deal_redemptions/admin/companies
344208
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
344209
+  (0.7ms) rollback transaction
344210
+  (0.1ms) begin transaction
344211
+  (0.0ms) commit transaction
344212
+  (0.0ms) begin transaction
344213
+  (0.1ms) SAVEPOINT active_record_1
344214
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
344215
+ Binary data inserted for `string` type on column `password_hash`
344216
+ Binary data inserted for `string` type on column `password_salt`
344217
+ SQL (0.3ms) 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-08 16:22:27.662598"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.662412"], ["last_name", "Doe"], ["password_hash", "$2a$10$j6.cer1ZBx8jaNDUctEiHu5qtTihzFNX4DYNMD5HI/NyVEfBfOcS6"], ["password_salt", "$2a$10$j6.cer1ZBx8jaNDUctEiHu"], ["updated_at", "2014-09-08 16:22:27.662598"]]
344218
+
344219
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.7ms
344220
+
344221
+ Sent mail to johndoe@gmail.com (4.6ms)
344222
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
344223
+ From: noreply@domain.com
344224
+ To: johndoe@gmail.com
344225
+ Message-ID: <540dd7c3a3841_35963fc81545e6e8522cf@Allans-MacBook-Pro.local.mail>
344226
+ Subject: New User Confirmation
344227
+ Mime-Version: 1.0
344228
+ Content-Type: text/html;
344229
+ charset=UTF-8
344230
+ Content-Transfer-Encoding: 7bit
344231
+
344232
+ Hi John Doe,
344233
+
344234
+ Below are your login credentials:
344235
+
344236
+ Email: johndoe@gmail.com
344237
+ Password: test123
344238
+
344239
+ Note: If this is not John Doe, please disregard this email.
344240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344241
+ Processing by DealRedemptions::Admin::CompaniesController#create as HTML
344242
+ Parameters: {"company"=>{"id"=>"1", "name"=>"", "description"=>"Please use the 2nd code, not internal code.", "url"=>"http://www.groupon.com", "slug"=>"groupon", "active"=>"1"}}
344243
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
344244
+ Unpermitted parameters: id
344245
+  (0.0ms) SAVEPOINT active_record_1
344246
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = '' LIMIT 1
344247
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
344248
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
344249
+ Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.3ms)
344250
+  (0.7ms) rollback transaction
344251
+  (0.1ms) begin transaction
344252
+  (0.1ms) commit transaction
344253
+  (0.1ms) begin transaction
344254
+  (0.1ms) SAVEPOINT active_record_1
344255
+ DealRedemptions::User Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
344256
+ Binary data inserted for `string` type on column `password_hash`
344257
+ Binary data inserted for `string` type on column `password_salt`
344258
+ SQL (0.3ms) 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-08 16:22:27.751936"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.751787"], ["last_name", "Doe"], ["password_hash", "$2a$10$WzXBNTxEKRWGeeUwWcNVc.6aNh.34PHaKaprDxAZGd4FO2kHUYLAu"], ["password_salt", "$2a$10$WzXBNTxEKRWGeeUwWcNVc."], ["updated_at", "2014-09-08 16:22:27.751936"]]
344259
+
344260
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.8ms
344261
+
344262
+ Sent mail to johndoe@gmail.com (5.0ms)
344263
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
344264
+ From: noreply@domain.com
344265
+ To: johndoe@gmail.com
344266
+ Message-ID: <540dd7c3b94ca_35963fc81545e6e852337@Allans-MacBook-Pro.local.mail>
344267
+ Subject: New User Confirmation
344268
+ Mime-Version: 1.0
344269
+ Content-Type: text/html;
344270
+ charset=UTF-8
344271
+ Content-Transfer-Encoding: 7bit
344272
+
344273
+ Hi John Doe,
344274
+
344275
+ Below are your login credentials:
344276
+
344277
+ Email: johndoe@gmail.com
344278
+ Password: test123
344279
+
344280
+ Note: If this is not John Doe, please disregard this email.
344281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344282
+  (0.1ms) SAVEPOINT active_record_1
344283
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
344284
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
344285
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:27.766164"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:27.766164"], ["url", "http://www.groupon.com"]]
344286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
344287
+  (0.0ms) SAVEPOINT active_record_1
344288
+ SQL (0.1ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:27.768010"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:27.768010"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
344289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
344290
+ Processing by DealRedemptions::Admin::ImportController#new as HTML
344291
+ DealRedemptions::User Load (0.1ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
344292
+ Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms)
344293
+ DealRedemptions::Product Load (0.1ms) SELECT "deal_redemptions_products".* FROM "deal_redemptions_products"
344294
+  (0.7ms) rollback transaction
344295
+  (0.1ms) begin transaction
344296
+  (0.0ms) commit transaction
344297
+  (0.0ms) begin transaction
344298
+  (0.1ms) SAVEPOINT active_record_1
344299
+ DealRedemptions::User Exists (0.2ms) SELECT 1 AS one FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."email" = 'johndoe@gmail.com' LIMIT 1
344300
+ Binary data inserted for `string` type on column `password_hash`
344301
+ Binary data inserted for `string` type on column `password_salt`
344302
+ SQL (0.3ms) 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-08 16:22:27.876705"], ["email", "johndoe@gmail.com"], ["first_name", "John"], ["id", 1], ["last_login", "2014-09-08 16:22:27.876538"], ["last_name", "Doe"], ["password_hash", "$2a$10$JKof1gkRxvUp6PqHD6ZEHeLbedU5WBqItFvJuSMHLgvnRJnEWwBEu"], ["password_salt", "$2a$10$JKof1gkRxvUp6PqHD6ZEHe"], ["updated_at", "2014-09-08 16:22:27.876705"]]
344303
+
344304
+ DealRedemptions::AdminUserMailer#new_confirmation: processed outbound mail in 4.6ms
344305
+
344306
+ Sent mail to johndoe@gmail.com (4.6ms)
344307
+ Date: Mon, 08 Sep 2014 09:22:27 -0700
344308
+ From: noreply@domain.com
344309
+ To: johndoe@gmail.com
344310
+ Message-ID: <540dd7c3d7b28_35963fc81545e6e852456@Allans-MacBook-Pro.local.mail>
344311
+ Subject: New User Confirmation
344312
+ Mime-Version: 1.0
344313
+ Content-Type: text/html;
344314
+ charset=UTF-8
344315
+ Content-Transfer-Encoding: 7bit
344316
+
344317
+ Hi John Doe,
344318
+
344319
+ Below are your login credentials:
344320
+
344321
+ Email: johndoe@gmail.com
344322
+ Password: test123
344323
+
344324
+ Note: If this is not John Doe, please disregard this email.
344325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344326
+  (0.0ms) SAVEPOINT active_record_1
344327
+ DealRedemptions::Company Exists (0.1ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."name" = 'Groupon' LIMIT 1
344328
+ DealRedemptions::Company Exists (0.0ms) SELECT 1 AS one FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."slug" = 'groupon' LIMIT 1
344329
+ SQL (0.2ms) INSERT INTO "deal_redemptions_companies" ("created_at", "description", "id", "name", "slug", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:27.889523"], ["description", "Please use the 2nd code, not internal code."], ["id", 1], ["name", "Groupon"], ["slug", "groupon"], ["updated_at", "2014-09-08 16:22:27.889523"], ["url", "http://www.groupon.com"]]
344330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
344331
+  (0.0ms) SAVEPOINT active_record_1
344332
+ SQL (0.1ms) INSERT INTO "deal_redemptions_products" ("created_at", "id", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-08 16:22:27.891038"], ["id", 1], ["name", "Smile Sciences Teeth Whitening Pen"], ["updated_at", "2014-09-08 16:22:27.891038"], ["url", "http://smilesciences.com/collections/products/products/smile-sciences-teeth-whitening-pen"]]
344333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
344334
+ Processing by DealRedemptions::Admin::ImportController#new as HTML
344335
+ DealRedemptions::User Load (0.0ms) SELECT "deal_redemptions_users".* FROM "deal_redemptions_users" WHERE "deal_redemptions_users"."id" = ? LIMIT 1 [["id", 1]]
344336
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
344337
+ DealRedemptions::Company Load (0.1ms) SELECT "deal_redemptions_companies".* FROM "deal_redemptions_companies" WHERE "deal_redemptions_companies"."active" = 1
344338
+  (0.7ms) rollback transaction