contour 1.1.0.rc2 → 1.1.0.rc3
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.
- data/CHANGELOG.rdoc +5 -0
- data/README.rdoc +1 -1
- data/app/controllers/contour/registrations_controller.rb +1 -1
- data/app/controllers/contour/sessions_controller.rb +5 -1
- data/lib/contour/version.rb +1 -1
- data/test/dummy/app/models/user.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +786 -0
- metadata +2 -2
data/CHANGELOG.rdoc
CHANGED
@@ -11,6 +11,11 @@
|
|
11
11
|
* Breaking Changes
|
12
12
|
* Unobtrusive JS now required, JavaScript is now included at bottom of HTML to improve perceived page load
|
13
13
|
|
14
|
+
== 1.0.6
|
15
|
+
|
16
|
+
* Enhancements
|
17
|
+
* Login and Registration API now return authentication token, first_name, last_name, id, and email for JSON requests on successful login
|
18
|
+
|
14
19
|
== 1.0.5
|
15
20
|
|
16
21
|
* Bug Fix
|
data/README.rdoc
CHANGED
@@ -117,7 +117,7 @@ You can then sign in using your {Google Account}[http://localhost:3000/auth/goog
|
|
117
117
|
|
118
118
|
Add {Kaminari}[https://github.com/amatsuda/kaminari] gem to your <tt>Gemfile</tt>
|
119
119
|
|
120
|
-
gem 'kaminari', '~> 0.
|
120
|
+
gem 'kaminari', '~> 0.14.0'
|
121
121
|
|
122
122
|
Update your gems
|
123
123
|
|
@@ -9,7 +9,7 @@ class Contour::RegistrationsController < Devise::RegistrationsController
|
|
9
9
|
if @user.save
|
10
10
|
respond_to do |format|
|
11
11
|
format.html { redirect_to @user, notice: 'User was successfully created.' }
|
12
|
-
format.json { render json: @user
|
12
|
+
format.json { render json: @user.as_json( only: [:id, :email, :first_name, :last_name, :authentication_token ] ), status: :created, location: @user }
|
13
13
|
end
|
14
14
|
else
|
15
15
|
respond_to do |format|
|
@@ -28,7 +28,11 @@ class Contour::SessionsController < Devise::SessionsController
|
|
28
28
|
if resource
|
29
29
|
set_flash_message(:notice, :signed_in) if is_navigational_format?
|
30
30
|
sign_in(resource_name, resource)
|
31
|
-
|
31
|
+
|
32
|
+
respond_to do |format|
|
33
|
+
format.html { respond_with resource, location: after_sign_in_path_for(resource) }
|
34
|
+
format.json { render json: { success: true, user: resource.as_json( only: [:id, :email, :first_name, :last_name, :authentication_token ] ) } }
|
35
|
+
end
|
32
36
|
else
|
33
37
|
resource = resource_name.to_s.titleize.constantize.find_by_email(params[resource_name][:email])
|
34
38
|
if resource and resource.respond_to?('authentications') and providers = resource.authentications.pluck(:provider).uniq and providers.size > 0
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -46010,3 +46010,789 @@ Completed 401 Unauthorized in 78ms
|
|
46010
46010
|
[1m[35m (0.0ms)[0m begin transaction
|
46011
46011
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46012
46012
|
[1m[35m (0.0ms)[0m rollback transaction
|
46013
|
+
Connecting to database specified by database.yml
|
46014
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46015
|
+
[1m[35mFixture Delete (30.7ms)[0m DELETE FROM "authentications"
|
46016
|
+
[1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-10 18:31:33', '2012-09-10 18:31:33', 949717663, 201799169)[0m
|
46017
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 876923740, 201799169)
|
46018
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 864673665, 201799169)[0m
|
46019
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "users"
|
46020
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 201799169)[0m
|
46021
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 999914115)
|
46022
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 725306934)[0m
|
46023
|
+
[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-09-10 18:31:33', '2012-09-10 18:31:33', 349534908)
|
46024
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
46025
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46026
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
46027
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46028
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46029
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46030
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46031
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46032
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46033
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46034
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46035
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
46036
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:31:33 UTC", "updated_at"=>"2012-09-10 18:31:33 UTC"}}
|
46037
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
46038
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46039
|
+
Logged in user found, creating associated authentication.
|
46040
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46041
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:31:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:31:33 UTC +00:00], ["user_id", 201799169]]
|
46042
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46043
|
+
Redirected to http://test.host/authentications
|
46044
|
+
Completed 302 Found in 33ms (ActiveRecord: 0.8ms)
|
46045
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46046
|
+
[1m[35m (20.4ms)[0m rollback transaction
|
46047
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46048
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46049
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
46050
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46051
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
46052
|
+
Parameters: {"id"=>"949717663"}
|
46053
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46054
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
46055
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46056
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
46057
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46058
|
+
Redirected to http://test.host/authentications
|
46059
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
46060
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46061
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
46062
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46063
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46064
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46065
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
46066
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46067
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
46068
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
46069
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
|
46070
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
46071
|
+
Completed 200 OK in 184ms (Views: 181.9ms | ActiveRecord: 0.3ms)
|
46072
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46073
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46074
|
+
Processing by Contour::PasswordsController#create as HTML
|
46075
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
46076
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46077
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zKqe7VLs7uVvRFf6nyGX' LIMIT 1[0m
|
46078
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46079
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'zKqe7VLs7uVvRFf6nyGX', "reset_password_sent_at" = '2012-09-10 18:31:33.572646', "updated_at" = '2012-09-10 18:31:33.574102' WHERE "users"."id" = 201799169[0m
|
46080
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46081
|
+
|
46082
|
+
Sent mail to valid@example.com (128ms)
|
46083
|
+
Date: Mon, 10 Sep 2012 14:31:33 -0400
|
46084
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
46085
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
46086
|
+
To: valid@example.com
|
46087
|
+
Message-ID: <504e3205cca82_af433fe4acc35ad434623@edge2.partners.org.mail>
|
46088
|
+
Subject: Reset password instructions
|
46089
|
+
Mime-Version: 1.0
|
46090
|
+
Content-Type: text/html;
|
46091
|
+
charset=UTF-8
|
46092
|
+
Content-Transfer-Encoding: 7bit
|
46093
|
+
|
46094
|
+
<p>Hello valid@example.com!</p>
|
46095
|
+
|
46096
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
46097
|
+
|
46098
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=zKqe7VLs7uVvRFf6nyGX">Change my password</a></p>
|
46099
|
+
|
46100
|
+
<p>If you didn't request this, please ignore this email.</p>
|
46101
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
46102
|
+
|
46103
|
+
Redirected to http://test.host/users/login
|
46104
|
+
Completed 302 Found in 377ms (ActiveRecord: 0.0ms)
|
46105
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
46106
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46107
|
+
Processing by Contour::PasswordsController#new as HTML
|
46108
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
|
46109
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.2ms)
|
46110
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.5ms)
|
46111
|
+
Completed 200 OK in 45ms (Views: 44.5ms | ActiveRecord: 0.0ms)
|
46112
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46113
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46114
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46116
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46117
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46118
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46120
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46121
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46122
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46123
|
+
|
46124
|
+
|
46125
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:33 -0400
|
46126
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46127
|
+
Completed 401 Unauthorized in 1ms
|
46128
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46129
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46130
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46131
|
+
[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, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$DwAlA3jInjonmwy0ucL9i.MKCfvtEwcBOkpjS7oE1Yxe8Z8wFkYf6"], ["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, 10 Sep 2012 18:31:34 UTC +00:00]]
|
46132
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46134
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46136
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
46137
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
46138
|
+
|
46139
|
+
|
46140
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46141
|
+
Processing by Contour::SessionsController#create as HTML
|
46142
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
46143
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46144
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46145
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46146
|
+
Completed 401 Unauthorized in 7ms
|
46147
|
+
|
46148
|
+
|
46149
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46150
|
+
Processing by Contour::SessionsController#new as HTML
|
46151
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
46152
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (29.9ms)
|
46153
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
46154
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
46155
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms)
|
46156
|
+
Completed 200 OK in 63ms (Views: 62.5ms | ActiveRecord: 0.0ms)
|
46157
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
46158
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46159
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46160
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46161
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46162
|
+
|
46163
|
+
|
46164
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46165
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46166
|
+
Completed 401 Unauthorized in 0ms
|
46167
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46168
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46169
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46170
|
+
[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, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$N2JtWevvgI/xfVhlIxM0Ru2aGTAXjy4zrfT77KSnvGt3Rhm/9.SGe"], ["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, 10 Sep 2012 18:31:34 UTC +00:00]]
|
46171
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46172
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46173
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
46174
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46175
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
46176
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
46177
|
+
|
46178
|
+
|
46179
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46180
|
+
Processing by Contour::SessionsController#create as HTML
|
46181
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
46182
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46183
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46184
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:31:34.202552', "current_sign_in_at" = '2012-09-10 18:31:34.202552', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:31:34.203113' WHERE "users"."id" = 999914116
|
46185
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46186
|
+
Redirected to http://www.example.com/logged_in_page
|
46187
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
46188
|
+
|
46189
|
+
|
46190
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46191
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46192
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
46193
|
+
Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.1ms)
|
46194
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
46195
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46196
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46197
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46198
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46199
|
+
|
46200
|
+
|
46201
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46202
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46203
|
+
Completed 401 Unauthorized in 0ms
|
46204
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46205
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46206
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46207
|
+
[1m[35mSQL (0.5ms)[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, 10 Sep 2012 18:31:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$aHdyDHWDVzsBMDkQuxVdG.nryVS9Q8PFjLD9B.Q7oQMMgtN4bFcDW"], ["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, 10 Sep 2012 18:31:34 UTC +00:00]]
|
46208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46209
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46210
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46211
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46212
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
46213
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
46214
|
+
|
46215
|
+
|
46216
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46217
|
+
Processing by Contour::SessionsController#create as HTML
|
46218
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
46219
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46220
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46221
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46222
|
+
Completed 401 Unauthorized in 4ms
|
46223
|
+
|
46224
|
+
|
46225
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46226
|
+
Processing by Contour::SessionsController#new as HTML
|
46227
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
46228
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
|
46229
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
46230
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
46231
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
46232
|
+
Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
|
46233
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
46234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46235
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46236
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46237
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46238
|
+
|
46239
|
+
|
46240
|
+
Started GET "/" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46241
|
+
Processing by WelcomeController#index as HTML
|
46242
|
+
Completed 401 Unauthorized in 0ms
|
46243
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46244
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46245
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46246
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46247
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46248
|
+
|
46249
|
+
|
46250
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46251
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46252
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46253
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46254
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:31:34.381771', "current_sign_in_at" = '2012-09-10 18:31:34.381771', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:31:34.382469' WHERE "users"."id" = 201799169
|
46255
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46256
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
46257
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
46258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46259
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46260
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46261
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46262
|
+
|
46263
|
+
|
46264
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:31:34 -0400
|
46265
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46266
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
46267
|
+
Completed 401 Unauthorized in 79ms
|
46268
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46270
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46271
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46272
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46273
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46274
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46275
|
+
Connecting to database specified by database.yml
|
46276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46277
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "authentications"
|
46278
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 949717663, 201799169)[0m
|
46279
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 876923740, 201799169)
|
46280
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 864673665, 201799169)[0m
|
46281
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
46282
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 201799169)[0m
|
46283
|
+
[1m[35mFixture Insert (0.2ms)[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-09-10 18:46:37', '2012-09-10 18:46:37', 999914115)
|
46284
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 725306934)[0m
|
46285
|
+
[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-09-10 18:46:37', '2012-09-10 18:46:37', 349534908)
|
46286
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
46287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46288
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
46289
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46290
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46291
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46292
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46293
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46294
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46295
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46296
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46297
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
46298
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:46:37 UTC", "updated_at"=>"2012-09-10 18:46:37 UTC"}}
|
46299
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
46300
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46301
|
+
Logged in user found, creating associated authentication.
|
46302
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46303
|
+
[1m[36mSQL (38.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:46:37 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:46:37 UTC +00:00], ["user_id", 201799169]]
|
46304
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46305
|
+
Redirected to http://test.host/authentications
|
46306
|
+
Completed 302 Found in 81ms (ActiveRecord: 39.2ms)
|
46307
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46308
|
+
[1m[35m (33.7ms)[0m rollback transaction
|
46309
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46310
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46311
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
46312
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46313
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
46314
|
+
Parameters: {"id"=>"949717663"}
|
46315
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46316
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
46317
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46318
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
46319
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46320
|
+
Redirected to http://test.host/authentications
|
46321
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
46322
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46323
|
+
[1m[36m (3.3ms)[0m [1mrollback transaction[0m
|
46324
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46325
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46326
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46327
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
46328
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46329
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
46330
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
46331
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
|
46332
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
46333
|
+
Completed 200 OK in 145ms (Views: 142.8ms | ActiveRecord: 0.4ms)
|
46334
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46336
|
+
Processing by Contour::PasswordsController#create as HTML
|
46337
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
46338
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46339
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'GgquaUa2pL6WvAWGCas3' LIMIT 1[0m
|
46340
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46341
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'GgquaUa2pL6WvAWGCas3', "reset_password_sent_at" = '2012-09-10 18:46:38.047598', "updated_at" = '2012-09-10 18:46:38.048660' WHERE "users"."id" = 201799169[0m
|
46342
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46343
|
+
|
46344
|
+
Sent mail to valid@example.com (70ms)
|
46345
|
+
Date: Mon, 10 Sep 2012 14:46:38 -0400
|
46346
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
46347
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
46348
|
+
To: valid@example.com
|
46349
|
+
Message-ID: <504e358e49683_b1013fc9c8835adc1644b@edge2.partners.org.mail>
|
46350
|
+
Subject: Reset password instructions
|
46351
|
+
Mime-Version: 1.0
|
46352
|
+
Content-Type: text/html;
|
46353
|
+
charset=UTF-8
|
46354
|
+
Content-Transfer-Encoding: 7bit
|
46355
|
+
|
46356
|
+
<p>Hello valid@example.com!</p>
|
46357
|
+
|
46358
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
46359
|
+
|
46360
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=GgquaUa2pL6WvAWGCas3">Change my password</a></p>
|
46361
|
+
|
46362
|
+
<p>If you didn't request this, please ignore this email.</p>
|
46363
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
46364
|
+
|
46365
|
+
Redirected to http://test.host/users/login
|
46366
|
+
Completed 302 Found in 392ms (ActiveRecord: 0.0ms)
|
46367
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
46368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46369
|
+
Processing by Contour::PasswordsController#new as HTML
|
46370
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.0ms)
|
46371
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
46372
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
|
46373
|
+
Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms)
|
46374
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46376
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46377
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46378
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46380
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46381
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46382
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46383
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46384
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46385
|
+
|
46386
|
+
|
46387
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46388
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46389
|
+
Completed 401 Unauthorized in 1ms
|
46390
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46391
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46392
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46393
|
+
[1m[35mSQL (0.8ms)[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, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$k1YnZJhyITnicXIimOa.5eSTSF/Dcd3iqVhTLBll0Sf2ydEdnT/sa"], ["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, 10 Sep 2012 18:46:38 UTC +00:00]]
|
46394
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46395
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46396
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46397
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46398
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
46399
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
46400
|
+
|
46401
|
+
|
46402
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46403
|
+
Processing by Contour::SessionsController#create as HTML
|
46404
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
46405
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46406
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46407
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46408
|
+
Completed 401 Unauthorized in 8ms
|
46409
|
+
|
46410
|
+
|
46411
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46412
|
+
Processing by Contour::SessionsController#new as HTML
|
46413
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
46414
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.2ms)
|
46415
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
46416
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
46417
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
|
46418
|
+
Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms)
|
46419
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
46420
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46421
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46422
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46423
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46424
|
+
|
46425
|
+
|
46426
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46427
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46428
|
+
Completed 401 Unauthorized in 0ms
|
46429
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46430
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46431
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46432
|
+
[1m[36mSQL (0.7ms)[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, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$G57Zblb/A9U4WCQuI5f6fuqYuw0X/SWOzYH8jTfuIjKYCq7cyciD6"], ["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, 10 Sep 2012 18:46:38 UTC +00:00]]
|
46433
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46434
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46435
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
46436
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46437
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
46438
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
46439
|
+
|
46440
|
+
|
46441
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46442
|
+
Processing by Contour::SessionsController#create as HTML
|
46443
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
46444
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46445
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46446
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:46:38.667006', "current_sign_in_at" = '2012-09-10 18:46:38.667006', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:46:38.667723' WHERE "users"."id" = 999914116
|
46447
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46448
|
+
Redirected to http://www.example.com/logged_in_page
|
46449
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
|
46450
|
+
|
46451
|
+
|
46452
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46453
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46454
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
46455
|
+
Completed 200 OK in 40ms (Views: 38.1ms | ActiveRecord: 0.2ms)
|
46456
|
+
[1m[36m (20.6ms)[0m [1mrollback transaction[0m
|
46457
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46458
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46459
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46460
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46461
|
+
|
46462
|
+
|
46463
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46464
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46465
|
+
Completed 401 Unauthorized in 0ms
|
46466
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46467
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46468
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46469
|
+
[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, 10 Sep 2012 18:46:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$0rHzFelYVGcrF5Wc4DrMtO9x5pwcDR7xUJkVm77cUX2buEj/QyXs2"], ["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, 10 Sep 2012 18:46:38 UTC +00:00]]
|
46470
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46471
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46472
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46473
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46474
|
+
[1m[36mSQL (7.6ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
46475
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
46476
|
+
|
46477
|
+
|
46478
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46479
|
+
Processing by Contour::SessionsController#create as HTML
|
46480
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
46481
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46482
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46483
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46484
|
+
Completed 401 Unauthorized in 5ms
|
46485
|
+
|
46486
|
+
|
46487
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46488
|
+
Processing by Contour::SessionsController#new as HTML
|
46489
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
46490
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms)
|
46491
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
46492
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
46493
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.3ms)
|
46494
|
+
Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
|
46495
|
+
[1m[35m (19.0ms)[0m rollback transaction
|
46496
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46497
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46498
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46499
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46500
|
+
|
46501
|
+
|
46502
|
+
Started GET "/" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46503
|
+
Processing by WelcomeController#index as HTML
|
46504
|
+
Completed 401 Unauthorized in 1ms
|
46505
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46506
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46507
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46508
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46509
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46510
|
+
|
46511
|
+
|
46512
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:46:38 -0400
|
46513
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46514
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46515
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46516
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:46:38.923351', "current_sign_in_at" = '2012-09-10 18:46:38.923351', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:46:38.924080' WHERE "users"."id" = 201799169
|
46517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46518
|
+
Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
46519
|
+
[1m[35m (137.2ms)[0m rollback transaction
|
46520
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46521
|
+
[1m[35mUser Load (7.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46522
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46523
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46524
|
+
|
46525
|
+
|
46526
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:46:39 -0400
|
46527
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46528
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
46529
|
+
Completed 401 Unauthorized in 79ms
|
46530
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46532
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46533
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46534
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46535
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46536
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46537
|
+
Connecting to database specified by database.yml
|
46538
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46539
|
+
[1m[35mFixture Delete (8.1ms)[0m DELETE FROM "authentications"
|
46540
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 949717663, 201799169)[0m
|
46541
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 876923740, 201799169)
|
46542
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-09-10 18:52:14', '2012-09-10 18:52:14', 864673665, 201799169)[0m
|
46543
|
+
[1m[35mFixture Delete (1.4ms)[0m DELETE FROM "users"
|
46544
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 201799169)[0m
|
46545
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 999914115)
|
46546
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 725306934)[0m
|
46547
|
+
[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-09-10 18:52:14', '2012-09-10 18:52:14', 349534908)
|
46548
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
46549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46550
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
46551
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46552
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46553
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46554
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46555
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46556
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46557
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46558
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46559
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
46560
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-09-10 18:52:14 UTC", "updated_at"=>"2012-09-10 18:52:14 UTC"}}
|
46561
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
46562
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46563
|
+
Logged in user found, creating associated authentication.
|
46564
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46565
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 10 Sep 2012 18:52:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 10 Sep 2012 18:52:14 UTC +00:00], ["user_id", 201799169]]
|
46566
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46567
|
+
Redirected to http://test.host/authentications
|
46568
|
+
Completed 302 Found in 52ms (ActiveRecord: 1.1ms)
|
46569
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
46570
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
46571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46572
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46573
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
46574
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46575
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
46576
|
+
Parameters: {"id"=>"949717663"}
|
46577
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46578
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
46579
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46580
|
+
[1m[35mSQL (0.9ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
46581
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46582
|
+
Redirected to http://test.host/authentications
|
46583
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
|
46584
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
46585
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
46586
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46587
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46588
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
46589
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
46590
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
46591
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
46592
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
46593
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.0ms)
|
46594
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
46595
|
+
Completed 200 OK in 147ms (Views: 144.8ms | ActiveRecord: 0.4ms)
|
46596
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46598
|
+
Processing by Contour::PasswordsController#create as HTML
|
46599
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
46600
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46601
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'rLcHTFNPKGXUu5Qq3CRx' LIMIT 1[0m
|
46602
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46603
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'rLcHTFNPKGXUu5Qq3CRx', "reset_password_sent_at" = '2012-09-10 18:52:15.147756', "updated_at" = '2012-09-10 18:52:15.149159' WHERE "users"."id" = 201799169[0m
|
46604
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46605
|
+
|
46606
|
+
Sent mail to valid@example.com (74ms)
|
46607
|
+
Date: Mon, 10 Sep 2012 14:52:15 -0400
|
46608
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
46609
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
46610
|
+
To: valid@example.com
|
46611
|
+
Message-ID: <504e36df6bdf5_b1aa3ffc4d835ad4887c0@edge2.partners.org.mail>
|
46612
|
+
Subject: Reset password instructions
|
46613
|
+
Mime-Version: 1.0
|
46614
|
+
Content-Type: text/html;
|
46615
|
+
charset=UTF-8
|
46616
|
+
Content-Transfer-Encoding: 7bit
|
46617
|
+
|
46618
|
+
<p>Hello valid@example.com!</p>
|
46619
|
+
|
46620
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
46621
|
+
|
46622
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=rLcHTFNPKGXUu5Qq3CRx">Change my password</a></p>
|
46623
|
+
|
46624
|
+
<p>If you didn't request this, please ignore this email.</p>
|
46625
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
46626
|
+
|
46627
|
+
Redirected to http://test.host/users/login
|
46628
|
+
Completed 302 Found in 416ms (ActiveRecord: 0.0ms)
|
46629
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
46630
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46631
|
+
Processing by Contour::PasswordsController#new as HTML
|
46632
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.9ms)
|
46633
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
46634
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms)
|
46635
|
+
Completed 200 OK in 39ms (Views: 38.0ms | ActiveRecord: 0.0ms)
|
46636
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46637
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46638
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46639
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46640
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46641
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46642
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46643
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46644
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46645
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46646
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46647
|
+
|
46648
|
+
|
46649
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46650
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46651
|
+
Completed 401 Unauthorized in 1ms
|
46652
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46653
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46654
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46655
|
+
[1m[35mSQL (0.9ms)[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, 10 Sep 2012 18:52:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$zaTDlrcmvornfxQwcHcdheqy8WCGuMIlOoLiR6jRroF9ZSL.nAdpe"], ["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, 10 Sep 2012 18:52:15 UTC +00:00]]
|
46656
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46657
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46658
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46659
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46660
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
46661
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
46662
|
+
|
46663
|
+
|
46664
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46665
|
+
Processing by Contour::SessionsController#create as HTML
|
46666
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
46667
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
46668
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46669
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46670
|
+
Completed 401 Unauthorized in 33ms
|
46671
|
+
|
46672
|
+
|
46673
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46674
|
+
Processing by Contour::SessionsController#new as HTML
|
46675
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
46676
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
|
46677
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
46678
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
46679
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
46680
|
+
Completed 200 OK in 47ms (Views: 45.9ms | ActiveRecord: 0.0ms)
|
46681
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
46682
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46683
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46684
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46685
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46686
|
+
|
46687
|
+
|
46688
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46689
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46690
|
+
Completed 401 Unauthorized in 0ms
|
46691
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46692
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46693
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46694
|
+
[1m[36mSQL (0.6ms)[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, 10 Sep 2012 18:52:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Rx5HH42oS1OQVe38cBwoSuHyZUnquuWvMlyWDoIIzXJjXTw3SarHC"], ["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, 10 Sep 2012 18:52:15 UTC +00:00]]
|
46695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46696
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46697
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
46698
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46699
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
46700
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
46701
|
+
|
46702
|
+
|
46703
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46704
|
+
Processing by Contour::SessionsController#create as HTML
|
46705
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
46706
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
46707
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46708
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:52:15.822608', "current_sign_in_at" = '2012-09-10 18:52:15.822608', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:52:15.823390' WHERE "users"."id" = 999914116
|
46709
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46710
|
+
Redirected to http://www.example.com/logged_in_page
|
46711
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
|
46712
|
+
|
46713
|
+
|
46714
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46715
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46716
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
46717
|
+
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.1ms)
|
46718
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
46719
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46720
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46721
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46722
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46723
|
+
|
46724
|
+
|
46725
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46726
|
+
Processing by WelcomeController#logged_in_page as HTML
|
46727
|
+
Completed 401 Unauthorized in 0ms
|
46728
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46729
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46730
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
46731
|
+
[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, 10 Sep 2012 18:52:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$WBcH8fjU.Ny8O/.8wYS.y.xEQxTDtDU5CAh5zxR4Gc8YyOLZfoBZK"], ["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, 10 Sep 2012 18:52:15 UTC +00:00]]
|
46732
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46733
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46734
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
46735
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46736
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
46737
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
46738
|
+
|
46739
|
+
|
46740
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46741
|
+
Processing by Contour::SessionsController#create as HTML
|
46742
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
46743
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
46744
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46745
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46746
|
+
Completed 401 Unauthorized in 4ms
|
46747
|
+
|
46748
|
+
|
46749
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46750
|
+
Processing by Contour::SessionsController#new as HTML
|
46751
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
46752
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms)
|
46753
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
46754
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
46755
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
46756
|
+
Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
|
46757
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
46758
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46759
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46760
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46761
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46762
|
+
|
46763
|
+
|
46764
|
+
Started GET "/" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46765
|
+
Processing by WelcomeController#index as HTML
|
46766
|
+
Completed 401 Unauthorized in 1ms
|
46767
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46768
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46769
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46770
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
46771
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
46772
|
+
|
46773
|
+
|
46774
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:52:15 -0400
|
46775
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46776
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
46777
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46778
|
+
[1m[35m (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = '2012-09-10 18:52:15.998592', "current_sign_in_at" = '2012-09-10 18:52:15.998592', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-09-10 18:52:15.999303' WHERE "users"."id" = 201799169
|
46779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46780
|
+
Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
46781
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
46782
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46783
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46784
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
46785
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
46786
|
+
|
46787
|
+
|
46788
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-09-10 14:52:16 -0400
|
46789
|
+
Processing by WelcomeController#logged_in_page as JSON
|
46790
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
46791
|
+
Completed 401 Unauthorized in 82ms
|
46792
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46793
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46794
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
46795
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46797
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
46798
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.rc3
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|