transactionable 0.1.0

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.
Files changed (101) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +29 -0
  5. data/app/assets/javascripts/transactionable/add_bank_account.js +45 -0
  6. data/app/assets/javascripts/transactionable/add_credit_card.js +87 -0
  7. data/app/assets/javascripts/transactionable/application.js +12 -0
  8. data/app/assets/stylesheets/transactionable/application.css +13 -0
  9. data/app/controllers/transactionable/application_controller.rb +4 -0
  10. data/app/helpers/transactionable/application_helper.rb +4 -0
  11. data/app/models/transactionable/bank_account.rb +35 -0
  12. data/app/models/transactionable/credit.rb +28 -0
  13. data/app/models/transactionable/credit_card.rb +39 -0
  14. data/app/models/transactionable/debit.rb +28 -0
  15. data/app/models/transactionable/refund.rb +5 -0
  16. data/app/models/transactionable/remote_bank_account.rb +4 -0
  17. data/app/models/transactionable/remote_credit_card.rb +7 -0
  18. data/app/models/transactionable/remote_customer.rb +39 -0
  19. data/app/models/transactionable/remote_entity.rb +42 -0
  20. data/app/models/transactionable/remote_transaction.rb +4 -0
  21. data/app/models/transactionable/reversal.rb +5 -0
  22. data/app/models/transactionable/transaction.rb +25 -0
  23. data/app/views/layouts/transactionable/application.html.erb +14 -0
  24. data/config/routes.rb +2 -0
  25. data/db/migrate/20140108145608_create_transactionable_remote_entities.rb +14 -0
  26. data/db/migrate/20140108182203_create_transactionable_credit_cards.rb +17 -0
  27. data/db/migrate/20140108190511_create_transactionable_transactions.rb +18 -0
  28. data/db/migrate/20140108213120_create_transactionable_bank_accounts.rb +17 -0
  29. data/lib/tasks/transactionable_tasks.rake +4 -0
  30. data/lib/transactionable.rb +9 -0
  31. data/lib/transactionable/acts_as_transactionable.rb +17 -0
  32. data/lib/transactionable/balanced_customer.rb +23 -0
  33. data/lib/transactionable/bank_account_transactionable.rb +23 -0
  34. data/lib/transactionable/credit_card_transactionable.rb +23 -0
  35. data/lib/transactionable/engine.rb +12 -0
  36. data/lib/transactionable/exceptions.rb +6 -0
  37. data/lib/transactionable/version.rb +3 -0
  38. data/spec/dummy/README.rdoc +28 -0
  39. data/spec/dummy/Rakefile +6 -0
  40. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  41. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  42. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  43. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  44. data/spec/dummy/app/models/user.rb +4 -0
  45. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  46. data/spec/dummy/bin/bundle +3 -0
  47. data/spec/dummy/bin/rails +4 -0
  48. data/spec/dummy/bin/rake +4 -0
  49. data/spec/dummy/config.ru +4 -0
  50. data/spec/dummy/config/application.rb +28 -0
  51. data/spec/dummy/config/boot.rb +5 -0
  52. data/spec/dummy/config/database.yml +25 -0
  53. data/spec/dummy/config/environment.rb +5 -0
  54. data/spec/dummy/config/environments/development.rb +29 -0
  55. data/spec/dummy/config/environments/production.rb +80 -0
  56. data/spec/dummy/config/environments/test.rb +36 -0
  57. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  58. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  59. data/spec/dummy/config/initializers/inflections.rb +16 -0
  60. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  61. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  62. data/spec/dummy/config/initializers/session_store.rb +3 -0
  63. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  64. data/spec/dummy/config/locales/en.yml +23 -0
  65. data/spec/dummy/config/routes.rb +4 -0
  66. data/spec/dummy/db/development.sqlite3 +0 -0
  67. data/spec/dummy/db/migrate/20140108162102_create_users.rb +8 -0
  68. data/spec/dummy/db/schema.rb +76 -0
  69. data/spec/dummy/db/test.sqlite3 +0 -0
  70. data/spec/dummy/log/development.log +471 -0
  71. data/spec/dummy/log/test.log +2875 -0
  72. data/spec/dummy/public/404.html +58 -0
  73. data/spec/dummy/public/422.html +58 -0
  74. data/spec/dummy/public/500.html +57 -0
  75. data/spec/dummy/public/favicon.ico +0 -0
  76. data/spec/factories/transactionable_credit_cards.rb +15 -0
  77. data/spec/factories/transactionable_debits.rb +6 -0
  78. data/spec/factories/transactionable_refunds.rb +6 -0
  79. data/spec/factories/transactionable_remote_credit_cards.rb +6 -0
  80. data/spec/factories/transactionable_remote_customers.rb +6 -0
  81. data/spec/factories/transactionable_remote_transactions.rb +6 -0
  82. data/spec/integration/acts_as_bank_account_transactionable_spec.rb +24 -0
  83. data/spec/integration/acts_as_credit_card_transactionable_spec.rb +46 -0
  84. data/spec/integration/models/bank_account_spec.rb +0 -0
  85. data/spec/integration/models/credit_card_spec.rb +28 -0
  86. data/spec/integration/models/credit_spec.rb +0 -0
  87. data/spec/integration/models/debit_spec.rb +0 -0
  88. data/spec/lib/transactionable_spec.rb +6 -0
  89. data/spec/models/transactionable/bank_account_spec.rb +7 -0
  90. data/spec/models/transactionable/credit_card_spec.rb +7 -0
  91. data/spec/models/transactionable/credit_spec.rb +7 -0
  92. data/spec/models/transactionable/debit_spec.rb +7 -0
  93. data/spec/models/transactionable/refund_spec.rb +7 -0
  94. data/spec/models/transactionable/remote_bank_account_spec.rb +7 -0
  95. data/spec/models/transactionable/remote_credit_card_spec.rb +7 -0
  96. data/spec/models/transactionable/remote_customer_spec.rb +7 -0
  97. data/spec/models/transactionable/remote_transaction_spec.rb +7 -0
  98. data/spec/models/transactionable/reversal_spec.rb +7 -0
  99. data/spec/models/transactionable/transaction_spec.rb +7 -0
  100. data/spec/spec_helper.rb +40 -0
  101. metadata +319 -0
