proposal 0.0.6 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,20 @@
1
1
  Dummy::Application.routes.draw do
2
- # The priority is based upon order of creation:
3
- # first created -> highest priority.
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+ # See how all your routes lay out with "rake routes".
4
4
 
5
- # Sample of regular route:
6
- # match 'products/:id' => 'catalog#view'
7
- # Keep in mind you can assign values other than :controller and :action
5
+ # You can have the root of your site routed with "root"
6
+ # root 'welcome#index'
7
+
8
+ # Example of regular route:
9
+ # get 'products/:id' => 'catalog#view'
8
10
 
9
- # Sample of named route:
10
- # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
11
- # This route can be invoked with purchase_url(:id => product.id)
11
+ # Example of named route that can be invoked with purchase_url(id: product.id)
12
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
12
13
 
13
- # Sample resource route (maps HTTP verbs to controller actions automatically):
14
+ # Example resource route (maps HTTP verbs to controller actions automatically):
14
15
  # resources :products
15
16
 
16
- # Sample resource route with options:
17
+ # Example resource route with options:
17
18
  # resources :products do
18
19
  # member do
19
20
  # get 'short'
@@ -25,34 +26,31 @@ Dummy::Application.routes.draw do
25
26
  # end
26
27
  # end
27
28
 
28
- # Sample resource route with sub-resources:
29
+ # Example resource route with sub-resources:
29
30
  # resources :products do
30
31
  # resources :comments, :sales
31
32
  # resource :seller
32
33
  # end
33
34
 
34
- # Sample resource route with more complex sub-resources
35
+ # Example resource route with more complex sub-resources:
35
36
  # resources :products do
36
37
  # resources :comments
37
38
  # resources :sales do
38
- # get 'recent', :on => :collection
39
+ # get 'recent', on: :collection
39
40
  # end
40
41
  # end
42
+
43
+ # Example resource route with concerns:
44
+ # concern :toggleable do
45
+ # post 'toggle'
46
+ # end
47
+ # resources :posts, concerns: :toggleable
48
+ # resources :photos, concerns: :toggleable
41
49
 
42
- # Sample resource route within a namespace:
50
+ # Example resource route within a namespace:
43
51
  # namespace :admin do
44
52
  # # Directs /admin/products/* to Admin::ProductsController
45
53
  # # (app/controllers/admin/products_controller.rb)
46
54
  # resources :products
47
55
  # end
48
-
49
- # You can have the root of your site routed with "root"
50
- # just remember to delete public/index.html.
51
- # root :to => 'welcome#index'
52
-
53
- # See how all your routes lay out with "rake routes"
54
-
55
- # This is a legacy wild controller route that's not recommended for RESTful applications.
56
- # Note: This route will make all actions in every controller accessible via GET requests.
57
- # match ':controller(/:action(/:id))(.:format)'
58
56
  end
File without changes
File without changes
@@ -53531,3 +53531,1452 @@ Migrating to CreateProjects (20121031041439)
53531
53531
   (0.0ms) begin transaction
53532
53532
  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-17 04:02:11.575678') LIMIT 1
53533
53533
   (0.0ms) rollback transaction
