omniauth-aai 0.4 → 0.5

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 (65) hide show
  1. data/Gemfile.lock +108 -14
  2. data/README.md +55 -38
  3. data/lib/action_controller/has_current_user.rb +44 -0
  4. data/lib/generators/aai/install_generator.rb +13 -2
  5. data/lib/generators/aai/templates/omniauth.rb +1 -23
  6. data/lib/generators/aai/templates/session_controller.rb +12 -13
  7. data/lib/generators/aai/templates/user.rb +42 -2
  8. data/lib/omniauth-aai/version.rb +1 -1
  9. data/lib/omniauth-aai.rb +1 -1
  10. data/omniauth-aai-0.4.gem +0 -0
  11. data/omniauth-aai.gemspec +3 -0
  12. data/spec/example_rails_app/Gemfile +2 -25
  13. data/spec/example_rails_app/Rakefile +1 -1
  14. data/spec/example_rails_app/app/assets/stylesheets/welcome.css.scss +1 -1
  15. data/spec/example_rails_app/app/controllers/application_controller.rb +0 -23
  16. data/spec/example_rails_app/app/controllers/welcome_controller.rb +2 -3
  17. data/spec/example_rails_app/app/views/layouts/application.html.erb +1 -1
  18. data/spec/example_rails_app/app/views/welcome/index.html.erb +2 -2
  19. data/spec/example_rails_app/app/views/welcome/protected.html.erb +2 -2
  20. data/spec/example_rails_app/change_application_controller.rb +5 -0
  21. data/spec/example_rails_app/config/application.rb +1 -1
  22. data/spec/example_rails_app/config/environment.rb +1 -1
  23. data/spec/example_rails_app/config/environments/development.rb +1 -1
  24. data/spec/example_rails_app/config/environments/production.rb +1 -1
  25. data/spec/example_rails_app/config/environments/test.rb +1 -1
  26. data/spec/example_rails_app/config/initializers/secret_token.rb +1 -1
  27. data/spec/example_rails_app/config/initializers/session_store.rb +2 -2
  28. data/spec/example_rails_app/config/routes.rb +2 -6
  29. data/spec/example_rails_app/config.ru +1 -1
  30. data/spec/example_rails_app/test/functional/welcome_controller_test.rb +0 -5
  31. data/spec/omniauth/strategies/brute_force_spec.rb +62 -0
  32. metadata +46 -63
  33. data/.DS_Store +0 -0
  34. data/lib/.DS_Store +0 -0
  35. data/lib/generators/.DS_Store +0 -0
  36. data/lib/generators/aai/.DS_Store +0 -0
  37. data/lib/omniauth/.DS_Store +0 -0
  38. data/lib/omniauth/strategies/.DS_Store +0 -0
  39. data/spec/example_rails_app/Gemfile.lock +0 -124
  40. data/spec/example_rails_app/README.rdoc +0 -261
  41. data/spec/example_rails_app/app/controllers/session_controller.rb +0 -22
  42. data/spec/example_rails_app/app/models/user.rb +0 -12
  43. data/spec/example_rails_app/app/views/welcome/other_protected.html.erb +0 -2
  44. data/spec/example_rails_app/config/initializers/omniauth.rb +0 -12
  45. data/spec/example_rails_app/db/.DS_Store +0 -0
  46. data/spec/example_rails_app/db/development.sqlite3 +0 -0
  47. data/spec/example_rails_app/db/migrate/.DS_Store +0 -0
  48. data/spec/example_rails_app/log/development.log +0 -652
  49. data/spec/example_rails_app/tmp/cache/assets/C26/690/sprockets%2F93708cb34051f3000884905e8669d74a +0 -0
  50. data/spec/example_rails_app/tmp/cache/assets/C83/640/sprockets%2F3233432f81669b9bd10ef726c526d348 +0 -0
  51. data/spec/example_rails_app/tmp/cache/assets/CA2/0F0/sprockets%2Fa928bf973636d2399692f97f454b5c09 +0 -0
  52. data/spec/example_rails_app/tmp/cache/assets/CD0/AB0/sprockets%2F2211190fb757d05874e2b25fc37a31ad +0 -0
  53. data/spec/example_rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  54. data/spec/example_rails_app/tmp/cache/assets/CE2/AD0/sprockets%2Fbd71546009ab5e606b3f27b4c6a79856 +0 -0
  55. data/spec/example_rails_app/tmp/cache/assets/D14/000/sprockets%2Fffd7643b7c429e23bdb2281097a5e096 +0 -0
  56. data/spec/example_rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  57. data/spec/example_rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  58. data/spec/example_rails_app/tmp/cache/assets/D57/A10/sprockets%2Fbb59d79df830866d39acc49495c25a8c +0 -0
  59. data/spec/example_rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  60. data/spec/example_rails_app/tmp/cache/assets/D5E/170/sprockets%2F2f2229c70dcf195564d4d0fd6a12ac1a +0 -0
  61. data/spec/example_rails_app/tmp/cache/assets/D93/130/sprockets%2F85e96cfbd0056066c4fdeb246aa10ab6 +0 -0
  62. data/spec/example_rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  63. data/spec/example_rails_app/tmp/cache/assets/DFB/5E0/sprockets%2Fe0480a75c9ef1c7efa2fc0d776a8a4aa +0 -0
  64. data/spec/example_rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  65. data/spec/example_rails_app/tmp/cache/sass/44d095475c20f924faa7ec65cd6b8fcf1bcb8197/welcome.css.scssc +0 -0
