contour 1.0.0.beta6 → 1.0.0.beta7

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.
@@ -2,7 +2,7 @@
2
2
  <% provider_name = OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize %>
3
3
  <% image_name = provider.to_s.downcase %>
4
4
  <li>
5
- <a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %>" class="noicon">
5
+ <a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %>">
6
6
  <%= image_tag "contour/#{image_name}_32.png", align: 'absmiddle', height: "28px", title: provider_name %>
7
7
  <%= provider_name %>
8
8
  </a>
@@ -1,6 +1,7 @@
1
1
  <% @title = "Authentications" %>
2
-
3
- <h1><%= @title %></h1>
2
+ <div class="page-header">
3
+ <h1><%= @title %></h1>
4
+ </div>
4
5
 
5
6
  <% if @authentications %>
6
7
  <% unless @authentications.empty? %>
@@ -23,4 +24,4 @@
23
24
  <% end %>
24
25
 
25
26
 
26
- <%= render partial: 'contour/authentications/index' %>
27
+ <%= render partial: 'contour/authentications/index' %>
@@ -11,7 +11,7 @@
11
11
  <% Contour.menu_items.group_by{|i| i[:position]}.each do |position, items| %>
12
12
  <ul class="nav <%= 'pull-right' if position == 'right' %>">
13
13
  <% items.each_with_index do |menu_item, index| %>
14
- <% has_submenu = (menu_item[:links] || []).size > 0 %>
14
+ <% has_submenu = (menu_item[:links] || []).collect{|link| link[:condition].blank? or eval(link[:condition])}.include?(true) %>
15
15
  <% if display.include?(menu_item[:display]) and (menu_item[:condition].blank? or eval(menu_item[:condition])) %>
16
16
  <li class="<%= 'dropdown' if has_submenu %>" id="menu<%= position %><%= index %>">
17
17
  <%= link_to(
@@ -20,7 +20,7 @@
20
20
  target: menu_item[:target], style: "#{ 'display:inline-block;padding-right:0px' if has_submenu }")
21
21
  %>
22
22
  <%= link_to "<b class='caret'></b>".html_safe, '#', 'data-target' => "#menu#{position}#{index}", class: 'dropdown-toggle', 'data-toggle' => 'dropdown', style: 'display:inline-block;padding-left:0px' if has_submenu %>
23
- <% if menu_item[:links].size > 0 %>
23
+ <% if has_submenu %>
24
24
  <ul class="dropdown-menu">
25
25
  <% menu_item[:links].each do |link| %>
26
26
  <% if link[:condition].blank? or eval(link[:condition]) %>
@@ -24,7 +24,6 @@ Gem::Specification.new do |s|
24
24
  s.test_files = Dir["test/**/*"]
25
25
 
26
26
  s.add_dependency 'rails', '~> 3.2.3'
27
- s.add_dependency 'twitter-bootstrap-rails', '~> 2.0.6'
28
27
  s.add_dependency 'jquery-rails', '~> 2.0.2'
29
28
  s.add_dependency 'devise', '~> 2.0.4'
30
29
  s.add_dependency 'omniauth', '~> 1.0.3'
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
5
  TINY = 0
6
- BUILD = "beta6" # nil, "pre", "rc", "rc2"
6
+ BUILD = "beta7" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
Binary file
@@ -33560,3 +33560,531 @@ Completed 401 Unauthorized in 79ms
33560
33560
   (0.1ms) begin transaction
33561
33561
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33562
33562
   (0.1ms) rollback transaction
