contour 1.0.0.beta6 → 1.0.0.beta7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +2 -0
- data/app/assets/images/twitter-bootstrap/v2.0.3/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/twitter-bootstrap/v2.0.3/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/contour.js +1 -1
- data/app/assets/javascripts/twitter-bootstrap/v2.0.3/bootstrap.js +1824 -0
- data/app/assets/stylesheets/bootstrap_and_overrides.css +14 -0
- data/app/assets/stylesheets/contour.css +2 -0
- data/app/assets/stylesheets/twitter-bootstrap/v2.0.3/bootstrap-responsive.css +808 -0
- data/app/assets/stylesheets/twitter-bootstrap/v2.0.3/bootstrap.css +4960 -0
- data/app/views/contour/authentications/_menu.html.erb +1 -1
- data/app/views/contour/authentications/index.html.erb +4 -3
- data/app/views/contour/layouts/_menu.html.erb +2 -2
- data/contour.gemspec +0 -1
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +528 -0
- metadata +30 -38
- data/app/assets/javascripts/contour/errors.js.coffee +0 -10
- data/app/assets/javascripts/external/waypoints.js +0 -610
- data/app/assets/stylesheets/bootstrap_and_overrides.css.less +0 -42
@@ -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 %>"
|
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] || []).
|
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
|
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]) %>
|
data/contour.gemspec
CHANGED
@@ -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'
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -33560,3 +33560,531 @@ Completed 401 Unauthorized in 79ms
|
|
33560
33560
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33561
33561
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33562
33562
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33563
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33564
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
33565
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
|
33566
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
33568
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
33569
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
33570
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
33572
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
33574
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33575
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
33576
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33577
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33578
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
33579
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33580
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33581
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33582
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
33583
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
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
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
33587
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
33588
|
+
Logged in user found, creating associated authentication.
|
33589
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33590
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33592
|
+
Redirected to http://test.host/authentications
|
33593
|
+
Completed 302 Found in 63ms (ActiveRecord: 0.9ms)
|
33594
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
33595
|
+
[1m[35m (11.2ms)[0m rollback transaction
|
33596
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33597
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33598
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
33599
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
33600
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
33601
|
+
Parameters: {"id"=>"949717663"}
|
33602
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
33603
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
33604
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33605
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
33606
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33607
|
+
Redirected to http://test.host/authentications
|
33608
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
33609
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
33610
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
33611
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33612
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33613
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
33614
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
33615
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
33616
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
33617
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33623
|
+
Processing by Contour::PasswordsController#create as HTML
|
33624
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
33625
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
33626
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'WowfqQHZcC8UHto28tki' LIMIT 1[0m
|
33627
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33628
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
33629
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
33655
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33662
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33663
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
33664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33665
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33666
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
33667
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33674
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
33675
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
33676
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33678
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33679
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
33680
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33681
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33682
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:20:51.162215' WHERE "users"."id" = 999914116
|
33683
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33684
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33685
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-07 14:20:51.163492' WHERE "users"."id" = 999914116[0m
|
33686
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
33693
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33694
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
33706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33707
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33708
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
33709
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33716
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
33720
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33721
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
33722
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33723
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33724
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:20:51.243576' WHERE "users"."id" = 999914116[0m
|
33725
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33726
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33727
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
33734
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33735
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
33736
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
33744
|
+
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.1ms)
|
33745
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
33746
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33747
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33748
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
33749
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33756
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33761
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
33762
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33764
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33765
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33766
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
33773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33774
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
33786
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33787
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33788
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
33789
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33796
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33797
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33798
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
33799
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
33805
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33806
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
33807
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33808
|
+
Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
33809
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
33810
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33811
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33812
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
33813
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
33819
|
+
Completed 401 Unauthorized in 83ms
|
33820
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33822
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33823
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33824
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33825
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33826
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
33827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33828
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
33829
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
|
33830
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
33832
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
33833
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
33834
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
33836
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
33838
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33839
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
33840
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33842
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
33843
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
33844
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33845
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33846
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
33847
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
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
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
33851
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
33852
|
+
Logged in user found, creating associated authentication.
|
33853
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33854
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33856
|
+
Redirected to http://test.host/authentications
|
33857
|
+
Completed 302 Found in 50ms (ActiveRecord: 0.8ms)
|
33858
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
33859
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
33860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33861
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33862
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
33863
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
33864
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
33865
|
+
Parameters: {"id"=>"949717663"}
|
33866
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
33867
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
33868
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33869
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
33870
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33871
|
+
Redirected to http://test.host/authentications
|
33872
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
33873
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
33874
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
33875
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33876
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33877
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
33878
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
33879
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
33880
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
33881
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33886
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33887
|
+
Processing by Contour::PasswordsController#create as HTML
|
33888
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
33889
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
33890
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'DaEE7vAyZ6f9GWLkyhk5' LIMIT 1[0m
|
33891
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33892
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
33893
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
33919
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33926
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33927
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
33928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33929
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33930
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
33931
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33938
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
33939
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
33940
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33942
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33943
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
33944
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33945
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33946
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:27:59.585710' WHERE "users"."id" = 999914116
|
33947
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33948
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33949
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-07 14:27:59.586867' WHERE "users"."id" = 999914116[0m
|
33950
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
33957
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33958
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
33970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33971
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33972
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
33973
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33980
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33985
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
33986
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33987
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33988
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-07 14:27:59.665782' WHERE "users"."id" = 999914116[0m
|
33989
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33990
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33991
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
33998
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33999
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
34000
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
34008
|
+
Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.1ms)
|
34009
|
+
[1m[35m (6.1ms)[0m rollback transaction
|
34010
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34011
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
34012
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
34013
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34020
|
+
[1m[35mUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
34024
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
34025
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
34026
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34028
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
34037
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
34038
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
34050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34051
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
34052
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
34053
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34060
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34061
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
34062
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
34063
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
34069
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34070
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
34071
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
34072
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
34073
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
34074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34075
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
34076
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
34077
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
34083
|
+
Completed 401 Unauthorized in 77ms
|
34084
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34085
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34086
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
34087
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34088
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34089
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
34090
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|