proposal 0.0.3 → 0.0.4

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.
@@ -113,7 +113,15 @@ module Proposal
113
113
  end
114
114
 
115
115
  def remind?
116
- action == :remind
116
+ [:notify_remind, :invite_remind].include? action
117
+ end
118
+
119
+ def notify_remind?
120
+ action == :notify_remind
121
+ end
122
+
123
+ def invite_remind?
124
+ action == :invite_remind
117
125
  end
118
126
 
119
127
  def accepted?
@@ -141,14 +149,15 @@ module Proposal
141
149
  end
142
150
 
143
151
  # Sets +Time.now+ for the +reminded_at+ field in the database if the
144
- # proposal action is +:remind+. This method can be called repeatedly.
152
+ # proposal action is +:notify_remind+ or +:invite_remind+. This method can
153
+ # be called repeatedly.
145
154
  def reminded
146
155
  touch :reminded_at if remind?
147
156
  remind?
148
157
  end
149
158
 
150
159
  # Equivalent to +reminded+ except it will raise a +Proposal::RemindError+ if
151
- # the proposal action is not +:remind+
160
+ # the proposal action is not +:notify_remind+ or +:invite_remind+.
152
161
  def reminded!
153
162
  raise Proposal::RemindError, 'proposal action is not remind' unless remind?
154
163
  reminded
@@ -185,7 +194,8 @@ module Proposal
185
194
  # only be called if the the proposable is acceptable.
186
195
  def acceptable_action
187
196
  case
188
- when persisted? then :remind
197
+ when persisted? && recipient then :invite_remind
198
+ when persisted? && !recipient then :notify_remind
189
199
  when recipient.nil? then :invite
190
200
  else :notify
191
201
  end
@@ -1,3 +1,3 @@
1
1
  module Proposal
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -45305,3 +45305,776 @@ Migrating to CreateProjects (20121031041439)
45305
45305
   (0.0ms) begin transaction
45306
45306
  Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-06 02:40:37.177003') LIMIT 1
45307
45307
   (0.0ms) rollback transaction