53534
+ Connecting to database specified by database.yml
53535
+ Connecting to database specified by database.yml
53536
+ Connecting to database specified by database.yml
53537
+ Connecting to database specified by database.yml
53538
+ Connecting to database specified by database.yml
53539
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
53540
+ Migrating to CreateProposalTokens (20121026005348)
53541
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
53542
+ Migrating to CreateUsers (20121026035505)
53543
+ Migrating to CreateProjects (20121031041439)
53544
+  (0.1ms) begin transaction
53545
+  (0.0ms) SAVEPOINT active_record_1
53546
+ SQL (1.6ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53548
+ 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-17 04:28:59.134725') LIMIT 1
53549
+  (0.1ms) SAVEPOINT active_record_1
53550
+ 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-17 04:28:59.134725') LIMIT 1
53551
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "atG3pxM6qM4PsS3RirFz"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53553
+  (0.0ms) SAVEPOINT active_record_1
53554
+ SQL (0.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53556
+ 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-17 04:28:59.134725') LIMIT 1
53557
+  (0.0ms) SAVEPOINT active_record_1
53558
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53559
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", 2], ["resource_type", "Project"], ["token", "HxwcayR9bUZyb96xM9uJ"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53561
+ 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-17 04:28:59.134725') LIMIT 1
53562
+  (2.8ms) rollback transaction
53563
+  (0.0ms) begin transaction
53564
+ 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-17 04:28:59.134725') LIMIT 1
53565
+  (0.0ms) SAVEPOINT active_record_1
53566
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53567
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "cr4XR7nU6EeQopzgo19F"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53568
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53569
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-17 04:28:59.501000', "accepted_at" = '2012-11-17 04:28:59.501000' WHERE "proposal_tokens"."id" = 1
53570
+  (0.5ms) rollback transaction
53571
+  (0.0ms) begin transaction
53572
+ 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-17 04:28:59.134725') LIMIT 1
53573
+  (0.0ms) SAVEPOINT active_record_1
53574
+ 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-17 04:28:59.134725') LIMIT 1
53575
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "kz2a3RfFpw5v3QiXVHFP"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53577
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-17 04:28:59.505744', "accepted_at" = '2012-11-17 04:28:59.505744' WHERE "proposal_tokens"."id" = 1
53578
+  (0.4ms) rollback transaction
53579
+  (0.0ms) begin transaction
53580
+ 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-17 04:28:59.134725') LIMIT 1
53581
+  (0.0ms) SAVEPOINT active_record_1
53582
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53583
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "HJ57SZpNpLyMz9kojtof"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53585
+  (0.4ms) rollback transaction
53586
+  (0.0ms) begin transaction
53587
+  (0.0ms) SAVEPOINT active_record_1
53588
+ SQL (0.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53590
+  (0.0ms) SAVEPOINT active_record_1
53591
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53593
+ 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-17 04:28:59.134725') LIMIT 1
53594
+  (0.0ms) SAVEPOINT active_record_1
53595
+ 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-17 04:28:59.134725') LIMIT 1
53596
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "JEy6Mids9o2fsVvsqpqp"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53598
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-17 04:28:59.519221', "accepted_at" = '2012-11-17 04:28:59.519221' WHERE "proposal_tokens"."id" = 1
53599
+ 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-17 04:28:59.134725') LIMIT 1
53600
+  (0.0ms) SAVEPOINT active_record_1
53601
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53602
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "8qt1hcRnW62kE678FpPW"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53604
+  (0.5ms) rollback transaction
53605
+  (0.0ms) begin transaction
53606
+ 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-17 04:28:59.134725') LIMIT 1
53607
+  (0.0ms) SAVEPOINT active_record_1
53608
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53609
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "hm8LpBdLRyBCvQjzNPzj"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53611
+  (0.4ms) rollback transaction
53612
+  (0.0ms) begin transaction
53613
+  (0.0ms) SAVEPOINT active_record_1
53614
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53616
+ 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-17 04:28:59.134725') LIMIT 1
53617
+  (0.0ms) SAVEPOINT active_record_1
53618
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53619
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "FL18Yt9fRpTgnvrRpKfK"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53621
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'FL18Yt9fRpTgnvrRpKfK' LIMIT 1
53622
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-17 04:28:59.530365', "accepted_at" = '2012-11-17 04:28:59.530365' WHERE "proposal_tokens"."id" = 1
53623
+  (0.6ms) rollback transaction
53624
+  (0.1ms) begin transaction
53625
+ 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-17 04:28:59.134725') LIMIT 1
53626
+  (0.0ms) SAVEPOINT active_record_1
53627
+ 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-17 04:28:59.134725') LIMIT 1
53628
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "DQ9QGtNahVPg16xsQ2qs"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53630
+ 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-17 04:28:59.134725') LIMIT 1
53631
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53632
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53633
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53634
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53635
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53636
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53637
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53638
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53639
+  (0.3ms) rollback transaction
53640
+  (0.0ms) begin transaction
53641
+  (0.0ms) SAVEPOINT active_record_1
53642
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53644
+ 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-17 04:28:59.134725') LIMIT 1
53645
+  (0.0ms) SAVEPOINT active_record_1
53646
+ 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-17 04:28:59.134725') LIMIT 1
53647
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "ZsBpqobEsJc98Hq97KYJ"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53648
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53649
+ 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-17 04:28:59.134725') LIMIT 1
53650
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53651
+  (0.6ms) rollback transaction
53652
+  (0.0ms) begin transaction
53653
+  (0.0ms) SAVEPOINT active_record_1
53654
+ 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-17 04:28:59.134725') LIMIT 1
53655
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 17 Nov 2013 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "8FfgxWpSMB8i4BATzyjr"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53657
+  (0.0ms) SAVEPOINT active_record_1
53658
+ 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-17 04:28:59.134725') LIMIT 1
53659
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
53660
+  (0.5ms) rollback transaction
53661
+  (0.0ms) begin transaction
53662
+ 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-17 04:28:59.134725') LIMIT 1
53663
+  (0.0ms) SAVEPOINT active_record_1
53664
+ 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-17 04:28:59.134725') LIMIT 1
53665
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "HvRYMNPYwXgWa2bGEtsR"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53667
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-17 04:28:59.557050', "accepted_at" = '2012-11-17 04:28:59.557050' WHERE "proposal_tokens"."id" = 1
53668
+  (0.5ms) rollback transaction
53669
+  (0.0ms) begin transaction
53670
+ 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-17 04:28:59.134725') LIMIT 1
53671
+ 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-17 04:28:59.134725') LIMIT 1
53672
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53673
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53674
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53675
+  (0.0ms) rollback transaction
53676
+  (0.0ms) begin transaction
53677
+  (0.0ms) SAVEPOINT active_record_1
53678
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53680
+ 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-17 04:28:59.134725') LIMIT 1
53681
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53682
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53683
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53684
+  (0.5ms) rollback transaction
53685
+  (0.0ms) begin transaction
53686
+ 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-17 04:28:59.134725') LIMIT 1
53687
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53688
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53689
+  (0.0ms) rollback transaction
53690
+  (0.0ms) begin transaction
53691
+ 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-17 04:28:59.134725') LIMIT 1
53692
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53693
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53694
+  (0.0ms) rollback transaction
53695
+  (0.0ms) begin transaction
53696
+  (0.0ms) SAVEPOINT active_record_1
53697
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53699
+ 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-17 04:28:59.134725') LIMIT 1
53700
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53701
+  (0.3ms) rollback transaction
53702
+  (0.0ms) begin transaction
53703
+  (0.0ms) SAVEPOINT active_record_1
53704
+ SQL (0.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53706
+  (0.0ms) SAVEPOINT active_record_1
53707
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53709
+ 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-17 04:28:59.134725') LIMIT 1
53710
+  (0.3ms) rollback transaction
53711
+  (0.0ms) begin transaction
53712
+ 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-17 04:28:59.134725') LIMIT 1
53713
+  (0.0ms) SAVEPOINT active_record_1
53714
+ 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-17 04:28:59.134725') LIMIT 1
53715
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", "---\n- admin\n- 1\n"], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "uSYf68Hxmq8BLrVNGHuQ"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53717
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'uSYf68Hxmq8BLrVNGHuQ' LIMIT 1
53718
+  (0.4ms) rollback transaction
53719
+  (0.0ms) begin transaction
53720
+ 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-17 04:28:59.134725') LIMIT 1
53721
+  (0.0ms) SAVEPOINT active_record_1
53722
+ 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-17 04:28:59.134725') LIMIT 1
53723
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "k9uubf7sbLsjrg1xzyRS"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53725
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User'
53726
+  (0.4ms) rollback transaction
53727
+  (0.0ms) begin transaction
53728
+ 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-17 04:28:59.134725') LIMIT 1
53729
+  (0.0ms) SAVEPOINT active_record_1
53730
+ 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-17 04:28:59.134725') LIMIT 1
53731
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", "---\n:role: admin\n"], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "JdyKXsvvBys7qkeBmr1b"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53733
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'JdyKXsvvBys7qkeBmr1b' LIMIT 1
53734
+  (0.5ms) rollback transaction
53735
+  (0.0ms) begin transaction
53736
+  (0.0ms) SAVEPOINT active_record_1
53737
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53738
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53739
+ 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-17 04:28:59.134725') LIMIT 1
53740
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53741
+ 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-17 04:28:59.134725') LIMIT 1
53742
+  (0.3ms) rollback transaction
53743
+  (0.0ms) begin transaction
53744
+  (0.0ms) SAVEPOINT active_record_1
53745
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53747
+ 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-17 04:28:59.134725') LIMIT 1
53748
+  (0.0ms) SAVEPOINT active_record_1
53749
+ 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-17 04:28:59.134725') LIMIT 1
53750
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", 1], ["proposer_type", "User"], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "uEEKWNMkeqBp4qrorTtw"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53752
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposer_type" = 'User' AND "proposal_tokens"."proposer_id" = 1
53753
+  (0.5ms) rollback transaction
53754
+  (0.0ms) begin transaction
53755
+  (0.0ms) SAVEPOINT active_record_1
53756
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53758
+  (0.0ms) SAVEPOINT active_record_1
53759
+ SQL (0.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53761
+ 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-17 04:28:59.134725') LIMIT 1
53762
+  (0.0ms) SAVEPOINT active_record_1
53763
+ 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-17 04:28:59.134725') LIMIT 1
53764
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", 1], ["resource_type", "Project"], ["token", "tq9wMiPxyhUC3PW2WQjx"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53766
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1
53767
+  (0.5ms) rollback transaction
53768
+  (0.0ms) begin transaction
53769
+  (0.0ms) SAVEPOINT active_record_1
53770
+ SQL (0.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53772
+ 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-17 04:28:59.134725') LIMIT 1
53773
+  (0.4ms) rollback transaction
53774
+  (0.0ms) begin transaction
53775
+ 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-17 04:28:59.134725') LIMIT 1
53776
+  (0.0ms) SAVEPOINT active_record_1
53777
+ 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-17 04:28:59.134725') LIMIT 1
53778
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "Zq8RR5W3tGg6xjcWoyvQ"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53780
+  (0.5ms) rollback transaction
53781
+  (0.0ms) begin transaction
53782
+  (0.1ms) SAVEPOINT active_record_1
53783
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53785
+ 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-17 04:28:59.134725') LIMIT 1
53786
+  (0.0ms) SAVEPOINT active_record_1
53787
+ 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-17 04:28:59.134725') LIMIT 1
53788
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "ncBU8U8hf69FZzksSymV"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53790
+ 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-17 04:28:59.134725') LIMIT 1
53791
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53792
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-17 04:28:59.619317', "reminded_at" = '2012-11-17 04:28:59.619317' WHERE "proposal_tokens"."id" = 1
53793
+  (0.5ms) rollback transaction
53794
+  (0.0ms) begin transaction
53795
+  (0.0ms) SAVEPOINT active_record_1
53796
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53798
+ 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-17 04:28:59.134725') LIMIT 1
53799
+  (0.0ms) SAVEPOINT active_record_1
53800
+ 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-17 04:28:59.134725') LIMIT 1
53801
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("accepted_at", "arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "reminded_at", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["accepted_at", nil], ["arguments", nil], ["created_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00], ["email", "user@example.com"], ["expires_at", Sun, 18 Nov 2012 04:28:59 UTC +00:00], ["proposable_type", "User"], ["proposer_id", nil], ["proposer_type", nil], ["reminded_at", nil], ["resource_id", nil], ["resource_type", nil], ["token", "yHYWPptxmpAsEWiRSjQu"], ["updated_at", Sat, 17 Nov 2012 04:28:59 UTC +00:00]]
53802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53803
+ 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-17 04:28:59.134725') LIMIT 1
53804
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' LIMIT 1
53805
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2012-11-17 04:28:59.625038', "reminded_at" = '2012-11-17 04:28:59.625038' WHERE "proposal_tokens"."id" = 1
53806
+  (0.5ms) rollback transaction
53807
+  (0.0ms) begin transaction
53808
+ 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-17 04:28:59.134725') LIMIT 1
53809
+ 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-17 04:28:59.134725') LIMIT 1
53810
+  (0.0ms) rollback transaction
53811
+  (0.0ms) begin transaction
53812
+ 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-17 04:28:59.134725') LIMIT 1
53813
+ 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-17 04:28:59.134725') LIMIT 1
53814
+  (0.0ms) rollback transaction
53815
+  (0.0ms) begin transaction
53816
+ 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-17 04:28:59.134725') LIMIT 1
53817
+ 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-17 04:28:59.134725') LIMIT 1
53818
+  (0.0ms) rollback transaction
53819
+  (0.0ms) begin transaction
53820
+ 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-17 04:28:59.134725') LIMIT 1
53821
+ Proposal::Token Exists (0.0ms) 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-17 04:28:59.134725') LIMIT 1
53822
+  (0.0ms) rollback transaction
53823
+  (0.0ms) begin transaction
53824
+  (0.0ms) rollback transaction
53825
+  (0.0ms) begin transaction
53826
+ 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-17 04:28:59.134725') LIMIT 1
53827
+  (0.0ms) rollback transaction
53828
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
53829
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
53830
+  (0.1ms) begin transaction
53831
+ -------------------------------------------
53832
+ ProposalTest: test_should_accept_a_resource
53833
+ -------------------------------------------
53834
+  (0.0ms) SAVEPOINT active_record_1
53835
+ SQL (4.6ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53836
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53837
+ 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 > '2013-10-03 08:41:54.434885') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53838
+  (0.1ms) SAVEPOINT active_record_1
53839
+ 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 > '2013-10-03 08:41:54.474308') LIMIT 1
53840
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "bkDNwyYzeAAssz7FipQq"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53842
+  (0.0ms) SAVEPOINT active_record_1
53843
+ SQL (0.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53845
+ 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 > '2013-10-03 08:41:54.516736') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53846
+  (0.0ms) SAVEPOINT active_record_1
53847
+ 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 > '2013-10-03 08:41:54.518370') LIMIT 1
53848
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["resource_id", 2], ["resource_type", "Project"], ["token", "BC45uHSzjT8mRyACmyJu"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53850
+ 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 > '2013-10-03 08:41:54.519929') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53851
+  (0.7ms) rollback transaction
53852
+  (0.1ms) begin transaction
53853
+ -----------------------------------------------------------------
53854
+ ProposalTest: test_should_add_errors_when_not_acceptable_accepted
53855
+ -----------------------------------------------------------------
53856
+ 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 > '2013-10-03 08:41:54.522316') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53857
+  (0.0ms) SAVEPOINT active_record_1
53858
+ 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 > '2013-10-03 08:41:54.524013') LIMIT 1
53859
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "cc4RfLMp6SQGfQZZPhSs"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53860
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53861
+ SQL (0.4ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:41:54.526283', "accepted_at" = '2013-10-03 08:41:54.526283' WHERE "proposal_tokens"."id" = 1
53862
+  (0.7ms) rollback transaction
53863
+  (0.0ms) begin transaction
53864
+ ----------------------------------------------------------------------
53865
+ ProposalTest: test_should_add_errors_when_not_acceptable_accepted_safe
53866
+ ----------------------------------------------------------------------
53867
+ 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 > '2013-10-03 08:41:54.529186') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53868
+  (0.0ms) SAVEPOINT active_record_1
53869
+ 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 > '2013-10-03 08:41:54.530800') LIMIT 1
53870
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "FFqp2rqKpx5astdjGopR"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53872
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:41:54.532801', "accepted_at" = '2013-10-03 08:41:54.532801' WHERE "proposal_tokens"."id" = 1
53873
+  (0.5ms) rollback transaction
53874
+  (0.0ms) begin transaction
53875
+ ----------------------------------------------------------------
53876
+ ProposalTest: test_should_add_errors_when_not_acceptable_expired
53877
+ ----------------------------------------------------------------
53878
+ 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 > '2013-10-03 08:41:54.534576') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53879
+  (0.0ms) SAVEPOINT active_record_1
53880
+ 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 > '2013-10-03 08:41:54.535881') LIMIT 1
53881
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "Tp2Giesn8yU4xBpLETVs"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53883
+  (0.5ms) rollback transaction
53884
+  (0.0ms) begin transaction
53885
+ ---------------------------------------------------------------------
53886
+ ProposalTest: test_should_create_a_new_token_if_accepted_token_exists
53887
+ ---------------------------------------------------------------------
53888
+  (0.0ms) SAVEPOINT active_record_1
53889
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53890
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53891
+  (0.1ms) SAVEPOINT active_record_1
53892
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53894
+ 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 > '2013-10-03 08:41:54.549893') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53895
+  (0.0ms) SAVEPOINT active_record_1
53896
+ 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 > '2013-10-03 08:41:54.551596') LIMIT 1
53897
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "aZVJMTKheWdCYNxbe2DR"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53899
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:41:54.553089', "accepted_at" = '2013-10-03 08:41:54.553089' WHERE "proposal_tokens"."id" = 1
53900
+ 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 > '2013-10-03 08:41:54.553548') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53901
+  (0.0ms) SAVEPOINT active_record_1
53902
+ 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 > '2013-10-03 08:41:54.554766') LIMIT 1
53903
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "LeqVtTTs18W43VKQg8oB"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53905
+  (0.5ms) rollback transaction
53906
+  (0.1ms) begin transaction
53907
+ -----------------------------------------------------
53908
+ ProposalTest: test_should_create_valid_proposal_token
53909
+ -----------------------------------------------------
53910
+ 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 > '2013-10-03 08:41:54.558002') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53911
+  (0.0ms) SAVEPOINT active_record_1
53912
+ 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 > '2013-10-03 08:41:54.559867') LIMIT 1
53913
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "8R4NyPk633xmcYTSmKhK"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53915
+  (0.6ms) rollback transaction
53916
+  (0.0ms) begin transaction
53917
+ --------------------------------------------------
53918
+ ProposalTest: test_should_find_and_accept_proposal
53919
+ --------------------------------------------------
53920
+  (0.0ms) SAVEPOINT active_record_1
53921
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53923
+ 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 > '2013-10-03 08:41:54.564027') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53924
+  (0.0ms) SAVEPOINT active_record_1
53925
+ 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 > '2013-10-03 08:41:54.565307') LIMIT 1
53926
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "pJuEhVdKkyzmTse7TBGE"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53928
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'pJuEhVdKkyzmTse7TBGE' LIMIT 1
53929
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:41:54.567939', "accepted_at" = '2013-10-03 08:41:54.567939' WHERE "proposal_tokens"."id" = 1
53930
+  (0.5ms) rollback transaction
53931
+  (0.0ms) begin transaction
53932
+ ------------------------------------------------------------------
53933
+ ProposalTest: test_should_have_action_remind_for_invite_(new_user)
53934
+ ------------------------------------------------------------------
53935
+ 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 > '2013-10-03 08:41:54.569492') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53936
+  (0.0ms) SAVEPOINT active_record_1
53937
+ 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 > '2013-10-03 08:41:54.570940') LIMIT 1
53938
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "Tbt1wz9msyzg1r7Q5U8d"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53940
+ 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 > '2013-10-03 08:41:54.572674') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53941
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53942
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53943
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53944
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53945
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53946
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53947
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53948
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53949
+  (0.5ms) rollback transaction
53950
+  (0.0ms) begin transaction
53951
+ -----------------------------------------------------------------------
53952
+ ProposalTest: test_should_have_action_remind_for_notify_(existing_user)
53953
+ -----------------------------------------------------------------------
53954
+  (0.0ms) SAVEPOINT active_record_1
53955
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53957
+ 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 > '2013-10-03 08:41:54.580801') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53958
+  (0.0ms) SAVEPOINT active_record_1
53959
+ 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 > '2013-10-03 08:41:54.582231') LIMIT 1
53960
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "q2NvrNKPyUJsetQizutr"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53962
+ 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 > '2013-10-03 08:41:54.584065') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53963
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53964
+  (0.5ms) rollback transaction
53965
+  (0.0ms) begin transaction
53966
+ ----------------------------------------------------------------
53967
+ ProposalTest: test_should_not_create_a_new_token_if_token_exists
53968
+ ----------------------------------------------------------------
53969
+  (0.0ms) SAVEPOINT active_record_1
53970
+ 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 > '2013-10-03 08:41:54.589178') LIMIT 1
53971
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 03 Oct 2014 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "4XxmqvpmjDpyEVpU2tL9"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53972
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53973
+  (0.0ms) SAVEPOINT active_record_1
53974
+ 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 > '2013-10-03 08:41:54.591956') LIMIT 1
53975
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
53976
+  (0.4ms) rollback transaction
53977
+  (0.0ms) begin transaction
53978
+ ----------------------------------------------------------
53979
+ ProposalTest: test_should_not_return_no_action_if_accepted
53980
+ ----------------------------------------------------------
53981
+ 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 > '2013-10-03 08:41:54.593718') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53982
+  (0.0ms) SAVEPOINT active_record_1
53983
+ 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 > '2013-10-03 08:41:54.595360') LIMIT 1
53984
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "Sy3GwFvRxez6Esyq6j1M"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
53985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53986
+ SQL (0.3ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:41:54.597126', "accepted_at" = '2013-10-03 08:41:54.597126' WHERE "proposal_tokens"."id" = 1
53987
+  (0.5ms) rollback transaction
53988
+  (0.0ms) begin transaction
53989
+ -----------------------------------------------------------
53990
+ ProposalTest: test_should_not_return_proposal_action_invite
53991
+ -----------------------------------------------------------
53992
+ 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 > '2013-10-03 08:41:54.599089') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
53993
+ 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 > '2013-10-03 08:41:54.600265') LIMIT 1
53994
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53995
+ 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 > '2013-10-03 08:41:54.601526') LIMIT 1
53996
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
53997
+  (0.0ms) rollback transaction
53998
+  (0.0ms) begin transaction
53999
+ -----------------------------------------------------------
54000
+ ProposalTest: test_should_not_return_proposal_action_notify
54001
+ -----------------------------------------------------------
54002
+  (0.0ms) SAVEPOINT active_record_1
54003
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54005
+ 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 > '2013-10-03 08:41:54.603914') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54006
+ 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 > '2013-10-03 08:41:54.604985') LIMIT 1
54007
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54008
+ 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 > '2013-10-03 08:41:54.606290') LIMIT 1
54009
+  (0.3ms) rollback transaction
54010
+  (0.1ms) begin transaction
54011
+ ------------------------------------------------------
54012
+ ProposalTest: test_should_not_return_proposal_instance
54013
+ ------------------------------------------------------
54014
+ 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 > '2013-10-03 08:41:54.607892') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54015
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54016
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54017
+  (0.1ms) rollback transaction
54018
+  (0.0ms) begin transaction
54019
+ -----------------------------------------------------------
54020
+ ProposalTest: test_should_raise_error_if_remind_is_not_true
54021
+ -----------------------------------------------------------
54022
+ 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 > '2013-10-03 08:41:54.610998') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54023
+ 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 > '2013-10-03 08:41:54.612308') LIMIT 1
54024
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54025
+  (0.0ms) rollback transaction
54026
+  (0.0ms) begin transaction
54027
+ --------------------------------------------------
54028
+ ProposalTest: test_should_respond_to_the_recipient
54029
+ --------------------------------------------------
54030
+  (0.0ms) SAVEPOINT active_record_1
54031
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54033
+ 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 > '2013-10-03 08:41:54.614912') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54034
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54035
+  (0.6ms) rollback transaction
54036
+  (0.0ms) begin transaction
54037
+ -------------------------------------------------
54038
+ ProposalTest: test_should_respond_to_the_resource
54039
+ -------------------------------------------------
54040
+  (0.0ms) SAVEPOINT active_record_1
54041
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54043
+  (0.0ms) SAVEPOINT active_record_1
54044
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54046
+ 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 > '2013-10-03 08:41:54.619183') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54047
+  (0.5ms) rollback transaction
54048
+  (0.1ms) begin transaction
54049
+ ----------------------------------------------
54050
+ ProposalTest: test_should_return_all_arguments
54051
+ ----------------------------------------------
54052
+ 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 > '2013-10-03 08:41:54.620947') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54053
+  (0.0ms) SAVEPOINT active_record_1
54054
+ 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 > '2013-10-03 08:41:54.622260') LIMIT 1
54055
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", "---\n- admin\n- 1\n"], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "dY67ScE1msVLLpqftaUg"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54057
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'dY67ScE1msVLLpqftaUg' LIMIT 1
54058
+  (0.5ms) rollback transaction
54059
+  (0.0ms) begin transaction
54060
+ -------------------------------------------------------
54061
+ ProposalTest: test_should_return_all_proposals_for_type
54062
+ -------------------------------------------------------
54063
+ 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 > '2013-10-03 08:41:54.625747') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54064
+  (0.0ms) SAVEPOINT active_record_1
54065
+ 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 > '2013-10-03 08:41:54.627080') LIMIT 1
54066
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "pktsJMDNYK5ysDq9kybk"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54068
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User'
54069
+  (0.4ms) rollback transaction
54070
+  (0.0ms) begin transaction
54071
+ ------------------------------------------------------------
54072
+ ProposalTest: test_should_return_hash_when_arguments_is_hash
54073
+ ------------------------------------------------------------
54074
+ 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 > '2013-10-03 08:41:54.629924') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54075
+  (0.0ms) SAVEPOINT active_record_1
54076
+ 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 > '2013-10-03 08:41:54.631372') LIMIT 1
54077
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", "---\n:role: admin\n"], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "qDorKFmZFhBtLELNVWfp"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54079
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'qDorKFmZFhBtLELNVWfp' LIMIT 1
54080
+  (0.4ms) rollback transaction
54081
+  (0.0ms) begin transaction
54082
+ --------------------------------------------------
54083
+ ProposalTest: test_should_return_proposal_instance
54084
+ --------------------------------------------------
54085
+  (0.0ms) SAVEPOINT active_record_1
54086
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54088
+ 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 > '2013-10-03 08:41:54.635700') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54089
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54090
+ 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 > '2013-10-03 08:41:54.637201') LIMIT 1
54091
+  (0.5ms) rollback transaction
54092
+  (0.1ms) begin transaction
54093
+ ----------------------------------------------------------------
54094
+ ProposalTest: test_should_return_proposals_for_proposer_instance
54095
+ ----------------------------------------------------------------
54096
+  (0.0ms) SAVEPOINT active_record_1
54097
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54099
+ 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 > '2013-10-03 08:41:54.639728') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54100
+  (0.1ms) SAVEPOINT active_record_1
54101
+ 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 > '2013-10-03 08:41:54.641531') LIMIT 1
54102
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["proposer_id", 1], ["proposer_type", "User"], ["token", "3ApzBySeL5dxnw2fcrEY"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54104
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposer_type" = 'User' AND "proposal_tokens"."proposer_id" = 1
54105
+  (0.6ms) rollback transaction
54106
+  (0.0ms) begin transaction
54107
+ ----------------------------------------------------------------
54108
+ ProposalTest: test_should_return_proposals_for_resource_instance
54109
+ ----------------------------------------------------------------
54110
+  (0.0ms) SAVEPOINT active_record_1
54111
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54113
+  (0.0ms) SAVEPOINT active_record_1
54114
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54116
+ 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 > '2013-10-03 08:41:54.647636') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54117
+  (0.0ms) SAVEPOINT active_record_1
54118
+ 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 > '2013-10-03 08:41:54.649258') LIMIT 1
54119
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "6UArdzX5dV3A3YwMjksM"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54121
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1
54122
+  (0.6ms) rollback transaction
54123
+  (0.1ms) begin transaction
54124
+ ---------------------------------------------
54125
+ ProposalTest: test_should_return_the_resource
54126
+ ---------------------------------------------
54127
+  (0.0ms) SAVEPOINT active_record_1
54128
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54130
+ 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 > '2013-10-03 08:41:54.653208') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54131
+  (0.4ms) rollback transaction
54132
+  (0.1ms) begin transaction
54133
+ -------------------------------------------------------
54134
+ ProposalTest: test_should_return_token_from_to_s_method
54135
+ -------------------------------------------------------
54136
+ 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 > '2013-10-03 08:41:54.655043') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54137
+  (0.0ms) SAVEPOINT active_record_1
54138
+ 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 > '2013-10-03 08:41:54.656383') LIMIT 1
54139
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "8ouysxP6XRZBzss4Dt9H"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54141
+  (0.5ms) rollback transaction
54142
+  (0.1ms) begin transaction
54143
+ -------------------------------------------
54144
+ ProposalTest: test_should_set_reminded_bang
54145
+ -------------------------------------------
54146
+  (0.0ms) SAVEPOINT active_record_1
54147
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54149
+ 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 > '2013-10-03 08:41:54.659976') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54150
+  (0.0ms) SAVEPOINT active_record_1
54151
+ 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 > '2013-10-03 08:41:54.661267') LIMIT 1
54152
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "x2wDPGbt8aNHRDSgTdto"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54154
+ 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 > '2013-10-03 08:41:54.662836') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54155
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54156
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:41:54.664577', "reminded_at" = '2013-10-03 08:41:54.664577' WHERE "proposal_tokens"."id" = 1
54157
+  (0.6ms) rollback transaction
54158
+  (0.1ms) begin transaction
54159
+ -------------------------------------------
54160
+ ProposalTest: test_should_set_reminded_safe
54161
+ -------------------------------------------
54162
+  (0.0ms) SAVEPOINT active_record_1
54163
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54165
+ 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 > '2013-10-03 08:41:54.668155') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54166
+  (0.0ms) SAVEPOINT active_record_1
54167
+ 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 > '2013-10-03 08:41:54.669797') LIMIT 1
54168
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:41:54 UTC +00:00], ["proposable_type", "User"], ["token", "cfKycsV43wYxoosSjtsW"], ["updated_at", Thu, 03 Oct 2013 08:41:54 UTC +00:00]]
54169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54170
+ 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 > '2013-10-03 08:41:54.671517') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54171
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54172
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:41:54.672825', "reminded_at" = '2013-10-03 08:41:54.672825' WHERE "proposal_tokens"."id" = 1
54173
+  (0.6ms) rollback transaction
54174
+  (0.0ms) begin transaction
54175
+ --------------------------------------------------------
54176
+ ProposalTest: test_should_validate_arguments_with_a_proc
54177
+ --------------------------------------------------------
54178
+ 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 > '2013-10-03 08:41:54.674804') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54179
+ 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 > '2013-10-03 08:41:54.676226') LIMIT 1
54180
+  (0.0ms) rollback transaction
54181
+  (0.0ms) begin transaction
54182
+ --------------------------------------------------------
54183
+ ProposalTest: test_should_validate_arguments_with_symbol
54184
+ --------------------------------------------------------
54185
+ 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 > '2013-10-03 08:41:54.677338') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54186
+ 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 > '2013-10-03 08:41:54.678454') LIMIT 1
54187
+  (0.0ms) rollback transaction
54188
+  (0.0ms) begin transaction
54189
+ -----------------------------------------------------------------
54190
+ ProposalTest: test_should_validate_arguments_with_symbol_and_args
54191
+ -----------------------------------------------------------------
54192
+ 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 > '2013-10-03 08:41:54.679491') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54193
+ 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 > '2013-10-03 08:41:54.680591') LIMIT 1
54194
+  (0.0ms) rollback transaction
54195
+  (0.1ms) begin transaction
54196
+ ---------------------------------------------------------
54197
+ ProposalTest: test_should_validate_arguments_with_symbols
54198
+ ---------------------------------------------------------
54199
+ 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 > '2013-10-03 08:41:54.681597') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54200
+ 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 > '2013-10-03 08:41:54.682695') LIMIT 1
54201
+  (0.0ms) rollback transaction
54202
+  (0.0ms) begin transaction
54203
+ ------------------------
54204
+ ProposalTest: test_truth
54205
+ ------------------------
54206
+  (0.0ms) rollback transaction
54207
+  (0.1ms) begin transaction
54208
+ --------------------------------------------
54209
+ ProposalTest: test_user_should_have_proposal
54210
+ --------------------------------------------
54211
+ 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 > '2013-10-03 08:41:54.684034') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54212
+  (0.0ms) rollback transaction
54213
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
54214
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
54215
+  (0.1ms) begin transaction
54216
+ -------------------------------------------
54217
+ ProposalTest: test_should_accept_a_resource
54218
+ -------------------------------------------
54219
+  (0.1ms) SAVEPOINT active_record_1
54220
+ SQL (2.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00]]
54221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54222
+ 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 > '2013-10-03 08:43:04.919860') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54223
+  (0.1ms) SAVEPOINT active_record_1
54224
+ 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 > '2013-10-03 08:43:04.956718') LIMIT 1
54225
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:04 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "uE7FJ3Dw9752MBLJbLx9"], ["updated_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00]]
54226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54227
+  (0.0ms) SAVEPOINT active_record_1
54228
+ SQL (0.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00]]
54229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54230
+ 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" = 2 AND (accepted_at IS NULL) AND (expires_at > '2013-10-03 08:43:04.964708') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54231
+  (0.0ms) SAVEPOINT active_record_1
54232
+ 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 > '2013-10-03 08:43:04.966388') LIMIT 1
54233
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:04 UTC +00:00], ["proposable_type", "User"], ["resource_id", 2], ["resource_type", "Project"], ["token", "Mmh33fo8xxh4sXja7WaM"], ["updated_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00]]
54234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54235
+ 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 > '2013-10-03 08:43:04.967994') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54236
+  (2.1ms) rollback transaction
54237
+  (0.1ms) begin transaction
54238
+ -----------------------------------------------------------------
54239
+ ProposalTest: test_should_add_errors_when_not_acceptable_accepted
54240
+ -----------------------------------------------------------------
54241
+ 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 > '2013-10-03 08:43:04.972282') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54242
+  (0.0ms) SAVEPOINT active_record_1
54243
+ 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 > '2013-10-03 08:43:04.974477') LIMIT 1
54244
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:04 UTC +00:00], ["proposable_type", "User"], ["token", "onzT8szZpevhS9yCnyek"], ["updated_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00]]
54245
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54246
+ SQL (0.3ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:43:04.976511', "accepted_at" = '2013-10-03 08:43:04.976511' WHERE "proposal_tokens"."id" = 1
54247
+  (0.6ms) rollback transaction
54248
+  (0.0ms) begin transaction
54249
+ ----------------------------------------------------------------------
54250
+ ProposalTest: test_should_add_errors_when_not_acceptable_accepted_safe
54251
+ ----------------------------------------------------------------------
54252
+ 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 > '2013-10-03 08:43:04.978841') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54253
+  (0.0ms) SAVEPOINT active_record_1
54254
+ 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 > '2013-10-03 08:43:04.980468') LIMIT 1
54255
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:04 UTC +00:00], ["proposable_type", "User"], ["token", "mymo6y97wyYcuVa8caah"], ["updated_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00]]
54256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54257
+ SQL (0.3ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:43:04.982445', "accepted_at" = '2013-10-03 08:43:04.982445' WHERE "proposal_tokens"."id" = 1
54258
+  (0.5ms) rollback transaction
54259
+  (0.1ms) begin transaction
54260
+ ----------------------------------------------------------------
54261
+ ProposalTest: test_should_add_errors_when_not_acceptable_expired
54262
+ ----------------------------------------------------------------
54263
+ 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 > '2013-10-03 08:43:04.984323') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54264
+  (0.0ms) SAVEPOINT active_record_1
54265
+ 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 > '2013-10-03 08:43:04.985607') LIMIT 1
54266
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:04 UTC +00:00], ["proposable_type", "User"], ["token", "isG1nmAL4Xp4SodpfvtZ"], ["updated_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00]]
54267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54268
+  (0.5ms) rollback transaction
54269
+  (0.0ms) begin transaction
54270
+ ---------------------------------------------------------------------
54271
+ ProposalTest: test_should_create_a_new_token_if_accepted_token_exists
54272
+ ---------------------------------------------------------------------
54273
+  (0.0ms) SAVEPOINT active_record_1
54274
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00]]
54275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54276
+  (0.1ms) SAVEPOINT active_record_1
54277
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:04 UTC +00:00]]
54278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54279
+ 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 > '2013-10-03 08:43:05.000549') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54280
+  (0.0ms) SAVEPOINT active_record_1
54281
+ 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 > '2013-10-03 08:43:05.002386') LIMIT 1
54282
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "Gues9qRfGXQXydrYhNxr"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54284
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:43:05.004207', "accepted_at" = '2013-10-03 08:43:05.004207' WHERE "proposal_tokens"."id" = 1
54285
+ 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 > '2013-10-03 08:43:05.004724') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54286
+  (0.0ms) SAVEPOINT active_record_1
54287
+ 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 > '2013-10-03 08:43:05.006110') LIMIT 1
54288
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "qF7BVWAViLCUcusqxN9N"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54290
+  (0.5ms) rollback transaction
54291
+  (0.0ms) begin transaction
54292
+ -----------------------------------------------------
54293
+ ProposalTest: test_should_create_valid_proposal_token
54294
+ -----------------------------------------------------
54295
+ 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 > '2013-10-03 08:43:05.009461') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54296
+  (0.0ms) SAVEPOINT active_record_1
54297
+ 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 > '2013-10-03 08:43:05.010955') LIMIT 1
54298
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "GA7APGtjbDZmyYXMnE3k"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54299
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54300
+  (0.5ms) rollback transaction
54301
+  (0.0ms) begin transaction
54302
+ --------------------------------------------------
54303
+ ProposalTest: test_should_find_and_accept_proposal
54304
+ --------------------------------------------------
54305
+  (0.0ms) SAVEPOINT active_record_1
54306
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54308
+ 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 > '2013-10-03 08:43:05.014743') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54309
+  (0.0ms) SAVEPOINT active_record_1
54310
+ 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 > '2013-10-03 08:43:05.016080') LIMIT 1
54311
+ SQL (0.6ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "fPwzYHN9per5x1jqY1mB"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54312
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54313
+ Proposal::Token Load (0.2ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'fPwzYHN9per5x1jqY1mB' LIMIT 1
54314
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:43:05.020083', "accepted_at" = '2013-10-03 08:43:05.020083' WHERE "proposal_tokens"."id" = 1
54315
+  (0.6ms) rollback transaction
54316
+  (0.0ms) begin transaction
54317
+ ------------------------------------------------------------------
54318
+ ProposalTest: test_should_have_action_remind_for_invite_(new_user)
54319
+ ------------------------------------------------------------------
54320
+ 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 > '2013-10-03 08:43:05.021973') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54321
+  (0.0ms) SAVEPOINT active_record_1
54322
+ 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 > '2013-10-03 08:43:05.023792') LIMIT 1
54323
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "DduYa7BzsWW6u5k7LsML"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54325
+ 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 > '2013-10-03 08:43:05.025791') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54326
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54327
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54328
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54329
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54330
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54331
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54332
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54333
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54334
+  (0.6ms) rollback transaction
54335
+  (0.1ms) begin transaction
54336
+ -----------------------------------------------------------------------
54337
+ ProposalTest: test_should_have_action_remind_for_notify_(existing_user)
54338
+ -----------------------------------------------------------------------
54339
+  (0.0ms) SAVEPOINT active_record_1
54340
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54342
+ 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 > '2013-10-03 08:43:05.032956') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54343
+  (0.1ms) SAVEPOINT active_record_1
54344
+ 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 > '2013-10-03 08:43:05.034445') LIMIT 1
54345
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "Nn6tRDomHnBjiVMoPMHL"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54347
+ 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 > '2013-10-03 08:43:05.036476') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54348
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54349
+  (0.6ms) rollback transaction
54350
+  (0.0ms) begin transaction
54351
+ ----------------------------------------------------------------
54352
+ ProposalTest: test_should_not_create_a_new_token_if_token_exists
54353
+ ----------------------------------------------------------------
54354
+  (0.1ms) SAVEPOINT active_record_1
54355
+ 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 > '2013-10-03 08:43:05.041330') LIMIT 1
54356
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 03 Oct 2014 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "Vgoq72EygkoBwpCkzmNu"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54358
+  (0.0ms) SAVEPOINT active_record_1
54359
+ 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 > '2013-10-03 08:43:05.043944') LIMIT 1
54360
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
54361
+  (0.4ms) rollback transaction
54362
+  (0.0ms) begin transaction
54363
+ ----------------------------------------------------------
54364
+ ProposalTest: test_should_not_return_no_action_if_accepted
54365
+ ----------------------------------------------------------
54366
+ 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 > '2013-10-03 08:43:05.045714') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54367
+  (0.1ms) SAVEPOINT active_record_1
54368
+ 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 > '2013-10-03 08:43:05.047217') LIMIT 1
54369
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "AJbQ6ixsdyqxzsvYxops"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54370
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54371
+ SQL (0.3ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:43:05.048932', "accepted_at" = '2013-10-03 08:43:05.048932' WHERE "proposal_tokens"."id" = 1
54372
+  (0.7ms) rollback transaction
54373
+  (0.1ms) begin transaction
54374
+ -----------------------------------------------------------
54375
+ ProposalTest: test_should_not_return_proposal_action_invite
54376
+ -----------------------------------------------------------
54377
+ 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 > '2013-10-03 08:43:05.051429') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54378
+ 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 > '2013-10-03 08:43:05.053084') LIMIT 1
54379
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54380
+ 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 > '2013-10-03 08:43:05.054513') LIMIT 1
54381
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54382
+  (0.1ms) rollback transaction
54383
+  (0.0ms) begin transaction
54384
+ -----------------------------------------------------------
54385
+ ProposalTest: test_should_not_return_proposal_action_notify
54386
+ -----------------------------------------------------------
54387
+  (0.0ms) SAVEPOINT active_record_1
54388
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54390
+ 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 > '2013-10-03 08:43:05.057170') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54391
+ 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 > '2013-10-03 08:43:05.058385') LIMIT 1
54392
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54393
+ 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 > '2013-10-03 08:43:05.059824') LIMIT 1
54394
+  (0.5ms) rollback transaction
54395
+  (0.0ms) begin transaction
54396
+ ------------------------------------------------------
54397
+ ProposalTest: test_should_not_return_proposal_instance
54398
+ ------------------------------------------------------
54399
+ 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 > '2013-10-03 08:43:05.061340') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54400
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54401
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54402
+  (0.0ms) rollback transaction
54403
+  (0.0ms) begin transaction
54404
+ -----------------------------------------------------------
54405
+ ProposalTest: test_should_raise_error_if_remind_is_not_true
54406
+ -----------------------------------------------------------
54407
+ 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 > '2013-10-03 08:43:05.063335') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54408
+ 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 > '2013-10-03 08:43:05.064448') LIMIT 1
54409
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54410
+  (0.0ms) rollback transaction
54411
+  (0.1ms) begin transaction
54412
+ --------------------------------------------------
54413
+ ProposalTest: test_should_respond_to_the_recipient
54414
+ --------------------------------------------------
54415
+  (0.0ms) SAVEPOINT active_record_1
54416
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54418
+ 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 > '2013-10-03 08:43:05.066952') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54419
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54420
+  (0.5ms) rollback transaction
54421
+  (0.0ms) begin transaction
54422
+ -------------------------------------------------
54423
+ ProposalTest: test_should_respond_to_the_resource
54424
+ -------------------------------------------------
54425
+  (0.0ms) SAVEPOINT active_record_1
54426
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54428
+  (0.0ms) SAVEPOINT active_record_1
54429
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54431
+ 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 > '2013-10-03 08:43:05.071333') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54432
+  (0.5ms) rollback transaction
54433
+  (0.1ms) begin transaction
54434
+ ----------------------------------------------
54435
+ ProposalTest: test_should_return_all_arguments
54436
+ ----------------------------------------------
54437
+ 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 > '2013-10-03 08:43:05.073192') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54438
+  (0.0ms) SAVEPOINT active_record_1
54439
+ 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 > '2013-10-03 08:43:05.074608') LIMIT 1
54440
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", "---\n- admin\n- 1\n"], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "f1ckYdBjNmkr1HMuiHVT"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54442
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'f1ckYdBjNmkr1HMuiHVT' LIMIT 1
54443
+  (0.5ms) rollback transaction
54444
+  (0.0ms) begin transaction
54445
+ -------------------------------------------------------
54446
+ ProposalTest: test_should_return_all_proposals_for_type
54447
+ -------------------------------------------------------
54448
+ 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 > '2013-10-03 08:43:05.078278') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54449
+  (0.0ms) SAVEPOINT active_record_1
54450
+ 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 > '2013-10-03 08:43:05.079694') LIMIT 1
54451
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "HHcuDGbwYQTBexzppCm7"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54453
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User'
54454
+  (0.4ms) rollback transaction
54455
+  (0.0ms) begin transaction
54456
+ ------------------------------------------------------------
54457
+ ProposalTest: test_should_return_hash_when_arguments_is_hash
54458
+ ------------------------------------------------------------
54459
+ 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 > '2013-10-03 08:43:05.082806') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54460
+  (0.0ms) SAVEPOINT active_record_1
54461
+ 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 > '2013-10-03 08:43:05.084474') LIMIT 1
54462
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", "---\n:role: admin\n"], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "7pjBMj7g7ED7nPmYR6WR"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54464
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = '7pjBMj7g7ED7nPmYR6WR' LIMIT 1
54465
+  (0.5ms) rollback transaction
54466
+  (0.1ms) begin transaction
54467
+ --------------------------------------------------
54468
+ ProposalTest: test_should_return_proposal_instance
54469
+ --------------------------------------------------
54470
+  (0.0ms) SAVEPOINT active_record_1
54471
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54473
+ 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 > '2013-10-03 08:43:05.089343') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54474
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54475
+ 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 > '2013-10-03 08:43:05.090987') LIMIT 1
54476
+  (0.4ms) rollback transaction
54477
+  (0.0ms) begin transaction
54478
+ ----------------------------------------------------------------
54479
+ ProposalTest: test_should_return_proposals_for_proposer_instance
54480
+ ----------------------------------------------------------------
54481
+  (0.0ms) SAVEPOINT active_record_1
54482
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54484
+ 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 > '2013-10-03 08:43:05.093699') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54485
+  (0.0ms) SAVEPOINT active_record_1
54486
+ 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 > '2013-10-03 08:43:05.095193') LIMIT 1
54487
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["proposer_id", 1], ["proposer_type", "User"], ["token", "rFBpxNN9CW2z9nqGqWEk"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54488
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54489
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposer_type" = 'User' AND "proposal_tokens"."proposer_id" = 1
54490
+  (0.5ms) rollback transaction
54491
+  (0.1ms) begin transaction
54492
+ ----------------------------------------------------------------
54493
+ ProposalTest: test_should_return_proposals_for_resource_instance
54494
+ ----------------------------------------------------------------
54495
+  (0.0ms) SAVEPOINT active_record_1
54496
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54498
+  (0.0ms) SAVEPOINT active_record_1
54499
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54501
+ 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 > '2013-10-03 08:43:05.101225') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54502
+  (0.0ms) SAVEPOINT active_record_1
54503
+ 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 > '2013-10-03 08:43:05.102792') LIMIT 1
54504
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "7wyerxRuf1YZPhZEYZzz"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54506
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1
54507
+  (0.7ms) rollback transaction
54508
+  (0.1ms) begin transaction
54509
+ ---------------------------------------------
54510
+ ProposalTest: test_should_return_the_resource
54511
+ ---------------------------------------------
54512
+  (0.1ms) SAVEPOINT active_record_1
54513
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54515
+ 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 > '2013-10-03 08:43:05.107280') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54516
+  (0.4ms) rollback transaction
54517
+  (0.1ms) begin transaction
54518
+ -------------------------------------------------------
54519
+ ProposalTest: test_should_return_token_from_to_s_method
54520
+ -------------------------------------------------------
54521
+ 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 > '2013-10-03 08:43:05.109044') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54522
+  (0.0ms) SAVEPOINT active_record_1
54523
+ 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 > '2013-10-03 08:43:05.110383') LIMIT 1
54524
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "XQQhw8ot4ftY5w4ZsX5Z"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54526
+  (0.4ms) rollback transaction
54527
+  (0.1ms) begin transaction
54528
+ -------------------------------------------
54529
+ ProposalTest: test_should_set_reminded_bang
54530
+ -------------------------------------------
54531
+  (0.0ms) SAVEPOINT active_record_1
54532
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54534
+ 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 > '2013-10-03 08:43:05.113969') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54535
+  (0.1ms) SAVEPOINT active_record_1
54536
+ 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 > '2013-10-03 08:43:05.144079') LIMIT 1
54537
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "aQutYgwpNqVLxGThPsLJ"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54539
+ 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 > '2013-10-03 08:43:05.146171') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54540
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54541
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:43:05.147780', "reminded_at" = '2013-10-03 08:43:05.147780' WHERE "proposal_tokens"."id" = 1
54542
+  (0.7ms) rollback transaction
54543
+  (0.1ms) begin transaction
54544
+ -------------------------------------------
54545
+ ProposalTest: test_should_set_reminded_safe
54546
+ -------------------------------------------
54547
+  (0.0ms) SAVEPOINT active_record_1
54548
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54550
+ 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 > '2013-10-03 08:43:05.151258') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54551
+  (0.0ms) SAVEPOINT active_record_1
54552
+ 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 > '2013-10-03 08:43:05.152807') LIMIT 1
54553
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:43:05 UTC +00:00], ["proposable_type", "User"], ["token", "izTgFHeX4CgYqeTwCs2F"], ["updated_at", Thu, 03 Oct 2013 08:43:05 UTC +00:00]]
54554
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54555
+ 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 > '2013-10-03 08:43:05.154556') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54556
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54557
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:43:05.155841', "reminded_at" = '2013-10-03 08:43:05.155841' WHERE "proposal_tokens"."id" = 1
54558
+  (0.5ms) rollback transaction
54559
+  (0.0ms) begin transaction
54560
+ --------------------------------------------------------
54561
+ ProposalTest: test_should_validate_arguments_with_a_proc
54562
+ --------------------------------------------------------
54563
+ 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 > '2013-10-03 08:43:05.157652') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54564
+ 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 > '2013-10-03 08:43:05.158917') LIMIT 1
54565
+  (0.0ms) rollback transaction
54566
+  (0.0ms) begin transaction
54567
+ --------------------------------------------------------
54568
+ ProposalTest: test_should_validate_arguments_with_symbol
54569
+ --------------------------------------------------------
54570
+ 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 > '2013-10-03 08:43:05.159954') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54571
+ 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 > '2013-10-03 08:43:05.161033') LIMIT 1
54572
+  (0.0ms) rollback transaction
54573
+  (0.0ms) begin transaction
54574
+ -----------------------------------------------------------------
54575
+ ProposalTest: test_should_validate_arguments_with_symbol_and_args
54576
+ -----------------------------------------------------------------
54577
+ 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 > '2013-10-03 08:43:05.162024') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54578
+ 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 > '2013-10-03 08:43:05.163096') LIMIT 1
54579
+  (0.0ms) rollback transaction
54580
+  (0.0ms) begin transaction
54581
+ ---------------------------------------------------------
54582
+ ProposalTest: test_should_validate_arguments_with_symbols
54583
+ ---------------------------------------------------------
54584
+ 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 > '2013-10-03 08:43:05.164086') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54585
+ 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 > '2013-10-03 08:43:05.165155') LIMIT 1
54586
+  (0.0ms) rollback transaction
54587
+  (0.0ms) begin transaction
54588
+ ------------------------
54589
+ ProposalTest: test_truth
54590
+ ------------------------
54591
+  (0.0ms) rollback transaction
54592
+  (0.0ms) begin transaction
54593
+ --------------------------------------------
54594
+ ProposalTest: test_user_should_have_proposal
54595
+ --------------------------------------------
54596
+ 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 > '2013-10-03 08:43:05.166506') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54597
+  (0.0ms) rollback transaction
54598
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
54599
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
54600
+  (0.1ms) begin transaction
54601
+ -------------------------------------------
54602
+ ProposalTest: test_should_accept_a_resource
54603
+ -------------------------------------------
54604
+  (0.0ms) SAVEPOINT active_record_1
54605
+ SQL (2.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54607
+ 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 > '2013-10-03 08:48:07.627908') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54608
+  (0.1ms) SAVEPOINT active_record_1
54609
+ 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 > '2013-10-03 08:48:07.663010') LIMIT 1
54610
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "G2RzUjnZJypqYTEVSc9j"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54612
+  (0.0ms) SAVEPOINT active_record_1
54613
+ SQL (0.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54615
+ 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 > '2013-10-03 08:48:07.699210') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54616
+  (0.0ms) SAVEPOINT active_record_1
54617
+ 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 > '2013-10-03 08:48:07.700783') LIMIT 1
54618
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["resource_id", 2], ["resource_type", "Project"], ["token", "NBGDkpYN5vuAz88M3Dy9"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54620
+ 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 > '2013-10-03 08:48:07.702370') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54621
+  (1.8ms) rollback transaction
54622
+  (0.1ms) begin transaction
54623
+ -----------------------------------------------------------------
54624
+ ProposalTest: test_should_add_errors_when_not_acceptable_accepted
54625
+ -----------------------------------------------------------------
54626
+ 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 > '2013-10-03 08:48:07.706195') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54627
+  (0.0ms) SAVEPOINT active_record_1
54628
+ 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 > '2013-10-03 08:48:07.708360') LIMIT 1
54629
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "LYwpBx81SHZArLs1TR8Q"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54631
+ SQL (0.3ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:48:07.710408', "accepted_at" = '2013-10-03 08:48:07.710408' WHERE "proposal_tokens"."id" = 1
54632
+  (0.5ms) rollback transaction
54633
+  (0.0ms) begin transaction
54634
+ ----------------------------------------------------------------------
54635
+ ProposalTest: test_should_add_errors_when_not_acceptable_accepted_safe
54636
+ ----------------------------------------------------------------------
54637
+ 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 > '2013-10-03 08:48:07.712617') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54638
+  (0.0ms) SAVEPOINT active_record_1
54639
+ 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 > '2013-10-03 08:48:07.714138') LIMIT 1
54640
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "dZCUaCUyGxJpeJEubyxQ"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54642
+ SQL (0.2ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:48:07.716019', "accepted_at" = '2013-10-03 08:48:07.716019' WHERE "proposal_tokens"."id" = 1
54643
+  (0.6ms) rollback transaction
54644
+  (0.0ms) begin transaction
54645
+ ----------------------------------------------------------------
54646
+ ProposalTest: test_should_add_errors_when_not_acceptable_expired
54647
+ ----------------------------------------------------------------
54648
+ 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 > '2013-10-03 08:48:07.717902') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54649
+  (0.0ms) SAVEPOINT active_record_1
54650
+ 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 > '2013-10-03 08:48:07.719211') LIMIT 1
54651
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "vmgJ1gUiFJNp4cPpzJq9"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54653
+  (0.5ms) rollback transaction
54654
+  (0.0ms) begin transaction
54655
+ ---------------------------------------------------------------------
54656
+ ProposalTest: test_should_create_a_new_token_if_accepted_token_exists
54657
+ ---------------------------------------------------------------------
54658
+  (0.0ms) SAVEPOINT active_record_1
54659
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54660
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54661
+  (0.1ms) SAVEPOINT active_record_1
54662
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54664
+ 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 > '2013-10-03 08:48:07.733448') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54665
+  (0.0ms) SAVEPOINT active_record_1
54666
+ 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 > '2013-10-03 08:48:07.735276') LIMIT 1
54667
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "SgbFkaHz3SsBvZM969sF"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54668
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54669
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:48:07.736876', "accepted_at" = '2013-10-03 08:48:07.736876' WHERE "proposal_tokens"."id" = 1
54670
+ 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 > '2013-10-03 08:48:07.737375') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54671
+  (0.0ms) SAVEPOINT active_record_1
54672
+ 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 > '2013-10-03 08:48:07.738722') LIMIT 1
54673
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "7iHsT4yxcV1b8DgGtsru"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54675
+  (0.6ms) rollback transaction
54676
+  (0.0ms) begin transaction
54677
+ -----------------------------------------------------
54678
+ ProposalTest: test_should_create_valid_proposal_token
54679
+ -----------------------------------------------------
54680
+ 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 > '2013-10-03 08:48:07.742051') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54681
+  (0.0ms) SAVEPOINT active_record_1
54682
+ 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 > '2013-10-03 08:48:07.743539') LIMIT 1
54683
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "JEy1zMsGwrPx18Ev2dyZ"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54684
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54685
+  (0.5ms) rollback transaction
54686
+  (0.0ms) begin transaction
54687
+ --------------------------------------------------
54688
+ ProposalTest: test_should_find_and_accept_proposal
54689
+ --------------------------------------------------
54690
+  (0.0ms) SAVEPOINT active_record_1
54691
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54693
+ 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 > '2013-10-03 08:48:07.747197') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54694
+  (0.0ms) SAVEPOINT active_record_1
54695
+ 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 > '2013-10-03 08:48:07.748579') LIMIT 1
54696
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "zz8zfG14opfLzhqc1zDW"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54698
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'zz8zfG14opfLzhqc1zDW' LIMIT 1
54699
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:48:07.751330', "accepted_at" = '2013-10-03 08:48:07.751330' WHERE "proposal_tokens"."id" = 1
54700
+  (0.5ms) rollback transaction
54701
+  (0.0ms) begin transaction
54702
+ ------------------------------------------------------------------
54703
+ ProposalTest: test_should_have_action_remind_for_invite_(new_user)
54704
+ ------------------------------------------------------------------
54705
+ 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 > '2013-10-03 08:48:07.752874') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54706
+  (0.0ms) SAVEPOINT active_record_1
54707
+ 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 > '2013-10-03 08:48:07.754351') LIMIT 1
54708
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "PjsQF3TnbWySJRNG6cz3"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54710
+ 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 > '2013-10-03 08:48:07.756354') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54711
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54712
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54713
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54714
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54715
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54716
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54717
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54718
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54719
+  (0.6ms) rollback transaction
54720
+  (0.0ms) begin transaction
54721
+ -----------------------------------------------------------------------
54722
+ ProposalTest: test_should_have_action_remind_for_notify_(existing_user)
54723
+ -----------------------------------------------------------------------
54724
+  (0.0ms) SAVEPOINT active_record_1
54725
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54727
+ 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 > '2013-10-03 08:48:07.764292') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54728
+  (0.0ms) SAVEPOINT active_record_1
54729
+ 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 > '2013-10-03 08:48:07.765733') LIMIT 1
54730
+ SQL (0.5ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "RysRYwciDsmRbycnanrr"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54732
+ 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 > '2013-10-03 08:48:07.767608') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54733
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54734
+  (0.6ms) rollback transaction
54735
+  (0.0ms) begin transaction
54736
+ ----------------------------------------------------------------
54737
+ ProposalTest: test_should_not_create_a_new_token_if_token_exists
54738
+ ----------------------------------------------------------------
54739
+  (0.0ms) SAVEPOINT active_record_1
54740
+ 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 > '2013-10-03 08:48:07.772306') LIMIT 1
54741
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 03 Oct 2014 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "z3zEvRXdTHqk9ykBBdpL"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54743
+  (0.0ms) SAVEPOINT active_record_1
54744
+ 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 > '2013-10-03 08:48:07.774794') LIMIT 1
54745
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
54746
+  (0.4ms) rollback transaction
54747
+  (0.0ms) begin transaction
54748
+ ----------------------------------------------------------
54749
+ ProposalTest: test_should_not_return_no_action_if_accepted
54750
+ ----------------------------------------------------------
54751
+ 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 > '2013-10-03 08:48:07.776427') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54752
+  (0.1ms) SAVEPOINT active_record_1
54753
+ 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 > '2013-10-03 08:48:07.778043') LIMIT 1
54754
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "sGxmo1Qzvzcdv9QA87Bj"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54756
+ SQL (0.3ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:48:07.779749', "accepted_at" = '2013-10-03 08:48:07.779749' WHERE "proposal_tokens"."id" = 1
54757
+  (0.6ms) rollback transaction
54758
+  (0.0ms) begin transaction
54759
+ -----------------------------------------------------------
54760
+ ProposalTest: test_should_not_return_proposal_action_invite
54761
+ -----------------------------------------------------------
54762
+ 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 > '2013-10-03 08:48:07.781663') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54763
+ 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 > '2013-10-03 08:48:07.782833') LIMIT 1
54764
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54765
+ 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 > '2013-10-03 08:48:07.784158') LIMIT 1
54766
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54767
+  (0.0ms) rollback transaction
54768
+  (0.0ms) begin transaction
54769
+ -----------------------------------------------------------
54770
+ ProposalTest: test_should_not_return_proposal_action_notify
54771
+ -----------------------------------------------------------
54772
+  (0.0ms) SAVEPOINT active_record_1
54773
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54775
+ 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 > '2013-10-03 08:48:07.786557') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54776
+ 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 > '2013-10-03 08:48:07.787640') LIMIT 1
54777
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54778
+ 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 > '2013-10-03 08:48:07.788886') LIMIT 1
54779
+  (0.5ms) rollback transaction
54780
+  (0.1ms) begin transaction
54781
+ ------------------------------------------------------
54782
+ ProposalTest: test_should_not_return_proposal_instance
54783
+ ------------------------------------------------------
54784
+ 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 > '2013-10-03 08:48:07.790661') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54785
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54786
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54787
+  (0.0ms) rollback transaction
54788
+  (0.0ms) begin transaction
54789
+ -----------------------------------------------------------
54790
+ ProposalTest: test_should_raise_error_if_remind_is_not_true
54791
+ -----------------------------------------------------------
54792
+ 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 > '2013-10-03 08:48:07.793317') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54793
+ 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 > '2013-10-03 08:48:07.794558') LIMIT 1
54794
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54795
+  (0.0ms) rollback transaction
54796
+  (0.1ms) begin transaction
54797
+ --------------------------------------------------
54798
+ ProposalTest: test_should_respond_to_the_recipient
54799
+ --------------------------------------------------
54800
+  (0.0ms) SAVEPOINT active_record_1
54801
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54803
+ 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 > '2013-10-03 08:48:07.797036') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54804
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54805
+  (0.5ms) rollback transaction
54806
+  (0.1ms) begin transaction
54807
+ -------------------------------------------------
54808
+ ProposalTest: test_should_respond_to_the_resource
54809
+ -------------------------------------------------
54810
+  (0.0ms) SAVEPOINT active_record_1
54811
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54813
+  (0.0ms) SAVEPOINT active_record_1
54814
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54816
+ 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 > '2013-10-03 08:48:07.801259') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54817
+  (0.5ms) rollback transaction
54818
+  (0.0ms) begin transaction
54819
+ ----------------------------------------------
54820
+ ProposalTest: test_should_return_all_arguments
54821
+ ----------------------------------------------
54822
+ 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 > '2013-10-03 08:48:07.803042') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54823
+  (0.0ms) SAVEPOINT active_record_1
54824
+ 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 > '2013-10-03 08:48:07.804347') LIMIT 1
54825
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", "---\n- admin\n- 1\n"], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "SnvjsbJksQvXWsTJtqwk"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54827
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'SnvjsbJksQvXWsTJtqwk' LIMIT 1
54828
+  (0.5ms) rollback transaction
54829
+  (0.1ms) begin transaction
54830
+ -------------------------------------------------------
54831
+ ProposalTest: test_should_return_all_proposals_for_type
54832
+ -------------------------------------------------------
54833
+ 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 > '2013-10-03 08:48:07.808029') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54834
+  (0.1ms) SAVEPOINT active_record_1
54835
+ 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 > '2013-10-03 08:48:07.810018') LIMIT 1
54836
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "ZtLAByKd7PBi852p3yXG"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54838
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User'
54839
+  (0.4ms) rollback transaction
54840
+  (0.0ms) begin transaction
54841
+ ------------------------------------------------------------
54842
+ ProposalTest: test_should_return_hash_when_arguments_is_hash
54843
+ ------------------------------------------------------------
54844
+ 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 > '2013-10-03 08:48:07.813290') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54845
+  (0.0ms) SAVEPOINT active_record_1
54846
+ 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 > '2013-10-03 08:48:07.815141') LIMIT 1
54847
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", "---\n:role: admin\n"], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "vtNzwfUPQxEq65hqEmxY"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54849
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposable_type" = 'User' AND "proposal_tokens"."token" = 'vtNzwfUPQxEq65hqEmxY' LIMIT 1
54850
+  (0.6ms) rollback transaction
54851
+  (0.0ms) begin transaction
54852
+ --------------------------------------------------
54853
+ ProposalTest: test_should_return_proposal_instance
54854
+ --------------------------------------------------
54855
+  (0.0ms) SAVEPOINT active_record_1
54856
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54857
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54858
+ 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 > '2013-10-03 08:48:07.820553') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54859
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54860
+ 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 > '2013-10-03 08:48:07.822147') LIMIT 1
54861
+  (0.4ms) rollback transaction
54862
+  (0.1ms) begin transaction
54863
+ ----------------------------------------------------------------
54864
+ ProposalTest: test_should_return_proposals_for_proposer_instance
54865
+ ----------------------------------------------------------------
54866
+  (0.0ms) SAVEPOINT active_record_1
54867
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54869
+ 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 > '2013-10-03 08:48:07.824912') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54870
+  (0.0ms) SAVEPOINT active_record_1
54871
+ 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 > '2013-10-03 08:48:07.826478') LIMIT 1
54872
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "proposer_id", "proposer_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["proposer_id", 1], ["proposer_type", "User"], ["token", "RByaDgqbGksLhn6oeqpk"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54874
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."proposer_type" = 'User' AND "proposal_tokens"."proposer_id" = 1
54875
+  (0.5ms) rollback transaction
54876
+  (0.0ms) begin transaction
54877
+ ----------------------------------------------------------------
54878
+ ProposalTest: test_should_return_proposals_for_resource_instance
54879
+ ----------------------------------------------------------------
54880
+  (0.0ms) SAVEPOINT active_record_1
54881
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54883
+  (0.0ms) SAVEPOINT active_record_1
54884
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54886
+ 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 > '2013-10-03 08:48:07.832407') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54887
+  (0.0ms) SAVEPOINT active_record_1
54888
+ 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 > '2013-10-03 08:48:07.834050') LIMIT 1
54889
+ SQL (0.2ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "resource_id", "resource_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["resource_id", 1], ["resource_type", "Project"], ["token", "nrMj5rCcqxtjVZxcSQtE"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54891
+ Proposal::Token Load (0.1ms) SELECT "proposal_tokens".* FROM "proposal_tokens" WHERE "proposal_tokens"."resource_type" = 'Project' AND "proposal_tokens"."resource_id" = 1
54892
+  (0.6ms) rollback transaction
54893
+  (0.0ms) begin transaction
54894
+ ---------------------------------------------
54895
+ ProposalTest: test_should_return_the_resource
54896
+ ---------------------------------------------
54897
+  (0.0ms) SAVEPOINT active_record_1
54898
+ SQL (0.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54899
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54900
+ 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 > '2013-10-03 08:48:07.838157') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54901
+  (0.4ms) rollback transaction
54902
+  (0.0ms) begin transaction
54903
+ -------------------------------------------------------
54904
+ ProposalTest: test_should_return_token_from_to_s_method
54905
+ -------------------------------------------------------
54906
+ 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 > '2013-10-03 08:48:07.839969') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54907
+  (0.0ms) SAVEPOINT active_record_1
54908
+ 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 > '2013-10-03 08:48:07.841335') LIMIT 1
54909
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "Jg5g2RsBDBqPoguES7Wh"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54911
+  (0.5ms) rollback transaction
54912
+  (0.1ms) begin transaction
54913
+ -------------------------------------------
54914
+ ProposalTest: test_should_set_reminded_bang
54915
+ -------------------------------------------
54916
+  (0.0ms) SAVEPOINT active_record_1
54917
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54919
+ 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 > '2013-10-03 08:48:07.844988') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54920
+  (0.0ms) SAVEPOINT active_record_1
54921
+ 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 > '2013-10-03 08:48:07.846283') LIMIT 1
54922
+ SQL (0.4ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "s6PkmQw2osqLx1xBsnw4"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54924
+ 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 > '2013-10-03 08:48:07.847896') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54925
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54926
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:48:07.849660', "reminded_at" = '2013-10-03 08:48:07.849660' WHERE "proposal_tokens"."id" = 1
54927
+  (0.6ms) rollback transaction
54928
+  (0.1ms) begin transaction
54929
+ -------------------------------------------
54930
+ ProposalTest: test_should_set_reminded_safe
54931
+ -------------------------------------------
54932
+  (0.0ms) SAVEPOINT active_record_1
54933
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54935
+ 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 > '2013-10-03 08:48:07.853112') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54936
+  (0.0ms) SAVEPOINT active_record_1
54937
+ 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 > '2013-10-03 08:48:07.854804') LIMIT 1
54938
+ SQL (0.3ms) INSERT INTO "proposal_tokens" ("arguments", "created_at", "email", "expires_at", "proposable_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["arguments", nil], ["created_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00], ["email", "user@example.com"], ["expires_at", Fri, 04 Oct 2013 08:48:07 UTC +00:00], ["proposable_type", "User"], ["token", "zRV7asX1mHwTh85N4uV9"], ["updated_at", Thu, 03 Oct 2013 08:48:07 UTC +00:00]]
54939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54940
+ 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 > '2013-10-03 08:48:07.856538') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54941
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1
54942
+ SQL (0.1ms) UPDATE "proposal_tokens" SET "updated_at" = '2013-10-03 08:48:07.857979', "reminded_at" = '2013-10-03 08:48:07.857979' WHERE "proposal_tokens"."id" = 1
54943
+  (0.7ms) rollback transaction
54944
+  (0.0ms) begin transaction
54945
+ --------------------------------------------------------
54946
+ ProposalTest: test_should_validate_arguments_with_a_proc
54947
+ --------------------------------------------------------
54948
+ 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 > '2013-10-03 08:48:07.860206') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54949
+ 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 > '2013-10-03 08:48:07.861529') LIMIT 1
54950
+  (0.0ms) rollback transaction
54951
+  (0.0ms) begin transaction
54952
+ --------------------------------------------------------
54953
+ ProposalTest: test_should_validate_arguments_with_symbol
54954
+ --------------------------------------------------------
54955
+ 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 > '2013-10-03 08:48:07.862584') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54956
+ 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 > '2013-10-03 08:48:07.863704') LIMIT 1
54957
+  (0.1ms) rollback transaction
54958
+  (0.0ms) begin transaction
54959
+ -----------------------------------------------------------------
54960
+ ProposalTest: test_should_validate_arguments_with_symbol_and_args
54961
+ -----------------------------------------------------------------
54962
+ 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 > '2013-10-03 08:48:07.864704') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54963
+ 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 > '2013-10-03 08:48:07.865829') LIMIT 1
54964
+  (0.0ms) rollback transaction
54965
+  (0.0ms) begin transaction
54966
+ ---------------------------------------------------------
54967
+ ProposalTest: test_should_validate_arguments_with_symbols
54968
+ ---------------------------------------------------------
54969
+ 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 > '2013-10-03 08:48:07.866853') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54970
+ 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 > '2013-10-03 08:48:07.868040') LIMIT 1
54971
+  (0.0ms) rollback transaction
54972
+  (0.0ms) begin transaction
54973
+ ------------------------
54974
+ ProposalTest: test_truth
54975
+ ------------------------
54976
+  (0.0ms) rollback transaction
54977
+  (0.0ms) begin transaction
54978
+ --------------------------------------------
54979
+ ProposalTest: test_user_should_have_proposal
54980
+ --------------------------------------------
54981
+ 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 > '2013-10-03 08:48:07.869445') ORDER BY "proposal_tokens"."id" ASC LIMIT 1
54982
+  (0.0ms) rollback transaction