33563
+  (0.1ms) begin transaction
33564
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
33565
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 949717663, 201799169)
33566
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 876923740, 201799169)
33567
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 864673665, 201799169)
33568
+ Fixture Delete (0.1ms) DELETE FROM "users"
33569
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 201799169)
33570
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 999914115)
33571
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 725306934)
33572
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-07 14:20:50', '2012-05-07 14:20:50', 349534908)
33573
+  (9.9ms) commit transaction
33574
+  (0.1ms) begin transaction
33575
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
33576
+  (0.1ms) rollback transaction
33577
+  (0.1ms) begin transaction
33578
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33579
+  (0.1ms) rollback transaction
33580
+  (0.1ms) begin transaction
33581
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33582
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33583
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
33584
+ Processing by Contour::AuthenticationsController#create as HTML
33585
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-07 14:20:50 UTC", "updated_at"=>"2012-05-07 14:20:50 UTC"}}
33586
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
33587
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
33588
+ Logged in user found, creating associated authentication.
33589
+  (0.1ms) SAVEPOINT active_record_1
33590
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:20:50 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 07 May 2012 14:20:50 UTC +00:00], ["user_id", 201799169]]
33591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33592
+ Redirected to http://test.host/authentications
33593
+ Completed 302 Found in 63ms (ActiveRecord: 0.9ms)
33594
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
33595
+  (11.2ms) rollback transaction
33596
+  (0.1ms) begin transaction
33597
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33598
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33599
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
33600
+ Processing by Contour::AuthenticationsController#destroy as HTML
33601
+ Parameters: {"id"=>"949717663"}
33602
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
33603
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
33604
+  (0.1ms) SAVEPOINT active_record_1
33605
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
33606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33607
+ Redirected to http://test.host/authentications
33608
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
33609
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
33610
+  (0.4ms) rollback transaction
33611
+  (0.1ms) begin transaction
33612
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33613
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33614
+ Processing by Contour::AuthenticationsController#index as HTML
33615
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
33616
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
33617
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
33618
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
33619
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
33620
+ Completed 200 OK in 67ms (Views: 64.9ms | ActiveRecord: 0.4ms)
33621
+  (0.1ms) rollback transaction
33622
+  (0.0ms) begin transaction
33623
+ Processing by Contour::PasswordsController#create as HTML
33624
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
33625
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
33626
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'WowfqQHZcC8UHto28tki' LIMIT 1
33627
+  (0.0ms) SAVEPOINT active_record_1
33628
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'WowfqQHZcC8UHto28tki', "reset_password_sent_at" = '2012-05-07 14:20:50.920292', "updated_at" = '2012-05-07 14:20:50.921004' WHERE "users"."id" = 201799169
33629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33630
+
33631
+ Sent mail to valid@example.com (16ms)
33632
+ Date: Mon, 07 May 2012 10:20:51 -0400
33633
+ From: please-change-me-at-config-initializers-devise@example.com
33634
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
33635
+ To: valid@example.com
33636
+ Message-ID: <4fa7da438e8a_11dab3ff2f4434cd08769f@edge.mail>
33637
+ Subject: Reset password instructions
33638
+ Mime-Version: 1.0
33639
+ Content-Type: text/html;
33640
+ charset=UTF-8
33641
+ Content-Transfer-Encoding: 7bit
33642
+
33643
+ <p>Hello valid@example.com!</p>
33644
+
33645
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
33646
+
33647
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=WowfqQHZcC8UHto28tki">Change my password</a></p>
33648
+
33649
+ <p>If you didn't request this, please ignore this email.</p>
33650
+ <p>Your password won't change until you access the link above and create a new one.</p>
33651
+
33652
+ Redirected to http://test.host/users/login
33653
+ Completed 302 Found in 136ms (ActiveRecord: 0.0ms)
33654
+  (0.6ms) rollback transaction
33655
+  (0.0ms) begin transaction
33656
+ Processing by Contour::PasswordsController#new as HTML
33657
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
33658
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
33659
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (34.8ms)
33660
+ Completed 200 OK in 46ms (Views: 45.6ms | ActiveRecord: 0.0ms)
33661
+  (0.1ms) rollback transaction
33662
+  (0.1ms) begin transaction
33663
+  (0.0ms) rollback transaction
33664
+  (0.0ms) begin transaction
33665
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33666
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33667
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33668
+
33669
+
33670
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33671
+ Processing by WelcomeController#logged_in_page as HTML
33672
+ Completed 401 Unauthorized in 1ms
33673
+  (0.1ms) SAVEPOINT active_record_1
33674
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
33675
+ Binary data inserted for `string` type on column `encrypted_password`
33676
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:20:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$eoagyYqfyrdiyAGyvezPSuX2ZiLdd7adZrdrDyGUXEhe1nWTny6z."], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:20:51 UTC +00:00]]
33677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33678
+  (0.0ms) SAVEPOINT active_record_1
33679
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
33680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33681
+  (0.0ms) SAVEPOINT active_record_1
33682
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:20:51.162215' WHERE "users"."id" = 999914116
33683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33684
+  (0.0ms) SAVEPOINT active_record_1
33685
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-07 14:20:51.163492' WHERE "users"."id" = 999914116
33686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33687
+
33688
+
33689
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33690
+ Processing by Contour::SessionsController#create as HTML
33691
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
33692
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
33693
+  (0.1ms) SAVEPOINT active_record_1
33694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33695
+ Completed 401 Unauthorized in 7ms
33696
+
33697
+
33698
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33699
+ Processing by Contour::SessionsController#new as HTML
33700
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
33701
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
33702
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (28.6ms)
33703
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (30.5ms)
33704
+ Completed 200 OK in 41ms (Views: 40.3ms | ActiveRecord: 0.0ms)
33705
+  (0.7ms) rollback transaction
33706
+  (0.1ms) begin transaction
33707
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33708
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33709
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33710
+
33711
+
33712
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33713
+ Processing by WelcomeController#logged_in_page as HTML
33714
+ Completed 401 Unauthorized in 0ms
33715
+  (0.1ms) SAVEPOINT active_record_1
33716
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
33717
+ Binary data inserted for `string` type on column `encrypted_password`
33718
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:20:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$nzkwEjYmccC9EGFMo0Tn2Op5/g02IsZIQI1ugyodKgpULmXv7vGzW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:20:51 UTC +00:00]]
33719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33720
+  (0.0ms) SAVEPOINT active_record_1
33721
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
33722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33723
+  (0.0ms) SAVEPOINT active_record_1
33724
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:20:51.243576' WHERE "users"."id" = 999914116
33725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33726
+  (0.0ms) SAVEPOINT active_record_1
33727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33728
+
33729
+
33730
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33731
+ Processing by Contour::SessionsController#create as HTML
33732
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
33733
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
33734
+  (0.1ms) SAVEPOINT active_record_1
33735
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-07 14:20:51.252515', "current_sign_in_at" = '2012-05-07 14:20:51.252515', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-07 14:20:51.253283' WHERE "users"."id" = 999914116
33736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33737
+ Redirected to http://www.example.com/logged_in_page
33738
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
33739
+
33740
+
33741
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33742
+ Processing by WelcomeController#logged_in_page as HTML
33743
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
33744
+ Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.1ms)
33745
+  (0.8ms) rollback transaction
33746
+  (0.1ms) begin transaction
33747
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33748
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33749
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33750
+
33751
+
33752
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33753
+ Processing by WelcomeController#logged_in_page as HTML
33754
+ Completed 401 Unauthorized in 0ms
33755
+  (0.1ms) SAVEPOINT active_record_1
33756
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
33757
+ Binary data inserted for `string` type on column `encrypted_password`
33758
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:20:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$xK.os2DOoGgZb5L/TYYFs.axZS.cn9/jxU89X78qlB2.FUWN0osPy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:20:51 UTC +00:00]]
33759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33760
+  (0.0ms) SAVEPOINT active_record_1
33761
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
33762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33763
+  (0.0ms) SAVEPOINT active_record_1
33764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33765
+  (0.0ms) SAVEPOINT active_record_1
33766
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33767
+
33768
+
33769
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33770
+ Processing by Contour::SessionsController#create as HTML
33771
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
33772
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
33773
+  (0.0ms) SAVEPOINT active_record_1
33774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33775
+ Completed 401 Unauthorized in 4ms
33776
+
33777
+
33778
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33779
+ Processing by Contour::SessionsController#new as HTML
33780
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
33781
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
33782
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms)
33783
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
33784
+ Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)
33785
+  (0.6ms) rollback transaction
33786
+  (0.1ms) begin transaction
33787
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33788
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33789
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33790
+
33791
+
33792
+ Started GET "/" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33793
+ Processing by WelcomeController#index as HTML
33794
+ Completed 401 Unauthorized in 1ms
33795
+  (0.1ms) rollback transaction
33796
+  (0.1ms) begin transaction
33797
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33798
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33799
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33800
+
33801
+
33802
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33803
+ Processing by WelcomeController#logged_in_page as JSON
33804
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
33805
+  (0.1ms) SAVEPOINT active_record_1
33806
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-07 14:20:51.421301', "current_sign_in_at" = '2012-05-07 14:20:51.421301', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-07 14:20:51.421955' WHERE "users"."id" = 201799169
33807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33808
+ Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms)
33809
+  (0.6ms) rollback transaction
33810
+  (0.0ms) begin transaction
33811
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33812
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33813
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33814
+
33815
+
33816
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-07 10:20:51 -0400
33817
+ Processing by WelcomeController#logged_in_page as JSON
33818
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
33819
+ Completed 401 Unauthorized in 83ms
33820
+  (0.1ms) rollback transaction
33821
+  (0.1ms) begin transaction
33822
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33823
+  (0.1ms) rollback transaction
33824
+  (0.0ms) begin transaction
33825
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33826
+  (0.0ms) rollback transaction
33827
+  (0.1ms) begin transaction
33828
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
33829
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 949717663, 201799169)
33830
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 876923740, 201799169)
33831
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 864673665, 201799169)
33832
+ Fixture Delete (0.1ms) DELETE FROM "users"
33833
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 201799169)
33834
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 999914115)
33835
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 725306934)
33836
+ Fixture Insert (0.1ms) INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-07 14:27:59', '2012-05-07 14:27:59', 349534908)
33837
+  (1.8ms) commit transaction
33838
+  (0.0ms) begin transaction
33839
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
33840
+  (0.1ms) rollback transaction
33841
+  (0.1ms) begin transaction
33842
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33843
+  (0.0ms) rollback transaction
33844
+  (0.0ms) begin transaction
33845
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33846
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33847
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
33848
+ Processing by Contour::AuthenticationsController#create as HTML
33849
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-07 14:27:59 UTC", "updated_at"=>"2012-05-07 14:27:59 UTC"}}
33850
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
33851
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
33852
+ Logged in user found, creating associated authentication.
33853
+  (0.1ms) SAVEPOINT active_record_1
33854
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["user_id", 201799169]]
33855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33856
+ Redirected to http://test.host/authentications
33857
+ Completed 302 Found in 50ms (ActiveRecord: 0.8ms)
33858
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
33859
+  (0.6ms) rollback transaction
33860
+  (0.1ms) begin transaction
33861
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33862
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33863
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
33864
+ Processing by Contour::AuthenticationsController#destroy as HTML
33865
+ Parameters: {"id"=>"949717663"}
33866
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
33867
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
33868
+  (0.0ms) SAVEPOINT active_record_1
33869
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
33870
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33871
+ Redirected to http://test.host/authentications
33872
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
33873
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
33874
+  (0.5ms) rollback transaction
33875
+  (0.0ms) begin transaction
33876
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33877
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33878
+ Processing by Contour::AuthenticationsController#index as HTML
33879
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
33880
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
33881
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
33882
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
33883
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
33884
+ Completed 200 OK in 54ms (Views: 52.7ms | ActiveRecord: 0.4ms)
33885
+  (0.1ms) rollback transaction
33886
+  (0.0ms) begin transaction
33887
+ Processing by Contour::PasswordsController#create as HTML
33888
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
33889
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
33890
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'DaEE7vAyZ6f9GWLkyhk5' LIMIT 1
33891
+  (0.0ms) SAVEPOINT active_record_1
33892
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'DaEE7vAyZ6f9GWLkyhk5', "reset_password_sent_at" = '2012-05-07 14:27:59.387474', "updated_at" = '2012-05-07 14:27:59.388190' WHERE "users"."id" = 201799169
33893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33894
+
33895
+ Sent mail to valid@example.com (15ms)
33896
+ Date: Mon, 07 May 2012 10:27:59 -0400
33897
+ From: please-change-me-at-config-initializers-devise@example.com
33898
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
33899
+ To: valid@example.com
33900
+ Message-ID: <4fa7dbef74ed4_11e3c3ff6d0834cd883947@edge.mail>
33901
+ Subject: Reset password instructions
33902
+ Mime-Version: 1.0
33903
+ Content-Type: text/html;
33904
+ charset=UTF-8
33905
+ Content-Transfer-Encoding: 7bit
33906
+
33907
+ <p>Hello valid@example.com!</p>
33908
+
33909
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
33910
+
33911
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=DaEE7vAyZ6f9GWLkyhk5">Change my password</a></p>
33912
+
33913
+ <p>If you didn't request this, please ignore this email.</p>
33914
+ <p>Your password won't change until you access the link above and create a new one.</p>
33915
+
33916
+ Redirected to http://test.host/users/login
33917
+ Completed 302 Found in 111ms (ActiveRecord: 0.0ms)
33918
+  (1.0ms) rollback transaction
33919
+  (0.1ms) begin transaction
33920
+ Processing by Contour::PasswordsController#new as HTML
33921
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.5ms)
33922
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
33923
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (32.3ms)
33924
+ Completed 200 OK in 42ms (Views: 41.4ms | ActiveRecord: 0.0ms)
33925
+  (0.1ms) rollback transaction
33926
+  (0.0ms) begin transaction
33927
+  (0.0ms) rollback transaction
33928
+  (0.0ms) begin transaction
33929
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33930
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33931
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33932
+
33933
+
33934
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
33935
+ Processing by WelcomeController#logged_in_page as HTML
33936
+ Completed 401 Unauthorized in 0ms
33937
+  (0.1ms) SAVEPOINT active_record_1
33938
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
33939
+ Binary data inserted for `string` type on column `encrypted_password`
33940
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$IxgevgRdU60.GdIKreGrxuWxc6AGYGfle0sMvFMjL5sUNBFWHxYLm"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:27:59 UTC +00:00]]
33941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33942
+  (0.0ms) SAVEPOINT active_record_1
33943
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
33944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33945
+  (0.0ms) SAVEPOINT active_record_1
33946
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:27:59.585710' WHERE "users"."id" = 999914116
33947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33948
+  (0.0ms) SAVEPOINT active_record_1
33949
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-07 14:27:59.586867' WHERE "users"."id" = 999914116
33950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33951
+
33952
+
33953
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
33954
+ Processing by Contour::SessionsController#create as HTML
33955
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
33956
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
33957
+  (0.1ms) SAVEPOINT active_record_1
33958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33959
+ Completed 401 Unauthorized in 6ms
33960
+
33961
+
33962
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
33963
+ Processing by Contour::SessionsController#new as HTML
33964
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
33965
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
33966
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (28.4ms)
33967
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (30.3ms)
33968
+ Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.0ms)
33969
+  (1.2ms) rollback transaction
33970
+  (0.1ms) begin transaction
33971
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33972
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33973
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
33974
+
33975
+
33976
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
33977
+ Processing by WelcomeController#logged_in_page as HTML
33978
+ Completed 401 Unauthorized in 0ms
33979
+  (0.1ms) SAVEPOINT active_record_1
33980
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
33981
+ Binary data inserted for `string` type on column `encrypted_password`
33982
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$UpBAPb84ox9LOMCJNS1KguvyRORwwi8khtyZr0EAzYJVvjuclO/aa"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:27:59 UTC +00:00]]
33983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33984
+  (0.0ms) SAVEPOINT active_record_1
33985
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
33986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33987
+  (0.0ms) SAVEPOINT active_record_1
33988
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:27:59.665782' WHERE "users"."id" = 999914116
33989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33990
+  (0.0ms) SAVEPOINT active_record_1
33991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33992
+
33993
+
33994
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
33995
+ Processing by Contour::SessionsController#create as HTML
33996
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
33997
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
33998
+  (0.0ms) SAVEPOINT active_record_1
33999
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-07 14:27:59.673894', "current_sign_in_at" = '2012-05-07 14:27:59.673894', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-07 14:27:59.674348' WHERE "users"."id" = 999914116
34000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34001
+ Redirected to http://www.example.com/logged_in_page
34002
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
34003
+
34004
+
34005
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
34006
+ Processing by WelcomeController#logged_in_page as HTML
34007
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
34008
+ Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.1ms)
34009
+  (6.1ms) rollback transaction
34010
+  (0.1ms) begin transaction
34011
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34012
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34013
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34014
+
34015
+
34016
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
34017
+ Processing by WelcomeController#logged_in_page as HTML
34018
+ Completed 401 Unauthorized in 0ms
34019
+  (0.1ms) SAVEPOINT active_record_1
34020
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
34021
+ Binary data inserted for `string` type on column `encrypted_password`
34022
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 May 2012 14:27:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$A4Mk4RuDZ1PbLHIpuzFSgOXIi8mOOC.UIZrAa9PJZl4UucmcJBvEe"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Mon, 07 May 2012 14:27:59 UTC +00:00]]
34023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34024
+  (0.0ms) SAVEPOINT active_record_1
34025
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
34026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34027
+  (0.0ms) SAVEPOINT active_record_1
34028
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34029
+  (0.0ms) SAVEPOINT active_record_1
34030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34031
+
34032
+
34033
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
34034
+ Processing by Contour::SessionsController#create as HTML
34035
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
34036
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
34037
+  (0.0ms) SAVEPOINT active_record_1
34038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34039
+ Completed 401 Unauthorized in 4ms
34040
+
34041
+
34042
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
34043
+ Processing by Contour::SessionsController#new as HTML
34044
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
34045
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
34046
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
34047
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms)
34048
+ Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
34049
+  (0.6ms) rollback transaction
34050
+  (0.1ms) begin transaction
34051
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34052
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34053
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34054
+
34055
+
34056
+ Started GET "/" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
34057
+ Processing by WelcomeController#index as HTML
34058
+ Completed 401 Unauthorized in 1ms
34059
+  (0.1ms) rollback transaction
34060
+  (0.0ms) begin transaction
34061
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34062
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34063
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34064
+
34065
+
34066
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
34067
+ Processing by WelcomeController#logged_in_page as JSON
34068
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34069
+  (0.1ms) SAVEPOINT active_record_1
34070
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-07 14:27:59.840204', "current_sign_in_at" = '2012-05-07 14:27:59.840204', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-07 14:27:59.840817' WHERE "users"."id" = 201799169
34071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
34072
+ Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
34073
+  (0.9ms) rollback transaction
34074
+  (0.1ms) begin transaction
34075
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34076
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
34077
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
34078
+
34079
+
34080
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-07 10:27:59 -0400
34081
+ Processing by WelcomeController#logged_in_page as JSON
34082
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
34083
+ Completed 401 Unauthorized in 77ms
34084
+  (0.1ms) rollback transaction
34085
+  (0.0ms) begin transaction
34086
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34087
+  (0.1ms) rollback transaction
34088
+  (0.1ms) begin transaction
34089
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
34090
+  (0.0ms) rollback transaction