@@ -1,652 +0,0 @@
1
-
2
-
3
- Started GET "/" for 127.0.0.1 at 2012-07-08 15:07:10 +0200
4
- Connecting to database specified by database.yml
5
-
6
- ActionController::RoutingError (No route matches [GET] "/"):
7
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
8
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
9
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
10
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
11
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
12
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
13
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
14
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
15
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
16
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
17
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
18
- railties (3.2.6) lib/rails/application.rb:220:in `call'
19
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
21
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
22
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
23
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
24
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
25
-
26
-
27
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.9ms)
28
-
29
-
30
- Started GET "/welcome/" for 127.0.0.1 at 2012-07-08 15:07:17 +0200
31
-
32
- ActionController::RoutingError (No route matches [GET] "/welcome"):
33
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
34
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
35
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
36
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
37
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
38
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
39
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
40
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
41
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
42
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
43
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
44
- railties (3.2.6) lib/rails/application.rb:220:in `call'
45
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
46
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
47
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
48
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
49
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
50
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
51
-
52
-
53
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
54
-
55
-
56
- Started GET "/welcome/index" for 127.0.0.1 at 2012-07-08 15:07:37 +0200
57
- Processing by WelcomeController#index as HTML
58
- Rendered welcome/index.html.erb within layouts/application (0.4ms)
59
- Compiled welcome.css (15ms) (pid 69215)
60
- Compiled application.css (29ms) (pid 69215)
61
- Compiled jquery.js (4ms) (pid 69215)
62
- Compiled jquery_ujs.js (1ms) (pid 69215)
63
- Compiled welcome.js (393ms) (pid 69215)
64
- Compiled application.js (468ms) (pid 69215)
65
- Completed 200 OK in 653ms (Views: 652.7ms | ActiveRecord: 0.0ms)
66
-
67
-
68
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-08 15:07:38 +0200
69
- Served asset /application.css - 200 OK (8ms)
70
-
71
-
72
- Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-07-08 15:07:38 +0200
73
- Served asset /welcome.css - 200 OK (3ms)
74
-
75
-
76
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-08 15:07:38 +0200
77
- Served asset /jquery_ujs.js - 304 Not Modified (4ms)
78
-
79
-
80
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-08 15:07:38 +0200
81
- Served asset /jquery.js - 304 Not Modified (3ms)
82
-
83
-
84
- Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-07-08 15:07:39 +0200
85
- Served asset /welcome.js - 200 OK (1ms)
86
-
87
-
88
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-08 15:07:39 +0200
89
- Served asset /application.js - 200 OK (39ms)
90
- Connecting to database specified by database.yml
91
-
92
-
93
- Started GET "/" for 127.0.0.1 at 2012-07-08 16:49:38 +0200
94
- Connecting to database specified by database.yml
95
-
96
- ActionController::RoutingError (No route matches [GET] "/"):
97
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
98
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
99
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
100
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
101
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
102
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
103
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
104
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
105
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
106
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
107
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
108
- railties (3.2.6) lib/rails/application.rb:220:in `call'
109
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
110
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
111
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
112
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
113
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
114
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
115
-
116
-
117
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
118
-
119
-
120
- Started GET "/" for 127.0.0.1 at 2012-07-08 16:50:27 +0200
121
- Connecting to database specified by database.yml
122
-
123
- ActionController::RoutingError (undefined method `filter' for WelcomeController:Class):
124
- app/controllers/welcome_controller.rb:3:in `<class:WelcomeController>'
125
- app/controllers/welcome_controller.rb:1:in `<top (required)>'
126
-
127
-
128
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.2ms)
129
-
130
-
131
- Started GET "/" for 127.0.0.1 at 2012-07-08 16:51:20 +0200
132
- Processing by WelcomeController#index as HTML
133
- Rendered welcome/index.html.erb within layouts/application (0.5ms)
134
- Completed 200 OK in 51ms (Views: 50.3ms | ActiveRecord: 0.0ms)
135
-
136
-
137
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-08 16:51:20 +0200
138
- Served asset /application.css - 304 Not Modified (8ms)
139
-
140
-
141
- Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-07-08 16:51:20 +0200
142
- Served asset /welcome.css - 304 Not Modified (2ms)
143
-
144
-
145
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-08 16:51:20 +0200
146
- Served asset /jquery.js - 200 OK (6ms)
147
-
148
-
149
- Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-07-08 16:51:21 +0200
150
- Served asset /welcome.js - 304 Not Modified (1ms)
151
-
152
-
153
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-08 16:51:21 +0200
154
- Served asset /jquery_ujs.js - 304 Not Modified (2ms)
155
-
156
-
157
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-08 16:51:21 +0200
158
- Served asset /application.js - 304 Not Modified (7ms)
159
-
160
-
161
- Started GET "/" for 127.0.0.1 at 2012-07-08 16:52:32 +0200
162
- Processing by WelcomeController#index as HTML
163
- Rendered welcome/index.html.erb within layouts/application (0.8ms)
164
- Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)
165
-
166
-
167
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-08 16:52:32 +0200
168
- Served asset /application.css - 304 Not Modified (0ms)
169
-
170
-
171
- Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-07-08 16:52:32 +0200
172
- Served asset /welcome.css - 304 Not Modified (0ms)
173
-
174
-
175
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-08 16:52:32 +0200
176
- Served asset /jquery.js - 304 Not Modified (0ms)
177
-
178
-
179
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-08 16:52:32 +0200
180
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
181
-
182
-
183
- Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-07-08 16:52:32 +0200
184
- Served asset /welcome.js - 304 Not Modified (0ms)
185
-
186
-
187
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-08 16:52:33 +0200
188
- Served asset /application.js - 304 Not Modified (0ms)
189
-
190
-
191
- Started GET "/other_protected" for 127.0.0.1 at 2012-07-08 16:52:34 +0200
192
-
193
- ActionController::RoutingError (No route matches [GET] "/other_protected"):
194
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
195
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
196
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
197
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
198
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
199
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
200
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
201
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
202
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
203
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
204
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
205
- railties (3.2.6) lib/rails/application.rb:220:in `call'
206
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
207
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
208
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
209
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
210
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
211
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
212
-
213
-
214
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
215
-
216
-
217
- Started GET "/other_protected" for 127.0.0.1 at 2012-07-08 16:52:51 +0200
218
-
219
- ActionController::RoutingError (No route matches [GET] "/other_protected"):
220
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
221
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
222
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
223
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
224
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
225
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
226
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
227
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
228
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
229
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
230
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
231
- railties (3.2.6) lib/rails/application.rb:220:in `call'
232
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
233
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
234
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
235
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
236
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
237
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
238
-
239
-
240
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
241
-
242
-
243
- Started GET "/" for 127.0.0.1 at 2012-07-08 16:52:54 +0200
244
- Processing by WelcomeController#index as HTML
245
- Rendered welcome/index.html.erb within layouts/application (0.6ms)
246
- Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
247
-
248
-
249
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-08 16:52:54 +0200
250
- Served asset /application.css - 304 Not Modified (0ms)
251
-
252
-
253
- Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-07-08 16:52:54 +0200
254
- Served asset /welcome.css - 304 Not Modified (0ms)
255
-
256
-
257
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-08 16:52:54 +0200
258
- Served asset /jquery.js - 304 Not Modified (0ms)
259
-
260
-
261
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-08 16:52:54 +0200
262
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
263
-
264
-
265
- Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-07-08 16:52:54 +0200
266
- Served asset /welcome.js - 304 Not Modified (0ms)
267
-
268
-
269
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-08 16:52:54 +0200
270
- Served asset /application.js - 304 Not Modified (0ms)
271
-
272
-
273
- Started GET "/welcome/other_protected" for 127.0.0.1 at 2012-07-08 16:52:55 +0200
274
- Processing by WelcomeController#other_protected as HTML
275
- Completed 500 Internal Server Error in 3ms
276
-
277
- NoMethodError (undefined method `current_user' for #<WelcomeController:0x007fca63f83ec0>):
278
- app/controllers/application_controller.rb:5:in `authenticate!'
279
-
280
-
281
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
282
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
283
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.8ms)
284
-
285
-
286
- Started GET "/welcome/other_protected" for 127.0.0.1 at 2012-07-08 16:54:33 +0200
287
- Processing by WelcomeController#other_protected as HTML
288
- Completed 500 Internal Server Error in 1ms
289
-
290
- NoMethodError (undefined method `request_uri' for #<ActionDispatch::Request:0x007fca644c08e8>):
291
- app/controllers/application_controller.rb:15:in `authenticate!'
292
-
293
-
294
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
295
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
296
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.9ms)
297
-
298
-
299
- Started GET "/welcome/other_protected" for 127.0.0.1 at 2012-07-08 16:57:11 +0200
300
- Processing by WelcomeController#other_protected as HTML
301
- Redirected to http://localhost:3000/auth/developer
302
- Filter chain halted as :authenticate! rendered or redirected
303
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
304
-
305
-
306
- Started GET "/auth/developer" for 127.0.0.1 at 2012-07-08 16:57:11 +0200
307
-
308
-
309
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 16:57:26 +0200
310
-
311
- ActionController::RoutingError (uninitialized constant SessionsController):
312
- activesupport (3.2.6) lib/active_support/inflector/methods.rb:229:in `block in constantize'
313
- activesupport (3.2.6) lib/active_support/inflector/methods.rb:228:in `each'
314
- activesupport (3.2.6) lib/active_support/inflector/methods.rb:228:in `constantize'
315
- actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
316
- actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:54:in `controller'
317
- actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:32:in `call'
318
- journey (1.0.4) lib/journey/router.rb:68:in `block in call'
319
- journey (1.0.4) lib/journey/router.rb:56:in `each'
320
- journey (1.0.4) lib/journey/router.rb:56:in `call'
321
- actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:600:in `call'
322
- omniauth (1.1.0) lib/omniauth/strategy.rb:392:in `call_app!'
323
- omniauth (1.1.0) lib/omniauth/strategy.rb:354:in `callback_phase'
324
- omniauth (1.1.0) lib/omniauth/strategy.rb:219:in `callback_call'
325
- omniauth (1.1.0) lib/omniauth/strategy.rb:175:in `call!'
326
- omniauth (1.1.0) lib/omniauth/strategy.rb:157:in `call'
327
- omniauth (1.1.0) lib/omniauth/builder.rb:48:in `call'
328
- actionpack (3.2.6) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
329
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
330
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
331
- actionpack (3.2.6) lib/action_dispatch/middleware/head.rb:14:in `call'
332
- actionpack (3.2.6) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
333
- actionpack (3.2.6) lib/action_dispatch/middleware/flash.rb:242:in `call'
334
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
335
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
336
- actionpack (3.2.6) lib/action_dispatch/middleware/cookies.rb:338:in `call'
337
- activerecord (3.2.6) lib/active_record/query_cache.rb:64:in `call'
338
- activerecord (3.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
339
- actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
340
- activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `_run__2060125882097243611__call__3520427724438916292__callbacks'
341
- activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `__run_callback'
342
- activesupport (3.2.6) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
343
- activesupport (3.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
344
- actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
345
- actionpack (3.2.6) lib/action_dispatch/middleware/reloader.rb:65:in `call'
346
- actionpack (3.2.6) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
347
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
348
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
349
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
350
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
351
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
352
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
353
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
354
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
355
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
356
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
357
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
358
- railties (3.2.6) lib/rails/application.rb:220:in `call'
359
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
360
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
361
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
362
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
363
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
364
- /Users/beffa/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
365
-
366
-
367
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
368
-
369
-
370
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 16:58:41 +0200
371
- Processing by SessionController#create as HTML
372
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
373
- WARNING: Can't verify CSRF token authenticity
374
- Completed 500 Internal Server Error in 3ms
375
-
376
- NoMethodError (undefined method `set' for User:Class):
377
- app/controllers/session_controller.rb:4:in `create'
378
-
379
-
380
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms)
381
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
382
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.7ms)
383
-
384
-
385
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 16:59:29 +0200
386
- Processing by SessionController#create as HTML
387
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
388
- WARNING: Can't verify CSRF token authenticity
389
- Completed 500 Internal Server Error in 3ms
390
-
391
- TypeError ([:name, :email, :swiss_ep_uid] is not a symbol):
392
- app/models/user.rb:2:in `attr_accessor'
393
- app/models/user.rb:2:in `<class:User>'
394
- app/models/user.rb:1:in `<top (required)>'
395
- app/controllers/session_controller.rb:4:in `create'
396
-
397
-
398
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.8ms)
399
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
400
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.8ms)
401
-
402
-
403
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 16:59:35 +0200
404
- Processing by SessionController#create as HTML
405
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
406
- WARNING: Can't verify CSRF token authenticity
407
- Completed 500 Internal Server Error in 4ms
408
-
409
- TypeError ([:name, :email, :swiss_ep_uid] is not a symbol):
410
- app/models/user.rb:2:in `attr_accessor'
411
- app/models/user.rb:2:in `<class:User>'
412
- app/models/user.rb:1:in `<top (required)>'
413
- app/controllers/session_controller.rb:4:in `create'
414
-
415
-
416
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (10.8ms)
417
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (11.1ms)
418
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (46.3ms)
419
-
420
-
421
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 16:59:51 +0200
422
- Processing by SessionController#create as HTML
423
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
424
- WARNING: Can't verify CSRF token authenticity
425
- Completed 500 Internal Server Error in 4ms
426
-
427
- TypeError ([:name, :email, :swiss_ep_uid] is not a symbol):
428
- app/models/user.rb:2:in `attr_accessor'
429
- app/models/user.rb:2:in `<class:User>'
430
- app/models/user.rb:1:in `<top (required)>'
431
- app/controllers/session_controller.rb:4:in `create'
432
-
433
-
434
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms)
435
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
436
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.8ms)
437
-
438
-
439
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:01:56 +0200
440
- Processing by SessionController#create as HTML
441
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
442
- WARNING: Can't verify CSRF token authenticity
443
- Completed 500 Internal Server Error in 4ms
444
-
445
- RuntimeError (#<OmniAuth::AuthHash credentials=#<Hashie::Mash> extra=#<Hashie::Mash> info=#<OmniAuth::AuthHash::InfoHash email="claudio@beffa.ch" name="Claudio Beffa" swiss_ep_uid="skjfskldf@dksjf sadf"> provider="developer" uid=nil>):
446
- app/models/user.rb:5:in `set'
447
- app/controllers/session_controller.rb:4:in `create'
448
-
449
-
450
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.9ms)
451
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
452
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.4ms)
453
-
454
-
455
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:02:29 +0200
456
- Processing by SessionController#create as HTML
457
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
458
- WARNING: Can't verify CSRF token authenticity
459
- Completed 500 Internal Server Error in 4ms
460
-
461
- RuntimeError (#<OmniAuth::AuthHash::InfoHash email="claudio@beffa.ch" name="Claudio Beffa" swiss_ep_uid="skjfskldf@dksjf sadf">):
462
- app/models/user.rb:5:in `set'
463
- app/controllers/session_controller.rb:4:in `create'
464
-
465
-
466
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
467
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (60.2ms)
468
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (80.3ms)
469
-
470
-
471
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:04:23 +0200
472
- Processing by SessionController#create as HTML
473
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
474
- WARNING: Can't verify CSRF token authenticity
475
- Completed 500 Internal Server Error in 5ms
476
-
477
- ArgumentError (wrong number of arguments (1 for 0)):
478
- app/models/user.rb:7:in `block in set'
479
- app/models/user.rb:6:in `each'
480
- app/models/user.rb:6:in `set'
481
- app/controllers/session_controller.rb:4:in `create'
482
-
483
-
484
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.2ms)
485
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
486
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.2ms)
487
-
488
-
489
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:05:16 +0200
490
- Processing by SessionController#create as HTML
491
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
492
- WARNING: Can't verify CSRF token authenticity
493
- Completed 500 Internal Server Error in 2ms
494
-
495
- NameError (undefined local variable or method `f' for User:Class):
496
- app/models/user.rb:6:in `set'
497
- app/controllers/session_controller.rb:4:in `create'
498
-
499
-
500
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.7ms)
501
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
502
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.7ms)
503
-
504
-
505
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:05:26 +0200
506
- Processing by SessionController#create as HTML
507
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
508
- WARNING: Can't verify CSRF token authenticity
509
- Completed 500 Internal Server Error in 4ms
510
-
511
- RuntimeError (claudio@beffa.ch):
512
- app/models/user.rb:6:in `set'
513
- app/controllers/session_controller.rb:4:in `create'
514
-
515
-
516
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms)
517
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
518
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.2ms)
519
-
520
-
521
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:05:48 +0200
522
- Processing by SessionController#create as HTML
523
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
524
- WARNING: Can't verify CSRF token authenticity
525
- Completed 500 Internal Server Error in 5ms
526
-
527
- NoMethodError (undefined method `email=' for #<User:0x007fca656f5ce8>):
528
- app/models/user.rb:6:in `set'
529
- app/controllers/session_controller.rb:4:in `create'
530
-
531
-
532
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
533
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
534
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.4ms)
535
-
536
-
537
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:05:57 +0200
538
- Processing by SessionController#create as HTML
539
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
540
- WARNING: Can't verify CSRF token authenticity
541
- Completed 500 Internal Server Error in 3ms
542
-
543
- RuntimeError (claudio@beffa.ch):
544
- app/models/user.rb:7:in `set'
545
- app/controllers/session_controller.rb:4:in `create'
546
-
547
-
548
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms)
549
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
550
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.0ms)
551
-
552
-
553
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:06:04 +0200
554
- Processing by SessionController#create as HTML
555
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
556
- WARNING: Can't verify CSRF token authenticity
557
- Completed 500 Internal Server Error in 4ms
558
-
559
- RuntimeError (Claudio Beffa):
560
- app/models/user.rb:7:in `set'
561
- app/controllers/session_controller.rb:4:in `create'
562
-
563
-
564
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.5ms)
565
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
566
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.6ms)
567
-
568
-
569
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:06:30 +0200
570
- Processing by SessionController#create as HTML
571
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
572
- WARNING: Can't verify CSRF token authenticity
573
- Completed 500 Internal Server Error in 3ms
574
-
575
- NoMethodError (undefined method `rais' for User:Class):
576
- app/models/user.rb:8:in `set'
577
- app/controllers/session_controller.rb:4:in `create'
578
-
579
-
580
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (49.5ms)
581
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
582
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (59.7ms)
583
-
584
-
585
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:06:35 +0200
586
- Processing by SessionController#create as HTML
587
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
588
- WARNING: Can't verify CSRF token authenticity
589
- Completed 500 Internal Server Error in 3ms
590
-
591
- RuntimeError (#<OmniAuth::AuthHash::InfoHash email="claudio@beffa.ch" name="Claudio Beffa" swiss_ep_uid="skjfskldf@dksjf sadf">):
592
- app/models/user.rb:8:in `set'
593
- app/controllers/session_controller.rb:4:in `create'
594
-
595
-
596
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.7ms)
597
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
598
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.8ms)
599
-
600
-
601
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:07:25 +0200
602
- Processing by SessionController#create as HTML
603
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
604
- WARNING: Can't verify CSRF token authenticity
605
- Completed 500 Internal Server Error in 7ms
606
-
607
- RuntimeError (#<OmniAuth::AuthHash credentials=#<Hashie::Mash> extra=#<Hashie::Mash> info=#<OmniAuth::AuthHash::InfoHash email="claudio@beffa.ch" name="Claudio Beffa" swiss_ep_uid="skjfskldf@dksjf sadf"> provider="developer" uid=nil>):
608
- app/models/user.rb:9:in `set'
609
- app/controllers/session_controller.rb:4:in `create'
610
-
611
-
612
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms)
613
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
614
- Rendered /Users/beffa/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.0ms)
615
-
616
-
617
- Started POST "/auth/developer/callback" for 127.0.0.1 at 2012-07-08 17:07:52 +0200
618
- Processing by SessionController#create as HTML
619
- Parameters: {"name"=>"Claudio Beffa", "email"=>"claudio@beffa.ch", "swiss_ep_uid"=>"skjfskldf@dksjf sadf", "provider"=>"developer"}
620
- WARNING: Can't verify CSRF token authenticity
621
- Redirected to http://localhost:3000/
622
- Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
623
-
624
-
625
- Started GET "/" for 127.0.0.1 at 2012-07-08 17:07:53 +0200
626
- Processing by WelcomeController#index as HTML
627
- Rendered welcome/index.html.erb within layouts/application (0.1ms)
628
- Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
629
-
630
-
631
- Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-07-08 17:07:53 +0200
632
- Served asset /welcome.js - 304 Not Modified (0ms)
633
-
634
-
635
- Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-07-08 17:07:53 +0200
636
- Served asset /welcome.css - 304 Not Modified (0ms)
637
-
638
-
639
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-08 17:07:53 +0200
640
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
641
-
642
-
643
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-08 17:07:53 +0200
644
- Served asset /application.css - 304 Not Modified (0ms)
645
-
646
-
647
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-08 17:07:53 +0200
648
- Served asset /jquery.js - 200 OK (0ms)
649
-
650
-
651
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-08 17:07:53 +0200
652
- Served asset /application.js - 304 Not Modified (0ms)