omniauth-redu 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +118 -0
- data/Rakefile +38 -0
- data/lib/omniauth-redu.rb +1 -0
- data/lib/omniauth-redu/version.rb +3 -0
- data/lib/omniauth/strategies/redu.rb +40 -0
- data/lib/tasks/omniauth-redu_tasks.rake +4 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/javascripts/sessions.js +2 -0
- data/test/dummy/app/assets/javascripts/users.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/assets/stylesheets/sessions.css +4 -0
- data/test/dummy/app/assets/stylesheets/users.css +4 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/sessions_controller.rb +14 -0
- data/test/dummy/app/controllers/users_controller.rb +9 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/sessions_helper.rb +2 -0
- data/test/dummy/app/helpers/users_helper.rb +2 -0
- data/test/dummy/app/models/user.rb +13 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/sessions/create.html.erb +2 -0
- data/test/dummy/app/views/users/show.html.erb +2 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +63 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/omniauth.rb +3 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +63 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20120531125614_create_users.rb +13 -0
- data/test/dummy/db/schema.rb +25 -0
- data/test/dummy/log/development.log +719 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/users.yml +11 -0
- data/test/dummy/test/functional/sessions_controller_test.rb +9 -0
- data/test/dummy/test/functional/users_controller_test.rb +9 -0
- data/test/dummy/test/unit/helpers/sessions_helper_test.rb +4 -0
- data/test/dummy/test/unit/helpers/users_helper_test.rb +4 -0
- data/test/dummy/test/unit/user_test.rb +7 -0
- data/test/omniauth-redu_test.rb +7 -0
- data/test/test_helper.rb +10 -0
- metadata +218 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters :format => [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
resources :users
|
3
|
+
|
4
|
+
get "sessions/create"
|
5
|
+
match '/auth/:provider/callback', :to => 'sessions#create'
|
6
|
+
|
7
|
+
# The priority is based upon order of creation:
|
8
|
+
# first created -> highest priority.
|
9
|
+
|
10
|
+
# Sample of regular route:
|
11
|
+
# match 'products/:id' => 'catalog#view'
|
12
|
+
# Keep in mind you can assign values other than :controller and :action
|
13
|
+
|
14
|
+
# Sample of named route:
|
15
|
+
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
16
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
17
|
+
|
18
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
19
|
+
# resources :products
|
20
|
+
|
21
|
+
# Sample resource route with options:
|
22
|
+
# resources :products do
|
23
|
+
# member do
|
24
|
+
# get 'short'
|
25
|
+
# post 'toggle'
|
26
|
+
# end
|
27
|
+
#
|
28
|
+
# collection do
|
29
|
+
# get 'sold'
|
30
|
+
# end
|
31
|
+
# end
|
32
|
+
|
33
|
+
# Sample resource route with sub-resources:
|
34
|
+
# resources :products do
|
35
|
+
# resources :comments, :sales
|
36
|
+
# resource :seller
|
37
|
+
# end
|
38
|
+
|
39
|
+
# Sample resource route with more complex sub-resources
|
40
|
+
# resources :products do
|
41
|
+
# resources :comments
|
42
|
+
# resources :sales do
|
43
|
+
# get 'recent', :on => :collection
|
44
|
+
# end
|
45
|
+
# end
|
46
|
+
|
47
|
+
# Sample resource route within a namespace:
|
48
|
+
# namespace :admin do
|
49
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
50
|
+
# # (app/controllers/admin/products_controller.rb)
|
51
|
+
# resources :products
|
52
|
+
# end
|
53
|
+
|
54
|
+
# You can have the root of your site routed with "root"
|
55
|
+
# just remember to delete public/index.html.
|
56
|
+
# root :to => 'welcome#index'
|
57
|
+
|
58
|
+
# See how all your routes lay out with "rake routes"
|
59
|
+
|
60
|
+
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
61
|
+
# Note: This route will make all actions in every controller accessible via GET requests.
|
62
|
+
# match ':controller(/:action(/:id))(.:format)'
|
63
|
+
end
|
Binary file
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended to check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(:version => 20120531125614) do
|
14
|
+
|
15
|
+
create_table "users", :force => true do |t|
|
16
|
+
t.string "email"
|
17
|
+
t.string "login"
|
18
|
+
t.string "name"
|
19
|
+
t.integer "uid"
|
20
|
+
t.string "token"
|
21
|
+
t.datetime "created_at", :null => false
|
22
|
+
t.datetime "updated_at", :null => false
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
@@ -0,0 +1,719 @@
|
|
1
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreateUsers (20120531125614)
|
7
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "login" varchar(255), "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
9
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120531125614')
|
10
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
11
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
12
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
13
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
14
|
+
|
15
|
+
|
16
|
+
Started GET "/" for 127.0.0.1 at Thu May 31 10:05:29 -0300 2012
|
17
|
+
|
18
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
19
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
20
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
21
|
+
railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
|
22
|
+
railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
|
23
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
24
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
25
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
26
|
+
activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
27
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
28
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call'
|
29
|
+
railties (3.2.3) lib/rails/engine.rb:479:in `call'
|
30
|
+
railties (3.2.3) lib/rails/application.rb:220:in `call'
|
31
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
32
|
+
railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
|
33
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
34
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
35
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
36
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
37
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
38
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
39
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
40
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
41
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
42
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
43
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
44
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
|
45
|
+
rack (1.4.1) lib/rack/server.rb:265:in `start'
|
46
|
+
railties (3.2.3) lib/rails/commands/server.rb:70:in `start'
|
47
|
+
railties (3.2.3) lib/rails/commands.rb:55
|
48
|
+
railties (3.2.3) lib/rails/commands.rb:50:in `tap'
|
49
|
+
railties (3.2.3) lib/rails/commands.rb:50
|
50
|
+
script/rails:6:in `require'
|
51
|
+
script/rails:6
|
52
|
+
|
53
|
+
|
54
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
|
55
|
+
|
56
|
+
|
57
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:07:33 -0300 2012
|
58
|
+
|
59
|
+
|
60
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:08:06 -0300 2012
|
61
|
+
|
62
|
+
|
63
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:08:52 -0300 2012
|
64
|
+
|
65
|
+
|
66
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:11:33 -0300 2012
|
67
|
+
|
68
|
+
|
69
|
+
Started GET "/auth/redu/callback?code=c7c8Xxzrv57qmIlOuXDd&state=" for 127.0.0.1 at Thu May 31 10:11:45 -0300 2012
|
70
|
+
|
71
|
+
OAuth2::Error (OAuth2::Error):
|
72
|
+
oauth2 (0.5.2) lib/oauth2/client.rb:107:in `request'
|
73
|
+
oauth2 (0.5.2) lib/oauth2/access_token.rb:98:in `request'
|
74
|
+
oauth2 (0.5.2) lib/oauth2/access_token.rb:105:in `get'
|
75
|
+
/Users/guiocavalcanti/workspace/work/oauth-consumers/omniauth-redu/lib/omniauth/strategies/redu.rb:34:in `raw_info'
|
76
|
+
/Users/guiocavalcanti/workspace/work/oauth-consumers/omniauth-redu/lib/omniauth/strategies/redu.rb:18
|
77
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:102:in `instance_eval'
|
78
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:102:in `compile_stack'
|
79
|
+
activesupport (3.2.3) lib/active_support/dependencies.rb:251:in `inject'
|
80
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:101:in `each'
|
81
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:101:in `inject'
|
82
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:101:in `compile_stack'
|
83
|
+
(eval):7:in `uid_stack'
|
84
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:309:in `uid'
|
85
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:325:in `auth_hash'
|
86
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:353:in `callback_phase'
|
87
|
+
omniauth-oauth2 (1.0.0) lib/omniauth/strategies/oauth2.rb:64:in `callback_phase'
|
88
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:219:in `callback_call'
|
89
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:175:in `call!'
|
90
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:157:in `call'
|
91
|
+
omniauth (1.1.0) lib/omniauth/builder.rb:48:in `call'
|
92
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
93
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
94
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
95
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/head.rb:14:in `call'
|
96
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
97
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
98
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
99
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
100
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/cookies.rb:338:in `call'
|
101
|
+
activerecord (3.2.3) lib/active_record/query_cache.rb:64:in `call'
|
102
|
+
activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call'
|
103
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
|
104
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `_run__397314981__call__4__callbacks'
|
105
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `send'
|
106
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `__run_callback'
|
107
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
108
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `send'
|
109
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
110
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
111
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
112
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
113
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
114
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
115
|
+
railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
|
116
|
+
railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
|
117
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
118
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
119
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
120
|
+
activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
121
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
122
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call'
|
123
|
+
railties (3.2.3) lib/rails/engine.rb:479:in `call'
|
124
|
+
railties (3.2.3) lib/rails/application.rb:220:in `call'
|
125
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
126
|
+
railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
|
127
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
128
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
129
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
130
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
131
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
132
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
133
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
134
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
135
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
136
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
137
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
138
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
|
139
|
+
rack (1.4.1) lib/rack/server.rb:265:in `start'
|
140
|
+
railties (3.2.3) lib/rails/commands/server.rb:70:in `start'
|
141
|
+
railties (3.2.3) lib/rails/commands.rb:55
|
142
|
+
railties (3.2.3) lib/rails/commands.rb:50:in `tap'
|
143
|
+
railties (3.2.3) lib/rails/commands.rb:50
|
144
|
+
script/rails:6:in `require'
|
145
|
+
script/rails:6
|
146
|
+
|
147
|
+
|
148
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
149
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
150
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.8ms)
|
151
|
+
|
152
|
+
|
153
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:13:11 -0300 2012
|
154
|
+
|
155
|
+
|
156
|
+
Started GET "/auth/redu/callback?code=Y1ANFbzhsk7POwhwQfxi&state=" for 127.0.0.1 at Thu May 31 10:13:22 -0300 2012
|
157
|
+
Processing by SessionsController#create as HTML
|
158
|
+
Parameters: {"code"=>"Y1ANFbzhsk7POwhwQfxi", "state"=>"", "provider"=>"redu"}
|
159
|
+
Completed 500 Internal Server Error in 70ms
|
160
|
+
|
161
|
+
NoMethodError (undefined method `find_or_create_from_auth_hash' for #<Class:0x108dd8b60>):
|
162
|
+
app/controllers/sessions_controller.rb:3:in `create'
|
163
|
+
|
164
|
+
|
165
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
166
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
167
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.2ms)
|
168
|
+
|
169
|
+
|
170
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:18:08 -0300 2012
|
171
|
+
|
172
|
+
|
173
|
+
Started GET "/auth/redu/callback?code=DwQsBJr8oz8hRBb5MOmw&state=" for 127.0.0.1 at Thu May 31 10:18:19 -0300 2012
|
174
|
+
Processing by SessionsController#create as HTML
|
175
|
+
Parameters: {"code"=>"DwQsBJr8oz8hRBb5MOmw", "state"=>"", "provider"=>"redu"}
|
176
|
+
Completed 500 Internal Server Error in 22ms
|
177
|
+
|
178
|
+
NoMethodError (undefined method `find_or_create_from_auth_hash' for #<Class:0x107e16ab0>):
|
179
|
+
app/controllers/sessions_controller.rb:3:in `create'
|
180
|
+
|
181
|
+
|
182
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
183
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
184
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.8ms)
|
185
|
+
|
186
|
+
|
187
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:18:58 -0300 2012
|
188
|
+
|
189
|
+
|
190
|
+
Started GET "/auth/redu/callback?error=access_denied&state=" for 127.0.0.1 at Thu May 31 10:19:10 -0300 2012
|
191
|
+
|
192
|
+
OmniAuth::Strategies::OAuth2::CallbackError (OmniAuth::Strategies::OAuth2::CallbackError):
|
193
|
+
omniauth-oauth2 (1.0.0) lib/omniauth/strategies/oauth2.rb:58:in `callback_phase'
|
194
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:219:in `callback_call'
|
195
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:175:in `call!'
|
196
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:157:in `call'
|
197
|
+
omniauth (1.1.0) lib/omniauth/builder.rb:48:in `call'
|
198
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
199
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
200
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
201
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/head.rb:14:in `call'
|
202
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
203
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
204
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
205
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
206
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/cookies.rb:338:in `call'
|
207
|
+
activerecord (3.2.3) lib/active_record/query_cache.rb:64:in `call'
|
208
|
+
activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call'
|
209
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
|
210
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `_run__397314981__call__4__callbacks'
|
211
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `send'
|
212
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `__run_callback'
|
213
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
214
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `send'
|
215
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
216
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
217
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
218
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
219
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
220
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
221
|
+
railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
|
222
|
+
railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
|
223
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
224
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
225
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
226
|
+
activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
227
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
228
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call'
|
229
|
+
railties (3.2.3) lib/rails/engine.rb:479:in `call'
|
230
|
+
railties (3.2.3) lib/rails/application.rb:220:in `call'
|
231
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
232
|
+
railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
|
233
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
234
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
235
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
236
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
237
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
238
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
239
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
240
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
241
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
242
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
243
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
244
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
|
245
|
+
rack (1.4.1) lib/rack/server.rb:265:in `start'
|
246
|
+
railties (3.2.3) lib/rails/commands/server.rb:70:in `start'
|
247
|
+
railties (3.2.3) lib/rails/commands.rb:55
|
248
|
+
railties (3.2.3) lib/rails/commands.rb:50:in `tap'
|
249
|
+
railties (3.2.3) lib/rails/commands.rb:50
|
250
|
+
script/rails:6:in `require'
|
251
|
+
script/rails:6
|
252
|
+
|
253
|
+
|
254
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
|
255
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
|
256
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.1ms)
|
257
|
+
|
258
|
+
|
259
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:19:17 -0300 2012
|
260
|
+
|
261
|
+
|
262
|
+
Started GET "/auth/redu/callback?code=HYCJl4ihMf8YasxGMqy2&state=" for 127.0.0.1 at Thu May 31 10:19:27 -0300 2012
|
263
|
+
Processing by SessionsController#create as HTML
|
264
|
+
Parameters: {"code"=>"HYCJl4ihMf8YasxGMqy2", "state"=>"", "provider"=>"redu"}
|
265
|
+
Completed 500 Internal Server Error in 5ms
|
266
|
+
|
267
|
+
NoMethodError (undefined method `find_by_provider_and_uid' for #<Class:0x10804d9f0>):
|
268
|
+
app/controllers/sessions_controller.rb:3:in `create'
|
269
|
+
|
270
|
+
|
271
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
272
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms)
|
273
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.6ms)
|
274
|
+
|
275
|
+
|
276
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:19:50 -0300 2012
|
277
|
+
|
278
|
+
|
279
|
+
Started GET "/auth/redu/callback?code=U5gIlkHUEm58aJnPqHsP&state=" for 127.0.0.1 at Thu May 31 10:20:02 -0300 2012
|
280
|
+
Processing by SessionsController#create as HTML
|
281
|
+
Parameters: {"code"=>"U5gIlkHUEm58aJnPqHsP", "state"=>"", "provider"=>"redu"}
|
282
|
+
Completed 500 Internal Server Error in 7ms
|
283
|
+
|
284
|
+
NoMethodError (undefined method `find_by_uid' for #<Class:0x107dd7c48>):
|
285
|
+
app/controllers/sessions_controller.rb:3:in `create'
|
286
|
+
|
287
|
+
|
288
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
289
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
290
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.6ms)
|
291
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
292
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
293
|
+
Migrating to CreateUsers (20120531125614)
|
294
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
295
|
+
[1m[35m (0.0ms)[0m begin transaction
|
296
|
+
[1m[36m (27.0ms)[0m [1mDROP TABLE "users"[0m
|
297
|
+
[1m[35m (0.2ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120531125614'
|
298
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
299
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
300
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
301
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
302
|
+
Migrating to CreateUsers (20120531125614)
|
303
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
305
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "login" varchar(255), "name" varchar(255), "uid" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
306
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120531125614')[0m
|
307
|
+
[1m[35m (24.7ms)[0m commit transaction
|
308
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
309
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
310
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
311
|
+
|
312
|
+
|
313
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:20:38 -0300 2012
|
314
|
+
|
315
|
+
|
316
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:21:05 -0300 2012
|
317
|
+
|
318
|
+
|
319
|
+
Started GET "/auth/redu/callback?code=vXLiN1cbFJXNoFq2Yt62&state=" for 127.0.0.1 at Thu May 31 10:21:21 -0300 2012
|
320
|
+
Processing by SessionsController#create as HTML
|
321
|
+
Parameters: {"code"=>"vXLiN1cbFJXNoFq2Yt62", "state"=>"", "provider"=>"redu"}
|
322
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 1 LIMIT 1[0m
|
323
|
+
[1m[35m (0.1ms)[0m begin transaction
|
324
|
+
[1m[36mSQL (149.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "login", "name", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 13:21:27 UTC +00:00], ["email", nil], ["login", nil], ["name", nil], ["uid", 1], ["updated_at", Thu, 31 May 2012 13:21:27 UTC +00:00]]
|
325
|
+
[1m[35m (1.9ms)[0m commit transaction
|
326
|
+
Completed 500 Internal Server Error in 230ms
|
327
|
+
|
328
|
+
NameError (undefined local variable or method `user' for #<SessionsController:0x10e0f7f80>):
|
329
|
+
app/controllers/sessions_controller.rb:7:in `create'
|
330
|
+
|
331
|
+
|
332
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
333
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
334
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.8ms)
|
335
|
+
|
336
|
+
|
337
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:21:51 -0300 2012
|
338
|
+
|
339
|
+
|
340
|
+
Started GET "/auth/redu/callback?code=7QqBfbP1PULjXOFv9WK8&state=" for 127.0.0.1 at Thu May 31 10:22:02 -0300 2012
|
341
|
+
Processing by SessionsController#create as HTML
|
342
|
+
Parameters: {"code"=>"7QqBfbP1PULjXOFv9WK8", "state"=>"", "provider"=>"redu"}
|
343
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 1 LIMIT 1[0m
|
344
|
+
Completed 500 Internal Server Error in 21ms
|
345
|
+
|
346
|
+
NameError (undefined local variable or method `root_url' for #<SessionsController:0x10e192fd0>):
|
347
|
+
app/controllers/sessions_controller.rb:8:in `create'
|
348
|
+
|
349
|
+
|
350
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
351
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
352
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (91.8ms)
|
353
|
+
|
354
|
+
|
355
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:24:23 -0300 2012
|
356
|
+
|
357
|
+
|
358
|
+
Started GET "/auth/redu/callback?code=dN7kpMOnhz3oMYlIc6D9&state=" for 127.0.0.1 at Thu May 31 10:24:34 -0300 2012
|
359
|
+
Processing by SessionsController#create as HTML
|
360
|
+
Parameters: {"code"=>"dN7kpMOnhz3oMYlIc6D9", "state"=>"", "provider"=>"redu"}
|
361
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 1 LIMIT 1[0m
|
362
|
+
Redirected to
|
363
|
+
Completed 500 Internal Server Error in 113ms
|
364
|
+
|
365
|
+
NoMethodError (undefined method `user_url' for #<SessionsController:0x1072bb260>):
|
366
|
+
app/controllers/sessions_controller.rb:8:in `create'
|
367
|
+
|
368
|
+
|
369
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
370
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
371
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.1ms)
|
372
|
+
|
373
|
+
|
374
|
+
Started GET "/auth/redu/callback?code=dN7kpMOnhz3oMYlIc6D9&state=" for 127.0.0.1 at Thu May 31 10:25:03 -0300 2012
|
375
|
+
Processing by SessionsController#create as HTML
|
376
|
+
Parameters: {"code"=>"dN7kpMOnhz3oMYlIc6D9", "state"=>"", "provider"=>"redu"}
|
377
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 1 LIMIT 1
|
378
|
+
Redirected to http://0.0.0.0:3001/user/1
|
379
|
+
Completed 302 Found in 15ms (ActiveRecord: 0.7ms)
|
380
|
+
|
381
|
+
|
382
|
+
Started GET "/user/1" for 127.0.0.1 at Thu May 31 10:25:09 -0300 2012
|
383
|
+
|
384
|
+
ActionController::RoutingError (uninitialized constant UserController):
|
385
|
+
activesupport (3.2.3) lib/active_support/inflector/methods.rb:218:in `constantize'
|
386
|
+
activesupport (3.2.3) lib/active_support/inflector/methods.rb:217:in `each'
|
387
|
+
activesupport (3.2.3) lib/active_support/inflector/methods.rb:217:in `constantize'
|
388
|
+
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
|
389
|
+
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:54:in `controller'
|
390
|
+
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:32:in `call'
|
391
|
+
journey (1.0.3) lib/journey/router.rb:68:in `call'
|
392
|
+
journey (1.0.3) lib/journey/router.rb:56:in `each'
|
393
|
+
journey (1.0.3) lib/journey/router.rb:56:in `call'
|
394
|
+
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
395
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:177:in `call!'
|
396
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:157:in `call'
|
397
|
+
omniauth (1.1.0) lib/omniauth/builder.rb:48:in `call'
|
398
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
399
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
400
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
401
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/head.rb:14:in `call'
|
402
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
403
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
404
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
405
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
406
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/cookies.rb:338:in `call'
|
407
|
+
activerecord (3.2.3) lib/active_record/query_cache.rb:64:in `call'
|
408
|
+
activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call'
|
409
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
|
410
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `_run__397314981__call__4__callbacks'
|
411
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `send'
|
412
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `__run_callback'
|
413
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
414
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `send'
|
415
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
416
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
417
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
418
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
419
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
420
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
421
|
+
railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
|
422
|
+
railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
|
423
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
424
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
425
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
426
|
+
activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
427
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
428
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call'
|
429
|
+
railties (3.2.3) lib/rails/engine.rb:479:in `call'
|
430
|
+
railties (3.2.3) lib/rails/application.rb:220:in `call'
|
431
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
432
|
+
railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
|
433
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
434
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
435
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
436
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
437
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
438
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
439
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
440
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
441
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
442
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
443
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
444
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
|
445
|
+
rack (1.4.1) lib/rack/server.rb:265:in `start'
|
446
|
+
railties (3.2.3) lib/rails/commands/server.rb:70:in `start'
|
447
|
+
railties (3.2.3) lib/rails/commands.rb:55
|
448
|
+
railties (3.2.3) lib/rails/commands.rb:50:in `tap'
|
449
|
+
railties (3.2.3) lib/rails/commands.rb:50
|
450
|
+
script/rails:6:in `require'
|
451
|
+
script/rails:6
|
452
|
+
|
453
|
+
|
454
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
|
455
|
+
|
456
|
+
|
457
|
+
Started GET "/user/1" for 127.0.0.1 at Thu May 31 10:25:14 -0300 2012
|
458
|
+
|
459
|
+
ActionController::RoutingError (No route matches [GET] "/user/1"):
|
460
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
461
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
462
|
+
railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
|
463
|
+
railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
|
464
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
465
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
466
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
467
|
+
activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
468
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
469
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call'
|
470
|
+
railties (3.2.3) lib/rails/engine.rb:479:in `call'
|
471
|
+
railties (3.2.3) lib/rails/application.rb:220:in `call'
|
472
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
473
|
+
railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
|
474
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
475
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
476
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
477
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
478
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
479
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
480
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
481
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
482
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
483
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
484
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
485
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
|
486
|
+
rack (1.4.1) lib/rack/server.rb:265:in `start'
|
487
|
+
railties (3.2.3) lib/rails/commands/server.rb:70:in `start'
|
488
|
+
railties (3.2.3) lib/rails/commands.rb:55
|
489
|
+
railties (3.2.3) lib/rails/commands.rb:50:in `tap'
|
490
|
+
railties (3.2.3) lib/rails/commands.rb:50
|
491
|
+
script/rails:6:in `require'
|
492
|
+
script/rails:6
|
493
|
+
|
494
|
+
|
495
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
|
496
|
+
|
497
|
+
|
498
|
+
Started GET "/users/1" for 127.0.0.1 at Thu May 31 10:25:18 -0300 2012
|
499
|
+
Processing by UsersController#show as HTML
|
500
|
+
Parameters: {"id"=>"1"}
|
501
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "1"]]
|
502
|
+
Completed 406 Not Acceptable in 11ms (ActiveRecord: 0.8ms)
|
503
|
+
|
504
|
+
|
505
|
+
Started GET "/users/1" for 127.0.0.1 at Thu May 31 10:25:30 -0300 2012
|
506
|
+
Processing by UsersController#show as HTML
|
507
|
+
Parameters: {"id"=>"1"}
|
508
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
|
509
|
+
Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.2ms)
|
510
|
+
|
511
|
+
|
512
|
+
Started GET "/users/1.json" for 127.0.0.1 at Thu May 31 10:25:35 -0300 2012
|
513
|
+
Processing by UsersController#show as JSON
|
514
|
+
Parameters: {"id"=>"1"}
|
515
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "1"]]
|
516
|
+
Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
517
|
+
|
518
|
+
|
519
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:29:11 -0300 2012
|
520
|
+
|
521
|
+
|
522
|
+
Started GET "/auth/redu/callback?code=Ge7dSFgLlJj1m53T26Qu&state=" for 127.0.0.1 at Thu May 31 10:29:24 -0300 2012
|
523
|
+
Processing by SessionsController#create as HTML
|
524
|
+
Parameters: {"code"=>"Ge7dSFgLlJj1m53T26Qu", "state"=>"", "provider"=>"redu"}
|
525
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 1 LIMIT 1[0m
|
526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
527
|
+
[1m[36mSQL (7.8ms)[0m [1mINSERT INTO "users" ("created_at", "email", "login", "name", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 13:29:30 UTC +00:00], ["email", nil], ["login", nil], ["name", nil], ["uid", 1], ["updated_at", Thu, 31 May 2012 13:29:30 UTC +00:00]]
|
528
|
+
[1m[35m (3.8ms)[0m commit transaction
|
529
|
+
Redirected to http://0.0.0.0:3001/users/2
|
530
|
+
Completed 302 Found in 142ms (ActiveRecord: 13.4ms)
|
531
|
+
|
532
|
+
|
533
|
+
Started GET "/users/2" for 127.0.0.1 at Thu May 31 10:29:30 -0300 2012
|
534
|
+
Processing by UsersController#show as HTML
|
535
|
+
Parameters: {"id"=>"2"}
|
536
|
+
[1m[36mUser Load (4.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
537
|
+
Completed 406 Not Acceptable in 7ms (ActiveRecord: 4.0ms)
|
538
|
+
|
539
|
+
|
540
|
+
Started GET "/users/2.json" for 127.0.0.1 at Thu May 31 10:29:37 -0300 2012
|
541
|
+
Processing by UsersController#show as JSON
|
542
|
+
Parameters: {"id"=>"2"}
|
543
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
|
544
|
+
Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.2ms)
|
545
|
+
|
546
|
+
|
547
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:30:43 -0300 2012
|
548
|
+
|
549
|
+
|
550
|
+
Started GET "/auth/redu/callback?code=oOScyyV9C3zt9PWlmQCI&state=" for 127.0.0.1 at Thu May 31 10:30:54 -0300 2012
|
551
|
+
Processing by SessionsController#create as HTML
|
552
|
+
Parameters: {"code"=>"oOScyyV9C3zt9PWlmQCI", "state"=>"", "provider"=>"redu"}
|
553
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 1 LIMIT 1[0m
|
554
|
+
Redirected to http://0.0.0.0:3001/users/2.json
|
555
|
+
Completed 302 Found in 170232ms (ActiveRecord: 1.9ms)
|
556
|
+
|
557
|
+
|
558
|
+
Started GET "/users/2.json" for 127.0.0.1 at Thu May 31 10:33:50 -0300 2012
|
559
|
+
Processing by UsersController#show as JSON
|
560
|
+
Parameters: {"id"=>"2"}
|
561
|
+
[1m[35mUser Load (1.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
|
562
|
+
Completed 200 OK in 19ms (Views: 1.8ms | ActiveRecord: 2.1ms)
|
563
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
564
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
565
|
+
Migrating to CreateUsers (20120531125614)
|
566
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
567
|
+
[1m[35m (0.0ms)[0m begin transaction
|
568
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "users"[0m
|
569
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120531125614'
|
570
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
571
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
572
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
573
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
574
|
+
Migrating to CreateUsers (20120531125614)
|
575
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
576
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
577
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "login" varchar(255), "name" varchar(255), "uid" integer, "token" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
578
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120531125614')[0m
|
579
|
+
[1m[35m (2.3ms)[0m commit transaction
|
580
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
581
|
+
[1m[35m (0.3ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
582
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
583
|
+
|
584
|
+
|
585
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:34:29 -0300 2012
|
586
|
+
|
587
|
+
|
588
|
+
Started GET "/auth/redu/callback?code=SXjIM3pfPlUPOk5ed8Yz&state=" for 127.0.0.1 at Thu May 31 10:34:41 -0300 2012
|
589
|
+
Processing by SessionsController#create as HTML
|
590
|
+
Parameters: {"code"=>"SXjIM3pfPlUPOk5ed8Yz", "state"=>"", "provider"=>"redu"}
|
591
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 1 LIMIT 1[0m
|
592
|
+
[1m[35m (0.1ms)[0m begin transaction
|
593
|
+
[1m[36mSQL (5.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "login", "name", "token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 13:34:54 UTC +00:00], ["email", "test_user@example.com"], ["login", "test_user"], ["name", nil], ["token", "U3Vlpg8qAwN949MZbioeDvbfwtC5mYL884CNzPoi"], ["uid", 1], ["updated_at", Thu, 31 May 2012 13:34:54 UTC +00:00]]
|
594
|
+
[1m[35m (1.5ms)[0m commit transaction
|
595
|
+
Redirected to http://0.0.0.0:3001/users/1.json
|
596
|
+
Completed 302 Found in 6571ms (ActiveRecord: 8.8ms)
|
597
|
+
|
598
|
+
|
599
|
+
Started GET "/users/1.json" for 127.0.0.1 at Thu May 31 10:34:54 -0300 2012
|
600
|
+
Processing by UsersController#show as JSON
|
601
|
+
Parameters: {"id"=>"1"}
|
602
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "1"]]
|
603
|
+
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)
|
604
|
+
|
605
|
+
|
606
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:35:27 -0300 2012
|
607
|
+
|
608
|
+
|
609
|
+
Started GET "/auth/redu/callback?code=UEWqv0cJq7Z2iokFHAPw&state=" for 127.0.0.1 at Thu May 31 10:35:38 -0300 2012
|
610
|
+
Processing by SessionsController#create as HTML
|
611
|
+
Parameters: {"code"=>"UEWqv0cJq7Z2iokFHAPw", "state"=>"", "provider"=>"redu"}
|
612
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 1 LIMIT 1
|
613
|
+
Redirected to http://0.0.0.0:3001/users/1.json
|
614
|
+
Completed 302 Found in 27561ms (ActiveRecord: 0.2ms)
|
615
|
+
|
616
|
+
|
617
|
+
Started GET "/users/1.json" for 127.0.0.1 at Thu May 31 10:36:12 -0300 2012
|
618
|
+
Processing by UsersController#show as JSON
|
619
|
+
Parameters: {"id"=>"1"}
|
620
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "1"]]
|
621
|
+
Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 0.7ms)
|
622
|
+
|
623
|
+
|
624
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:36:18 -0300 2012
|
625
|
+
|
626
|
+
|
627
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:36:18 -0300 2012
|
628
|
+
|
629
|
+
|
630
|
+
Started GET "/auth/redu/callback?error=access_denied&state=" for 127.0.0.1 at Thu May 31 10:36:33 -0300 2012
|
631
|
+
|
632
|
+
OmniAuth::Strategies::OAuth2::CallbackError (OmniAuth::Strategies::OAuth2::CallbackError):
|
633
|
+
omniauth-oauth2 (1.0.0) lib/omniauth/strategies/oauth2.rb:58:in `callback_phase'
|
634
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:219:in `callback_call'
|
635
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:175:in `call!'
|
636
|
+
omniauth (1.1.0) lib/omniauth/strategy.rb:157:in `call'
|
637
|
+
omniauth (1.1.0) lib/omniauth/builder.rb:48:in `call'
|
638
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
639
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
640
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
641
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/head.rb:14:in `call'
|
642
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
643
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
644
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
645
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
646
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/cookies.rb:338:in `call'
|
647
|
+
activerecord (3.2.3) lib/active_record/query_cache.rb:64:in `call'
|
648
|
+
activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call'
|
649
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
|
650
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `_run__397314981__call__4__callbacks'
|
651
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `send'
|
652
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `__run_callback'
|
653
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
654
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `send'
|
655
|
+
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
656
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
657
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
658
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
659
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
660
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
661
|
+
railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
|
662
|
+
railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
|
663
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
664
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
665
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
666
|
+
activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
667
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
668
|
+
actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call'
|
669
|
+
railties (3.2.3) lib/rails/engine.rb:479:in `call'
|
670
|
+
railties (3.2.3) lib/rails/application.rb:220:in `call'
|
671
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
672
|
+
railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
|
673
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
674
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
675
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
676
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
677
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
678
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
679
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
680
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
681
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
682
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
683
|
+
/Users/guiocavalcanti/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
684
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
|
685
|
+
rack (1.4.1) lib/rack/server.rb:265:in `start'
|
686
|
+
railties (3.2.3) lib/rails/commands/server.rb:70:in `start'
|
687
|
+
railties (3.2.3) lib/rails/commands.rb:55
|
688
|
+
railties (3.2.3) lib/rails/commands.rb:50:in `tap'
|
689
|
+
railties (3.2.3) lib/rails/commands.rb:50
|
690
|
+
script/rails:6:in `require'
|
691
|
+
script/rails:6
|
692
|
+
|
693
|
+
|
694
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
695
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms)
|
696
|
+
Rendered /Users/guiocavalcanti/.rvm/gems/ruby-1.8.7-p352/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.1ms)
|
697
|
+
|
698
|
+
|
699
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:38:20 -0300 2012
|
700
|
+
|
701
|
+
|
702
|
+
Started GET "/auth/redu" for 127.0.0.1 at Thu May 31 10:38:20 -0300 2012
|
703
|
+
|
704
|
+
|
705
|
+
Started GET "/auth/redu/callback?code=XFYToT7qvEMBPi0zhNFd&state=" for 127.0.0.1 at Thu May 31 10:38:35 -0300 2012
|
706
|
+
Processing by SessionsController#create as HTML
|
707
|
+
Parameters: {"code"=>"XFYToT7qvEMBPi0zhNFd", "state"=>"", "provider"=>"redu"}
|
708
|
+
[1m[35m (0.1ms)[0m begin transaction
|
709
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "email", "login", "name", "token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 31 May 2012 13:38:42 UTC +00:00], ["email", "test_user@example.com"], ["login", "test_user"], ["name", "Test"], ["token", "zTigBwtFdm5VVep5Cb7KwTPdgn6fZECPYIPIx7lV"], ["uid", 1], ["updated_at", Thu, 31 May 2012 13:38:42 UTC +00:00]]
|
710
|
+
[1m[35m (1.8ms)[0m commit transaction
|
711
|
+
Redirected to http://0.0.0.0:3001/users/2.json
|
712
|
+
Completed 302 Found in 101ms (ActiveRecord: 3.2ms)
|
713
|
+
|
714
|
+
|
715
|
+
Started GET "/users/2.json" for 127.0.0.1 at Thu May 31 10:38:42 -0300 2012
|
716
|
+
Processing by UsersController#show as JSON
|
717
|
+
Parameters: {"id"=>"2"}
|
718
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "2"]]
|
719
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)
|