keymail 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -25
- data/app/mailers/keymail/auth_mailer.rb +2 -2
- data/app/models/keymail/authentication.rb +2 -1
- data/lib/keymail/version.rb +1 -1
- data/test/dummy/app/controllers/auth_controller.rb +8 -5
- data/test/dummy/app/views/auth/fail.html.erb +1 -0
- data/test/dummy/app/views/auth/request_email.html.erb +2 -4
- data/test/dummy/app/views/layouts/application.html.erb +0 -2
- data/test/dummy/config/environments/development.rb +1 -1
- data/test/dummy/config/initializers/setup_mail.rb +1 -3
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +672 -0
- data/test/dummy/log/test.log +6341 -0
- data/test/integration/feature_test.rb +6 -0
- data/test/models/keymail/authentication_test.rb +8 -2
- data/test/test_helper.rb +0 -5
- metadata +4 -4
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc50302edde03649164d0139fb72cfc3bddaf251
|
4
|
+
data.tar.gz: 0ad2eb0dd99c4bb00ba5b7ef897ea00ccc234065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef74168bedbdb6597a594efb3beee5ed4d66d283569e62f8e3605be5f3e4ee1d079a3b97ec54ceb6a50de164cb308cd3570c8064c0c9fb12781d0e109e1f610e
|
7
|
+
data.tar.gz: 3ae69b449e8944c1c4c07b054126d5327ef87366c7390b929440fd44933f1da7adb622cc470e059b9c21052ba6f92e9b3e58a09b0c9b6229c219951b1a19d15e
|
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/alcesleo/keymail.svg?branch=master)](https://travis-ci.org/alcesleo/keymail)
|
4
4
|
[![Coverage Status](https://coveralls.io/repos/alcesleo/keymail/badge.png?branch=master)](https://coveralls.io/r/alcesleo/keymail?branch=master)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/alcesleo/keymail.png)](https://codeclimate.com/github/alcesleo/keymail)
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/keymail.svg)](http://badge.fury.io/rb/keymail)
|
5
7
|
|
6
8
|
**UNDER CONSTRUCTION** - the contents of this file are written ahead of their implementation.
|
7
9
|
|
@@ -22,7 +24,7 @@
|
|
22
24
|
>
|
23
25
|
> The codes above are valid until _2014-04-10 18:35_
|
24
26
|
|
25
|
-
This frees you both from the trouble of managing passwords, and the
|
27
|
+
This frees you both from the trouble of managing passwords, and the risks of delegating to a third party (like OAuth).
|
26
28
|
|
27
29
|
Inspired by [this article](http://notes.xoxco.com/post/27999787765/is-it-time-for-password-less-login).
|
28
30
|
|
@@ -37,30 +39,7 @@ _The example might take a long time to load the first time, it's on a free Herok
|
|
37
39
|
[example-source]: https://github.com/alcesleo/keymail-example
|
38
40
|
[rubygems]: https://rubygems.org/gems/keymail
|
39
41
|
|
40
|
-
## Configuration
|
41
|
-
|
42
|
-
TODO
|
43
|
-
|
44
|
-
- Install the gem
|
45
|
-
- customize email message
|
46
|
-
- length of passcodes
|
47
|
-
- turn off passcodes (just ignore it in templates?)
|
48
|
-
- set length of expiration time
|
49
|
-
- redirect on login
|
50
|
-
- `first_login?` to redirect to registration forms
|
51
42
|
|
52
43
|
## Installation
|
53
44
|
|
54
|
-
See the [
|
55
|
-
|
56
|
-
- setup emailing
|
57
|
-
|
58
|
-
## Security
|
59
|
-
|
60
|
-
- Cookie stealing, always use https
|
61
|
-
- open source secret_token.rb
|
62
|
-
|
63
|
-
## Releases
|
64
|
-
|
65
|
-
Follow [SemVer](http://semver.org/)
|
66
|
-
|
45
|
+
See the [getting started guide](http://alcesleo.github.io/keymail/getting-started/) to set it up!
|
@@ -1,13 +1,13 @@
|
|
1
1
|
module Keymail
|
2
2
|
class AuthMailer < ActionMailer::Base
|
3
|
-
default from: "
|
3
|
+
default from: "rails.keymail@gmail.com"
|
4
4
|
|
5
5
|
# Subject can be set in your I18n file at config/locales/en.yml
|
6
6
|
# with the following lookup:
|
7
7
|
#
|
8
8
|
# en.auth_mailer.log_in.subject
|
9
9
|
#
|
10
|
-
def log_in
|
10
|
+
def log_in(token)
|
11
11
|
@token = token
|
12
12
|
|
13
13
|
mail to: token.email
|
@@ -6,11 +6,12 @@ module Keymail
|
|
6
6
|
|
7
7
|
token = Token.create(email: email, expires_at: 10.minutes.since)
|
8
8
|
AuthMailer.log_in(token).deliver
|
9
|
+
token
|
9
10
|
end
|
10
11
|
|
11
12
|
def self.verify_url_key(url_key)
|
12
13
|
token = Token.find_by(url_key: url_key)
|
13
|
-
token.destroy! unless token.nil?
|
14
|
+
token.destroy! unless token.nil? # this does not destroy the reference, only the entry
|
14
15
|
|
15
16
|
return Failure.new if token.nil?
|
16
17
|
return Expired.new(token) if token.expired?
|
data/lib/keymail/version.rb
CHANGED
@@ -7,6 +7,7 @@ class AuthController < ApplicationController
|
|
7
7
|
if params[:email].nil?
|
8
8
|
redirect_to :root
|
9
9
|
else
|
10
|
+
@email = params[:email]
|
10
11
|
Keymail::Authentication.request(params[:email])
|
11
12
|
end
|
12
13
|
end
|
@@ -14,6 +15,7 @@ class AuthController < ApplicationController
|
|
14
15
|
def validate_link
|
15
16
|
result = Keymail::Authentication.verify_url_key(params[:url_key])
|
16
17
|
if result.authenticated?
|
18
|
+
session[:success_email] = result.email
|
17
19
|
redirect_to :success
|
18
20
|
else
|
19
21
|
redirect_to :fail
|
@@ -21,11 +23,12 @@ class AuthController < ApplicationController
|
|
21
23
|
|
22
24
|
end
|
23
25
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
def fail
|
27
|
+
end
|
28
|
+
|
29
|
+
def success
|
30
|
+
@email = session[:success_email]
|
31
|
+
end
|
29
32
|
|
30
33
|
|
31
34
|
# def validate_passcode
|
@@ -0,0 +1 @@
|
|
1
|
+
<h1>Login failed</h1>
|
@@ -14,7 +14,7 @@ Dummy::Application.configure do
|
|
14
14
|
config.action_controller.perform_caching = false
|
15
15
|
|
16
16
|
# Don't care if the mailer can't send.
|
17
|
-
config.action_mailer.raise_delivery_errors =
|
17
|
+
config.action_mailer.raise_delivery_errors = true
|
18
18
|
|
19
19
|
# Print deprecation notices to the Rails logger.
|
20
20
|
config.active_support.deprecation = :log
|
@@ -3,11 +3,9 @@ ActionMailer::Base.smtp_settings = {
|
|
3
3
|
:port => 587,
|
4
4
|
:domain => "gmail.com",
|
5
5
|
:user_name => "rails.keymail",
|
6
|
-
:password =>
|
6
|
+
:password => "tk7kJPZg8rA9Yw6d",
|
7
7
|
:authentication => "plain",
|
8
8
|
:enable_starttls_auto => true
|
9
|
-
|
10
9
|
}
|
11
|
-
|
12
10
|
ActionMailer::Base.default_url_options[:host] = 'localhost:3000'
|
13
11
|
|
Binary file
|
@@ -829,3 +829,675 @@ ActionController::RoutingError (No route matches [GET] "/javascripts/application
|
|
829
829
|
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
|
830
830
|
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
|
831
831
|
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (15.0ms)
|
832
|
+
|
833
|
+
|
834
|
+
Started GET "/" for 127.0.0.1 at 2014-04-30 12:48:43 +0200
|
835
|
+
Processing by AuthController#new as HTML
|
836
|
+
Rendered auth/new.html.erb within layouts/application (9.5ms)
|
837
|
+
Completed 200 OK in 18ms (Views: 17.4ms | ActiveRecord: 0.0ms)
|
838
|
+
|
839
|
+
|
840
|
+
Started GET "/stylesheets/application.css" for 127.0.0.1 at 2014-04-30 12:48:43 +0200
|
841
|
+
|
842
|
+
ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"):
|
843
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
844
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
845
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
846
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
847
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
848
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
849
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
850
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
851
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
852
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
853
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
854
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
855
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
856
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
857
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
858
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
859
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
860
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
861
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
862
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
863
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
864
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
865
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
866
|
+
|
867
|
+
|
868
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
869
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
|
870
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.5ms)
|
871
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (19.5ms)
|
872
|
+
|
873
|
+
|
874
|
+
Started GET "/javascripts/application.js" for 127.0.0.1 at 2014-04-30 12:48:43 +0200
|
875
|
+
|
876
|
+
ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
|
877
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
878
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
879
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
880
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
881
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
882
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
883
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
884
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
885
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
886
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
887
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
888
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
889
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
890
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
891
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
892
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
893
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
894
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
895
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
896
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
897
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
898
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
899
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
900
|
+
|
901
|
+
|
902
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
903
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms)
|
904
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
|
905
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (12.6ms)
|
906
|
+
|
907
|
+
|
908
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 12:48:48 +0200
|
909
|
+
Processing by AuthController#request_email as HTML
|
910
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
911
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
912
|
+
[1m[35mKeymail::Token Exists (0.2ms)[0m SELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'm7Z2UCJLsG_pZpvNRpmKtw' LIMIT 1
|
913
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Apr 2014 10:48:48 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 10:58:48 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 10:48:48 UTC +00:00], ["url_key", "m7Z2UCJLsG_pZpvNRpmKtw"]]
|
914
|
+
[1m[35m (2.3ms)[0m commit transaction
|
915
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (0.7ms)
|
916
|
+
|
917
|
+
Sent mail to lagginglion@gmail.com (7.7ms)
|
918
|
+
Date: Wed, 30 Apr 2014 12:48:48 +0200
|
919
|
+
From: rails.keymail@gmail.com
|
920
|
+
To: lagginglion@gmail.com
|
921
|
+
Message-ID: <5360d510c378d_fdc0812fec3029e6@jimmys-mbp.fritz.box.mail>
|
922
|
+
Subject: Log in
|
923
|
+
Mime-Version: 1.0
|
924
|
+
Content-Type: text/plain;
|
925
|
+
charset=UTF-8
|
926
|
+
Content-Transfer-Encoding: 7bit
|
927
|
+
|
928
|
+
To log in, simply click this link:
|
929
|
+
|
930
|
+
http://localhost:3000/auth/m7Z2UCJLsG_pZpvNRpmKtw
|
931
|
+
|
932
|
+
This keymail is valid until 2014-04-30 10:58:48 UTC
|
933
|
+
|
934
|
+
Rendered auth/request_email.html.erb within layouts/application (0.4ms)
|
935
|
+
Completed 200 OK in 58ms (Views: 4.4ms | ActiveRecord: 6.3ms)
|
936
|
+
|
937
|
+
|
938
|
+
Started GET "/stylesheets/application.css" for 127.0.0.1 at 2014-04-30 12:48:48 +0200
|
939
|
+
|
940
|
+
ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"):
|
941
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
942
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
943
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
944
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
945
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
946
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
947
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
948
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
949
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
950
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
951
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
952
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
953
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
954
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
955
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
956
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
957
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
958
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
959
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
960
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
961
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
962
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
963
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
964
|
+
|
965
|
+
|
966
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
967
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms)
|
968
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
|
969
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (12.0ms)
|
970
|
+
|
971
|
+
|
972
|
+
Started GET "/javascripts/application.js" for 127.0.0.1 at 2014-04-30 12:48:48 +0200
|
973
|
+
|
974
|
+
ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
|
975
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
976
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
977
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
978
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
979
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
980
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
981
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
982
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
983
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
984
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
985
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
986
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
987
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
988
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
989
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
990
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
991
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
992
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
993
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
994
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
995
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
996
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
997
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
998
|
+
|
999
|
+
|
1000
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
|
1001
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
|
1002
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms)
|
1003
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (12.0ms)
|
1004
|
+
|
1005
|
+
|
1006
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 12:50:25 +0200
|
1007
|
+
Processing by AuthController#request_email as HTML
|
1008
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
1009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1010
|
+
[1m[35mKeymail::Token Exists (0.1ms)[0m SELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 's4_LIq63e1aqnNGRkwqLqQ' LIMIT 1
|
1011
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Apr 2014 10:50:25 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 11:00:25 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 10:50:25 UTC +00:00], ["url_key", "s4_LIq63e1aqnNGRkwqLqQ"]]
|
1012
|
+
[1m[35m (2.5ms)[0m commit transaction
|
1013
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (0.3ms)
|
1014
|
+
|
1015
|
+
Sent mail to lagginglion@gmail.com (5.0ms)
|
1016
|
+
Date: Wed, 30 Apr 2014 12:50:25 +0200
|
1017
|
+
From: rails.keymail@gmail.com
|
1018
|
+
To: lagginglion@gmail.com
|
1019
|
+
Message-ID: <5360d571d30a2_fdc0810190603071@jimmys-mbp.fritz.box.mail>
|
1020
|
+
Subject: Log in
|
1021
|
+
Mime-Version: 1.0
|
1022
|
+
Content-Type: text/plain;
|
1023
|
+
charset=UTF-8
|
1024
|
+
Content-Transfer-Encoding: 7bit
|
1025
|
+
|
1026
|
+
To log in, simply click this link:
|
1027
|
+
|
1028
|
+
http://localhost:3000/auth/s4_LIq63e1aqnNGRkwqLqQ
|
1029
|
+
|
1030
|
+
This keymail is valid until 2014-04-30 11:00:25 UTC
|
1031
|
+
|
1032
|
+
Rendered auth/request_email.html.erb within layouts/application (0.1ms)
|
1033
|
+
Completed 200 OK in 32ms (Views: 2.2ms | ActiveRecord: 3.4ms)
|
1034
|
+
|
1035
|
+
|
1036
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 12:53:38 +0200
|
1037
|
+
Processing by AuthController#request_email as HTML
|
1038
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
1039
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1040
|
+
[1m[35mKeymail::Token Exists (0.1ms)[0m SELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = '6yJkaR3Lnax4o3B7RRUKYA' LIMIT 1
|
1041
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Apr 2014 10:53:38 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 11:03:38 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 10:53:38 UTC +00:00], ["url_key", "6yJkaR3Lnax4o3B7RRUKYA"]]
|
1042
|
+
[1m[35m (2.4ms)[0m commit transaction
|
1043
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (0.3ms)
|
1044
|
+
|
1045
|
+
Sent mail to lagginglion@gmail.com (5.4ms)
|
1046
|
+
Date: Wed, 30 Apr 2014 12:53:38 +0200
|
1047
|
+
From: rails.keymail@gmail.com
|
1048
|
+
To: lagginglion@gmail.com
|
1049
|
+
Message-ID: <5360d632d1cdc_fdc080abed543168@jimmys-mbp.fritz.box.mail>
|
1050
|
+
Subject: Log in
|
1051
|
+
Mime-Version: 1.0
|
1052
|
+
Content-Type: text/plain;
|
1053
|
+
charset=UTF-8
|
1054
|
+
Content-Transfer-Encoding: 7bit
|
1055
|
+
|
1056
|
+
To log in, simply click this link:
|
1057
|
+
|
1058
|
+
http://localhost:3000/auth/6yJkaR3Lnax4o3B7RRUKYA
|
1059
|
+
|
1060
|
+
This keymail is valid until 2014-04-30 11:03:38 UTC
|
1061
|
+
|
1062
|
+
Rendered auth/request_email.html.erb within layouts/application (0.1ms)
|
1063
|
+
Completed 200 OK in 32ms (Views: 1.8ms | ActiveRecord: 3.3ms)
|
1064
|
+
|
1065
|
+
|
1066
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 12:53:51 +0200
|
1067
|
+
Processing by AuthController#request_email as HTML
|
1068
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
1069
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1070
|
+
[1m[35mKeymail::Token Exists (0.2ms)[0m SELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'TfFVlLfdWHzrkL5ZTPJzKw' LIMIT 1
|
1071
|
+
[1m[36mSQL (3.7ms)[0m [1mINSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Apr 2014 10:53:51 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 11:03:51 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 10:53:51 UTC +00:00], ["url_key", "TfFVlLfdWHzrkL5ZTPJzKw"]]
|
1072
|
+
[1m[35m (1.9ms)[0m commit transaction
|
1073
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (1.3ms)
|
1074
|
+
|
1075
|
+
Sent mail to lagginglion@gmail.com (8.1ms)
|
1076
|
+
Date: Wed, 30 Apr 2014 12:53:51 +0200
|
1077
|
+
From: rails.keymail@gmail.com
|
1078
|
+
To: lagginglion@gmail.com
|
1079
|
+
Message-ID: <5360d63f38dbd_105d282f8fc14696c6@jimmys-mbp.fritz.box.mail>
|
1080
|
+
Subject: Log in
|
1081
|
+
Mime-Version: 1.0
|
1082
|
+
Content-Type: text/plain;
|
1083
|
+
charset=UTF-8
|
1084
|
+
Content-Transfer-Encoding: 7bit
|
1085
|
+
|
1086
|
+
To log in, simply click this link:
|
1087
|
+
|
1088
|
+
http://localhost:3000/auth/TfFVlLfdWHzrkL5ZTPJzKw
|
1089
|
+
|
1090
|
+
This keymail is valid until 2014-04-30 11:03:51 UTC
|
1091
|
+
|
1092
|
+
Completed 500 Internal Server Error in 71ms
|
1093
|
+
|
1094
|
+
ArgumentError (SMTP-AUTH requested but missing secret phrase):
|
1095
|
+
app/controllers/auth_controller.rb:11:in `request_email'
|
1096
|
+
|
1097
|
+
|
1098
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms)
|
1099
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
1100
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
1101
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.1ms)
|
1102
|
+
|
1103
|
+
|
1104
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 13:04:20 +0200
|
1105
|
+
Processing by AuthController#request_email as HTML
|
1106
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
1107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1108
|
+
[1m[35mKeymail::Token Exists (0.2ms)[0m SELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'lUvo4abZvYJwhKchF5rFPA' LIMIT 1
|
1109
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Apr 2014 11:04:20 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 11:14:20 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 11:04:20 UTC +00:00], ["url_key", "lUvo4abZvYJwhKchF5rFPA"]]
|
1110
|
+
[1m[35m (2.2ms)[0m commit transaction
|
1111
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (1.4ms)
|
1112
|
+
|
1113
|
+
Sent mail to lagginglion@gmail.com (2796.6ms)
|
1114
|
+
Date: Wed, 30 Apr 2014 13:04:21 +0200
|
1115
|
+
From: rails.keymail@gmail.com
|
1116
|
+
To: lagginglion@gmail.com
|
1117
|
+
Message-ID: <5360d8b55c6b_1130982fd3cfc3510@jimmys-mbp.fritz.box.mail>
|
1118
|
+
Subject: Log in
|
1119
|
+
Mime-Version: 1.0
|
1120
|
+
Content-Type: text/plain;
|
1121
|
+
charset=UTF-8
|
1122
|
+
Content-Transfer-Encoding: 7bit
|
1123
|
+
|
1124
|
+
To log in, simply click this link:
|
1125
|
+
|
1126
|
+
http://localhost:3000/auth/lUvo4abZvYJwhKchF5rFPA
|
1127
|
+
|
1128
|
+
This keymail is valid until 2014-04-30 11:14:20 UTC
|
1129
|
+
|
1130
|
+
Rendered auth/request_email.html.erb within layouts/application (0.5ms)
|
1131
|
+
Completed 200 OK in 2857ms (Views: 3.2ms | ActiveRecord: 5.9ms)
|
1132
|
+
|
1133
|
+
|
1134
|
+
Started GET "/auth/lUvo4abZvYJwhKchF5rFPA" for 127.0.0.1 at 2014-04-30 13:04:36 +0200
|
1135
|
+
Processing by AuthController#validate_link as HTML
|
1136
|
+
Parameters: {"url_key"=>"lUvo4abZvYJwhKchF5rFPA"}
|
1137
|
+
[1m[36mKeymail::Token Load (0.2ms)[0m [1mSELECT "keymail_tokens".* FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'lUvo4abZvYJwhKchF5rFPA' LIMIT 1[0m
|
1138
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1139
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "keymail_tokens" WHERE "keymail_tokens"."id" = ?[0m [["id", 8]]
|
1140
|
+
[1m[35m (2.0ms)[0m commit transaction
|
1141
|
+
Redirected to http://localhost:3000/success
|
1142
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.7ms)
|
1143
|
+
|
1144
|
+
|
1145
|
+
Started GET "/success" for 127.0.0.1 at 2014-04-30 13:04:36 +0200
|
1146
|
+
Processing by AuthController#success as HTML
|
1147
|
+
Rendered auth/success.html.erb within layouts/application (0.4ms)
|
1148
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
1149
|
+
|
1150
|
+
|
1151
|
+
Started GET "/auth/lUvo4abZvYJwhKchF5rFPA" for 127.0.0.1 at 2014-04-30 13:06:28 +0200
|
1152
|
+
Processing by AuthController#validate_link as HTML
|
1153
|
+
Parameters: {"url_key"=>"lUvo4abZvYJwhKchF5rFPA"}
|
1154
|
+
[1m[36mKeymail::Token Load (0.1ms)[0m [1mSELECT "keymail_tokens".* FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'lUvo4abZvYJwhKchF5rFPA' LIMIT 1[0m
|
1155
|
+
Redirected to http://localhost:3000/fail
|
1156
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
1157
|
+
|
1158
|
+
|
1159
|
+
Started GET "/fail" for 127.0.0.1 at 2014-04-30 13:06:28 +0200
|
1160
|
+
Processing by AuthController#fail as HTML
|
1161
|
+
Completed 500 Internal Server Error in 3ms
|
1162
|
+
|
1163
|
+
ActionView::MissingTemplate (Missing template auth/fail, application/fail with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
|
1164
|
+
* "/Users/alcesleo/Projects/keymail/test/dummy/app/views"
|
1165
|
+
* "/Users/alcesleo/Projects/keymail/app/views"
|
1166
|
+
):
|
1167
|
+
actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
|
1168
|
+
actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
|
1169
|
+
actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
1170
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
|
1171
|
+
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
1172
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
1173
|
+
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
1174
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
|
1175
|
+
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
|
1176
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
|
1177
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
|
1178
|
+
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
|
1179
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
|
1180
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
1181
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
1182
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
1183
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
|
1184
|
+
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
1185
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
1186
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
1187
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
1188
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
1189
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
1190
|
+
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
1191
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
|
1192
|
+
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
1193
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
1194
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:383:in `_run__3917404872373789580__process_action__callbacks'
|
1195
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
1196
|
+
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
1197
|
+
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
1198
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
1199
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
|
1200
|
+
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
1201
|
+
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
|
1202
|
+
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
1203
|
+
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
1204
|
+
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
1205
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
|
1206
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
1207
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
1208
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
1209
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
1210
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
1211
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
1212
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
1213
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
1214
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
1215
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
1216
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
1217
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
1218
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
1219
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
1220
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
1221
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
1222
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
1223
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
1224
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
1225
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
1226
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
1227
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
1228
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
1229
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3900767765152228598__call__callbacks'
|
1230
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
1231
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
1232
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
1233
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
1234
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
1235
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
1236
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
1237
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
1238
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1239
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1240
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1241
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
1242
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
1243
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
1244
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
1245
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
1246
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
1247
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
1248
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
1249
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
1250
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
1251
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
1252
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
1253
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
1254
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
1255
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
1256
|
+
/Users/alcesleo/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
1257
|
+
|
1258
|
+
|
1259
|
+
Rendered /Users/alcesleo/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.4ms)
|
1260
|
+
|
1261
|
+
|
1262
|
+
Started GET "/success" for 127.0.0.1 at 2014-04-30 13:06:52 +0200
|
1263
|
+
Processing by AuthController#success as HTML
|
1264
|
+
Rendered auth/success.html.erb within layouts/application (0.1ms)
|
1265
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
1266
|
+
|
1267
|
+
|
1268
|
+
Started GET "/" for 127.0.0.1 at 2014-04-30 13:06:55 +0200
|
1269
|
+
Processing by AuthController#new as HTML
|
1270
|
+
Rendered auth/new.html.erb within layouts/application (1.3ms)
|
1271
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
1272
|
+
|
1273
|
+
|
1274
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 13:07:00 +0200
|
1275
|
+
Processing by AuthController#request_email as HTML
|
1276
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
1277
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1278
|
+
[1m[36mKeymail::Token Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'MNR332AjNVv0ObWp6J_YWA' LIMIT 1[0m
|
1279
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 30 Apr 2014 11:07:00 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 11:17:00 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 11:07:00 UTC +00:00], ["url_key", "MNR332AjNVv0ObWp6J_YWA"]]
|
1280
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
1281
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (0.3ms)
|
1282
|
+
|
1283
|
+
Sent mail to lagginglion@gmail.com (1454.6ms)
|
1284
|
+
Date: Wed, 30 Apr 2014 13:07:00 +0200
|
1285
|
+
From: rails.keymail@gmail.com
|
1286
|
+
To: lagginglion@gmail.com
|
1287
|
+
Message-ID: <5360d954cd75c_1130982eb4ec036b4@jimmys-mbp.fritz.box.mail>
|
1288
|
+
Subject: Log in
|
1289
|
+
Mime-Version: 1.0
|
1290
|
+
Content-Type: text/plain;
|
1291
|
+
charset=UTF-8
|
1292
|
+
Content-Transfer-Encoding: 7bit
|
1293
|
+
|
1294
|
+
To log in, simply click this link:
|
1295
|
+
|
1296
|
+
http://localhost:3000/auth/MNR332AjNVv0ObWp6J_YWA
|
1297
|
+
|
1298
|
+
This keymail is valid until 2014-04-30 11:17:00 UTC
|
1299
|
+
|
1300
|
+
Rendered auth/request_email.html.erb within layouts/application (0.1ms)
|
1301
|
+
Completed 200 OK in 1479ms (Views: 1.6ms | ActiveRecord: 3.0ms)
|
1302
|
+
|
1303
|
+
|
1304
|
+
Started GET "/auth/MNR332AjNVv0ObWp6J_YWA" for 127.0.0.1 at 2014-04-30 13:07:08 +0200
|
1305
|
+
Processing by AuthController#validate_link as HTML
|
1306
|
+
Parameters: {"url_key"=>"MNR332AjNVv0ObWp6J_YWA"}
|
1307
|
+
[1m[35mKeymail::Token Load (0.2ms)[0m SELECT "keymail_tokens".* FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'MNR332AjNVv0ObWp6J_YWA' LIMIT 1
|
1308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1309
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "keymail_tokens" WHERE "keymail_tokens"."id" = ? [["id", 9]]
|
1310
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
1311
|
+
Redirected to http://localhost:3000/success
|
1312
|
+
Completed 302 Found in 5ms (ActiveRecord: 2.6ms)
|
1313
|
+
|
1314
|
+
|
1315
|
+
Started GET "/success" for 127.0.0.1 at 2014-04-30 13:07:08 +0200
|
1316
|
+
Processing by AuthController#success as HTML
|
1317
|
+
Rendered auth/success.html.erb within layouts/application (0.0ms)
|
1318
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
1319
|
+
|
1320
|
+
|
1321
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 13:11:23 +0200
|
1322
|
+
Processing by AuthController#request_email as HTML
|
1323
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
1324
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1325
|
+
[1m[36mKeymail::Token Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'ql5BfKdh1zGeVPO6zD3vAQ' LIMIT 1[0m
|
1326
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 30 Apr 2014 11:11:23 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 11:21:23 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 11:11:23 UTC +00:00], ["url_key", "ql5BfKdh1zGeVPO6zD3vAQ"]]
|
1327
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
1328
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (0.4ms)
|
1329
|
+
|
1330
|
+
Sent mail to lagginglion@gmail.com (2254.6ms)
|
1331
|
+
Date: Wed, 30 Apr 2014 13:11:23 +0200
|
1332
|
+
From: rails.keymail@gmail.com
|
1333
|
+
To: lagginglion@gmail.com
|
1334
|
+
Message-ID: <5360da5be2d0c_11309820aa9743728@jimmys-mbp.fritz.box.mail>
|
1335
|
+
Subject: Log in
|
1336
|
+
Mime-Version: 1.0
|
1337
|
+
Content-Type: text/plain;
|
1338
|
+
charset=UTF-8
|
1339
|
+
Content-Transfer-Encoding: 7bit
|
1340
|
+
|
1341
|
+
To log in, simply click this link:
|
1342
|
+
|
1343
|
+
http://localhost:3000/auth/ql5BfKdh1zGeVPO6zD3vAQ
|
1344
|
+
|
1345
|
+
This keymail is valid until 2014-04-30 11:21:23 UTC
|
1346
|
+
|
1347
|
+
Rendered auth/request_email.html.erb within layouts/application (0.1ms)
|
1348
|
+
Completed 200 OK in 2301ms (Views: 1.9ms | ActiveRecord: 3.3ms)
|
1349
|
+
|
1350
|
+
|
1351
|
+
Started GET "/auth/ql5BfKdh1zGeVPO6zD3vAQ" for 127.0.0.1 at 2014-04-30 13:11:31 +0200
|
1352
|
+
Processing by AuthController#validate_link as HTML
|
1353
|
+
Parameters: {"url_key"=>"ql5BfKdh1zGeVPO6zD3vAQ"}
|
1354
|
+
[1m[35mKeymail::Token Load (0.2ms)[0m SELECT "keymail_tokens".* FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'ql5BfKdh1zGeVPO6zD3vAQ' LIMIT 1
|
1355
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1356
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "keymail_tokens" WHERE "keymail_tokens"."id" = ? [["id", 10]]
|
1357
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
1358
|
+
Redirected to http://localhost:3000/success
|
1359
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.6ms)
|
1360
|
+
|
1361
|
+
|
1362
|
+
Started GET "/success" for 127.0.0.1 at 2014-04-30 13:11:31 +0200
|
1363
|
+
Processing by AuthController#success as HTML
|
1364
|
+
Rendered auth/success.html.erb within layouts/application (0.0ms)
|
1365
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
1366
|
+
|
1367
|
+
|
1368
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 13:17:29 +0200
|
1369
|
+
Processing by AuthController#request_email as HTML
|
1370
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
1371
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1372
|
+
[1m[35mKeymail::Token Exists (0.2ms)[0m SELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = '3OSeN-4IvrxDi7GZdoaMww' LIMIT 1
|
1373
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Apr 2014 11:17:29 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 11:27:29 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 11:17:29 UTC +00:00], ["url_key", "3OSeN-4IvrxDi7GZdoaMww"]]
|
1374
|
+
[1m[35m (2.7ms)[0m commit transaction
|
1375
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (1.4ms)
|
1376
|
+
|
1377
|
+
Sent mail to lagginglion@gmail.com (2034.5ms)
|
1378
|
+
Date: Wed, 30 Apr 2014 13:17:29 +0200
|
1379
|
+
From: rails.keymail@gmail.com
|
1380
|
+
To: lagginglion@gmail.com
|
1381
|
+
Message-ID: <5360dbc9af624_11a8180eb55345562@jimmys-mbp.fritz.box.mail>
|
1382
|
+
Subject: Log in
|
1383
|
+
Mime-Version: 1.0
|
1384
|
+
Content-Type: text/plain;
|
1385
|
+
charset=UTF-8
|
1386
|
+
Content-Transfer-Encoding: 7bit
|
1387
|
+
|
1388
|
+
To log in, simply click this link:
|
1389
|
+
|
1390
|
+
http://localhost:3000/auth/3OSeN-4IvrxDi7GZdoaMww
|
1391
|
+
|
1392
|
+
This keymail is valid until 2014-04-30 11:27:29 UTC
|
1393
|
+
|
1394
|
+
Rendered auth/request_email.html.erb within layouts/application (0.5ms)
|
1395
|
+
Completed 200 OK in 2093ms (Views: 3.3ms | ActiveRecord: 6.0ms)
|
1396
|
+
|
1397
|
+
|
1398
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 13:18:08 +0200
|
1399
|
+
Processing by AuthController#request_email as HTML
|
1400
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
1401
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1402
|
+
[1m[35mKeymail::Token Exists (0.1ms)[0m SELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'VBd2gxB-4lqnZR1SwvJfoA' LIMIT 1
|
1403
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Apr 2014 11:18:08 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 11:28:08 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 11:18:08 UTC +00:00], ["url_key", "VBd2gxB-4lqnZR1SwvJfoA"]]
|
1404
|
+
[1m[35m (2.3ms)[0m commit transaction
|
1405
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (0.3ms)
|
1406
|
+
|
1407
|
+
Sent mail to lagginglion@gmail.com (1665.8ms)
|
1408
|
+
Date: Wed, 30 Apr 2014 13:18:08 +0200
|
1409
|
+
From: rails.keymail@gmail.com
|
1410
|
+
To: lagginglion@gmail.com
|
1411
|
+
Message-ID: <5360dbf02b0d3_11a8180da64cc566d@jimmys-mbp.fritz.box.mail>
|
1412
|
+
Subject: Log in
|
1413
|
+
Mime-Version: 1.0
|
1414
|
+
Content-Type: text/plain;
|
1415
|
+
charset=UTF-8
|
1416
|
+
Content-Transfer-Encoding: 7bit
|
1417
|
+
|
1418
|
+
To log in, simply click this link:
|
1419
|
+
|
1420
|
+
http://localhost:3000/auth/VBd2gxB-4lqnZR1SwvJfoA
|
1421
|
+
|
1422
|
+
This keymail is valid until 2014-04-30 11:28:08 UTC
|
1423
|
+
|
1424
|
+
Rendered auth/request_email.html.erb within layouts/application (0.1ms)
|
1425
|
+
Completed 200 OK in 1692ms (Views: 2.4ms | ActiveRecord: 3.3ms)
|
1426
|
+
|
1427
|
+
|
1428
|
+
Started GET "/auth/VBd2gxB-4lqnZR1SwvJfoA" for 127.0.0.1 at 2014-04-30 13:18:31 +0200
|
1429
|
+
Processing by AuthController#validate_link as HTML
|
1430
|
+
Parameters: {"url_key"=>"VBd2gxB-4lqnZR1SwvJfoA"}
|
1431
|
+
[1m[36mKeymail::Token Load (0.1ms)[0m [1mSELECT "keymail_tokens".* FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = 'VBd2gxB-4lqnZR1SwvJfoA' LIMIT 1[0m
|
1432
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1433
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "keymail_tokens" WHERE "keymail_tokens"."id" = ?[0m [["id", 12]]
|
1434
|
+
[1m[35m (1.9ms)[0m commit transaction
|
1435
|
+
Redirected to http://localhost:3000/success
|
1436
|
+
Completed 302 Found in 17ms (ActiveRecord: 3.1ms)
|
1437
|
+
|
1438
|
+
|
1439
|
+
Started GET "/success" for 127.0.0.1 at 2014-04-30 13:18:31 +0200
|
1440
|
+
Processing by AuthController#success as HTML
|
1441
|
+
Rendered auth/success.html.erb within layouts/application (0.4ms)
|
1442
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
1443
|
+
|
1444
|
+
|
1445
|
+
Started POST "/request_email" for 127.0.0.1 at 2014-04-30 13:19:13 +0200
|
1446
|
+
Processing by AuthController#request_email as HTML
|
1447
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uLKsQ+quHujf0f6TNqAaC5us8TN3zgUhFdnB+nCOXE=", "email"=>"lagginglion@gmail.com", "commit"=>"Send email"}
|
1448
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1449
|
+
[1m[35mKeymail::Token Exists (0.1ms)[0m SELECT 1 AS one FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = '5Yq6oP1gRGL3nz1YBQ-Evw' LIMIT 1
|
1450
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "keymail_tokens" ("created_at", "email", "expires_at", "updated_at", "url_key") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Apr 2014 11:19:13 UTC +00:00], ["email", "lagginglion@gmail.com"], ["expires_at", Wed, 30 Apr 2014 11:29:13 UTC +00:00], ["updated_at", Wed, 30 Apr 2014 11:19:13 UTC +00:00], ["url_key", "5Yq6oP1gRGL3nz1YBQ-Evw"]]
|
1451
|
+
[1m[35m (2.5ms)[0m commit transaction
|
1452
|
+
Rendered /Users/alcesleo/Projects/keymail/app/views/keymail/auth_mailer/log_in.text.erb (0.3ms)
|
1453
|
+
|
1454
|
+
Sent mail to lagginglion@gmail.com (1581.0ms)
|
1455
|
+
Date: Wed, 30 Apr 2014 13:19:13 +0200
|
1456
|
+
From: rails.keymail@gmail.com
|
1457
|
+
To: lagginglion@gmail.com
|
1458
|
+
Message-ID: <5360dc31eafa9_11a8180cbd68c5799@jimmys-mbp.fritz.box.mail>
|
1459
|
+
Subject: Log in
|
1460
|
+
Mime-Version: 1.0
|
1461
|
+
Content-Type: text/plain;
|
1462
|
+
charset=UTF-8
|
1463
|
+
Content-Transfer-Encoding: 7bit
|
1464
|
+
|
1465
|
+
To log in, simply click this link:
|
1466
|
+
|
1467
|
+
http://localhost:3000/auth/5Yq6oP1gRGL3nz1YBQ-Evw
|
1468
|
+
|
1469
|
+
This keymail is valid until 2014-04-30 11:29:13 UTC
|
1470
|
+
|
1471
|
+
Rendered auth/request_email.html.erb within layouts/application (0.1ms)
|
1472
|
+
Completed 200 OK in 1608ms (Views: 1.8ms | ActiveRecord: 3.4ms)
|
1473
|
+
|
1474
|
+
|
1475
|
+
Started GET "/auth/5Yq6oP1gRGL3nz1YBQ-Evw" for 127.0.0.1 at 2014-04-30 13:19:20 +0200
|
1476
|
+
Processing by AuthController#validate_link as HTML
|
1477
|
+
Parameters: {"url_key"=>"5Yq6oP1gRGL3nz1YBQ-Evw"}
|
1478
|
+
[1m[36mKeymail::Token Load (0.2ms)[0m [1mSELECT "keymail_tokens".* FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = '5Yq6oP1gRGL3nz1YBQ-Evw' LIMIT 1[0m
|
1479
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1480
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "keymail_tokens" WHERE "keymail_tokens"."id" = ?[0m [["id", 13]]
|
1481
|
+
[1m[35m (1.9ms)[0m commit transaction
|
1482
|
+
Redirected to http://localhost:3000/success
|
1483
|
+
Completed 302 Found in 30ms (ActiveRecord: 2.5ms)
|
1484
|
+
|
1485
|
+
|
1486
|
+
Started GET "/success" for 127.0.0.1 at 2014-04-30 13:19:21 +0200
|
1487
|
+
Processing by AuthController#success as HTML
|
1488
|
+
Rendered auth/success.html.erb within layouts/application (0.1ms)
|
1489
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1490
|
+
|
1491
|
+
|
1492
|
+
Started GET "/auth/5Yq6oP1gRGL3nz1YBQ-Evw" for 127.0.0.1 at 2014-04-30 13:20:28 +0200
|
1493
|
+
Processing by AuthController#validate_link as HTML
|
1494
|
+
Parameters: {"url_key"=>"5Yq6oP1gRGL3nz1YBQ-Evw"}
|
1495
|
+
[1m[36mKeymail::Token Load (0.1ms)[0m [1mSELECT "keymail_tokens".* FROM "keymail_tokens" WHERE "keymail_tokens"."url_key" = '5Yq6oP1gRGL3nz1YBQ-Evw' LIMIT 1[0m
|
1496
|
+
Redirected to http://localhost:3000/fail
|
1497
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
1498
|
+
|
1499
|
+
|
1500
|
+
Started GET "/fail" for 127.0.0.1 at 2014-04-30 13:20:28 +0200
|
1501
|
+
Processing by AuthController#fail as HTML
|
1502
|
+
Rendered auth/fail.html.erb within layouts/application (0.3ms)
|
1503
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|