45308
+ Connecting to database specified by database.yml
45309
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
45310
+ Migrating to CreateProposalTokens (20121026005348)
45311
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
45312
+ Migrating to CreateUsers (20121026035505)
45313
+ Migrating to CreateProjects (20121031041439)
45314
+  (0.0ms) begin transaction
45315
+  (0.0ms) SAVEPOINT active_record_1
45316
+ SQL (2.0ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45318
+ Proposal::Token Load (0.5ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45319
+  (0.1ms) SAVEPOINT active_record_1
45320
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45321
+ SQL (1.1ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "qgAi1JSY5KMzc5zSvG38"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45323
+  (0.0ms) SAVEPOINT active_record_1
45324
+ SQL (0.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45326
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 2 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45327
+  (0.0ms) SAVEPOINT active_record_1
45328
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 2 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45329
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 2], ["resource_type", "Project"], ["token", "xKUxwTsdtiDySeM5sUaZ"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45331
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 2 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45332
+  (0.5ms) rollback transaction
45333
+  (0.0ms) begin transaction
45334
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45335
+  (0.0ms) SAVEPOINT active_record_1
45336
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45337
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "CdDyjMeDhXuycSZsfzps"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45339
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:30:25.801837', "accepted_at" = '2012-11-08 21:30:25.801837' WHERE "proposal_tokens"."id" = 1
45340
+  (0.5ms) rollback transaction
45341
+  (0.0ms) begin transaction
45342
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45343
+  (0.0ms) SAVEPOINT active_record_1
45344
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45345
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "2mpBxW8SzTAZwKsgx4tA"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45347
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:30:25.806781', "accepted_at" = '2012-11-08 21:30:25.806781' WHERE "proposal_tokens"."id" = 1
45348
+  (0.4ms) rollback transaction
45349
+  (0.0ms) begin transaction
45350
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45351
+  (0.0ms) SAVEPOINT active_record_1
45352
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45353
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "z3qNCrhzFBAC2zpxqVm3"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45355
+  (0.4ms) rollback transaction
45356
+  (0.0ms) begin transaction
45357
+  (0.0ms) SAVEPOINT active_record_1
45358
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45360
+  (0.0ms) SAVEPOINT active_record_1
45361
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45363
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45364
+  (0.0ms) SAVEPOINT active_record_1
45365
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45366
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "xwPCdwTXpM4pBohgGUX2"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45368
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:30:25.821434', "accepted_at" = '2012-11-08 21:30:25.821434' WHERE "proposal_tokens"."id" = 1
45369
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45370
+  (0.0ms) SAVEPOINT active_record_1
45371
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45372
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "UcGartXpEEo5DKaWPE1p"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45374
+  (0.5ms) rollback transaction
45375
+  (0.0ms) begin transaction
45376
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45377
+  (0.0ms) SAVEPOINT active_record_1
45378
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45379
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "LWG7xbuKmu6ppp5uKwyf"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45381
+  (0.3ms) rollback transaction
45382
+  (0.0ms) begin transaction
45383
+  (0.0ms) SAVEPOINT active_record_1
45384
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45385
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45386
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45387
+  (0.0ms) SAVEPOINT active_record_1
45388
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45389
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "mHsDuMtV2p7yqcfaUBpX"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45391
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'mHsDuMtV2p7yqcfaUBpX' LIMIT 1
45392
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:30:25.832875', "accepted_at" = '2012-11-08 21:30:25.832875' WHERE "proposal_tokens"."id" = 1
45393
+  (0.3ms) rollback transaction
45394
+  (0.0ms) begin transaction
45395
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45396
+  (0.0ms) SAVEPOINT active_record_1
45397
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45398
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "PaC2pHNqqy26bHv9G1sP"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45399
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45400
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45401
+  (0.4ms) rollback transaction
45402
+  (0.0ms) begin transaction
45403
+  (0.0ms) SAVEPOINT active_record_1
45404
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45406
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45407
+  (0.0ms) SAVEPOINT active_record_1
45408
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45409
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "pHjHSW3y5QuYbXQQKRZF"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45411
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45412
+  (0.4ms) rollback transaction
45413
+  (0.0ms) begin transaction
45414
+  (0.0ms) SAVEPOINT active_record_1
45415
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45416
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 08 Nov 2013 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "NePiDzaWWzHieBQVddcq"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45418
+  (0.0ms) SAVEPOINT active_record_1
45419
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45420
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
45421
+  (0.3ms) rollback transaction
45422
+  (0.0ms) begin transaction
45423
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45424
+  (0.0ms) SAVEPOINT active_record_1
45425
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45426
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "ZkAkhAgMDqwQmRDmyzFu"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45428
+ SQL (0.3ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:30:25.853733', "accepted_at" = '2012-11-08 21:30:25.853733' WHERE "proposal_tokens"."id" = 1
45429
+  (0.5ms) rollback transaction
45430
+  (0.0ms) begin transaction
45431
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45432
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45433
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45434
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45435
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45436
+  (0.0ms) rollback transaction
45437
+  (0.0ms) begin transaction
45438
+  (0.0ms) SAVEPOINT active_record_1
45439
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45441
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45442
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45443
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45444
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45445
+  (0.4ms) rollback transaction
45446
+  (0.0ms) begin transaction
45447
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45448
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45449
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45450
+  (0.0ms) rollback transaction
45451
+  (0.0ms) begin transaction
45452
+  (0.0ms) SAVEPOINT active_record_1
45453
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45455
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45456
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45457
+  (0.4ms) rollback transaction
45458
+  (0.0ms) begin transaction
45459
+  (0.0ms) SAVEPOINT active_record_1
45460
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45462
+  (0.0ms) SAVEPOINT active_record_1
45463
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45465
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45466
+  (0.3ms) rollback transaction
45467
+  (0.0ms) begin transaction
45468
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45469
+  (0.0ms) SAVEPOINT active_record_1
45470
+ Proposal::Token Exists (0.2ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45471
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", "---\n- admin\n- 1\n"], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "RD7xCybTRtmApZwyrHib"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45473
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'RD7xCybTRtmApZwyrHib' LIMIT 1
45474
+  (0.3ms) rollback transaction
45475
+  (0.0ms) begin transaction
45476
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45477
+  (0.0ms) SAVEPOINT active_record_1
45478
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45479
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "sKXogHedqTk53xmXyoVv"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45481
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User'
45482
+  (0.4ms) rollback transaction
45483
+  (0.0ms) begin transaction
45484
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45485
+  (0.0ms) SAVEPOINT active_record_1
45486
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45487
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", "---\n:role: admin\n"], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "ryc16H1jh2gBkf8SwXyx"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45489
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'ryc16H1jh2gBkf8SwXyx' LIMIT 1
45490
+  (0.4ms) rollback transaction
45491
+  (0.0ms) begin transaction
45492
+  (0.0ms) SAVEPOINT active_record_1
45493
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45495
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45496
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45497
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45498
+  (0.4ms) rollback transaction
45499
+  (0.0ms) begin transaction
45500
+  (0.0ms) SAVEPOINT active_record_1
45501
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45503
+  (0.0ms) SAVEPOINT active_record_1
45504
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45506
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45507
+  (0.0ms) SAVEPOINT active_record_1
45508
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45509
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "jtpsjquXtoBtQfxTv3tZ"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45511
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1
45512
+  (0.5ms) rollback transaction
45513
+  (0.0ms) begin transaction
45514
+  (0.0ms) SAVEPOINT active_record_1
45515
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45517
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45518
+  (0.4ms) rollback transaction
45519
+  (0.0ms) begin transaction
45520
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45521
+  (0.0ms) SAVEPOINT active_record_1
45522
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45523
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "y9w5GTCsYRmPhpUcphxs"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45525
+  (0.4ms) rollback transaction
45526
+  (0.0ms) begin transaction
45527
+  (0.0ms) SAVEPOINT active_record_1
45528
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45530
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45531
+  (0.0ms) SAVEPOINT active_record_1
45532
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45533
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:30:25 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "RgAu2Fsehkzss1psKMj6"], ["updated_at", Thu, 08 Nov 2012 21:30:25 UTC +00:00]]
45534
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45535
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45536
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:30:25.928501', "reminded_at" = '2012-11-08 21:30:25.928501' WHERE "proposal_tokens"."id" = 1
45537
+  (0.5ms) rollback transaction
45538
+  (0.0ms) begin transaction
45539
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45540
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45541
+  (0.0ms) rollback transaction
45542
+  (0.0ms) begin transaction
45543
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45544
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45545
+  (0.0ms) rollback transaction
45546
+  (0.0ms) begin transaction
45547
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45548
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45549
+  (0.0ms) rollback transaction
45550
+  (0.0ms) begin transaction
45551
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45552
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45553
+  (0.0ms) rollback transaction
45554
+  (0.0ms) begin transaction
45555
+  (0.0ms) rollback transaction
45556
+  (0.0ms) begin transaction
45557
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:30:25.567846') LIMIT 1
45558
+  (0.0ms) rollback transaction
45559
+ Connecting to database specified by database.yml
45560
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
45561
+ Migrating to CreateProposalTokens (20121026005348)
45562
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
45563
+ Migrating to CreateUsers (20121026035505)
45564
+ Migrating to CreateProjects (20121031041439)
45565
+  (0.1ms) begin transaction
45566
+  (0.0ms) SAVEPOINT active_record_1
45567
+ SQL (0.9ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45569
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45570
+  (0.1ms) SAVEPOINT active_record_1
45571
+ Proposal::Token Exists (0.2ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45572
+ SQL (0.6ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "ey5PBkehDqnHimSTz32w"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45574
+  (0.0ms) SAVEPOINT active_record_1
45575
+ SQL (0.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45577
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 2 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45578
+  (0.0ms) SAVEPOINT active_record_1
45579
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 2 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45580
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 2], ["resource_type", "Project"], ["token", "8sfEZgJnoBGYKoLeWWCs"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45582
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 2 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45583
+  (2.8ms) rollback transaction
45584
+  (0.1ms) begin transaction
45585
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45586
+  (0.0ms) SAVEPOINT active_record_1
45587
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45588
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "xSHqksyypKFyAyYdrvRp"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45590
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:33:34.436394', "accepted_at" = '2012-11-08 21:33:34.436394' WHERE "proposal_tokens"."id" = 1
45591
+  (0.5ms) rollback transaction
45592
+  (0.0ms) begin transaction
45593
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45594
+  (0.0ms) SAVEPOINT active_record_1
45595
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45596
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "xaNWvNiXEq1D7Dq4ViQD"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45598
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:33:34.441269', "accepted_at" = '2012-11-08 21:33:34.441269' WHERE "proposal_tokens"."id" = 1
45599
+  (0.5ms) rollback transaction
45600
+  (0.1ms) begin transaction
45601
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45602
+  (0.0ms) SAVEPOINT active_record_1
45603
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45604
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "QfdBq8prsSzyzxuDkcGZ"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45606
+  (0.3ms) rollback transaction
45607
+  (0.0ms) begin transaction
45608
+  (0.0ms) SAVEPOINT active_record_1
45609
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45611
+  (0.0ms) SAVEPOINT active_record_1
45612
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45614
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45615
+  (0.0ms) SAVEPOINT active_record_1
45616
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45617
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "LoQcgxzywBRi117Mftyh"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45619
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:33:34.455232', "accepted_at" = '2012-11-08 21:33:34.455232' WHERE "proposal_tokens"."id" = 1
45620
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45621
+  (0.0ms) SAVEPOINT active_record_1
45622
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45623
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "81c2b9Wtnx7Y8xvQ9q5d"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45625
+  (0.6ms) rollback transaction
45626
+  (0.0ms) begin transaction
45627
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45628
+  (0.2ms) SAVEPOINT active_record_1
45629
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45630
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "K1jaPpxgBuvumspRFJYx"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45632
+  (0.4ms) rollback transaction
45633
+  (0.0ms) begin transaction
45634
+  (0.0ms) SAVEPOINT active_record_1
45635
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45637
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45638
+  (0.0ms) SAVEPOINT active_record_1
45639
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45640
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "Ufkg9jUHyZEm3vtSn4zs"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45642
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'Ufkg9jUHyZEm3vtSn4zs' LIMIT 1
45643
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:33:34.471763', "accepted_at" = '2012-11-08 21:33:34.471763' WHERE "proposal_tokens"."id" = 1
45644
+  (0.4ms) rollback transaction
45645
+  (0.0ms) begin transaction
45646
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45647
+  (0.0ms) SAVEPOINT active_record_1
45648
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45649
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "jDC7tqn4HPLipqpS3Z6z"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45651
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45652
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45653
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45654
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45655
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45656
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45657
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45658
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45659
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45660
+  (0.3ms) rollback transaction
45661
+  (0.0ms) begin transaction
45662
+  (0.0ms) SAVEPOINT active_record_1
45663
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45665
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45666
+  (0.0ms) SAVEPOINT active_record_1
45667
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45668
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "ttzzAGBzEAqgFnuUAbGj"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45669
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45670
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45671
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45672
+  (0.5ms) rollback transaction
45673
+  (0.0ms) begin transaction
45674
+  (0.0ms) SAVEPOINT active_record_1
45675
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45676
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 08 Nov 2013 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "taqJTAAF8DN4gu17gqRL"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45678
+  (0.0ms) SAVEPOINT active_record_1
45679
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45680
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
45681
+  (0.5ms) rollback transaction
45682
+  (0.0ms) begin transaction
45683
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45684
+  (0.0ms) SAVEPOINT active_record_1
45685
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45686
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "RiWGb6aqUCd8BC81VKXa"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45688
+ SQL (0.3ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:33:34.494639', "accepted_at" = '2012-11-08 21:33:34.494639' WHERE "proposal_tokens"."id" = 1
45689
+  (0.6ms) rollback transaction
45690
+  (0.0ms) begin transaction
45691
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45692
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45693
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45694
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45695
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45696
+  (0.0ms) rollback transaction
45697
+  (0.0ms) begin transaction
45698
+  (0.0ms) SAVEPOINT active_record_1
45699
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45701
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45702
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45703
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45704
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45705
+  (0.3ms) rollback transaction
45706
+  (0.1ms) begin transaction
45707
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45708
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45709
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45710
+  (0.1ms) rollback transaction
45711
+  (0.0ms) begin transaction
45712
+  (0.0ms) SAVEPOINT active_record_1
45713
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45715
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45716
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45717
+  (0.3ms) rollback transaction
45718
+  (0.0ms) begin transaction
45719
+  (0.0ms) SAVEPOINT active_record_1
45720
+ SQL (0.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45722
+  (0.0ms) SAVEPOINT active_record_1
45723
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45725
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45726
+  (0.5ms) rollback transaction
45727
+  (0.0ms) begin transaction
45728
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45729
+  (0.0ms) SAVEPOINT active_record_1
45730
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45731
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", "---\n- admin\n- 1\n"], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "VyhxcYNA8fxjqQdpnpzG"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45733
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'VyhxcYNA8fxjqQdpnpzG' LIMIT 1
45734
+  (0.3ms) rollback transaction
45735
+  (0.0ms) begin transaction
45736
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45737
+  (0.0ms) SAVEPOINT active_record_1
45738
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45739
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "y5NhZxxdDFyQgth1qtbP"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45741
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User'
45742
+  (0.3ms) rollback transaction
45743
+  (0.0ms) begin transaction
45744
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45745
+  (0.0ms) SAVEPOINT active_record_1
45746
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45747
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", "---\n:role: admin\n"], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "S9MEsvfzEcnBwgdZbqsh"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45749
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'S9MEsvfzEcnBwgdZbqsh' LIMIT 1
45750
+  (0.5ms) rollback transaction
45751
+  (0.0ms) begin transaction
45752
+  (0.0ms) SAVEPOINT active_record_1
45753
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45755
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45756
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45757
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45758
+  (0.4ms) rollback transaction
45759
+  (0.0ms) begin transaction
45760
+  (0.0ms) SAVEPOINT active_record_1
45761
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45762
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45763
+  (0.0ms) SAVEPOINT active_record_1
45764
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45766
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45767
+  (0.0ms) SAVEPOINT active_record_1
45768
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45769
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "HkSXLx6BmxAmYoExxXtX"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45771
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1
45772
+  (0.6ms) rollback transaction
45773
+  (0.0ms) begin transaction
45774
+  (0.0ms) SAVEPOINT active_record_1
45775
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45777
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45778
+  (0.3ms) rollback transaction
45779
+  (0.1ms) begin transaction
45780
+ Proposal::Token Load (0.3ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45781
+  (0.0ms) SAVEPOINT active_record_1
45782
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45783
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "vytBFt5fyhmjJH3yqTsU"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45785
+  (0.3ms) rollback transaction
45786
+  (0.0ms) begin transaction
45787
+  (0.0ms) SAVEPOINT active_record_1
45788
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45790
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45791
+  (0.0ms) SAVEPOINT active_record_1
45792
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45793
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:33:34 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "ZapSiiy4o2d466Gh1aSz"], ["updated_at", Thu, 08 Nov 2012 21:33:34 UTC +00:00]]
45794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45795
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45796
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45797
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:33:34.574335', "reminded_at" = '2012-11-08 21:33:34.574335' WHERE "proposal_tokens"."id" = 1
45798
+  (0.5ms) rollback transaction
45799
+  (0.0ms) begin transaction
45800
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45801
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45802
+  (0.0ms) rollback transaction
45803
+  (0.0ms) begin transaction
45804
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45805
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45806
+  (0.0ms) rollback transaction
45807
+  (0.0ms) begin transaction
45808
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45809
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45810
+  (0.0ms) rollback transaction
45811
+  (0.0ms) begin transaction
45812
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45813
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45814
+  (0.0ms) rollback transaction
45815
+  (0.0ms) begin transaction
45816
+  (0.0ms) rollback transaction
45817
+  (0.0ms) begin transaction
45818
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:33:34.254650') LIMIT 1
45819
+  (0.0ms) rollback transaction
45820
+ Connecting to database specified by database.yml
45821
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
45822
+ Migrating to CreateProposalTokens (20121026005348)
45823
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
45824
+ Migrating to CreateUsers (20121026035505)
45825
+ Migrating to CreateProjects (20121031041439)
45826
+  (0.0ms) begin transaction
45827
+  (0.0ms) SAVEPOINT active_record_1
45828
+ SQL (1.0ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45830
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45831
+  (0.1ms) SAVEPOINT active_record_1
45832
+ Proposal::Token Exists (0.2ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45833
+ SQL (0.6ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "pL4hD2q2Pg3W1eX8Sbr2"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45835
+  (0.0ms) SAVEPOINT active_record_1
45836
+ SQL (0.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45838
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 2 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45839
+  (0.0ms) SAVEPOINT active_record_1
45840
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 2 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45841
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 2], ["resource_type", "Project"], ["token", "kad44pPfHSb9yQf8KvfF"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45843
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 2 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45844
+  (0.5ms) rollback transaction
45845
+  (0.0ms) begin transaction
45846
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45847
+  (0.0ms) SAVEPOINT active_record_1
45848
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45849
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "nTnq1cpjwSKgcoH1nz3j"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45851
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:36:08.397042', "accepted_at" = '2012-11-08 21:36:08.397042' WHERE "proposal_tokens"."id" = 1
45852
+  (0.5ms) rollback transaction
45853
+  (0.0ms) begin transaction
45854
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45855
+  (0.0ms) SAVEPOINT active_record_1
45856
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45857
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "q2Yhsp21WJ5Utpv9Yacg"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45859
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:36:08.401971', "accepted_at" = '2012-11-08 21:36:08.401971' WHERE "proposal_tokens"."id" = 1
45860
+  (0.4ms) rollback transaction
45861
+  (0.0ms) begin transaction
45862
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45863
+  (0.0ms) SAVEPOINT active_record_1
45864
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45865
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "uutWqn8NdgyXCrX3Qjyw"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45867
+  (0.4ms) rollback transaction
45868
+  (0.0ms) begin transaction
45869
+  (0.0ms) SAVEPOINT active_record_1
45870
+ SQL (0.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45872
+  (0.0ms) SAVEPOINT active_record_1
45873
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45875
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45876
+  (0.0ms) SAVEPOINT active_record_1
45877
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45878
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "HBTpYJ8UdJY7dTQFFF79"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45879
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45880
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:36:08.417134', "accepted_at" = '2012-11-08 21:36:08.417134' WHERE "proposal_tokens"."id" = 1
45881
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45882
+  (0.0ms) SAVEPOINT active_record_1
45883
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45884
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "1gyjSgbMjCom8xeQxLxz"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45886
+  (0.5ms) rollback transaction
45887
+  (0.0ms) begin transaction
45888
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45889
+  (0.0ms) SAVEPOINT active_record_1
45890
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45891
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "XeWAquiDHEe8CWdsY88R"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45893
+  (0.4ms) rollback transaction
45894
+  (0.0ms) begin transaction
45895
+  (0.0ms) SAVEPOINT active_record_1
45896
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45898
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45899
+  (0.0ms) SAVEPOINT active_record_1
45900
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45901
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "yKAdEwGEFSAW3aXJjWcs"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45903
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'yKAdEwGEFSAW3aXJjWcs' LIMIT 1
45904
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:36:08.428451', "accepted_at" = '2012-11-08 21:36:08.428451' WHERE "proposal_tokens"."id" = 1
45905
+  (0.3ms) rollback transaction
45906
+  (0.1ms) begin transaction
45907
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45908
+  (0.0ms) SAVEPOINT active_record_1
45909
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45910
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "moCscYxy2h5Uopvfnarp"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45912
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45913
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45914
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45915
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45916
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45917
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45918
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45919
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45920
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45921
+  (0.3ms) rollback transaction
45922
+  (0.0ms) begin transaction
45923
+  (0.0ms) SAVEPOINT active_record_1
45924
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45926
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45927
+  (0.0ms) SAVEPOINT active_record_1
45928
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45929
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "BkzAExcQReVNDzfnC6UF"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45931
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45932
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45933
+  (0.5ms) rollback transaction
45934
+  (0.0ms) begin transaction
45935
+  (0.0ms) SAVEPOINT active_record_1
45936
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45937
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 08 Nov 2013 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "1iyyMRdxZZCtvYRSpot9"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45938
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45939
+  (0.0ms) SAVEPOINT active_record_1
45940
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45941
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
45942
+  (0.3ms) rollback transaction
45943
+  (0.0ms) begin transaction
45944
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45945
+  (0.0ms) SAVEPOINT active_record_1
45946
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45947
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "7ZySvmdQJZx5f4DrgLBq"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
45949
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:36:08.452024', "accepted_at" = '2012-11-08 21:36:08.452024' WHERE "proposal_tokens"."id" = 1
45950
+  (0.5ms) rollback transaction
45951
+  (0.0ms) begin transaction
45952
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45953
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45954
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45955
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45956
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45957
+  (0.0ms) rollback transaction
45958
+  (0.0ms) begin transaction
45959
+  (0.0ms) SAVEPOINT active_record_1
45960
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45962
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45963
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45964
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45965
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45966
+  (0.5ms) rollback transaction
45967
+  (0.1ms) begin transaction
45968
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45969
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45970
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45971
+  (0.0ms) rollback transaction
45972
+  (0.0ms) begin transaction
45973
+  (0.0ms) SAVEPOINT active_record_1
45974
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45976
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45977
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
45978
+  (0.3ms) rollback transaction
45979
+  (0.0ms) begin transaction
45980
+  (0.0ms) SAVEPOINT active_record_1
45981
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45983
+  (0.0ms) SAVEPOINT active_record_1
45984
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45986
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45987
+  (0.3ms) rollback transaction
45988
+  (0.0ms) begin transaction
45989
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45990
+  (0.0ms) SAVEPOINT active_record_1
45991
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45992
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", "---\n- admin\n- 1\n"], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "MNFJZf3kKEhSkFAbkbpU"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
45993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45994
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'MNFJZf3kKEhSkFAbkbpU' LIMIT 1
45995
+  (0.3ms) rollback transaction
45996
+  (0.0ms) begin transaction
45997
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
45998
+  (0.0ms) SAVEPOINT active_record_1
45999
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46000
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "cq9buk93H6xgnKxyCkbx"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46002
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User'
46003
+  (0.3ms) rollback transaction
46004
+  (0.0ms) begin transaction
46005
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46006
+  (0.0ms) SAVEPOINT active_record_1
46007
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46008
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", "---\n:role: admin\n"], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "HZuSRohYAbFdE3YrzGtm"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46010
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'HZuSRohYAbFdE3YrzGtm' LIMIT 1
46011
+  (0.3ms) rollback transaction
46012
+  (0.0ms) begin transaction
46013
+  (0.0ms) SAVEPOINT active_record_1
46014
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46016
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46017
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
46018
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46019
+  (0.5ms) rollback transaction
46020
+  (0.0ms) begin transaction
46021
+  (0.0ms) SAVEPOINT active_record_1
46022
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46024
+  (0.0ms) SAVEPOINT active_record_1
46025
+ SQL (0.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46027
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46028
+  (0.0ms) SAVEPOINT active_record_1
46029
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46030
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "B6amaDAYjf1u4vkpgfNJ"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46032
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1
46033
+  (0.4ms) rollback transaction
46034
+  (0.0ms) begin transaction
46035
+  (0.0ms) SAVEPOINT active_record_1
46036
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46038
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1 AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46039
+  (0.5ms) rollback transaction
46040
+  (0.0ms) begin transaction
46041
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46042
+  (0.0ms) SAVEPOINT active_record_1
46043
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46044
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "2MVgxYVPPScdEZK1Nb7R"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46046
+  (0.3ms) rollback transaction
46047
+  (0.0ms) begin transaction
46048
+  (0.0ms) SAVEPOINT active_record_1
46049
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46051
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46052
+  (0.0ms) SAVEPOINT active_record_1
46053
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46054
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 09 Nov 2012 21:36:08 UTC +00:00], ["proposable_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "PwctGAXLGqudU5MSDyMj"], ["updated_at", Thu, 08 Nov 2012 21:36:08 UTC +00:00]]
46055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46056
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46057
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
46058
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-08 21:36:08.530460', "reminded_at" = '2012-11-08 21:36:08.530460' WHERE "proposal_tokens"."id" = 1
46059
+  (0.4ms) rollback transaction
46060
+  (0.0ms) begin transaction
46061
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46062
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46063
+  (0.0ms) rollback transaction
46064
+  (0.0ms) begin transaction
46065
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46066
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46067
+  (0.0ms) rollback transaction
46068
+  (0.0ms) begin transaction
46069
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46070
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46071
+  (0.0ms) rollback transaction
46072
+  (0.0ms) begin transaction
46073
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46074
+ Proposal::Token Exists (0.1ms) SELECT 1 AS one FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."resource_type" IS NULL AND "proposal_tokens"."resource_id" IS NULL AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46075
+  (0.0ms) rollback transaction
46076
+  (0.0ms) begin transaction
46077
+  (0.0ms) rollback transaction
46078
+  (0.0ms) begin transaction
46079
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."email" = 'user@example.com' AND "proposal_tokens"."proposable_type" = 'User' AND (accepted_at IS NULL) AND (expires_at > '2012-11-08 21:36:08.216589') LIMIT 1
46080
+  (0.0ms) rollback transaction
@@ -183,14 +183,29 @@ class ProposalTest < ActiveSupport::TestCase
183
183
  assert_equal true, proposal.invite?
184
184
  end
185
185
 
186
- test "should not return proposal action remind" do
186
+ test "should have action remind for invite (new user)" do
187
+ existing = User.propose.to email
188
+ existing.save!
189
+
190
+ proposal = User.propose.to email
191
+
192
+ assert_equal true, proposal.remind?
193
+ assert_equal true, proposal.notify_remind?
194
+ assert_equal false, proposal.invite_remind?
195
+ assert_equal :notify_remind, proposal.action
196
+ end
197
+
198
+ test "should have action remind for notify (existing user)" do
187
199
  user = User.create email: email
188
200
  existing = User.propose.to email
189
201
  existing.save!
190
202
 
191
203
  proposal = User.propose.to email
192
- assert_equal :remind, proposal.action
204
+
193
205
  assert_equal true, proposal.remind?
206
+ assert_equal true, proposal.invite_remind?
207
+ assert_equal false, proposal.notify_remind?
208
+ assert_equal :invite_remind, proposal.action
194
209
  end
195
210
 
196
211
  test "should not return no action if accepted" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proposal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-06 00:00:00.000000000 Z
12
+ date: 2012-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -116,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  segments:
118
118
  - 0
119
- hash: 2943663682525270322
119
+ hash: 2423557025523420523
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  none: false
122
122
  requirements:
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  segments:
127
127
  - 0
128
- hash: 2943663682525270322
128
+ hash: 2423557025523420523
129
129
  requirements: []
130
130
  rubyforge_project:
131
131
  rubygems_version: 1.8.24