@@ -0,0 +1,2875 @@
1
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+  (0.1ms) begin transaction
3
+  (0.1ms) rollback transaction
4
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+  (0.1ms) begin transaction
6
+  (0.1ms) rollback transaction
7
+  (0.1ms) begin transaction
8
+  (0.1ms) rollback transaction
9
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+  (0.1ms) begin transaction
11
+  (0.1ms) rollback transaction
12
+  (0.1ms) begin transaction
13
+  (0.1ms) rollback transaction
14
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
+  (0.1ms) begin transaction
16
+  (0.1ms) rollback transaction
17
+  (0.1ms) begin transaction
18
+  (0.1ms) rollback transaction
19
+  (0.1ms) begin transaction
20
+  (0.1ms) rollback transaction
21
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
+  (0.1ms) begin transaction
23
+  (0.1ms) rollback transaction
24
+  (0.1ms) begin transaction
25
+  (0.1ms) rollback transaction
26
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
27
+  (0.1ms) begin transaction
28
+  (0.1ms) rollback transaction
29
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
30
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
31
+  (0.2ms) begin transaction
32
+  (0.1ms) rollback transaction
33
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
34
+  (0.1ms) begin transaction
35
+  (0.1ms) rollback transaction
36
+  (0.1ms) begin transaction
37
+ SQL (5.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 18:30:44 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 18:30:44 UTC +00:00]]
38
+  (1.1ms) commit transaction
39
+ Transactionable::RemoteCustomer Load (0.8ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
40
+  (0.1ms) begin transaction
41
+  (0.2ms) rollback transaction
42
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
43
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
44
+  (0.1ms) begin transaction
45
+  (0.1ms) SAVEPOINT active_record_1
46
+ SQL (6.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:35:08 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:35:08 UTC +00:00]]
47
+  (0.1ms) RELEASE SAVEPOINT active_record_1
48
+  (0.4ms) rollback transaction
49
+  (0.1ms) begin transaction
50
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:35:08 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:35:08 UTC +00:00]]
51
+  (1.0ms) commit transaction
52
+ Transactionable::RemoteCustomer Load (0.7ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
53
+  (0.1ms) begin transaction
54
+  (0.1ms) rollback transaction
55
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
56
+  (0.1ms) begin transaction
57
+  (0.1ms) SAVEPOINT active_record_1
58
+ SQL (4.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:39:45 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:39:45 UTC +00:00]]
59
+  (0.1ms) RELEASE SAVEPOINT active_record_1
60
+  (1.9ms) rollback transaction
61
+  (0.1ms) begin transaction
62
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:39:45 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:39:45 UTC +00:00]]
63
+  (1.1ms) commit transaction
64
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 3], ["local_entity_type", "User"]]
65
+  (0.1ms) begin transaction
66
+  (0.1ms) rollback transaction
67
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
68
+  (0.1ms) begin transaction
69
+  (0.1ms) SAVEPOINT active_record_1
70
+ SQL (4.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:47:49 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:47:49 UTC +00:00]]
71
+  (0.1ms) RELEASE SAVEPOINT active_record_1
72
+  (1.7ms) rollback transaction
73
+  (0.1ms) begin transaction
74
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:47:49 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:47:49 UTC +00:00]]
75
+  (1.1ms) commit transaction
76
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 4], ["local_entity_type", "User"]]
77
+  (0.1ms) begin transaction
78
+  (0.1ms) rollback transaction
79
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
+  (0.1ms) begin transaction
81
+  (0.1ms) SAVEPOINT active_record_1
82
+ SQL (3.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:49:38 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:49:38 UTC +00:00]]
83
+  (0.1ms) RELEASE SAVEPOINT active_record_1
84
+  (0.4ms) rollback transaction
85
+  (0.1ms) begin transaction
86
+  (0.1ms) SAVEPOINT active_record_1
87
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:49:45 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:49:45 UTC +00:00]]
88
+  (0.1ms) RELEASE SAVEPOINT active_record_1
89
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 5], ["local_entity_type", "User"]]
90
+  (0.1ms) SAVEPOINT active_record_1
91
+ SQL (1.6ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 21:49:45 UTC +00:00], ["local_entity_id", 5], ["local_entity_type", "User"], ["synced_at", 2014-01-09 16:49:48 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 21:49:45 UTC +00:00], ["uri", "/v1/customers/CU7rPCWBDnmzx05KzmnIgF3i"]]
92
+  (0.1ms) RELEASE SAVEPOINT active_record_1
93
+  (0.5ms) rollback transaction
94
+  (0.1ms) begin transaction
95
+  (0.1ms) SAVEPOINT active_record_1
96
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:49:55 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:49:55 UTC +00:00]]
97
+  (0.1ms) RELEASE SAVEPOINT active_record_1
98
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 5], ["local_entity_type", "User"]]
99
+  (0.1ms) SAVEPOINT active_record_1
100
+ SQL (0.6ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 21:49:55 UTC +00:00], ["local_entity_id", 5], ["local_entity_type", "User"], ["synced_at", 2014-01-09 16:49:55 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 21:49:55 UTC +00:00], ["uri", "/v1/customers/CU7rPCWBDnmzx05KzmnIgF3i"]]
101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102
+  (0.5ms) rollback transaction
103
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
104
+  (0.2ms) begin transaction
105
+  (0.1ms) SAVEPOINT active_record_1
106
+ SQL (3.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:52:18 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:52:18 UTC +00:00]]
107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
108
+  (2.9ms) rollback transaction
109
+  (0.1ms) begin transaction
110
+  (0.2ms) SAVEPOINT active_record_1
111
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:52:23 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:52:23 UTC +00:00]]
112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
113
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 5], ["local_entity_type", "User"]]
114
+  (0.1ms) SAVEPOINT active_record_1
115
+ SQL (1.9ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 21:52:23 UTC +00:00], ["local_entity_id", 5], ["local_entity_type", "User"], ["synced_at", 2014-01-09 16:52:25 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 21:52:23 UTC +00:00], ["uri", "/v1/customers/CU2v2GOaYtRe0I6AzdrMebnI"]]
116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
117
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
118
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 5], ["local_entity_type", "User"]]
119
+  (0.4ms) rollback transaction
120
+  (0.1ms) begin transaction
121
+  (0.1ms) SAVEPOINT active_record_1
122
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:52:28 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:52:28 UTC +00:00]]
123
+  (0.1ms) RELEASE SAVEPOINT active_record_1
124
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 5], ["local_entity_type", "User"]]
125
+  (0.1ms) SAVEPOINT active_record_1
126
+ SQL (0.7ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 21:52:29 UTC +00:00], ["local_entity_id", 5], ["local_entity_type", "User"], ["synced_at", 2014-01-09 16:52:29 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 21:52:29 UTC +00:00], ["uri", "/v1/customers/CU2v2GOaYtRe0I6AzdrMebnI"]]
127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
128
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
129
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 5], ["local_entity_type", "User"]]
130
+  (2.2ms) rollback transaction
131
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
132
+  (0.1ms) begin transaction
133
+  (0.1ms) SAVEPOINT active_record_1
134
+ SQL (3.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:58:54 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:58:54 UTC +00:00]]
135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
136
+  (1.9ms) rollback transaction
137
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
138
+  (0.1ms) begin transaction
139
+  (0.1ms) SAVEPOINT active_record_1
140
+ SQL (3.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 21:59:35 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 21:59:35 UTC +00:00]]
141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
142
+  (2.9ms) rollback transaction
143
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
144
+  (0.1ms) begin transaction
145
+  (0.1ms) SAVEPOINT active_record_1
146
+ SQL (3.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:00:46 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:00:46 UTC +00:00]]
147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148
+  (2.8ms) rollback transaction
149
+  (0.1ms) begin transaction
150
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:00:46 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:00:46 UTC +00:00]]
151
+  (1.1ms) commit transaction
152
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 5], ["local_entity_type", "User"]]
153
+  (0.1ms) begin transaction
154
+  (0.1ms) rollback transaction
155
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
156
+  (0.2ms) begin transaction
157
+  (0.1ms) SAVEPOINT active_record_1
158
+ SQL (3.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:01:35 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:01:35 UTC +00:00]]
159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160
+  (2.9ms) rollback transaction
161
+  (0.1ms) begin transaction
162
+  (0.1ms) SAVEPOINT active_record_1
163
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:01:39 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:01:39 UTC +00:00]]
164
+  (0.1ms) RELEASE SAVEPOINT active_record_1
165
+  (0.1ms) SAVEPOINT active_record_1
166
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:01:39 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:01:39 UTC +00:00]]
167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
168
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
169
+  (0.1ms) SAVEPOINT active_record_1
170
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:01:39 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:01:40 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:01:39 UTC +00:00], ["uri", "/v1/customers/CU4OxTU6t5wdKN4uUPGKIocD"]]
171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
172
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
173
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
174
+  (2.1ms) rollback transaction
175
+  (0.1ms) begin transaction
176
+  (0.1ms) SAVEPOINT active_record_1
177
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:01:42 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:01:42 UTC +00:00]]
178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
179
+  (0.1ms) SAVEPOINT active_record_1
180
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:01:42 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:01:42 UTC +00:00]]
181
+  (0.1ms) RELEASE SAVEPOINT active_record_1
182
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
183
+  (0.1ms) SAVEPOINT active_record_1
184
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:01:42 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:01:42 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:01:42 UTC +00:00], ["uri", "/v1/customers/CU4OxTU6t5wdKN4uUPGKIocD"]]
185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
186
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
187
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
188
+  (0.6ms) rollback transaction
189
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
190
+  (0.2ms) begin transaction
191
+  (0.1ms) SAVEPOINT active_record_1
192
+ SQL (3.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:14:30 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:14:30 UTC +00:00]]
193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
194
+  (1.9ms) rollback transaction
195
+  (0.1ms) begin transaction
196
+  (0.2ms) SAVEPOINT active_record_1
197
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:14:35 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:14:35 UTC +00:00]]
198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
199
+  (0.1ms) SAVEPOINT active_record_1
200
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:14:35 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:14:35 UTC +00:00]]
201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
202
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
203
+  (0.1ms) SAVEPOINT active_record_1
204
+ SQL (0.6ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:14:35 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:14:36 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:14:35 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
206
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
207
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
208
+  (1.5ms) rollback transaction
209
+  (0.1ms) begin transaction
210
+  (0.1ms) SAVEPOINT active_record_1
211
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:14:46 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:14:46 UTC +00:00]]
212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
213
+  (0.1ms) SAVEPOINT active_record_1
214
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:14:46 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:14:46 UTC +00:00]]
215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
216
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
217
+  (0.1ms) SAVEPOINT active_record_1
218
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:14:46 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:14:46 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:14:46 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
220
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
221
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
222
+  (0.6ms) rollback transaction
223
+  (0.1ms) begin transaction
224
+  (0.1ms) SAVEPOINT active_record_1
225
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:14:53 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:14:53 UTC +00:00]]
226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
227
+  (0.1ms) SAVEPOINT active_record_1
228
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:14:53 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:14:53 UTC +00:00]]
229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
230
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
231
+  (0.1ms) SAVEPOINT active_record_1
232
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:14:53 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:14:54 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:14:53 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
233
+  (0.1ms) RELEASE SAVEPOINT active_record_1
234
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
235
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
236
+  (1.5ms) rollback transaction
237
+  (0.1ms) begin transaction
238
+  (0.1ms) SAVEPOINT active_record_1
239
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:14:58 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:14:58 UTC +00:00]]
240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
241
+  (0.1ms) SAVEPOINT active_record_1
242
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:14:58 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:14:58 UTC +00:00]]
243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
244
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
245
+  (0.1ms) SAVEPOINT active_record_1
246
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:14:58 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:14:58 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:14:58 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
247
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
249
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
250
+  (2.0ms) rollback transaction
251
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
252
+  (0.1ms) begin transaction
253
+  (0.1ms) SAVEPOINT active_record_1
254
+ SQL (4.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00]]
255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
256
+  (1.9ms) rollback transaction
257
+  (0.1ms) begin transaction
258
+  (0.1ms) SAVEPOINT active_record_1
259
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00]]
260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
261
+  (0.0ms) SAVEPOINT active_record_1
262
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00]]
263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
264
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
265
+  (0.1ms) SAVEPOINT active_record_1
266
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:17:32 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
268
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
269
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
270
+  (2.0ms) rollback transaction
271
+  (0.1ms) begin transaction
272
+  (0.1ms) SAVEPOINT active_record_1
273
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00]]
274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
275
+  (0.1ms) SAVEPOINT active_record_1
276
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00]]
277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
278
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
279
+  (0.1ms) SAVEPOINT active_record_1
280
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:17:32 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
282
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
283
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
284
+  (2.1ms) rollback transaction
285
+  (0.1ms) begin transaction
286
+  (0.1ms) SAVEPOINT active_record_1
287
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00]]
288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
289
+  (0.1ms) SAVEPOINT active_record_1
290
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00]]
291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
292
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
293
+  (0.1ms) SAVEPOINT active_record_1
294
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:17:32 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:17:32 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
296
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
297
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
298
+  (1.9ms) rollback transaction
299
+  (0.1ms) begin transaction
300
+  (0.1ms) SAVEPOINT active_record_1
301
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:17:33 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:17:33 UTC +00:00]]
302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
303
+  (0.0ms) SAVEPOINT active_record_1
304
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:17:33 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:17:33 UTC +00:00]]
305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
306
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
307
+  (0.1ms) SAVEPOINT active_record_1
308
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:17:33 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:17:33 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:17:33 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
310
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
311
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
312
+  (2.2ms) rollback transaction
313
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
314
+  (0.1ms) begin transaction
315
+  (0.1ms) SAVEPOINT active_record_1
316
+ SQL (3.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:18:12 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:18:12 UTC +00:00]]
317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
318
+  (1.9ms) rollback transaction
319
+  (0.1ms) begin transaction
320
+  (0.1ms) SAVEPOINT active_record_1
321
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:18:12 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:18:12 UTC +00:00]]
322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
323
+  (0.1ms) SAVEPOINT active_record_1
324
+ SQL (1.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:18:12 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:18:12 UTC +00:00]]
325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
326
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
327
+  (0.1ms) SAVEPOINT active_record_1
328
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:18:12 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:18:12 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:18:12 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
329
+  (0.1ms) RELEASE SAVEPOINT active_record_1
330
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
331
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
332
+  (2.0ms) rollback transaction
333
+  (0.1ms) begin transaction
334
+  (0.1ms) SAVEPOINT active_record_1
335
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00]]
336
+  (0.1ms) RELEASE SAVEPOINT active_record_1
337
+  (0.1ms) SAVEPOINT active_record_1
338
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00]]
339
+  (0.1ms) RELEASE SAVEPOINT active_record_1
340
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
341
+  (0.1ms) SAVEPOINT active_record_1
342
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:18:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
343
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
345
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
346
+  (2.0ms) rollback transaction
347
+  (0.1ms) begin transaction
348
+  (0.1ms) SAVEPOINT active_record_1
349
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00]]
350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351
+  (0.1ms) SAVEPOINT active_record_1
352
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00]]
353
+  (0.1ms) RELEASE SAVEPOINT active_record_1
354
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
355
+  (0.1ms) SAVEPOINT active_record_1
356
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:18:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
358
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
359
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
360
+  (2.0ms) rollback transaction
361
+  (0.1ms) begin transaction
362
+  (0.1ms) SAVEPOINT active_record_1
363
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00]]
364
+  (0.1ms) RELEASE SAVEPOINT active_record_1
365
+  (0.0ms) SAVEPOINT active_record_1
366
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["updated_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00]]
367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
368
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
369
+  (0.0ms) SAVEPOINT active_record_1
370
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["local_entity_id", 7], ["local_entity_type", "User"], ["synced_at", 2014-01-09 17:18:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Thu, 09 Jan 2014 22:18:13 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
372
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
373
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 7], ["local_entity_type", "User"]]
374
+  (2.0ms) rollback transaction
375
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
376
+  (0.1ms) begin transaction
377
+  (0.1ms) SAVEPOINT active_record_1
378
+ SQL (7.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00]]
379
+  (0.1ms) RELEASE SAVEPOINT active_record_1
380
+  (0.5ms) rollback transaction
381
+  (0.1ms) begin transaction
382
+  (0.1ms) SAVEPOINT active_record_1
383
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00]]
384
+  (0.1ms) RELEASE SAVEPOINT active_record_1
385
+  (0.1ms) SAVEPOINT active_record_1
386
+ SQL (1.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00]]
387
+  (0.2ms) RELEASE SAVEPOINT active_record_1
388
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
389
+  (0.1ms) SAVEPOINT active_record_1
390
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:48:02 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
392
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
393
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
394
+  (2.1ms) rollback transaction
395
+  (0.1ms) begin transaction
396
+  (0.1ms) SAVEPOINT active_record_1
397
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00]]
398
+  (0.1ms) RELEASE SAVEPOINT active_record_1
399
+  (0.0ms) SAVEPOINT active_record_1
400
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00]]
401
+  (0.1ms) RELEASE SAVEPOINT active_record_1
402
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
403
+  (0.1ms) SAVEPOINT active_record_1
404
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:48:02 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
406
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
407
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
408
+  (2.1ms) rollback transaction
409
+  (0.1ms) begin transaction
410
+  (0.1ms) SAVEPOINT active_record_1
411
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00]]
412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
413
+  (0.0ms) SAVEPOINT active_record_1
414
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00]]
415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
416
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
417
+  (0.1ms) SAVEPOINT active_record_1
418
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:48:03 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:48:02 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
420
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
421
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
422
+  (0.6ms) rollback transaction
423
+  (0.1ms) begin transaction
424
+  (0.1ms) SAVEPOINT active_record_1
425
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:03 UTC +00:00]]
426
+  (0.1ms) RELEASE SAVEPOINT active_record_1
427
+  (0.1ms) SAVEPOINT active_record_1
428
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:03 UTC +00:00]]
429
+  (0.1ms) RELEASE SAVEPOINT active_record_1
430
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
431
+  (0.1ms) SAVEPOINT active_record_1
432
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:03 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:48:03 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:48:03 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
434
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
435
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
436
+  (0.6ms) rollback transaction
437
+  (0.1ms) begin transaction
438
+  (0.1ms) SAVEPOINT active_record_1
439
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:07 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:07 UTC +00:00]]
440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
441
+  (0.1ms) SAVEPOINT active_record_1
442
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:07 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:07 UTC +00:00]]
443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
444
+  (0.1ms) SAVEPOINT active_record_1
445
+ SQL (0.5ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:08 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 15:48:08 UTC +00:00]]
446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
447
+  (0.1ms) SAVEPOINT active_record_1
448
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:08 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 15:48:08 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
449
+  (0.1ms) RELEASE SAVEPOINT active_record_1
450
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
451
+ Transactionable::RemoteCreditCard Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
452
+  (0.1ms) SAVEPOINT active_record_1
453
+ SQL (1.4ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 15:48:08 UTC +00:00]]
454
+  (0.1ms) RELEASE SAVEPOINT active_record_1
455
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
456
+  (0.1ms) SAVEPOINT active_record_1
457
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:08 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:48:09 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:48:08 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
459
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
460
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
461
+ Transactionable::CreditCard Load (0.3ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
462
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
463
+  (0.3ms) rollback transaction
464
+  (0.1ms) begin transaction
465
+  (0.1ms) SAVEPOINT active_record_1
466
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00]]
467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
468
+  (0.0ms) SAVEPOINT active_record_1
469
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00]]
470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
471
+  (0.1ms) SAVEPOINT active_record_1
472
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00]]
473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
474
+  (0.0ms) SAVEPOINT active_record_1
475
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
477
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
478
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
479
+  (0.1ms) SAVEPOINT active_record_1
480
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00]]
481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
482
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
483
+  (0.1ms) SAVEPOINT active_record_1
484
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:48:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:48:13 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
486
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
487
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
488
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
489
+  (2.1ms) rollback transaction
490
+  (0.1ms) begin transaction
491
+  (0.1ms) rollback transaction
492
+  (0.1ms) begin transaction
493
+  (0.1ms) rollback transaction
494
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
495
+  (0.3ms) begin transaction
496
+  (0.1ms) rollback transaction
497
+  (0.1ms) begin transaction
498
+  (0.1ms) rollback transaction
499
+  (0.1ms) begin transaction
500
+  (0.1ms) SAVEPOINT active_record_1
501
+ SQL (3.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:11 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:11 UTC +00:00]]
502
+  (0.1ms) RELEASE SAVEPOINT active_record_1
503
+  (1.9ms) rollback transaction
504
+  (0.1ms) begin transaction
505
+  (0.1ms) SAVEPOINT active_record_1
506
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:11 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:11 UTC +00:00]]
507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
508
+  (0.1ms) SAVEPOINT active_record_1
509
+ SQL (1.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:11 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:11 UTC +00:00]]
510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
511
+  (0.1ms) SAVEPOINT active_record_1
512
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00]]
513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
514
+  (0.1ms) SAVEPOINT active_record_1
515
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
517
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
518
+ Transactionable::RemoteCreditCard Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
519
+  (0.1ms) SAVEPOINT active_record_1
520
+ SQL (0.4ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00]]
521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
522
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
523
+  (0.1ms) SAVEPOINT active_record_1
524
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:49:12 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
526
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
527
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
528
+ Transactionable::CreditCard Load (0.3ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
529
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
530
+  (2.1ms) rollback transaction
531
+  (0.1ms) begin transaction
532
+  (0.1ms) SAVEPOINT active_record_1
533
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00]]
534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
535
+  (0.0ms) SAVEPOINT active_record_1
536
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00]]
537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
538
+  (0.1ms) SAVEPOINT active_record_1
539
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00]]
540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
541
+  (0.1ms) SAVEPOINT active_record_1
542
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
544
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
545
+ Transactionable::RemoteCreditCard Load (0.4ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
546
+  (0.1ms) SAVEPOINT active_record_1
547
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00]]
548
+  (0.1ms) RELEASE SAVEPOINT active_record_1
549
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
550
+  (0.1ms) SAVEPOINT active_record_1
551
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:49:12 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:49:12 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
553
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
554
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
555
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
556
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
557
+  (2.1ms) rollback transaction
558
+  (0.1ms) begin transaction
559
+  (0.1ms) SAVEPOINT active_record_1
560
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00]]
561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
562
+  (0.0ms) SAVEPOINT active_record_1
563
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00]]
564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
565
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
566
+  (0.1ms) SAVEPOINT active_record_1
567
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:49:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
568
+  (0.1ms) RELEASE SAVEPOINT active_record_1
569
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
570
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
571
+  (2.1ms) rollback transaction
572
+  (0.1ms) begin transaction
573
+  (0.1ms) SAVEPOINT active_record_1
574
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00]]
575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
576
+  (0.0ms) SAVEPOINT active_record_1
577
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00]]
578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
579
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
580
+  (0.1ms) SAVEPOINT active_record_1
581
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:49:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
582
+  (0.1ms) RELEASE SAVEPOINT active_record_1
583
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
584
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
585
+  (2.1ms) rollback transaction
586
+  (0.1ms) begin transaction
587
+  (0.1ms) SAVEPOINT active_record_1
588
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00]]
589
+  (0.1ms) RELEASE SAVEPOINT active_record_1
590
+  (0.0ms) SAVEPOINT active_record_1
591
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00]]
592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
593
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
594
+  (0.1ms) SAVEPOINT active_record_1
595
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:49:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:49:13 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
597
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
598
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
599
+  (2.0ms) rollback transaction
600
+  (0.1ms) begin transaction
601
+  (0.1ms) SAVEPOINT active_record_1
602
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:14 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:14 UTC +00:00]]
603
+  (0.1ms) RELEASE SAVEPOINT active_record_1
604
+  (0.0ms) SAVEPOINT active_record_1
605
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:49:14 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:49:14 UTC +00:00]]
606
+  (0.1ms) RELEASE SAVEPOINT active_record_1
607
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
608
+  (0.1ms) SAVEPOINT active_record_1
609
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:49:14 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:49:14 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:49:14 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
610
+  (0.1ms) RELEASE SAVEPOINT active_record_1
611
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
612
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
613
+  (2.0ms) rollback transaction
614
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
615
+  (0.1ms) begin transaction
616
+  (0.1ms) rollback transaction
617
+  (0.1ms) begin transaction
618
+  (0.1ms) rollback transaction
619
+  (0.1ms) begin transaction
620
+  (0.1ms) SAVEPOINT active_record_1
621
+ SQL (3.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:50 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:50 UTC +00:00]]
622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
623
+  (2.9ms) rollback transaction
624
+  (0.1ms) begin transaction
625
+  (0.1ms) SAVEPOINT active_record_1
626
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:50 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:50 UTC +00:00]]
627
+  (0.1ms) RELEASE SAVEPOINT active_record_1
628
+  (0.0ms) SAVEPOINT active_record_1
629
+ SQL (1.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:50 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:50 UTC +00:00]]
630
+  (0.1ms) RELEASE SAVEPOINT active_record_1
631
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
632
+  (0.1ms) SAVEPOINT active_record_1
633
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:50 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:57:51 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:57:50 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
635
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
636
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
637
+  (2.2ms) rollback transaction
638
+  (0.1ms) begin transaction
639
+  (0.1ms) SAVEPOINT active_record_1
640
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00]]
641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
642
+  (0.0ms) SAVEPOINT active_record_1
643
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00]]
644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
645
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
646
+  (0.1ms) SAVEPOINT active_record_1
647
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:57:51 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
649
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
650
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
651
+  (2.0ms) rollback transaction
652
+  (0.1ms) begin transaction
653
+  (0.1ms) SAVEPOINT active_record_1
654
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00]]
655
+  (0.1ms) RELEASE SAVEPOINT active_record_1
656
+  (0.0ms) SAVEPOINT active_record_1
657
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00]]
658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
659
+  (0.1ms) SAVEPOINT active_record_1
660
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00]]
661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
662
+  (0.1ms) SAVEPOINT active_record_1
663
+ SQL (0.6ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
664
+  (0.1ms) RELEASE SAVEPOINT active_record_1
665
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
666
+ Transactionable::RemoteCreditCard Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
667
+  (0.1ms) SAVEPOINT active_record_1
668
+ SQL (0.4ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00]]
669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
670
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
671
+  (0.1ms) SAVEPOINT active_record_1
672
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:57:51 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:57:51 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
674
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
675
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
676
+ Transactionable::CreditCard Load (0.3ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
677
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
678
+  (2.1ms) rollback transaction
679
+  (0.1ms) begin transaction
680
+  (0.1ms) SAVEPOINT active_record_1
681
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00]]
682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
683
+  (0.0ms) SAVEPOINT active_record_1
684
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00]]
685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
686
+  (0.1ms) SAVEPOINT active_record_1
687
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00]]
688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
689
+  (0.0ms) SAVEPOINT active_record_1
690
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
691
+  (0.1ms) RELEASE SAVEPOINT active_record_1
692
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
693
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
694
+  (0.1ms) SAVEPOINT active_record_1
695
+ SQL (0.3ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00]]
696
+  (0.1ms) RELEASE SAVEPOINT active_record_1
697
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
698
+  (0.1ms) SAVEPOINT active_record_1
699
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:57:52 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
700
+  (0.1ms) RELEASE SAVEPOINT active_record_1
701
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
702
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
703
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
704
+  (2.1ms) rollback transaction
705
+  (0.1ms) begin transaction
706
+  (0.1ms) SAVEPOINT active_record_1
707
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00]]
708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
709
+  (0.0ms) SAVEPOINT active_record_1
710
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00]]
711
+  (0.1ms) RELEASE SAVEPOINT active_record_1
712
+  (0.1ms) SAVEPOINT active_record_1
713
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00]]
714
+  (0.1ms) RELEASE SAVEPOINT active_record_1
715
+  (0.1ms) SAVEPOINT active_record_1
716
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
718
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
719
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
720
+  (0.1ms) SAVEPOINT active_record_1
721
+ SQL (0.3ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00]]
722
+  (0.1ms) RELEASE SAVEPOINT active_record_1
723
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
724
+  (0.1ms) SAVEPOINT active_record_1
725
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:57:52 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:57:52 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
726
+  (0.1ms) RELEASE SAVEPOINT active_record_1
727
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
728
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
729
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
730
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
731
+  (2.1ms) rollback transaction
732
+  (0.1ms) begin transaction
733
+  (0.1ms) SAVEPOINT active_record_1
734
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00]]
735
+  (0.1ms) RELEASE SAVEPOINT active_record_1
736
+  (0.0ms) SAVEPOINT active_record_1
737
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00]]
738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
739
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
740
+  (0.1ms) SAVEPOINT active_record_1
741
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:57:53 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
743
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
744
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
745
+  (2.1ms) rollback transaction
746
+  (0.1ms) begin transaction
747
+  (0.1ms) SAVEPOINT active_record_1
748
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00]]
749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
750
+  (0.0ms) SAVEPOINT active_record_1
751
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00]]
752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
753
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
754
+  (0.1ms) SAVEPOINT active_record_1
755
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 10:57:53 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 15:57:53 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
757
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
758
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
759
+  (2.1ms) rollback transaction
760
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
761
+  (0.1ms) begin transaction
762
+  (0.1ms) rollback transaction
763
+  (0.1ms) begin transaction
764
+  (0.1ms) rollback transaction
765
+  (0.1ms) begin transaction
766
+  (0.1ms) SAVEPOINT active_record_1
767
+ SQL (4.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:28 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:28 UTC +00:00]]
768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
769
+  (0.4ms) rollback transaction
770
+  (0.1ms) begin transaction
771
+  (0.1ms) SAVEPOINT active_record_1
772
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:28 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:28 UTC +00:00]]
773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
774
+  (0.0ms) SAVEPOINT active_record_1
775
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:28 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:28 UTC +00:00]]
776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
777
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
778
+  (0.1ms) SAVEPOINT active_record_1
779
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:28 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:36:28 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:36:28 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
781
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
782
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
783
+  (1.8ms) rollback transaction
784
+  (0.1ms) begin transaction
785
+  (0.1ms) SAVEPOINT active_record_1
786
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00]]
787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
788
+  (0.0ms) SAVEPOINT active_record_1
789
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00]]
790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
791
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
792
+  (0.1ms) SAVEPOINT active_record_1
793
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:36:29 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
795
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
796
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
797
+  (2.2ms) rollback transaction
798
+  (0.1ms) begin transaction
799
+  (0.1ms) SAVEPOINT active_record_1
800
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00]]
801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
802
+  (0.1ms) SAVEPOINT active_record_1
803
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00]]
804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
805
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
806
+  (0.1ms) SAVEPOINT active_record_1
807
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:36:29 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
809
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
810
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
811
+  (0.6ms) rollback transaction
812
+  (0.1ms) begin transaction
813
+  (0.2ms) SAVEPOINT active_record_1
814
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00]]
815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
816
+  (0.1ms) SAVEPOINT active_record_1
817
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00]]
818
+  (0.1ms) RELEASE SAVEPOINT active_record_1
819
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
820
+  (0.1ms) SAVEPOINT active_record_1
821
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:36:29 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:36:29 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
822
+  (0.1ms) RELEASE SAVEPOINT active_record_1
823
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
824
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
825
+  (0.6ms) rollback transaction
826
+  (0.1ms) begin transaction
827
+  (0.1ms) SAVEPOINT active_record_1
828
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00]]
829
+  (0.1ms) RELEASE SAVEPOINT active_record_1
830
+  (0.0ms) SAVEPOINT active_record_1
831
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00]]
832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
833
+  (0.1ms) SAVEPOINT active_record_1
834
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00]]
835
+  (0.1ms) RELEASE SAVEPOINT active_record_1
836
+  (0.1ms) SAVEPOINT active_record_1
837
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
838
+  (0.1ms) RELEASE SAVEPOINT active_record_1
839
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
840
+ Transactionable::RemoteCreditCard Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
841
+  (0.1ms) SAVEPOINT active_record_1
842
+ SQL (1.3ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00]]
843
+  (0.1ms) RELEASE SAVEPOINT active_record_1
844
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
845
+  (0.1ms) SAVEPOINT active_record_1
846
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:36:30 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
848
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
849
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
850
+ Transactionable::CreditCard Load (0.3ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
851
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
852
+  (2.1ms) rollback transaction
853
+  (0.1ms) begin transaction
854
+  (0.1ms) SAVEPOINT active_record_1
855
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00]]
856
+  (0.1ms) RELEASE SAVEPOINT active_record_1
857
+  (0.0ms) SAVEPOINT active_record_1
858
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00]]
859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
860
+  (0.1ms) SAVEPOINT active_record_1
861
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00]]
862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
863
+  (0.0ms) SAVEPOINT active_record_1
864
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
866
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
867
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
868
+  (0.1ms) SAVEPOINT active_record_1
869
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00]]
870
+  (0.1ms) RELEASE SAVEPOINT active_record_1
871
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
872
+  (0.1ms) SAVEPOINT active_record_1
873
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:36:30 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:36:30 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
875
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
876
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
877
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
878
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
879
+  (2.1ms) rollback transaction
880
+  (0.1ms) begin transaction
881
+  (0.1ms) SAVEPOINT active_record_1
882
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00]]
883
+  (0.1ms) RELEASE SAVEPOINT active_record_1
884
+  (0.0ms) SAVEPOINT active_record_1
885
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00]]
886
+  (0.1ms) RELEASE SAVEPOINT active_record_1
887
+  (0.1ms) SAVEPOINT active_record_1
888
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00]]
889
+  (0.1ms) RELEASE SAVEPOINT active_record_1
890
+  (0.0ms) SAVEPOINT active_record_1
891
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
893
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
894
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
895
+  (0.1ms) SAVEPOINT active_record_1
896
+ SQL (0.3ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00]]
897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
898
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
899
+  (0.1ms) SAVEPOINT active_record_1
900
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:36:31 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
902
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
903
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
904
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
905
+  (2.1ms) rollback transaction
906
+  (0.1ms) begin transaction
907
+  (0.1ms) SAVEPOINT active_record_1
908
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:31 UTC +00:00]]
909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
910
+  (0.4ms) rollback transaction
911
+  (0.1ms) begin transaction
912
+  (0.1ms) SAVEPOINT active_record_1
913
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:34 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:34 UTC +00:00]]
914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
915
+  (0.1ms) SAVEPOINT active_record_1
916
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:34 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:34 UTC +00:00]]
917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
918
+  (0.1ms) SAVEPOINT active_record_1
919
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00]]
920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
921
+  (0.1ms) SAVEPOINT active_record_1
922
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["uri", "/v1/bank_accounts/BA2ThxL0qNL9LlQzyV0bbi1a"]]
923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
924
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
925
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
926
+  (0.6ms) rollback transaction
927
+  (0.1ms) begin transaction
928
+  (0.1ms) SAVEPOINT active_record_1
929
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00]]
930
+  (0.1ms) RELEASE SAVEPOINT active_record_1
931
+  (0.0ms) SAVEPOINT active_record_1
932
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00]]
933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
934
+  (0.1ms) SAVEPOINT active_record_1
935
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00]]
936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
937
+  (0.0ms) SAVEPOINT active_record_1
938
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["uri", "/v1/bank_accounts/BA2ThxL0qNL9LlQzyV0bbi1a"]]
939
+  (0.1ms) RELEASE SAVEPOINT active_record_1
940
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
941
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
942
+  (2.2ms) rollback transaction
943
+  (0.1ms) begin transaction
944
+  (0.1ms) SAVEPOINT active_record_1
945
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00]]
946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
947
+  (0.0ms) SAVEPOINT active_record_1
948
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00]]
949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
950
+  (0.1ms) SAVEPOINT active_record_1
951
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00]]
952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
953
+  (0.1ms) SAVEPOINT active_record_1
954
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:36:36 UTC +00:00], ["uri", "/v1/bank_accounts/BA2ThxL0qNL9LlQzyV0bbi1a"]]
955
+  (0.1ms) RELEASE SAVEPOINT active_record_1
956
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
957
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
958
+  (2.1ms) rollback transaction
959
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
960
+  (0.1ms) begin transaction
961
+  (0.1ms) SAVEPOINT active_record_1
962
+ SQL (3.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:20 UTC +00:00]]
963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
964
+  (3.0ms) rollback transaction
965
+  (0.1ms) begin transaction
966
+  (0.1ms) SAVEPOINT active_record_1
967
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:20 UTC +00:00]]
968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
969
+  (0.1ms) SAVEPOINT active_record_1
970
+ SQL (1.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:20 UTC +00:00]]
971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
972
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
973
+  (0.1ms) SAVEPOINT active_record_1
974
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:21 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
976
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
977
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
978
+  (2.1ms) rollback transaction
979
+  (0.1ms) begin transaction
980
+  (0.1ms) SAVEPOINT active_record_1
981
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00]]
982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
983
+  (0.1ms) SAVEPOINT active_record_1
984
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00]]
985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
986
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
987
+  (0.1ms) SAVEPOINT active_record_1
988
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:21 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
990
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
991
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
992
+  (2.0ms) rollback transaction
993
+  (0.1ms) begin transaction
994
+  (0.1ms) SAVEPOINT active_record_1
995
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00]]
996
+  (0.1ms) RELEASE SAVEPOINT active_record_1
997
+  (0.0ms) SAVEPOINT active_record_1
998
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00]]
999
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1000
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1001
+  (0.1ms) SAVEPOINT active_record_1
1002
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:21 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:21 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
1003
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1004
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1005
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1006
+  (2.1ms) rollback transaction
1007
+  (0.1ms) begin transaction
1008
+  (0.1ms) SAVEPOINT active_record_1
1009
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1011
+  (0.0ms) SAVEPOINT active_record_1
1012
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1013
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1014
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1015
+  (0.1ms) SAVEPOINT active_record_1
1016
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:22 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
1017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1018
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1019
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1020
+  (2.1ms) rollback transaction
1021
+  (0.1ms) begin transaction
1022
+  (0.1ms) SAVEPOINT active_record_1
1023
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1024
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1025
+  (0.4ms) SAVEPOINT active_record_1
1026
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1028
+  (0.1ms) SAVEPOINT active_record_1
1029
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1031
+  (0.1ms) SAVEPOINT active_record_1
1032
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1034
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1035
+ Transactionable::RemoteCreditCard Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1036
+  (0.1ms) SAVEPOINT active_record_1
1037
+ SQL (0.4ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1038
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1039
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1040
+  (0.1ms) SAVEPOINT active_record_1
1041
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:22 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1043
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1044
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1045
+ Transactionable::CreditCard Load (0.3ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1046
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1047
+  (2.1ms) rollback transaction
1048
+  (0.1ms) begin transaction
1049
+  (0.1ms) SAVEPOINT active_record_1
1050
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1052
+  (0.0ms) SAVEPOINT active_record_1
1053
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1055
+  (0.2ms) SAVEPOINT active_record_1
1056
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1057
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1058
+  (0.1ms) SAVEPOINT active_record_1
1059
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1061
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1062
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1063
+  (0.1ms) SAVEPOINT active_record_1
1064
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00]]
1065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1066
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1067
+  (0.1ms) SAVEPOINT active_record_1
1068
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:23 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:22 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1069
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1070
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1071
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1072
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1073
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1074
+  (3.1ms) rollback transaction
1075
+  (0.1ms) begin transaction
1076
+  (0.1ms) SAVEPOINT active_record_1
1077
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00]]
1078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1079
+  (0.0ms) SAVEPOINT active_record_1
1080
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00]]
1081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1082
+  (0.1ms) SAVEPOINT active_record_1
1083
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00]]
1084
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1085
+  (0.0ms) SAVEPOINT active_record_1
1086
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1087
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1088
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1089
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1090
+  (0.1ms) SAVEPOINT active_record_1
1091
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00]]
1092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1093
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1094
+  (0.1ms) SAVEPOINT active_record_1
1095
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:23 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1096
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1097
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1098
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1099
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1100
+  (2.1ms) rollback transaction
1101
+  (0.1ms) begin transaction
1102
+  (0.1ms) rollback transaction
1103
+  (0.1ms) begin transaction
1104
+  (0.1ms) rollback transaction
1105
+  (0.1ms) begin transaction
1106
+  (0.1ms) SAVEPOINT active_record_1
1107
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:23 UTC +00:00]]
1108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1109
+  (0.4ms) rollback transaction
1110
+  (0.1ms) begin transaction
1111
+  (0.1ms) SAVEPOINT active_record_1
1112
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:26 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:26 UTC +00:00]]
1113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1114
+  (0.1ms) SAVEPOINT active_record_1
1115
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:26 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:26 UTC +00:00]]
1116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1117
+  (0.1ms) SAVEPOINT active_record_1
1118
+ SQL (0.4ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 16:38:30 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:30 UTC +00:00]]
1119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1120
+  (0.1ms) SAVEPOINT active_record_1
1121
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:30 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 16:38:30 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1123
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1124
+ Transactionable::RemoteBankAccount Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1125
+  (0.1ms) SAVEPOINT active_record_1
1126
+ SQL (0.4ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 16:38:31 UTC +00:00]]
1127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1128
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1129
+  (0.1ms) SAVEPOINT active_record_1
1130
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:31 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:32 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:31 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1132
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1133
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1134
+ Transactionable::BankAccount Load (0.3ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1135
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1136
+  (1.6ms) rollback transaction
1137
+  (0.1ms) begin transaction
1138
+  (0.1ms) SAVEPOINT active_record_1
1139
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00]]
1140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1141
+  (0.0ms) SAVEPOINT active_record_1
1142
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00]]
1143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1144
+  (0.1ms) SAVEPOINT active_record_1
1145
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00]]
1146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1147
+  (0.0ms) SAVEPOINT active_record_1
1148
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1149
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1150
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1151
+ Transactionable::RemoteBankAccount Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1152
+  (0.1ms) SAVEPOINT active_record_1
1153
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00]]
1154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1155
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1156
+  (0.1ms) SAVEPOINT active_record_1
1157
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:36 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1159
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1160
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1161
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1162
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1163
+  (2.1ms) rollback transaction
1164
+  (0.1ms) begin transaction
1165
+  (0.1ms) SAVEPOINT active_record_1
1166
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00]]
1167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1168
+  (0.0ms) SAVEPOINT active_record_1
1169
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00]]
1170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1171
+  (0.1ms) SAVEPOINT active_record_1
1172
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00]]
1173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1174
+  (0.1ms) SAVEPOINT active_record_1
1175
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1177
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1178
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1179
+  (0.1ms) SAVEPOINT active_record_1
1180
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00]]
1181
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1182
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1183
+  (0.1ms) SAVEPOINT active_record_1
1184
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:38:36 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:38:36 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1186
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1187
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1188
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1189
+  (0.6ms) rollback transaction
1190
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1191
+  (0.1ms) begin transaction
1192
+  (0.1ms) SAVEPOINT active_record_1
1193
+ SQL (3.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00]]
1194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1195
+  (1.9ms) rollback transaction
1196
+  (0.1ms) begin transaction
1197
+  (0.1ms) SAVEPOINT active_record_1
1198
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00]]
1199
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1200
+  (0.1ms) SAVEPOINT active_record_1
1201
+ SQL (1.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00]]
1202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1203
+  (0.1ms) SAVEPOINT active_record_1
1204
+ SQL (0.4ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00]]
1205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1206
+  (0.1ms) SAVEPOINT active_record_1
1207
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1208
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1209
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1210
+ Transactionable::RemoteBankAccount Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1211
+  (0.1ms) SAVEPOINT active_record_1
1212
+ SQL (0.3ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00]]
1213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1214
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1215
+  (0.1ms) SAVEPOINT active_record_1
1216
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:12 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:11 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1218
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1219
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1220
+ Transactionable::BankAccount Load (0.3ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1221
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1222
+  (2.1ms) rollback transaction
1223
+  (0.1ms) begin transaction
1224
+  (0.1ms) SAVEPOINT active_record_1
1225
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00]]
1226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1227
+  (0.1ms) SAVEPOINT active_record_1
1228
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00]]
1229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1230
+  (0.1ms) SAVEPOINT active_record_1
1231
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00]]
1232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1233
+  (0.0ms) SAVEPOINT active_record_1
1234
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1236
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1237
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1238
+  (0.1ms) SAVEPOINT active_record_1
1239
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00]]
1240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1241
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1242
+  (0.1ms) SAVEPOINT active_record_1
1243
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:12 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1245
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1246
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1247
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1248
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1249
+  (2.1ms) rollback transaction
1250
+  (0.1ms) begin transaction
1251
+  (0.1ms) SAVEPOINT active_record_1
1252
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00]]
1253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1254
+  (0.0ms) SAVEPOINT active_record_1
1255
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00]]
1256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1257
+  (0.1ms) SAVEPOINT active_record_1
1258
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00]]
1259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1260
+  (0.0ms) SAVEPOINT active_record_1
1261
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1263
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1264
+ Transactionable::RemoteBankAccount Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1265
+  (0.1ms) SAVEPOINT active_record_1
1266
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00]]
1267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1268
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1269
+  (0.1ms) SAVEPOINT active_record_1
1270
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:12 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:12 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1272
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1273
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1274
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1275
+  (0.6ms) rollback transaction
1276
+  (0.1ms) begin transaction
1277
+  (0.1ms) SAVEPOINT active_record_1
1278
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00]]
1279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1280
+  (0.4ms) rollback transaction
1281
+  (0.1ms) begin transaction
1282
+  (0.1ms) SAVEPOINT active_record_1
1283
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00]]
1284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1285
+  (0.1ms) SAVEPOINT active_record_1
1286
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00]]
1287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1288
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1289
+  (0.1ms) SAVEPOINT active_record_1
1290
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
1291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1292
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1293
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1294
+  (2.1ms) rollback transaction
1295
+  (0.1ms) begin transaction
1296
+  (0.1ms) SAVEPOINT active_record_1
1297
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00]]
1298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1299
+  (0.0ms) SAVEPOINT active_record_1
1300
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00]]
1301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1302
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1303
+  (0.1ms) SAVEPOINT active_record_1
1304
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
1305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1306
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1307
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1308
+  (2.0ms) rollback transaction
1309
+  (0.1ms) begin transaction
1310
+  (0.1ms) SAVEPOINT active_record_1
1311
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00]]
1312
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1313
+  (0.0ms) SAVEPOINT active_record_1
1314
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00]]
1315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1316
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1317
+  (0.1ms) SAVEPOINT active_record_1
1318
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:13 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:13 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
1319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1320
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1321
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1322
+  (2.1ms) rollback transaction
1323
+  (0.1ms) begin transaction
1324
+  (0.1ms) SAVEPOINT active_record_1
1325
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00]]
1326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1327
+  (0.0ms) SAVEPOINT active_record_1
1328
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00]]
1329
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1330
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1331
+  (0.0ms) SAVEPOINT active_record_1
1332
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:14 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
1333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1334
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1335
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1336
+  (2.1ms) rollback transaction
1337
+  (0.1ms) begin transaction
1338
+  (0.1ms) SAVEPOINT active_record_1
1339
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00]]
1340
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1341
+  (0.0ms) SAVEPOINT active_record_1
1342
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00]]
1343
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1344
+  (0.1ms) SAVEPOINT active_record_1
1345
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00]]
1346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1347
+  (0.1ms) SAVEPOINT active_record_1
1348
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1349
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1350
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1351
+ Transactionable::RemoteCreditCard Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1352
+  (0.1ms) SAVEPOINT active_record_1
1353
+ SQL (0.4ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00]]
1354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1355
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1356
+  (0.1ms) SAVEPOINT active_record_1
1357
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:14 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:14 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1359
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1360
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1361
+ Transactionable::CreditCard Load (0.3ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1362
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1363
+  (2.1ms) rollback transaction
1364
+  (0.1ms) begin transaction
1365
+  (0.1ms) SAVEPOINT active_record_1
1366
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00]]
1367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1368
+  (0.0ms) SAVEPOINT active_record_1
1369
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00]]
1370
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1371
+  (0.1ms) SAVEPOINT active_record_1
1372
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00]]
1373
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1374
+  (0.0ms) SAVEPOINT active_record_1
1375
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1376
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1377
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1378
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1379
+  (0.1ms) SAVEPOINT active_record_1
1380
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00]]
1381
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1382
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1383
+  (0.1ms) SAVEPOINT active_record_1
1384
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:15 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1386
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1387
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1388
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1389
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1390
+  (2.0ms) rollback transaction
1391
+  (0.1ms) begin transaction
1392
+  (0.1ms) SAVEPOINT active_record_1
1393
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00]]
1394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1395
+  (0.0ms) SAVEPOINT active_record_1
1396
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00]]
1397
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1398
+  (0.1ms) SAVEPOINT active_record_1
1399
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00]]
1400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1401
+  (0.0ms) SAVEPOINT active_record_1
1402
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1404
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1405
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1406
+  (0.1ms) SAVEPOINT active_record_1
1407
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00]]
1408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1409
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1410
+  (0.1ms) SAVEPOINT active_record_1
1411
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:40:15 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:40:15 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1413
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1414
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1415
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1416
+  (2.2ms) rollback transaction
1417
+  (0.1ms) begin transaction
1418
+  (0.1ms) rollback transaction
1419
+  (0.1ms) begin transaction
1420
+  (0.1ms) rollback transaction
1421
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1422
+  (0.3ms) begin transaction
1423
+  (0.1ms) SAVEPOINT active_record_1
1424
+ SQL (3.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:19 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:19 UTC +00:00]]
1425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1426
+  (2.0ms) rollback transaction
1427
+  (0.1ms) begin transaction
1428
+  (0.1ms) SAVEPOINT active_record_1
1429
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:19 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:19 UTC +00:00]]
1430
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1431
+  (0.0ms) SAVEPOINT active_record_1
1432
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:19 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:19 UTC +00:00]]
1433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1434
+ Transactionable::RemoteCustomer Load (0.4ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1435
+  (0.1ms) SAVEPOINT active_record_1
1436
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:19 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:19 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:19 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
1437
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1438
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1439
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1440
+  (2.1ms) rollback transaction
1441
+  (0.1ms) begin transaction
1442
+  (0.1ms) SAVEPOINT active_record_1
1443
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00]]
1444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1445
+  (0.0ms) SAVEPOINT active_record_1
1446
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00]]
1447
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1448
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1449
+  (0.0ms) SAVEPOINT active_record_1
1450
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:20 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
1451
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1452
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1453
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1454
+  (2.1ms) rollback transaction
1455
+  (0.1ms) begin transaction
1456
+  (0.1ms) SAVEPOINT active_record_1
1457
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00]]
1458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1459
+  (0.1ms) SAVEPOINT active_record_1
1460
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00]]
1461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1462
+  (0.1ms) SAVEPOINT active_record_1
1463
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00]]
1464
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1465
+  (0.1ms) SAVEPOINT active_record_1
1466
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1468
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1469
+ Transactionable::RemoteCreditCard Load (0.4ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1470
+  (0.1ms) SAVEPOINT active_record_1
1471
+ SQL (0.4ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00]]
1472
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1473
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1474
+  (0.1ms) SAVEPOINT active_record_1
1475
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:20 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:20 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1477
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1478
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1479
+ Transactionable::CreditCard Load (0.3ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1480
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1481
+  (2.1ms) rollback transaction
1482
+  (0.1ms) begin transaction
1483
+  (0.1ms) SAVEPOINT active_record_1
1484
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1486
+  (0.0ms) SAVEPOINT active_record_1
1487
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1488
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1489
+  (0.1ms) SAVEPOINT active_record_1
1490
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1491
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1492
+  (0.0ms) SAVEPOINT active_record_1
1493
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1494
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1495
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1496
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1497
+  (0.1ms) SAVEPOINT active_record_1
1498
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1499
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1500
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1501
+  (0.1ms) SAVEPOINT active_record_1
1502
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:21 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1503
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1504
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1505
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1506
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1507
+  (2.1ms) rollback transaction
1508
+  (0.1ms) begin transaction
1509
+  (0.1ms) SAVEPOINT active_record_1
1510
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1512
+  (0.1ms) SAVEPOINT active_record_1
1513
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1515
+  (0.1ms) SAVEPOINT active_record_1
1516
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1518
+  (0.0ms) SAVEPOINT active_record_1
1519
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1521
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1522
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1523
+  (0.1ms) SAVEPOINT active_record_1
1524
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1526
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1527
+  (0.1ms) SAVEPOINT active_record_1
1528
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:21 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1529
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1530
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1531
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1532
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1533
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1534
+  (2.1ms) rollback transaction
1535
+  (0.1ms) begin transaction
1536
+  (0.1ms) SAVEPOINT active_record_1
1537
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1539
+  (0.0ms) SAVEPOINT active_record_1
1540
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00]]
1541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1542
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1543
+  (0.1ms) SAVEPOINT active_record_1
1544
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:21 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:21 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
1545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1546
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1547
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1548
+  (2.1ms) rollback transaction
1549
+  (0.1ms) begin transaction
1550
+  (0.1ms) SAVEPOINT active_record_1
1551
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00]]
1552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1553
+  (0.0ms) SAVEPOINT active_record_1
1554
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00]]
1555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1556
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1557
+  (0.1ms) SAVEPOINT active_record_1
1558
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:22 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
1559
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1560
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1561
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1562
+  (2.1ms) rollback transaction
1563
+  (0.1ms) begin transaction
1564
+  (0.1ms) rollback transaction
1565
+  (0.1ms) begin transaction
1566
+  (0.1ms) rollback transaction
1567
+  (0.1ms) begin transaction
1568
+  (0.1ms) SAVEPOINT active_record_1
1569
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00]]
1570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1571
+  (0.3ms) rollback transaction
1572
+  (0.1ms) begin transaction
1573
+  (0.1ms) SAVEPOINT active_record_1
1574
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00]]
1575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1576
+  (0.0ms) SAVEPOINT active_record_1
1577
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00]]
1578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1579
+  (0.1ms) SAVEPOINT active_record_1
1580
+ SQL (0.4ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00]]
1581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1582
+  (0.1ms) SAVEPOINT active_record_1
1583
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1585
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1586
+ Transactionable::RemoteBankAccount Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1587
+  (0.1ms) SAVEPOINT active_record_1
1588
+ SQL (0.3ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00]]
1589
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1590
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1591
+  (0.1ms) SAVEPOINT active_record_1
1592
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:22 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:22 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1593
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1594
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1595
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1596
+ Transactionable::BankAccount Load (0.3ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1597
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1598
+  (2.0ms) rollback transaction
1599
+  (0.1ms) begin transaction
1600
+  (0.1ms) SAVEPOINT active_record_1
1601
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00]]
1602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1603
+  (0.0ms) SAVEPOINT active_record_1
1604
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00]]
1605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1606
+  (0.1ms) SAVEPOINT active_record_1
1607
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00]]
1608
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1609
+  (0.0ms) SAVEPOINT active_record_1
1610
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1612
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1613
+ Transactionable::RemoteBankAccount Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1614
+  (0.1ms) SAVEPOINT active_record_1
1615
+ SQL (0.3ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00]]
1616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1617
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1618
+  (0.1ms) SAVEPOINT active_record_1
1619
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:23 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1621
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1622
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1623
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1624
+  (2.2ms) rollback transaction
1625
+  (0.1ms) begin transaction
1626
+  (0.1ms) SAVEPOINT active_record_1
1627
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00]]
1628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1629
+  (0.0ms) SAVEPOINT active_record_1
1630
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00]]
1631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1632
+  (0.1ms) SAVEPOINT active_record_1
1633
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00]]
1634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635
+  (0.1ms) SAVEPOINT active_record_1
1636
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1638
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1639
+ Transactionable::RemoteBankAccount Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1640
+  (0.1ms) SAVEPOINT active_record_1
1641
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00]]
1642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1643
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1644
+  (0.1ms) SAVEPOINT active_record_1
1645
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 11:41:23 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 16:41:23 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1647
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1648
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1649
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
1650
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1651
+  (2.1ms) rollback transaction
1652
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1653
+  (0.3ms) begin transaction
1654
+  (0.1ms) SAVEPOINT active_record_1
1655
+ SQL (4.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:11:50 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:11:50 UTC +00:00]]
1656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1657
+  (0.1ms) SAVEPOINT active_record_1
1658
+ SQL (1.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:11:51 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:11:51 UTC +00:00]]
1659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1660
+  (0.1ms) SAVEPOINT active_record_1
1661
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:11:51 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:11:51 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
1662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1663
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1664
+ Transactionable::RemoteCreditCard Load (0.4ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1665
+  (0.1ms) SAVEPOINT active_record_1
1666
+ SQL (0.5ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:11:51 UTC +00:00]]
1667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1668
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1669
+  (0.1ms) SAVEPOINT active_record_1
1670
+ SQL (0.6ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:11:51 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:11:52 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:11:51 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
1671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1672
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1673
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1674
+ Transactionable::CreditCard Load (0.4ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
1675
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1676
+  (0.1ms) SAVEPOINT active_record_1
1677
+ SQL (0.9ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fe3b49c65e0,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:11:59 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:11:59 UTC +00:00]]
1678
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1679
+  (0.1ms) SAVEPOINT active_record_1
1680
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:11:59 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:11:59 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
1681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1682
+  (0.1ms) SAVEPOINT active_record_1
1683
+ SQL (0.3ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:11:59 UTC +00:00]]
1684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1685
+ Transactionable::Transaction Load (0.2ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
1686
+ Transactionable::RemoteTransaction Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
1687
+ Transactionable::Debit Load (0.4ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
1688
+  (1.7ms) rollback transaction
1689
+  (0.1ms) begin transaction
1690
+  (0.1ms) SAVEPOINT active_record_1
1691
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00]]
1692
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1693
+  (0.1ms) SAVEPOINT active_record_1
1694
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00]]
1695
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1696
+  (0.1ms) SAVEPOINT active_record_1
1697
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
1698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1699
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1700
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1701
+  (0.1ms) SAVEPOINT active_record_1
1702
+ SQL (0.3ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00]]
1703
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1704
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1705
+  (0.1ms) SAVEPOINT active_record_1
1706
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:00 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
1707
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1708
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1709
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1710
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
1711
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1712
+  (0.1ms) SAVEPOINT active_record_1
1713
+ SQL (0.3ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fe3b5d02a50,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00]]
1714
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1715
+  (0.0ms) SAVEPOINT active_record_1
1716
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
1717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1718
+  (0.1ms) SAVEPOINT active_record_1
1719
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00]]
1720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1721
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
1722
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
1723
+  (2.2ms) rollback transaction
1724
+  (0.1ms) begin transaction
1725
+  (0.1ms) SAVEPOINT active_record_1
1726
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:00 UTC +00:00]]
1727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1728
+  (0.1ms) SAVEPOINT active_record_1
1729
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00]]
1730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1731
+  (0.1ms) SAVEPOINT active_record_1
1732
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
1733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1734
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1735
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1736
+  (0.1ms) SAVEPOINT active_record_1
1737
+ SQL (0.3ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00]]
1738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1739
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1740
+  (0.1ms) SAVEPOINT active_record_1
1741
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:01 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
1742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1743
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1744
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1745
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
1746
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1747
+  (0.1ms) SAVEPOINT active_record_1
1748
+ SQL (0.3ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fe3b5a78820,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00]]
1749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1750
+  (0.0ms) SAVEPOINT active_record_1
1751
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
1752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1753
+  (0.1ms) SAVEPOINT active_record_1
1754
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00]]
1755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1756
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
1757
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
1758
+  (2.2ms) rollback transaction
1759
+  (0.1ms) begin transaction
1760
+  (0.1ms) SAVEPOINT active_record_1
1761
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00]]
1762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1763
+  (0.1ms) SAVEPOINT active_record_1
1764
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00]]
1765
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1766
+  (0.1ms) SAVEPOINT active_record_1
1767
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
1768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1769
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1770
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1771
+  (0.1ms) SAVEPOINT active_record_1
1772
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00]]
1773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1774
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1775
+  (0.1ms) SAVEPOINT active_record_1
1776
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:01 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:01 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
1777
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1778
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1779
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1780
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
1781
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1782
+  (0.1ms) SAVEPOINT active_record_1
1783
+ SQL (0.4ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fe3b499b9f8,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00]]
1784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1785
+  (0.0ms) SAVEPOINT active_record_1
1786
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
1787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1788
+  (0.0ms) SAVEPOINT active_record_1
1789
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00]]
1790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1791
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
1792
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
1793
+ Transactionable::Debit Load (0.3ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
1794
+  (2.1ms) rollback transaction
1795
+  (0.1ms) begin transaction
1796
+  (0.1ms) SAVEPOINT active_record_1
1797
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00]]
1798
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1799
+  (0.1ms) SAVEPOINT active_record_1
1800
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00]]
1801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1802
+  (0.1ms) SAVEPOINT active_record_1
1803
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
1804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1805
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1806
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1807
+  (0.1ms) SAVEPOINT active_record_1
1808
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00]]
1809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1810
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1811
+  (0.1ms) SAVEPOINT active_record_1
1812
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:02 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
1813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1814
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1815
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
1816
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
1817
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1818
+  (0.1ms) SAVEPOINT active_record_1
1819
+ SQL (0.9ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fe3b5813e40,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00]]
1820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1821
+  (0.1ms) SAVEPOINT active_record_1
1822
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
1823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1824
+  (0.1ms) SAVEPOINT active_record_1
1825
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00]]
1826
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1827
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
1828
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
1829
+  (2.2ms) rollback transaction
1830
+  (0.1ms) begin transaction
1831
+  (0.1ms) SAVEPOINT active_record_1
1832
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:02 UTC +00:00]]
1833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1834
+  (0.4ms) rollback transaction
1835
+  (0.1ms) begin transaction
1836
+  (0.1ms) SAVEPOINT active_record_1
1837
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00]]
1838
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1839
+  (0.1ms) SAVEPOINT active_record_1
1840
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00]]
1841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1842
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1843
+  (0.1ms) SAVEPOINT active_record_1
1844
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:03 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
1845
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1846
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1847
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1848
+  (2.1ms) rollback transaction
1849
+  (0.1ms) begin transaction
1850
+  (0.1ms) SAVEPOINT active_record_1
1851
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00]]
1852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1853
+  (0.0ms) SAVEPOINT active_record_1
1854
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00]]
1855
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1856
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1857
+  (0.1ms) SAVEPOINT active_record_1
1858
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:03 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
1859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1860
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1861
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1862
+  (2.0ms) rollback transaction
1863
+  (0.1ms) begin transaction
1864
+  (0.1ms) SAVEPOINT active_record_1
1865
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00]]
1866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1867
+  (0.0ms) SAVEPOINT active_record_1
1868
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00]]
1869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1870
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1871
+  (0.1ms) SAVEPOINT active_record_1
1872
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:03 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
1873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1874
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1875
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1876
+  (2.1ms) rollback transaction
1877
+  (0.1ms) begin transaction
1878
+  (0.1ms) SAVEPOINT active_record_1
1879
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00]]
1880
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1881
+  (0.0ms) SAVEPOINT active_record_1
1882
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00]]
1883
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1884
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1885
+  (0.1ms) SAVEPOINT active_record_1
1886
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:04 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:03 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
1887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1888
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1889
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1890
+  (2.1ms) rollback transaction
1891
+  (0.1ms) begin transaction
1892
+  (0.1ms) SAVEPOINT active_record_1
1893
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00]]
1894
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1895
+  (0.0ms) SAVEPOINT active_record_1
1896
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00]]
1897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1898
+  (0.1ms) SAVEPOINT active_record_1
1899
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00]]
1900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1901
+  (0.1ms) SAVEPOINT active_record_1
1902
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1904
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1905
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1906
+  (0.1ms) SAVEPOINT active_record_1
1907
+ SQL (0.3ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00]]
1908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1909
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1910
+  (0.1ms) SAVEPOINT active_record_1
1911
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:04 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1913
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1914
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1915
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1916
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1917
+  (2.1ms) rollback transaction
1918
+  (0.1ms) begin transaction
1919
+  (0.1ms) SAVEPOINT active_record_1
1920
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00]]
1921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1922
+  (0.0ms) SAVEPOINT active_record_1
1923
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00]]
1924
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1925
+  (0.1ms) SAVEPOINT active_record_1
1926
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00]]
1927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1928
+  (0.1ms) SAVEPOINT active_record_1
1929
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1930
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1931
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1932
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1933
+  (0.1ms) SAVEPOINT active_record_1
1934
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00]]
1935
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1936
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1937
+  (0.1ms) SAVEPOINT active_record_1
1938
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:04 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:04 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1939
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1940
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1941
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1942
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1943
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1944
+  (2.1ms) rollback transaction
1945
+  (0.1ms) begin transaction
1946
+  (0.1ms) SAVEPOINT active_record_1
1947
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00]]
1948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1949
+  (0.0ms) SAVEPOINT active_record_1
1950
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00]]
1951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1952
+  (0.1ms) SAVEPOINT active_record_1
1953
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00]]
1954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1955
+  (0.1ms) SAVEPOINT active_record_1
1956
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
1957
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1958
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
1959
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
1960
+  (0.1ms) SAVEPOINT active_record_1
1961
+ SQL (0.3ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00]]
1962
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1963
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1964
+  (0.1ms) SAVEPOINT active_record_1
1965
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:05 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
1966
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1967
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1968
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1969
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
1970
+  (2.1ms) rollback transaction
1971
+  (0.1ms) begin transaction
1972
+  (0.1ms) SAVEPOINT active_record_1
1973
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00]]
1974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1975
+  (0.4ms) rollback transaction
1976
+  (0.1ms) begin transaction
1977
+  (0.1ms) SAVEPOINT active_record_1
1978
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00]]
1979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1980
+  (0.0ms) SAVEPOINT active_record_1
1981
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00]]
1982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1983
+  (0.1ms) SAVEPOINT active_record_1
1984
+ SQL (0.4ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00]]
1985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1986
+  (0.1ms) SAVEPOINT active_record_1
1987
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
1988
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1989
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
1990
+ Transactionable::RemoteBankAccount Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
1991
+  (0.1ms) SAVEPOINT active_record_1
1992
+ SQL (0.3ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00]]
1993
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1994
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
1995
+  (0.1ms) SAVEPOINT active_record_1
1996
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:05 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:05 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
1997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1998
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1999
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2000
+ Transactionable::BankAccount Load (0.3ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2001
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2002
+  (2.1ms) rollback transaction
2003
+  (0.1ms) begin transaction
2004
+  (0.1ms) SAVEPOINT active_record_1
2005
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00]]
2006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2007
+  (0.0ms) SAVEPOINT active_record_1
2008
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00]]
2009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2010
+  (0.1ms) SAVEPOINT active_record_1
2011
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00]]
2012
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2013
+  (0.0ms) SAVEPOINT active_record_1
2014
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
2015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2016
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
2017
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2018
+  (0.1ms) SAVEPOINT active_record_1
2019
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00]]
2020
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2021
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2022
+  (0.1ms) SAVEPOINT active_record_1
2023
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:06 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
2024
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2025
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2026
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2027
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2028
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2029
+  (2.1ms) rollback transaction
2030
+  (0.1ms) begin transaction
2031
+  (0.1ms) SAVEPOINT active_record_1
2032
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00]]
2033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2034
+  (0.0ms) SAVEPOINT active_record_1
2035
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00]]
2036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2037
+  (0.1ms) SAVEPOINT active_record_1
2038
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00]]
2039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2040
+  (0.0ms) SAVEPOINT active_record_1
2041
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
2042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2043
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
2044
+ Transactionable::RemoteBankAccount Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2045
+  (0.1ms) SAVEPOINT active_record_1
2046
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00]]
2047
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2048
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2049
+  (0.1ms) SAVEPOINT active_record_1
2050
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:12:06 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:12:06 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
2051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2052
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2053
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2054
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2055
+  (2.1ms) rollback transaction
2056
+  (0.1ms) begin transaction
2057
+  (0.1ms) rollback transaction
2058
+  (0.1ms) begin transaction
2059
+  (0.1ms) rollback transaction
2060
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2061
+  (0.1ms) begin transaction
2062
+  (0.1ms) SAVEPOINT active_record_1
2063
+ SQL (3.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:17 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:17 UTC +00:00]]
2064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2065
+  (1.9ms) rollback transaction
2066
+  (0.1ms) begin transaction
2067
+  (0.1ms) SAVEPOINT active_record_1
2068
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:17 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:17 UTC +00:00]]
2069
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2070
+  (0.0ms) SAVEPOINT active_record_1
2071
+ SQL (1.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:17 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:17 UTC +00:00]]
2072
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2073
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2074
+  (0.1ms) SAVEPOINT active_record_1
2075
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:17 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:17 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:17 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
2076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2077
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2078
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2079
+  (2.1ms) rollback transaction
2080
+  (0.1ms) begin transaction
2081
+  (0.1ms) SAVEPOINT active_record_1
2082
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00]]
2083
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2084
+  (0.1ms) SAVEPOINT active_record_1
2085
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00]]
2086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2087
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2088
+  (0.1ms) SAVEPOINT active_record_1
2089
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:18 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
2090
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2091
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2092
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2093
+  (1.9ms) rollback transaction
2094
+  (0.1ms) begin transaction
2095
+  (0.1ms) SAVEPOINT active_record_1
2096
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00]]
2097
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2098
+  (0.1ms) SAVEPOINT active_record_1
2099
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00]]
2100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2101
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2102
+  (0.1ms) SAVEPOINT active_record_1
2103
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:18 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
2104
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2105
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2106
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2107
+  (2.1ms) rollback transaction
2108
+  (0.1ms) begin transaction
2109
+  (0.1ms) SAVEPOINT active_record_1
2110
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00]]
2111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2112
+  (0.0ms) SAVEPOINT active_record_1
2113
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00]]
2114
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2115
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2116
+  (0.1ms) SAVEPOINT active_record_1
2117
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:18 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:18 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
2118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2119
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2120
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2121
+  (2.1ms) rollback transaction
2122
+  (0.1ms) begin transaction
2123
+  (0.1ms) SAVEPOINT active_record_1
2124
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00]]
2125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2126
+  (0.1ms) SAVEPOINT active_record_1
2127
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00]]
2128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2129
+  (0.1ms) SAVEPOINT active_record_1
2130
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00]]
2131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2132
+  (0.1ms) SAVEPOINT active_record_1
2133
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
2134
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2135
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2136
+ Transactionable::RemoteCreditCard Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2137
+  (0.1ms) SAVEPOINT active_record_1
2138
+ SQL (0.4ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00]]
2139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2140
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2141
+  (0.1ms) SAVEPOINT active_record_1
2142
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:19 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
2143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2144
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2145
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2146
+ Transactionable::CreditCard Load (0.3ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
2147
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
2148
+  (2.1ms) rollback transaction
2149
+  (0.1ms) begin transaction
2150
+  (0.1ms) SAVEPOINT active_record_1
2151
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00]]
2152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2153
+  (0.0ms) SAVEPOINT active_record_1
2154
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00]]
2155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2156
+  (0.1ms) SAVEPOINT active_record_1
2157
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00]]
2158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2159
+  (0.0ms) SAVEPOINT active_record_1
2160
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
2161
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2162
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2163
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2164
+  (0.1ms) SAVEPOINT active_record_1
2165
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00]]
2166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2167
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2168
+  (0.1ms) SAVEPOINT active_record_1
2169
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:19 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:19 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
2170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2171
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2172
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2173
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
2174
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2175
+  (2.1ms) rollback transaction
2176
+  (0.1ms) begin transaction
2177
+  (0.1ms) SAVEPOINT active_record_1
2178
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00]]
2179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2180
+  (0.0ms) SAVEPOINT active_record_1
2181
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00]]
2182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2183
+  (0.1ms) SAVEPOINT active_record_1
2184
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00]]
2185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2186
+  (0.0ms) SAVEPOINT active_record_1
2187
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
2188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2189
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2190
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2191
+  (0.1ms) SAVEPOINT active_record_1
2192
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00]]
2193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2194
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2195
+  (0.1ms) SAVEPOINT active_record_1
2196
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:20 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
2197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2198
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2199
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2200
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
2201
+  (1.9ms) rollback transaction
2202
+  (0.1ms) begin transaction
2203
+  (0.1ms) rollback transaction
2204
+  (0.1ms) begin transaction
2205
+  (0.1ms) rollback transaction
2206
+  (0.1ms) begin transaction
2207
+  (0.1ms) SAVEPOINT active_record_1
2208
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00]]
2209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2210
+  (0.1ms) SAVEPOINT active_record_1
2211
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00]]
2212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2213
+  (0.0ms) SAVEPOINT active_record_1
2214
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2216
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2217
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2218
+  (0.1ms) SAVEPOINT active_record_1
2219
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00]]
2220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2221
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2222
+  (0.1ms) SAVEPOINT active_record_1
2223
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:20 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:20 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2224
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2225
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2226
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2227
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2228
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2229
+  (0.1ms) SAVEPOINT active_record_1
2230
+ SQL (0.4ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fbf8eb6bf48,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00]]
2231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2232
+  (0.1ms) SAVEPOINT active_record_1
2233
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2235
+  (0.1ms) SAVEPOINT active_record_1
2236
+ SQL (0.3ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00]]
2237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2238
+ Transactionable::Transaction Load (0.2ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2239
+ Transactionable::RemoteTransaction Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2240
+  (2.2ms) rollback transaction
2241
+  (0.1ms) begin transaction
2242
+  (0.1ms) SAVEPOINT active_record_1
2243
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00]]
2244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2245
+  (0.1ms) SAVEPOINT active_record_1
2246
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00]]
2247
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2248
+  (0.0ms) SAVEPOINT active_record_1
2249
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2251
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2252
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2253
+  (0.1ms) SAVEPOINT active_record_1
2254
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00]]
2255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2256
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2257
+  (0.1ms) SAVEPOINT active_record_1
2258
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:21 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2260
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2261
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2262
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2263
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2264
+  (0.1ms) SAVEPOINT active_record_1
2265
+ SQL (0.3ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fbf8eca99c8,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00]]
2266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2267
+  (0.1ms) SAVEPOINT active_record_1
2268
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2270
+  (0.1ms) SAVEPOINT active_record_1
2271
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:21 UTC +00:00]]
2272
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2273
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2274
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2275
+ Transactionable::Debit Load (0.4ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2276
+  (1.9ms) rollback transaction
2277
+  (0.1ms) begin transaction
2278
+  (0.1ms) SAVEPOINT active_record_1
2279
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00]]
2280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2281
+  (0.1ms) SAVEPOINT active_record_1
2282
+ SQL (0.5ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00]]
2283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2284
+  (0.0ms) SAVEPOINT active_record_1
2285
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2287
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2288
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2289
+  (0.1ms) SAVEPOINT active_record_1
2290
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00]]
2291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2292
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2293
+  (0.1ms) SAVEPOINT active_record_1
2294
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:22 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2296
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2297
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2298
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2299
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2300
+  (0.1ms) SAVEPOINT active_record_1
2301
+ SQL (0.4ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fbf8e857460,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00]]
2302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2303
+  (0.1ms) SAVEPOINT active_record_1
2304
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2306
+  (0.0ms) SAVEPOINT active_record_1
2307
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00]]
2308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2309
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2310
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2311
+ Transactionable::Debit Load (0.3ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2312
+  (2.1ms) rollback transaction
2313
+  (0.1ms) begin transaction
2314
+  (0.1ms) SAVEPOINT active_record_1
2315
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00]]
2316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2317
+  (0.1ms) SAVEPOINT active_record_1
2318
+ SQL (0.5ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00]]
2319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2320
+  (0.0ms) SAVEPOINT active_record_1
2321
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2323
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2324
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2325
+  (0.1ms) SAVEPOINT active_record_1
2326
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00]]
2327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2328
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2329
+  (0.1ms) SAVEPOINT active_record_1
2330
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:22 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:22 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2332
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2333
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2334
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2335
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2336
+  (0.1ms) SAVEPOINT active_record_1
2337
+ SQL (0.3ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fbf90861f08,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00]]
2338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2339
+  (0.0ms) SAVEPOINT active_record_1
2340
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2342
+  (0.0ms) SAVEPOINT active_record_1
2343
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00]]
2344
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2345
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2346
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2347
+  (2.2ms) rollback transaction
2348
+  (0.1ms) begin transaction
2349
+  (0.1ms) SAVEPOINT active_record_1
2350
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00]]
2351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2352
+  (0.1ms) SAVEPOINT active_record_1
2353
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00]]
2354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2355
+  (0.0ms) SAVEPOINT active_record_1
2356
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2358
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2359
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2360
+  (0.1ms) SAVEPOINT active_record_1
2361
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00]]
2362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2363
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2364
+  (0.1ms) SAVEPOINT active_record_1
2365
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:23 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2367
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2368
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2369
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2370
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2371
+  (0.1ms) SAVEPOINT active_record_1
2372
+ SQL (0.3ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7fbf918b3af0,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00]]
2373
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2374
+  (0.1ms) SAVEPOINT active_record_1
2375
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2376
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2377
+  (0.1ms) SAVEPOINT active_record_1
2378
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00]]
2379
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2380
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2381
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2382
+  (2.2ms) rollback transaction
2383
+  (0.1ms) begin transaction
2384
+  (0.1ms) SAVEPOINT active_record_1
2385
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:23 UTC +00:00]]
2386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2387
+  (0.4ms) rollback transaction
2388
+  (0.1ms) begin transaction
2389
+  (0.1ms) SAVEPOINT active_record_1
2390
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00]]
2391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2392
+  (0.1ms) SAVEPOINT active_record_1
2393
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00]]
2394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2395
+  (0.1ms) SAVEPOINT active_record_1
2396
+ SQL (0.4ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00]]
2397
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2398
+  (0.1ms) SAVEPOINT active_record_1
2399
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
2400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2401
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
2402
+ Transactionable::RemoteBankAccount Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2403
+  (0.1ms) SAVEPOINT active_record_1
2404
+ SQL (0.3ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00]]
2405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2406
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2407
+  (0.1ms) SAVEPOINT active_record_1
2408
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:24 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
2409
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2410
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2411
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2412
+ Transactionable::BankAccount Load (0.3ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2413
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2414
+  (2.1ms) rollback transaction
2415
+  (0.1ms) begin transaction
2416
+  (0.1ms) SAVEPOINT active_record_1
2417
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00]]
2418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2419
+  (0.0ms) SAVEPOINT active_record_1
2420
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00]]
2421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2422
+  (0.1ms) SAVEPOINT active_record_1
2423
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00]]
2424
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2425
+  (0.1ms) SAVEPOINT active_record_1
2426
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
2427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2428
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
2429
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2430
+  (0.1ms) SAVEPOINT active_record_1
2431
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00]]
2432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2433
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2434
+  (0.1ms) SAVEPOINT active_record_1
2435
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:24 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:24 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
2436
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2437
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2438
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2439
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2440
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2441
+  (2.1ms) rollback transaction
2442
+  (0.1ms) begin transaction
2443
+  (0.1ms) SAVEPOINT active_record_1
2444
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00]]
2445
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2446
+  (0.0ms) SAVEPOINT active_record_1
2447
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00]]
2448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2449
+  (0.1ms) SAVEPOINT active_record_1
2450
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00]]
2451
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2452
+  (0.0ms) SAVEPOINT active_record_1
2453
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
2454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2455
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
2456
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2457
+  (0.1ms) SAVEPOINT active_record_1
2458
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00]]
2459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2460
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2461
+  (0.1ms) SAVEPOINT active_record_1
2462
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 12:14:25 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 17:14:25 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
2463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2464
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2465
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2466
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2467
+  (2.1ms) rollback transaction
2468
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2469
+  (0.1ms) begin transaction
2470
+  (0.1ms) SAVEPOINT active_record_1
2471
+ SQL (4.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00]]
2472
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2473
+  (0.4ms) rollback transaction
2474
+  (0.1ms) begin transaction
2475
+  (0.1ms) SAVEPOINT active_record_1
2476
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00]]
2477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2478
+  (0.0ms) SAVEPOINT active_record_1
2479
+ SQL (1.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00]]
2480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2481
+  (0.1ms) SAVEPOINT active_record_1
2482
+ SQL (0.5ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00]]
2483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2484
+  (0.1ms) SAVEPOINT active_record_1
2485
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
2486
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2487
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
2488
+ Transactionable::RemoteBankAccount Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2489
+  (0.1ms) SAVEPOINT active_record_1
2490
+ SQL (0.3ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00]]
2491
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2492
+ Transactionable::RemoteCustomer Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2493
+  (0.1ms) SAVEPOINT active_record_1
2494
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:23 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:23 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
2495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2496
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2497
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2498
+ Transactionable::BankAccount Load (0.3ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2499
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2500
+  (2.1ms) rollback transaction
2501
+  (0.1ms) begin transaction
2502
+  (0.1ms) SAVEPOINT active_record_1
2503
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2504
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2505
+  (0.1ms) SAVEPOINT active_record_1
2506
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2508
+  (0.1ms) SAVEPOINT active_record_1
2509
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2511
+  (0.1ms) SAVEPOINT active_record_1
2512
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
2513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2514
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
2515
+ Transactionable::RemoteBankAccount Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2516
+  (0.1ms) SAVEPOINT active_record_1
2517
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2518
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2519
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2520
+  (0.1ms) SAVEPOINT active_record_1
2521
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:24 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
2522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2523
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2524
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2525
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2526
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2527
+  (2.1ms) rollback transaction
2528
+  (0.1ms) begin transaction
2529
+  (0.1ms) SAVEPOINT active_record_1
2530
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2531
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2532
+  (0.0ms) SAVEPOINT active_record_1
2533
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2535
+  (0.1ms) SAVEPOINT active_record_1
2536
+ SQL (0.3ms) INSERT INTO "transactionable_bank_accounts" ("bank_accountable_id", "bank_accountable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["bank_accountable_id", 2], ["bank_accountable_type", "User"], ["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2538
+  (0.1ms) SAVEPOINT active_record_1
2539
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"], ["type", "Transactionable::RemoteBankAccount"], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["uri", "/v1/bank_accounts/BA4VaKDWeShJgL5JIEMhjGjw"]]
2540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2541
+ Transactionable::BankAccount Load (0.1ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."id" = ? LIMIT 1 [["id", 1]]
2542
+ Transactionable::RemoteBankAccount Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteBankAccount') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::BankAccount"]]
2543
+  (0.1ms) SAVEPOINT active_record_1
2544
+ SQL (0.2ms) UPDATE "transactionable_bank_accounts" SET "bank_name" = ?, "description" = ?, "name" = ?, "can_debit" = ?, "account_type" = ?, "updated_at" = ? WHERE "transactionable_bank_accounts"."id" = 1 [["bank_name", "JPMORGAN CHASE BANK"], ["description", "xxxxxx0002"], ["name", "Mario"], ["can_debit", false], ["account_type", "checking"], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2546
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2547
+  (0.1ms) SAVEPOINT active_record_1
2548
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:24 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["uri", "/v1/customers/CU4ZCytqblNrwcEJ7PvNRQIL"]]
2549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2550
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2551
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2552
+ Transactionable::BankAccount Load (0.2ms) SELECT "transactionable_bank_accounts".* FROM "transactionable_bank_accounts" WHERE "transactionable_bank_accounts"."bank_accountable_id" = ? AND "transactionable_bank_accounts"."bank_accountable_type" = ? ORDER BY "transactionable_bank_accounts"."id" ASC LIMIT 1 [["bank_accountable_id", 2], ["bank_accountable_type", "User"]]
2553
+  (0.6ms) rollback transaction
2554
+  (0.1ms) begin transaction
2555
+  (0.1ms) rollback transaction
2556
+  (0.1ms) begin transaction
2557
+  (0.1ms) rollback transaction
2558
+  (0.1ms) begin transaction
2559
+  (0.1ms) SAVEPOINT active_record_1
2560
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2562
+  (0.4ms) rollback transaction
2563
+  (0.1ms) begin transaction
2564
+  (0.1ms) SAVEPOINT active_record_1
2565
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2567
+  (0.0ms) SAVEPOINT active_record_1
2568
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00]]
2569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2570
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2571
+  (0.1ms) SAVEPOINT active_record_1
2572
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:24 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:24 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
2573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2574
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2575
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2576
+  (2.1ms) rollback transaction
2577
+  (0.1ms) begin transaction
2578
+  (0.1ms) SAVEPOINT active_record_1
2579
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00]]
2580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2581
+  (0.0ms) SAVEPOINT active_record_1
2582
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00]]
2583
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2584
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2585
+  (0.1ms) SAVEPOINT active_record_1
2586
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:25 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["uri", "/v1/customers/CU3DIXq7UemATmqKcGWRGaqs"]]
2587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2588
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2589
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2590
+  (2.2ms) rollback transaction
2591
+  (0.1ms) begin transaction
2592
+  (0.1ms) SAVEPOINT active_record_1
2593
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00]]
2594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2595
+  (0.0ms) SAVEPOINT active_record_1
2596
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00]]
2597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2598
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2599
+  (0.1ms) SAVEPOINT active_record_1
2600
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:25 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
2601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2602
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2603
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2604
+  (0.6ms) rollback transaction
2605
+  (0.1ms) begin transaction
2606
+  (0.1ms) SAVEPOINT active_record_1
2607
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00]]
2608
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2609
+  (0.1ms) SAVEPOINT active_record_1
2610
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:25 UTC +00:00]]
2611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2612
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2613
+  (0.1ms) SAVEPOINT active_record_1
2614
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:26 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["uri", "/v1/customers/CU3jmsm9nnkhJmPp5YKJE5SK"]]
2615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2616
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2617
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2618
+  (0.5ms) rollback transaction
2619
+  (0.1ms) begin transaction
2620
+  (0.1ms) SAVEPOINT active_record_1
2621
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00]]
2622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2623
+  (0.0ms) SAVEPOINT active_record_1
2624
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00]]
2625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2626
+  (0.1ms) SAVEPOINT active_record_1
2627
+ SQL (0.4ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00]]
2628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2629
+  (0.1ms) SAVEPOINT active_record_1
2630
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
2631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2632
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2633
+ Transactionable::RemoteCreditCard Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2634
+  (0.1ms) SAVEPOINT active_record_1
2635
+ SQL (0.8ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00]]
2636
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2637
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2638
+  (0.1ms) SAVEPOINT active_record_1
2639
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:26 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
2640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2641
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2642
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2643
+ Transactionable::CreditCard Load (0.3ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
2644
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
2645
+  (2.1ms) rollback transaction
2646
+  (0.1ms) begin transaction
2647
+  (0.1ms) SAVEPOINT active_record_1
2648
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00]]
2649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2650
+  (0.0ms) SAVEPOINT active_record_1
2651
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00]]
2652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2653
+  (0.1ms) SAVEPOINT active_record_1
2654
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00]]
2655
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2656
+  (0.0ms) SAVEPOINT active_record_1
2657
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
2658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2659
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2660
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2661
+  (0.1ms) SAVEPOINT active_record_1
2662
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00]]
2663
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2664
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2665
+  (0.1ms) SAVEPOINT active_record_1
2666
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:27 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:26 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
2667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2668
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2669
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2670
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
2671
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2672
+  (2.1ms) rollback transaction
2673
+  (0.1ms) begin transaction
2674
+  (0.1ms) SAVEPOINT active_record_1
2675
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00]]
2676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2677
+  (0.0ms) SAVEPOINT active_record_1
2678
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00]]
2679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2680
+  (0.1ms) SAVEPOINT active_record_1
2681
+ SQL (0.3ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["credit_cardable_id", 2], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00]]
2682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2683
+  (0.0ms) SAVEPOINT active_record_1
2684
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP4BaRyFJYl3py1q3xsf1IVQ/cards/CC4DiEesR18Tr2fPHz5uHbEA"]]
2685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2686
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2687
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2688
+  (0.1ms) SAVEPOINT active_record_1
2689
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00]]
2690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2691
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2692
+  (0.1ms) SAVEPOINT active_record_1
2693
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["local_entity_id", 2], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:27 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["uri", "/v1/customers/CU4EPqzr7YWAegGwGTBNZa76"]]
2694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2695
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2696
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 2], ["local_entity_type", "User"]]
2697
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 2], ["credit_cardable_type", "User"]]
2698
+  (2.1ms) rollback transaction
2699
+  (0.1ms) begin transaction
2700
+  (0.1ms) SAVEPOINT active_record_1
2701
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00]]
2702
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2703
+  (0.1ms) SAVEPOINT active_record_1
2704
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00]]
2705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2706
+  (0.0ms) SAVEPOINT active_record_1
2707
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2709
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2710
+ Transactionable::RemoteCreditCard Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2711
+  (0.1ms) SAVEPOINT active_record_1
2712
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00]]
2713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2714
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2715
+  (0.1ms) SAVEPOINT active_record_1
2716
+ SQL (0.5ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:27 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:27 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2718
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2719
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2720
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2721
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2722
+  (0.1ms) SAVEPOINT active_record_1
2723
+ SQL (0.9ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7f8a293ebc68,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00]]
2724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2725
+  (0.1ms) SAVEPOINT active_record_1
2726
+ SQL (0.3ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2728
+  (0.1ms) SAVEPOINT active_record_1
2729
+ SQL (0.4ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00]]
2730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2731
+ Transactionable::Transaction Load (0.2ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2732
+ Transactionable::RemoteTransaction Load (0.3ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2733
+ Transactionable::Debit Load (0.3ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2734
+  (2.1ms) rollback transaction
2735
+  (0.1ms) begin transaction
2736
+  (0.1ms) SAVEPOINT active_record_1
2737
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00]]
2738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2739
+  (0.1ms) SAVEPOINT active_record_1
2740
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00]]
2741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2742
+  (0.0ms) SAVEPOINT active_record_1
2743
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2745
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2746
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2747
+  (0.1ms) SAVEPOINT active_record_1
2748
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00]]
2749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2750
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2751
+  (0.1ms) SAVEPOINT active_record_1
2752
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:28 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:28 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2754
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2755
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2756
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2757
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2758
+  (0.1ms) SAVEPOINT active_record_1
2759
+ SQL (0.4ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7f8a29414258,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2760
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2761
+  (0.0ms) SAVEPOINT active_record_1
2762
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2763
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2764
+  (0.1ms) SAVEPOINT active_record_1
2765
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2766
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2767
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2768
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2769
+ Transactionable::Debit Load (0.4ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2770
+  (2.2ms) rollback transaction
2771
+  (0.1ms) begin transaction
2772
+  (0.1ms) SAVEPOINT active_record_1
2773
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2775
+  (0.1ms) SAVEPOINT active_record_1
2776
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2777
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2778
+  (0.0ms) SAVEPOINT active_record_1
2779
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2781
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2782
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2783
+  (0.1ms) SAVEPOINT active_record_1
2784
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2786
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2787
+  (0.1ms) SAVEPOINT active_record_1
2788
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:29 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2790
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2791
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2792
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2793
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2794
+  (0.1ms) SAVEPOINT active_record_1
2795
+ SQL (0.4ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7f8a2cd8ab40,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2797
+  (0.0ms) SAVEPOINT active_record_1
2798
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2800
+  (0.1ms) SAVEPOINT active_record_1
2801
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2802
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2803
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2804
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2805
+  (2.3ms) rollback transaction
2806
+  (0.1ms) begin transaction
2807
+  (0.1ms) SAVEPOINT active_record_1
2808
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2810
+  (0.1ms) SAVEPOINT active_record_1
2811
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2813
+  (0.1ms) SAVEPOINT active_record_1
2814
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2816
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2817
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2818
+  (0.1ms) SAVEPOINT active_record_1
2819
+ SQL (0.3ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00]]
2820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2821
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2822
+  (0.1ms) SAVEPOINT active_record_1
2823
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:30 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:29 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2824
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2825
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2826
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2827
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2828
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2829
+  (0.1ms) SAVEPOINT active_record_1
2830
+ SQL (0.3ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7f8a2ccb9928,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00]]
2831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2832
+  (0.0ms) SAVEPOINT active_record_1
2833
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2835
+  (0.1ms) SAVEPOINT active_record_1
2836
+ SQL (0.2ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00]]
2837
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2838
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2839
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2840
+  (2.1ms) rollback transaction
2841
+  (0.1ms) begin transaction
2842
+  (0.1ms) SAVEPOINT active_record_1
2843
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00]]
2844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2845
+  (0.1ms) SAVEPOINT active_record_1
2846
+ SQL (0.6ms) INSERT INTO "transactionable_credit_cards" ("created_at", "credit_cardable_id", "credit_cardable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["credit_cardable_id", 1], ["credit_cardable_type", "User"], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00]]
2847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2848
+  (0.0ms) SAVEPOINT active_record_1
2849
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"], ["type", "Transactionable::RemoteCreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/cards/CC2jcda3YthlpkHu2QplhpEu"]]
2850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2851
+ Transactionable::CreditCard Load (0.1ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."id" = ? LIMIT 1 [["id", 1]]
2852
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2853
+  (0.1ms) SAVEPOINT active_record_1
2854
+ SQL (0.2ms) UPDATE "transactionable_credit_cards" SET "description" = ?, "last_four" = ?, "brand" = ?, "expiration_month" = ?, "expiration_year" = ?, "expiration_date" = ?, "updated_at" = ? WHERE "transactionable_credit_cards"."id" = 1 [["description", "Visa (1111)"], ["last_four", 1111], ["brand", "Visa"], ["expiration_month", 12], ["expiration_year", 2016], ["expiration_date", Thu, 01 Dec 2016], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00]]
2855
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2856
+ Transactionable::RemoteCustomer Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2857
+  (0.1ms) SAVEPOINT active_record_1
2858
+ SQL (0.4ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "synced_at", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "User"], ["synced_at", 2014-01-10 13:03:30 -0500], ["type", "Transactionable::RemoteCustomer"], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["uri", "/v1/customers/CU2kPDAMO1FMAqryJzPaSrvs"]]
2859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2860
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
2861
+ Transactionable::RemoteCustomer Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCustomer') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "User"]]
2862
+ Transactionable::CreditCard Load (0.2ms) SELECT "transactionable_credit_cards".* FROM "transactionable_credit_cards" WHERE "transactionable_credit_cards"."credit_cardable_id" = ? AND "transactionable_credit_cards"."credit_cardable_type" = ? ORDER BY "transactionable_credit_cards"."id" ASC LIMIT 1 [["credit_cardable_id", 1], ["credit_cardable_type", "User"]]
2863
+ Transactionable::RemoteCreditCard Load (0.2ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteCreditCard') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::CreditCard"]]
2864
+  (0.1ms) SAVEPOINT active_record_1
2865
+ SQL (0.3ms) INSERT INTO "transactionable_transactions" ("amount", "created_at", "status", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["amount", #<BigDecimal:7f8a2cb204e0,'0.1337E2',18(45)>], ["created_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["status", "succeeded"], ["type", "Transactionable::Debit"], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00]]
2866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2867
+  (0.0ms) SAVEPOINT active_record_1
2868
+ SQL (0.2ms) INSERT INTO "transactionable_remote_entities" ("created_at", "local_entity_id", "local_entity_type", "type", "updated_at", "uri") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"], ["type", "Transactionable::RemoteTransaction"], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00], ["uri", "/v1/marketplaces/TEST-MP2hgu613pxQrR6LufBofGhW/debits/WD2qO5ACyGfr2zsdw8XUSv6f"]]
2869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2870
+  (0.1ms) SAVEPOINT active_record_1
2871
+ SQL (0.3ms) UPDATE "transactionable_transactions" SET "transactionable_id" = ?, "transactionable_type" = ?, "updated_at" = ? WHERE "transactionable_transactions"."type" IN ('Transactionable::Debit') AND "transactionable_transactions"."id" = 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"], ["updated_at", Fri, 10 Jan 2014 18:03:30 UTC +00:00]]
2872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2873
+ Transactionable::Transaction Load (0.1ms) SELECT "transactionable_transactions".* FROM "transactionable_transactions" WHERE "transactionable_transactions"."transactionable_id" = ? AND "transactionable_transactions"."transactionable_type" = ? ORDER BY "transactionable_transactions"."id" ASC LIMIT 1 [["transactionable_id", 1], ["transactionable_type", "Transactionable::CreditCard"]]
2874
+ Transactionable::RemoteTransaction Load (0.1ms) SELECT "transactionable_remote_entities".* FROM "transactionable_remote_entities" WHERE "transactionable_remote_entities"."type" IN ('Transactionable::RemoteTransaction') AND "transactionable_remote_entities"."local_entity_id" = ? AND "transactionable_remote_entities"."local_entity_type" = ? ORDER BY "transactionable_remote_entities"."id" ASC LIMIT 1 [["local_entity_id", 1], ["local_entity_type", "Transactionable::Transaction"]]
2875
+  (2.2ms) rollback transaction