authic_client 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +9 -0
  3. data/Rakefile +40 -0
  4. data/app/controllers/authic_client/application_controller.rb +4 -0
  5. data/app/controllers/authic_client/sessions_controller.rb +21 -0
  6. data/app/helpers/authic_client/application_helper.rb +23 -0
  7. data/app/models/authic_user_mixin.rb +19 -0
  8. data/config/initializers/authic.rb +4 -0
  9. data/config/initializers/omniauth.rb +6 -0
  10. data/config/routes.rb +6 -0
  11. data/lib/authic_client/engine.rb +12 -0
  12. data/lib/authic_client/version.rb +3 -0
  13. data/lib/authic_client.rb +4 -0
  14. data/lib/generators/active_record/authic_generator.rb +55 -0
  15. data/lib/generators/active_record/templates/migration.rb +17 -0
  16. data/lib/generators/active_record/templates/migration_existing.rb +24 -0
  17. data/lib/generators/authic/orm_helpers.rb +22 -0
  18. data/lib/tasks/authic_client_tasks.rake +4 -0
  19. data/test/authic_client_test.rb +7 -0
  20. data/test/dummy/README.rdoc +261 -0
  21. data/test/dummy/Rakefile +7 -0
  22. data/test/dummy/app/assets/javascripts/application.js +15 -0
  23. data/test/dummy/app/assets/javascripts/welcome.js +2 -0
  24. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  25. data/test/dummy/app/assets/stylesheets/welcome.css +4 -0
  26. data/test/dummy/app/controllers/application_controller.rb +3 -0
  27. data/test/dummy/app/controllers/welcome_controller.rb +4 -0
  28. data/test/dummy/app/helpers/application_helper.rb +2 -0
  29. data/test/dummy/app/helpers/welcome_helper.rb +2 -0
  30. data/test/dummy/app/models/user.rb +6 -0
  31. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  32. data/test/dummy/app/views/welcome/index.html.erb +9 -0
  33. data/test/dummy/config/application.rb +59 -0
  34. data/test/dummy/config/boot.rb +10 -0
  35. data/test/dummy/config/database.yml +25 -0
  36. data/test/dummy/config/environment.rb +5 -0
  37. data/test/dummy/config/environments/development.rb +37 -0
  38. data/test/dummy/config/environments/production.rb +67 -0
  39. data/test/dummy/config/environments/test.rb +37 -0
  40. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  41. data/test/dummy/config/initializers/inflections.rb +15 -0
  42. data/test/dummy/config/initializers/mime_types.rb +5 -0
  43. data/test/dummy/config/initializers/secret_token.rb +7 -0
  44. data/test/dummy/config/initializers/session_store.rb +8 -0
  45. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  46. data/test/dummy/config/locales/en.yml +5 -0
  47. data/test/dummy/config/routes.rb +61 -0
  48. data/test/dummy/config.ru +4 -0
  49. data/test/dummy/db/development.sqlite3 +0 -0
  50. data/test/dummy/db/migrate/20121030133646_authic_create_users.rb +19 -0
  51. data/test/dummy/db/schema.rb +29 -0
  52. data/test/dummy/log/development.log +523 -0
  53. data/test/dummy/public/404.html +26 -0
  54. data/test/dummy/public/422.html +26 -0
  55. data/test/dummy/public/500.html +25 -0
  56. data/test/dummy/public/favicon.ico +0 -0
  57. data/test/dummy/script/rails +6 -0
  58. data/test/dummy/test/fixtures/users.yml +11 -0
  59. data/test/dummy/test/functional/welcome_controller_test.rb +9 -0
  60. data/test/dummy/test/unit/helpers/welcome_helper_test.rb +4 -0
  61. data/test/dummy/test/unit/user_test.rb +7 -0
  62. data/test/dummy/tmp/cache/assets/C7B/190/sprockets%2F37b103f4623089af1456b90830fe941c +0 -0
  63. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  64. data/test/dummy/tmp/cache/assets/D13/C60/sprockets%2F2dedb8177c20286c4259c1d58c5646cc +0 -0
  65. data/test/dummy/tmp/cache/assets/D21/5D0/sprockets%2Fe2c4f946939f2d7d0b42d86383755cae +0 -0
  66. data/test/dummy/tmp/cache/assets/D32/3B0/sprockets%2F3a2be21d903762bfe546c90a3d51af37 +0 -0
  67. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  68. data/test/dummy/tmp/cache/assets/D36/8F0/sprockets%2Fa6aa5aa70c98eb18044f8e033648aa64 +0 -0
  69. data/test/dummy/tmp/cache/assets/D3E/F40/sprockets%2F25a167c7563d6fe8ec6b13ec1ac09274 +0 -0
  70. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  71. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  72. data/test/dummy/tmp/cache/assets/D9B/460/sprockets%2F7981456e720ca160ccece6cfe77aa2a4 +0 -0
  73. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  74. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  75. data/test/dummy/tmp/cache/assets/E34/750/sprockets%2Fafd8d2dbccef4926475f6dd4c0d07e7a +0 -0
  76. data/test/integration/navigation_test.rb +10 -0
  77. data/test/test_helper.rb +15 -0
  78. metadata +227 -0
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
Binary file
@@ -0,0 +1,19 @@
1
+ class AuthicCreateUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table(:users) do |t|
4
+ t.string :email, :null => false, :default => ""
5
+ t.datetime :created_at, :null => false
6
+ t.datetime :updated_at, :null => false
7
+ t.string :provider
8
+ t.string :uid
9
+ t.string :authic_data
10
+
11
+
12
+ t.timestamps
13
+ end
14
+
15
+ add_index :users, :email, :unique => true
16
+ add_index :users, :provider
17
+ add_index :users, :uid
18
+ end
19
+ end
@@ -0,0 +1,29 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20121030133646) do
15
+
16
+ create_table "users", :force => true do |t|
17
+ t.string "email", :default => "", :null => false
18
+ t.datetime "created_at", :null => false
19
+ t.datetime "updated_at", :null => false
20
+ t.string "provider"
21
+ t.string "uid"
22
+ t.string "authic_data"
23
+ end
24
+
25
+ add_index "users", ["email"], :name => "index_users_on_email", :unique => true
26
+ add_index "users", ["provider"], :name => "index_users_on_provider"
27
+ add_index "users", ["uid"], :name => "index_users_on_uid"
28
+
29
+ end
@@ -0,0 +1,523 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+  (0.1ms) select sqlite_version(*)
4
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
5
+  (0.0ms) PRAGMA index_list("schema_migrations")
6
+  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8
+ Migrating to AuthicCreateUsers (20121030133646)
9
+  (0.0ms) begin transaction
10
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "provider" varchar(255), "uid" varchar(255), "authic_data" varchar(255)) 
11
+  (0.0ms) PRAGMA index_list("users")
12
+  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
13
+  (0.0ms) PRAGMA index_list("users")
14
+  (0.0ms) PRAGMA index_info('index_users_on_email')
15
+  (0.1ms) CREATE INDEX "index_users_on_provider" ON "users" ("provider")
16
+  (0.0ms) PRAGMA index_list("users")
17
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
18
+  (0.0ms) PRAGMA index_info('index_users_on_email')
19
+  (0.1ms) CREATE INDEX "index_users_on_uid" ON "users" ("uid")
20
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121030133646')
21
+  (1.3ms) commit transaction
22
+  (0.4ms) select sqlite_version(*)
23
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
24
+  (0.0ms) PRAGMA index_list("users")
25
+  (0.0ms) PRAGMA index_info('index_users_on_uid')
26
+  (0.0ms) PRAGMA index_info('index_users_on_provider')
27
+  (0.0ms) PRAGMA index_info('index_users_on_email')
28
+
29
+
30
+ Started GET "/" for 127.0.0.1 at 2012-10-31 00:38:22 +1100
31
+ Connecting to database specified by database.yml
32
+
33
+ ActionController::RoutingError (No route matches [GET] "/"):
34
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
35
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
36
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
37
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
38
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
39
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
40
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
41
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
42
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
43
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
44
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
45
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
46
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
47
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
48
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
49
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
50
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
51
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
52
+
53
+
54
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (10.2ms)
55
+
56
+
57
+ Started GET "/" for 127.0.0.1 at 2012-10-31 00:39:04 +1100
58
+ Processing by WelcomeController#index as HTML
59
+ Rendered welcome/index.html.erb within layouts/application (0.7ms)
60
+ Compiled welcome.css (0ms) (pid 2437)
61
+ Compiled application.css (8ms) (pid 2437)
62
+ Compiled jquery.js (5ms) (pid 2437)
63
+ Compiled jquery_ujs.js (0ms) (pid 2437)
64
+ Compiled welcome.js (0ms) (pid 2437)
65
+ Compiled application.js (68ms) (pid 2437)
66
+ Completed 200 OK in 165ms (Views: 164.6ms | ActiveRecord: 0.0ms)
67
+
68
+
69
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-10-31 00:39:04 +1100
70
+ Served asset /welcome.css - 304 Not Modified (2ms)
71
+
72
+
73
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-31 00:39:04 +1100
74
+ Served asset /jquery_ujs.js - 304 Not Modified (4ms)
75
+
76
+
77
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-10-31 00:39:04 +1100
78
+ Served asset /welcome.js - 304 Not Modified (1ms)
79
+
80
+
81
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-31 00:39:04 +1100
82
+ Served asset /application.js - 304 Not Modified (6ms)
83
+
84
+
85
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-31 00:39:04 +1100
86
+ Served asset /jquery.js - 304 Not Modified (3ms)
87
+
88
+
89
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-31 00:39:04 +1100
90
+ Served asset /application.css - 304 Not Modified (3ms)
91
+
92
+
93
+ Started GET "/auth/authic?&state=sign_in" for 127.0.0.1 at 2012-10-31 00:39:07 +1100
94
+
95
+
96
+ Started GET "/auth/authic/callback?code=xoC8pXOcpmtHokLxG2xM&state=9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e" for 127.0.0.1 at 2012-10-31 00:39:08 +1100
97
+ Processing by AuthicClient::SessionsController#create as HTML
98
+ Parameters: {"code"=>"xoC8pXOcpmtHokLxG2xM", "state"=>"9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e"}
99
+ Completed 500 Internal Server Error in 6ms
100
+
101
+ NameError (undefined local variable or method `current_user' for #<AuthicClient::SessionsController:0x00000100fdf880>):
102
+ /Users/ctrand/Documents/authic/authic_client/app/controllers/authic_client/sessions_controller.rb:4:in `create'
103
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
104
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
105
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
106
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
107
+ activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__1279059204693566489__process_action__4189723660316182821__callbacks'
108
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
109
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
110
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
111
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
112
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
113
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
114
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
115
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
116
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
117
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
118
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
119
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
120
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
121
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
122
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
123
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
124
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
125
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
126
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
127
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
128
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
129
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
130
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
131
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
132
+ omniauth (1.1.1) lib/omniauth/strategy.rb:394:in `call_app!'
133
+ omniauth (1.1.1) lib/omniauth/strategy.rb:356:in `callback_phase'
134
+ omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:77:in `callback_phase'
135
+ omniauth (1.1.1) lib/omniauth/strategy.rb:219:in `callback_call'
136
+ omniauth (1.1.1) lib/omniauth/strategy.rb:175:in `call!'
137
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
138
+ omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
139
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
140
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
141
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
142
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
143
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
144
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
145
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
146
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
147
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
148
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
149
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
150
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
151
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2818056916005725467__call__1466497592688001683__callbacks'
152
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
153
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
154
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
155
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
156
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
157
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
158
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
159
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
160
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
161
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
162
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
163
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
164
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
165
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
166
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
167
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
168
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
169
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
170
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
171
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
172
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
173
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
174
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
175
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
176
+
177
+
178
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
179
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
180
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.6ms)
181
+
182
+
183
+ Started GET "/auth/authic/callback?code=xoC8pXOcpmtHokLxG2xM&state=9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e" for 127.0.0.1 at 2012-10-31 00:46:16 +1100
184
+ Connecting to database specified by database.yml
185
+ Processing by AuthicClient::SessionsController#create as HTML
186
+ Parameters: {"code"=>"xoC8pXOcpmtHokLxG2xM", "state"=>"9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e"}
187
+ Completed 500 Internal Server Error in 92ms
188
+
189
+ NoMethodError (undefined method `find_for_authic_oauth' for #<Class:0x00000100e8f458>):
190
+ activerecord (3.2.8) lib/active_record/dynamic_matchers.rb:50:in `method_missing'
191
+ /Users/ctrand/Documents/authic/authic_client/app/controllers/authic_client/sessions_controller.rb:4:in `create'
192
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
193
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
194
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
195
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
196
+ activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__3961529608899949768__process_action__1845766481933341645__callbacks'
197
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
198
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
199
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
200
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
201
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
202
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
203
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
204
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
205
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
206
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
207
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
208
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
209
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
210
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
211
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
212
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
213
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
214
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
215
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
216
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
217
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
218
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
219
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
220
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
221
+ omniauth (1.1.1) lib/omniauth/strategy.rb:394:in `call_app!'
222
+ omniauth (1.1.1) lib/omniauth/strategy.rb:356:in `callback_phase'
223
+ omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:77:in `callback_phase'
224
+ omniauth (1.1.1) lib/omniauth/strategy.rb:219:in `callback_call'
225
+ omniauth (1.1.1) lib/omniauth/strategy.rb:175:in `call!'
226
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
227
+ omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
228
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
229
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
230
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
231
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
232
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
233
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
234
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
235
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
236
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
237
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
238
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
239
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
240
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1651874615764936323__call__1826442293973192098__callbacks'
241
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
242
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
243
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
244
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
245
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
246
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
247
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
248
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
249
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
250
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
251
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
252
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
253
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
254
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
255
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
256
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
257
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
258
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
259
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
260
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
261
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
262
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
263
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
264
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
265
+
266
+
267
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
268
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
269
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.5ms)
270
+
271
+
272
+ Started GET "/auth/authic/callback?code=xoC8pXOcpmtHokLxG2xM&state=9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e" for 127.0.0.1 at 2012-10-31 00:52:57 +1100
273
+ Processing by AuthicClient::SessionsController#create as HTML
274
+ Parameters: {"code"=>"xoC8pXOcpmtHokLxG2xM", "state"=>"9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e"}
275
+ Completed 500 Internal Server Error in 6ms
276
+
277
+ NoMethodError (undefined method `find_for_authic_oauth' for #<Class:0x00000100b9e460>):
278
+ activerecord (3.2.8) lib/active_record/dynamic_matchers.rb:50:in `method_missing'
279
+ /Users/ctrand/Documents/authic/authic_client/app/controllers/authic_client/sessions_controller.rb:4:in `create'
280
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
281
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
282
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
283
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
284
+ activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__3961529608899949768__process_action__1845766481933341645__callbacks'
285
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
286
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
287
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
288
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
289
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
290
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
291
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
292
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
293
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
294
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
295
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
296
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
297
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
298
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
299
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
300
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
301
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
302
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
303
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
304
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
305
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
306
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
307
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
308
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
309
+ omniauth (1.1.1) lib/omniauth/strategy.rb:394:in `call_app!'
310
+ omniauth (1.1.1) lib/omniauth/strategy.rb:356:in `callback_phase'
311
+ omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:77:in `callback_phase'
312
+ omniauth (1.1.1) lib/omniauth/strategy.rb:219:in `callback_call'
313
+ omniauth (1.1.1) lib/omniauth/strategy.rb:175:in `call!'
314
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
315
+ omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
316
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
317
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
318
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
319
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
320
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
321
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
322
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
323
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
324
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
325
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
326
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
327
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
328
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1651874615764936323__call__1826442293973192098__callbacks'
329
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
330
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
331
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
332
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
333
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
334
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
335
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
336
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
337
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
338
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
339
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
340
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
341
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
342
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
343
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
344
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
345
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
346
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
347
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
348
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
349
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
350
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
351
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
352
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
353
+
354
+
355
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
356
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
357
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.7ms)
358
+
359
+
360
+ Started GET "/auth/authic/callback?code=xoC8pXOcpmtHokLxG2xM&state=9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e" for 127.0.0.1 at 2012-10-31 00:53:12 +1100
361
+ Processing by AuthicClient::SessionsController#create as HTML
362
+ Parameters: {"code"=>"xoC8pXOcpmtHokLxG2xM", "state"=>"9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e"}
363
+ Completed 500 Internal Server Error in 6ms
364
+
365
+ NoMethodError (undefined method `find_for_authic_oauth' for #<Class:0x00000100f7e580>):
366
+ activerecord (3.2.8) lib/active_record/dynamic_matchers.rb:50:in `method_missing'
367
+ /Users/ctrand/Documents/authic/authic_client/app/controllers/authic_client/sessions_controller.rb:4:in `create'
368
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
369
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
370
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
371
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
372
+ activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__3961529608899949768__process_action__1845766481933341645__callbacks'
373
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
374
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
375
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
376
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
377
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
378
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
379
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
380
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
381
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
382
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
383
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
384
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
385
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
386
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
387
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
388
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
389
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
390
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
391
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
392
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
393
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
394
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
395
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
396
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
397
+ omniauth (1.1.1) lib/omniauth/strategy.rb:394:in `call_app!'
398
+ omniauth (1.1.1) lib/omniauth/strategy.rb:356:in `callback_phase'
399
+ omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:77:in `callback_phase'
400
+ omniauth (1.1.1) lib/omniauth/strategy.rb:219:in `callback_call'
401
+ omniauth (1.1.1) lib/omniauth/strategy.rb:175:in `call!'
402
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
403
+ omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
404
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
405
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
406
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
407
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
408
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
409
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
410
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
411
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
412
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
413
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
414
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
415
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
416
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1651874615764936323__call__1826442293973192098__callbacks'
417
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
418
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
419
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
420
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
421
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
422
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
423
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
424
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
425
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
426
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
427
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
428
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
429
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
430
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
431
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
432
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
433
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
434
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
435
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
436
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
437
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
438
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
439
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
440
+ /Users/ctrand/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
441
+
442
+
443
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
444
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
445
+ Rendered /Users/ctrand/.rvm/gems/ruby-1.9.2-p180@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.9ms)
446
+
447
+
448
+ Started GET "/auth/authic/callback?code=xoC8pXOcpmtHokLxG2xM&state=9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e" for 127.0.0.1 at 2012-10-31 00:57:50 +1100
449
+ Processing by AuthicClient::SessionsController#create as HTML
450
+ Parameters: {"code"=>"xoC8pXOcpmtHokLxG2xM", "state"=>"9faee799e0bb229ef59c39b7e7d0c4d8dfa1ed5a1d08861e"}
451
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."provider" = 'authic' AND "users"."uid" = 4 LIMIT 1
452
+  (0.1ms) begin transaction
453
+ SQL (14.3ms) INSERT INTO "users" ("authic_data", "created_at", "email", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["authic_data", nil], ["created_at", Tue, 30 Oct 2012 13:57:52 UTC +00:00], ["email", "dev@authic.com"], ["provider", "authic"], ["uid", 4], ["updated_at", Tue, 30 Oct 2012 13:57:52 UTC +00:00]]
454
+  (4.0ms) commit transaction
455
+ Redirected to http://localhost:3001/
456
+ Completed 302 Found in 51ms (ActiveRecord: 18.9ms)
457
+
458
+
459
+ Started GET "/" for 127.0.0.1 at 2012-10-31 00:57:52 +1100
460
+ Processing by WelcomeController#index as HTML
461
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
462
+ Rendered welcome/index.html.erb within layouts/application (2.5ms)
463
+ Completed 200 OK in 53ms (Views: 52.8ms | ActiveRecord: 0.2ms)
464
+
465
+
466
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-10-31 00:57:52 +1100
467
+ Served asset /welcome.css - 304 Not Modified (2ms)
468
+
469
+
470
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-31 00:57:52 +1100
471
+ Served asset /application.css - 304 Not Modified (3ms)
472
+
473
+
474
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-31 00:57:52 +1100
475
+ Served asset /jquery.js - 304 Not Modified (3ms)
476
+
477
+
478
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-31 00:57:52 +1100
479
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
480
+
481
+
482
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-10-31 00:57:52 +1100
483
+ Served asset /welcome.js - 304 Not Modified (1ms)
484
+
485
+
486
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-31 00:57:52 +1100
487
+ Served asset /application.js - 304 Not Modified (6ms)
488
+
489
+
490
+ Started GET "/signout" for 127.0.0.1 at 2012-10-31 00:57:58 +1100
491
+ Processing by AuthicClient::SessionsController#destroy as HTML
492
+ Redirected to http://dev.authicstaging.com/authic_sign_out?&return_path=http://localhost:3001/
493
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
494
+
495
+
496
+ Started GET "/" for 127.0.0.1 at 2012-10-31 00:57:59 +1100
497
+ Processing by WelcomeController#index as HTML
498
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
499
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
500
+
501
+
502
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-31 00:57:59 +1100
503
+ Served asset /application.css - 304 Not Modified (0ms)
504
+
505
+
506
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-10-31 00:57:59 +1100
507
+ Served asset /welcome.css - 304 Not Modified (0ms)
508
+
509
+
510
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-31 00:57:59 +1100
511
+ Served asset /jquery.js - 304 Not Modified (0ms)
512
+
513
+
514
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-31 00:57:59 +1100
515
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
516
+
517
+
518
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-10-31 00:57:59 +1100
519
+ Served asset /welcome.js - 304 Not Modified (0ms)
520
+
521
+
522
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-31 00:57:59 +1100
523
+ Served asset /application.js - 304 Not Modified (0ms)