iugusdk 1.0.0.alpha.3 → 1.0.0.alpha.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/app/controllers/iugu/account_controller.rb +14 -5
  2. data/app/controllers/iugu/pricing_controller.rb +8 -0
  3. data/app/controllers/iugu/profile_controller.rb +15 -2
  4. data/app/controllers/iugu/registrations_controller.rb +8 -0
  5. data/app/controllers/iugu/sessions_controller.rb +8 -0
  6. data/app/models/account.rb +1 -13
  7. data/app/models/api_token.rb +32 -0
  8. data/app/models/user.rb +25 -0
  9. data/app/views/iugu/pricing/index.html.haml +14 -0
  10. data/app/views/iugu/settings/account.html.haml +21 -6
  11. data/app/views/iugu/settings/profile.html.haml +11 -1
  12. data/config/locales/iugu.en.yml +5 -1
  13. data/config/locales/iugu.pt-BR.yml +5 -1
  14. data/config/routes.rb +3 -0
  15. data/db/migrate/20121023113304_create_api_token.rb +15 -0
  16. data/lib/iugusdk/engine.rb +8 -0
  17. data/lib/iugusdk/iugusdk_base_controller.rb +16 -7
  18. data/lib/iugusdk/root_tenancy_url.rb +3 -3
  19. data/lib/iugusdk/session_parameter_middleware.rb +15 -0
  20. data/lib/iugusdk/version.rb +1 -1
  21. data/lib/iugusdk.rb +17 -0
  22. data/spec/controllers/account_controller_spec.rb +19 -8
  23. data/spec/controllers/pricing_controller_spec.rb +16 -0
  24. data/spec/controllers/profile_controller_spec.rb +13 -4
  25. data/spec/controllers/registration_controller_spec.rb +15 -1
  26. data/spec/dummy/config/application.rb +4 -1
  27. data/spec/dummy/config/initializers/iugusdk.rb +2 -0
  28. data/spec/dummy/db/migrate/20121108115535_remove_api_token_from_account.rb +7 -0
  29. data/spec/dummy/db/schema.rb +11 -1
  30. data/spec/dummy/log/development.log +2967 -0
  31. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  32. data/spec/dummy/tmp/cache/assets/CF1/A70/sprockets%2F368a631d9662bcc4891c91f739b7be37 +0 -0
  33. data/spec/dummy/tmp/cache/assets/CF6/A50/sprockets%2Ff434c1ed5d55916f790cf698832f76b1 +0 -0
  34. data/spec/dummy/tmp/cache/assets/CF9/650/sprockets%2F5767184d0e9646ef1aec88c89a47b761 +0 -0
  35. data/spec/dummy/tmp/cache/assets/D12/D70/sprockets%2F9c37ed72a191cf588665dcb621f401c3 +0 -0
  36. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  37. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  38. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  39. data/spec/dummy/tmp/cache/assets/D77/920/sprockets%2Faf0e746c541e6cf4540db92c87da579c +0 -0
  40. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  41. data/spec/dummy/tmp/cache/assets/DDC/410/sprockets%2F91b38c54838c97f0815ebf8aabddfc4e +0 -0
  42. data/spec/dummy/tmp/cache/assets/E01/940/sprockets%2F5fe65d209f8e909c4f3b080fceacac1e +0 -0
  43. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  44. data/spec/dummy/tmp/cache/sass/e35248e21fc26dee07372931d609e6a972a6818c/default.sassc +0 -0
  45. data/spec/fabricators/api_token_fabricator.rb +5 -0
  46. data/spec/models/account_spec.rb +0 -33
  47. data/spec/models/api_token_spec.rb +23 -0
  48. data/spec/models/user_spec.rb +9 -0
  49. data/spec/requests/account_spec.rb +19 -5
  50. data/spec/requests/user_spec.rb +18 -1
  51. metadata +289 -416
@@ -0,0 +1,2967 @@
1
+ Connecting to database specified by database.yml
2
+  (18.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
3
+ Migrating to CreateAccount (20120528164634)
4
+ Migrating to AddDeviseToUsers (20120529134109)
5
+ Migrating to AddBirthdateAndNameToUser (20120529162901)
6
+ Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
7
+ Migrating to CreateAccountUsers (20120529180814)
8
+ Migrating to RemoveUserIdFromAccounts (20120530114709)
9
+ Migrating to CreateAccountRoles (20120531171438)
10
+ Migrating to AddLocaleToUser (20120604131034)
11
+ Migrating to CreateSocialAccount (20120605142527)
12
+ Migrating to SetLocale (20120612141130)
13
+ Migrating to RemoveUniqueFromUserEmail (20120613173114)
14
+ Migrating to CreateDelayedJobs (20120615180728)
15
+ Migrating to CreateUserInvitations (20120629154429)
16
+ Migrating to AddTokenToUserInvitations (20120629195345)
17
+ Migrating to AddRolesToUserInvitations (20120705202827)
18
+ Migrating to CreateAccountDomain (20120716145846)
19
+ Migrating to AddSubdomainToAccount (20120719162426)
20
+ Migrating to AddApiTokenToAccount (20120725170859)
21
+ Migrating to AddGuestToUsers (20120803172545)
22
+ Migrating to CreateApiToken (20121023113304)
23
+  (138.7ms) CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
24
+  (20.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')
25
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
26
+ Connecting to database specified by database.yml
27
+
28
+
29
+ Started POST "/signup" for 127.0.0.1 at 2012-10-26 14:22:54 -0200
30
+
31
+ ActionController::RoutingError (No route matches [POST] "/signup"):
32
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
33
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
34
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
35
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
36
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
37
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
38
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
39
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
40
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
41
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
42
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
43
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
44
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
45
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
46
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
47
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
48
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
49
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
50
+
51
+
52
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (32.0ms)
53
+
54
+
55
+ Started POST "/signup" for 127.0.0.1 at 2012-10-26 14:23:08 -0200
56
+ Processing by Iugu::RegistrationsController#create as */*
57
+ WARNING: Can't verify CSRF token authenticity
58
+  (0.1ms) BEGIN
59
+  (0.1ms) ROLLBACK
60
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.7ms)
61
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.5ms)
62
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (1292.8ms)
63
+ WARNING on line 74 of /home/patrick/Desenvolvimento/iugusdk/spec/dummy/app/assets/stylesheets/default.sass:
64
+ This selector doesn't have any properties and will not be rendered.
65
+ Compiled default.css (135ms) (pid 31884)
66
+ Compiled application.css (143ms) (pid 31884)
67
+ Compiled jquery.js (44ms) (pid 31884)
68
+ Compiled jquery_ujs.js (0ms) (pid 31884)
69
+ Compiled application.js (85ms) (pid 31884)
70
+ Completed 200 OK in 6314ms (Views: 1596.0ms | ActiveRecord: 0.0ms)
71
+
72
+
73
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:23:41 -0200
74
+ Processing by Iugu::RegistrationsController#create as JSON
75
+ WARNING: Can't verify CSRF token authenticity
76
+  (0.1ms) BEGIN
77
+  (0.1ms) ROLLBACK
78
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
79
+
80
+
81
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:05 -0200
82
+ Processing by Iugu::RegistrationsController#create as JSON
83
+ Parameters: {"email"=>"patricknegri@gmail.com", "password"=>"[FILTERED]"}
84
+ WARNING: Can't verify CSRF token authenticity
85
+  (0.1ms) BEGIN
86
+  (0.1ms) ROLLBACK
87
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
88
+
89
+
90
+ Started GET "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:13 -0200
91
+ Processing by Iugu::RegistrationsController#new as JSON
92
+ Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.0ms)
93
+
94
+
95
+ Started GET "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:17 -0200
96
+ Processing by Iugu::RegistrationsController#new as JSON
97
+ Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.0ms)
98
+
99
+
100
+ Started GET "/" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
101
+ Processing by DashboardController#index as HTML
102
+ Rendered dashboard/splash.html.haml within layouts/application (2.6ms)
103
+ Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.0ms)
104
+
105
+
106
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
107
+ Served asset /application.css - 200 OK (3ms)
108
+
109
+
110
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
111
+ Served asset /default.css - 200 OK (1ms)
112
+
113
+
114
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
115
+ Served asset /jquery_ujs.js - 200 OK (1ms)
116
+
117
+
118
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
119
+ Served asset /jquery.js - 200 OK (2ms)
120
+
121
+
122
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
123
+ Served asset /application.js - 200 OK (52ms)
124
+
125
+
126
+ Started GET "/signup" for 127.0.0.1 at 2012-10-26 14:24:25 -0200
127
+ Processing by Iugu::RegistrationsController#new as HTML
128
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
129
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (1.2ms)
130
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (12.4ms)
131
+ Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.0ms)
132
+
133
+
134
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:43 -0200
135
+ Processing by Iugu::RegistrationsController#create as JSON
136
+ Parameters: {"user"=>{"email"=>"patricknegri@gmail.com", "password"=>"[FILTERED]"}}
137
+ WARNING: Can't verify CSRF token authenticity
138
+  (0.1ms) BEGIN
139
+ User Exists (23.4ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patricknegri@gmail.com' LIMIT 1
140
+  (0.1ms) ROLLBACK
141
+ Completed 422 Unprocessable Entity in 464ms (Views: 0.3ms | ActiveRecord: 23.6ms)
142
+
143
+
144
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:53 -0200
145
+ Processing by Iugu::RegistrationsController#create as JSON
146
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com.br", "password"=>"[FILTERED]"}}
147
+ WARNING: Can't verify CSRF token authenticity
148
+  (0.1ms) BEGIN
149
+ User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patrick@iugu.com.br' LIMIT 1
150
+  (0.1ms) ROLLBACK
151
+ Completed 422 Unprocessable Entity in 136ms (Views: 0.3ms | ActiveRecord: 0.4ms)
152
+
153
+
154
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:25:01 -0200
155
+ Processing by Iugu::RegistrationsController#create as JSON
156
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
157
+ WARNING: Can't verify CSRF token authenticity
158
+  (0.1ms) BEGIN
159
+ User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patrick@iugu.com' LIMIT 1
160
+  (0.1ms) ROLLBACK
161
+ Completed 422 Unprocessable Entity in 135ms (Views: 0.3ms | ActiveRecord: 0.4ms)
162
+ Connecting to database specified by database.yml
163
+ Connecting to database specified by database.yml
164
+  (19.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
165
+  (31.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
166
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
167
+ Migrating to CreateAccount (20120528164634)
168
+  (8.5ms) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
169
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634')
170
+ Migrating to AddDeviseToUsers (20120529134109)
171
+  (25.9ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
172
+  (32.6ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)
173
+  (32.6ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
174
+  (24.2ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)
175
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109')
176
+ Migrating to AddBirthdateAndNameToUser (20120529162901)
177
+  (39.8ms) ALTER TABLE `users` ADD `birthdate` date
178
+  (32.0ms) ALTER TABLE `users` ADD `name` varchar(255)
179
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901')
180
+ Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
181
+  (31.8ms) ALTER TABLE `accounts` ADD `name` varchar(255)
182
+  (24.2ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)
183
+  (16.5ms) ALTER TABLE `accounts` ADD `user_id` int(11)
184
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755')
185
+ Migrating to CreateAccountUsers (20120529180814)
186
+  (19.4ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
187
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814')
188
+ Migrating to RemoveUserIdFromAccounts (20120530114709)
189
+  (21.4ms) ALTER TABLE `accounts` DROP `user_id`
190
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709')
191
+ Migrating to CreateAccountRoles (20120531171438)
192
+  (8.5ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB
193
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438')
194
+ Migrating to AddLocaleToUser (20120604131034)
195
+  (32.4ms) ALTER TABLE `users` ADD `locale` varchar(255)
196
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034')
197
+ Migrating to CreateSocialAccount (20120605142527)
198
+  (3.7ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB
199
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527')
200
+ Migrating to SetLocale (20120612141130)
201
+ SQL (0.1ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL
202
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130')
203
+ Migrating to RemoveUniqueFromUserEmail (20120613173114)
204
+  (29.0ms) DROP INDEX `index_users_on_email` ON `users`
205
+  (25.6ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)
206
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114')
207
+ Migrating to CreateDelayedJobs (20120615180728)
208
+  (27.6ms) CREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
209
+  (32.6ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
210
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728')
211
+ Migrating to CreateUserInvitations (20120629154429)
212
+  (16.7ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11)) ENGINE=InnoDB
213
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429')
214
+ Migrating to AddTokenToUserInvitations (20120629195345)
215
+  (31.7ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)
216
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345')
217
+ Migrating to AddRolesToUserInvitations (20120705202827)
218
+  (13.6ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)
219
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827')
220
+ Migrating to CreateAccountDomain (20120716145846)
221
+  (18.5ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
222
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846')
223
+ Migrating to AddSubdomainToAccount (20120719162426)
224
+  (21.9ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)
225
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426')
226
+ Migrating to AddApiTokenToAccount (20120725170859)
227
+  (38.4ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)
228
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859')
229
+ Migrating to AddGuestToUsers (20120803172545)
230
+  (36.2ms) ALTER TABLE `users` ADD `guest` tinyint(1)
231
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545')
232
+ Migrating to CreateApiToken (20121023113304)
233
+  (12.0ms) CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
234
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')
235
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
236
+
237
+
238
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:29:50 -0200
239
+ Processing by Iugu::RegistrationsController#create as JSON
240
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
241
+ WARNING: Can't verify CSRF token authenticity
242
+  (0.1ms) BEGIN
243
+ User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patrick@iugu.com' LIMIT 1
244
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'xTEt1iJz1azf6Qy9xx6v' LIMIT 1
245
+ SQL (0.2ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-26 16:29:50', 'xTEt1iJz1azf6Qy9xx6v', '2012-10-26 16:29:50', '2012-10-26 16:29:50', 'patrick@iugu.com', '$2a$10$eZKkNekyez6jyyARoqSWdeWJre.uybt97Dgchusv1n50EJMqnKBd.', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-26 16:29:50')
246
+ SQL (0.2ms) INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-26 16:29:50', NULL, NULL, NULL, '2012-10-26 16:29:50')
247
+  (0.2ms) UPDATE `accounts` SET `created_at` = '2012-10-26 16:29:50', `updated_at` = '2012-10-26 16:29:50', `subdomain` = 'account1' WHERE `accounts`.`id` = 1
248
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
249
+ SQL (0.1ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (1, 1)
250
+ AccountRole Exists (9.7ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 1) LIMIT 1
251
+ AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1
252
+ SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'owner')
253
+ AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 1) LIMIT 1
254
+ AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1
255
+ SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'admin')
256
+  (5.9ms) COMMIT
257
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = NULL) LIMIT 1
258
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 LIMIT 1
259
+ Completed 201 Created in 652ms (Views: 0.6ms | ActiveRecord: 0.5ms)
260
+
261
+
262
+ Started POST "/login.json?user[email]=patrick@iugu.com&user[password]=[FILTERED]" for 127.0.0.1 at 2012-10-26 14:32:34 -0200
263
+ Processing by Iugu::SessionsController#create as JSON
264
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
265
+ WARNING: Can't verify CSRF token authenticity
266
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
267
+  (0.1ms) BEGIN
268
+  (0.0ms) COMMIT
269
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
270
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
271
+ Completed 201 Created in 245ms (Views: 0.7ms | ActiveRecord: 0.3ms)
272
+
273
+
274
+ Started POST "/login.json?user[email]=patrick@iugu.com&user[password]=[FILTERED]" for 127.0.0.1 at 2012-10-26 14:32:39 -0200
275
+ Processing by Iugu::SessionsController#create as JSON
276
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
277
+ WARNING: Can't verify CSRF token authenticity
278
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
279
+ Completed 401 Unauthorized in 130ms
280
+
281
+
282
+ Started POST "/login.json?user[email]=patrick@iugu.com&user[password]=[FILTERED]" for 127.0.0.1 at 2012-10-26 14:32:41 -0200
283
+ Processing by Iugu::SessionsController#create as JSON
284
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
285
+ WARNING: Can't verify CSRF token authenticity
286
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
287
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
288
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
289
+
290
+
291
+ Started POST "/login.json?user[email]=patrick@iugu.com&user[password]=[FILTERED]" for 127.0.0.1 at 2012-10-26 14:32:46 -0200
292
+ Processing by Iugu::SessionsController#create as JSON
293
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
294
+ WARNING: Can't verify CSRF token authenticity
295
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
296
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
297
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
298
+
299
+
300
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:34:21 -0200
301
+ Processing by Iugu::SessionsController#create as JSON
302
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
303
+ WARNING: Can't verify CSRF token authenticity
304
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
305
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
306
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
307
+
308
+
309
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:34:45 -0200
310
+ Processing by Iugu::SessionsController#destroy as JSON
311
+ WARNING: Can't verify CSRF token authenticity
312
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
313
+
314
+
315
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:34:49 -0200
316
+ Processing by Iugu::SessionsController#destroy as JSON
317
+ WARNING: Can't verify CSRF token authenticity
318
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
319
+
320
+
321
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:34:49 -0200
322
+ Processing by Iugu::SessionsController#destroy as JSON
323
+ WARNING: Can't verify CSRF token authenticity
324
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
325
+
326
+
327
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:25 -0200
328
+ Processing by Iugu::SessionsController#destroy as JSON
329
+ WARNING: Can't verify CSRF token authenticity
330
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
331
+
332
+
333
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:26 -0200
334
+ Processing by Iugu::SessionsController#destroy as JSON
335
+ WARNING: Can't verify CSRF token authenticity
336
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
337
+
338
+
339
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:26 -0200
340
+ Processing by Iugu::SessionsController#destroy as JSON
341
+ WARNING: Can't verify CSRF token authenticity
342
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
343
+
344
+
345
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:33 -0200
346
+ Processing by Iugu::SessionsController#destroy as JSON
347
+ WARNING: Can't verify CSRF token authenticity
348
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
349
+
350
+
351
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:35:48 -0200
352
+ Processing by Iugu::SessionsController#create as JSON
353
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
354
+ WARNING: Can't verify CSRF token authenticity
355
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
356
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
357
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
358
+
359
+
360
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:55 -0200
361
+ Processing by Iugu::SessionsController#destroy as JSON
362
+ WARNING: Can't verify CSRF token authenticity
363
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
364
+
365
+
366
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:56 -0200
367
+ Processing by Iugu::SessionsController#destroy as JSON
368
+ WARNING: Can't verify CSRF token authenticity
369
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
370
+
371
+
372
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:56 -0200
373
+ Processing by Iugu::SessionsController#destroy as JSON
374
+ WARNING: Can't verify CSRF token authenticity
375
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
376
+
377
+
378
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:57 -0200
379
+ Processing by Iugu::SessionsController#destroy as JSON
380
+ WARNING: Can't verify CSRF token authenticity
381
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
382
+
383
+
384
+ Started GET "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:59 -0200
385
+
386
+ ActionController::RoutingError (No route matches [GET] "/logout.json"):
387
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
388
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
389
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
390
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
391
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
392
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
393
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
394
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
395
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
396
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
397
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
398
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
399
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
400
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
401
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
402
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
403
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
404
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
405
+
406
+
407
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
408
+
409
+
410
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:36:03 -0200
411
+ Processing by Iugu::SessionsController#destroy as JSON
412
+ WARNING: Can't verify CSRF token authenticity
413
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
414
+
415
+
416
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:36:06 -0200
417
+ Processing by Iugu::SessionsController#destroy as JSON
418
+ Parameters: {"dsa"=>"dsa"}
419
+ WARNING: Can't verify CSRF token authenticity
420
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
421
+
422
+
423
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:36:09 -0200
424
+ Processing by Iugu::SessionsController#destroy as JSON
425
+ WARNING: Can't verify CSRF token authenticity
426
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
427
+
428
+
429
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:25 -0200
430
+ Processing by Iugu::SessionsController#destroy as JSON
431
+ WARNING: Can't verify CSRF token authenticity
432
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
433
+
434
+
435
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:29 -0200
436
+ Processing by Iugu::SessionsController#destroy as JSON
437
+ WARNING: Can't verify CSRF token authenticity
438
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
439
+
440
+
441
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:30 -0200
442
+ Processing by Iugu::SessionsController#destroy as JSON
443
+ WARNING: Can't verify CSRF token authenticity
444
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
445
+
446
+
447
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:30 -0200
448
+ Processing by Iugu::SessionsController#destroy as JSON
449
+ WARNING: Can't verify CSRF token authenticity
450
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
451
+
452
+
453
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:30 -0200
454
+ Processing by Iugu::SessionsController#destroy as JSON
455
+ WARNING: Can't verify CSRF token authenticity
456
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
457
+
458
+
459
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:30 -0200
460
+ Processing by Iugu::SessionsController#destroy as JSON
461
+ WARNING: Can't verify CSRF token authenticity
462
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
463
+
464
+
465
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:34 -0200
466
+ Processing by Iugu::SessionsController#destroy as JSON
467
+ WARNING: Can't verify CSRF token authenticity
468
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
469
+
470
+
471
+ Started GET "/" for 127.0.0.1 at 2012-10-26 14:38:12 -0200
472
+ Processing by DashboardController#index as */*
473
+ Rendered dashboard/splash.html.haml within layouts/application (2.6ms)
474
+ Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.0ms)
475
+
476
+
477
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:38:21 -0200
478
+ Processing by Iugu::SessionsController#create as JSON
479
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
480
+ WARNING: Can't verify CSRF token authenticity
481
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
482
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
483
+ Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
484
+
485
+
486
+ Started GET "/" for 127.0.0.1 at 2012-10-26 14:38:23 -0200
487
+ Processing by DashboardController#index as */*
488
+ Rendered dashboard/splash.html.haml within layouts/application (1.7ms)
489
+ Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
490
+
491
+
492
+ Started GET "/" for 127.0.0.1 at 2012-10-26 14:38:40 -0200
493
+ Processing by DashboardController#index as */*
494
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
495
+ Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
496
+
497
+
498
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:38:46 -0200
499
+ Processing by Iugu::SessionsController#create as JSON
500
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
501
+ WARNING: Can't verify CSRF token authenticity
502
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
503
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
504
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
505
+
506
+
507
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:39:25 -0200
508
+ Processing by Iugu::SessionsController#destroy as JSON
509
+ WARNING: Can't verify CSRF token authenticity
510
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
511
+
512
+
513
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:39:45 -0200
514
+ Processing by Iugu::SessionsController#create as JSON
515
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
516
+ WARNING: Can't verify CSRF token authenticity
517
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
518
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
519
+ Completed 201 Created in 138ms (Views: 0.5ms | ActiveRecord: 0.1ms)
520
+
521
+
522
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:40:29 -0200
523
+ Processing by Iugu::SessionsController#create as JSON
524
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
525
+ WARNING: Can't verify CSRF token authenticity
526
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
527
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
528
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
529
+
530
+
531
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:40:43 -0200
532
+ Processing by Iugu::SessionsController#destroy as JSON
533
+ WARNING: Can't verify CSRF token authenticity
534
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
535
+
536
+
537
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:40:44 -0200
538
+ Processing by Iugu::SessionsController#destroy as JSON
539
+ WARNING: Can't verify CSRF token authenticity
540
+ Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
541
+
542
+
543
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:41:27 -0200
544
+ Processing by Iugu::SessionsController#create as JSON
545
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
546
+ WARNING: Can't verify CSRF token authenticity
547
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
548
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
549
+ Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
550
+
551
+
552
+ Started GET "/app/people" for 192.168.0.149 at 2012-10-26 15:24:06 -0200
553
+ Processing by MyDummyController#index as HTML
554
+ Parameters: {"path"=>"app/people"}
555
+ Rendered my_dummy/index.html.haml within layouts/dummy (1.3ms)
556
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms)
557
+
558
+
559
+ Started GET "/assets/application.css?body=1" for 192.168.0.149 at 2012-10-26 15:24:11 -0200
560
+ Served asset /application.css - 200 OK (0ms)
561
+
562
+
563
+ Started GET "/assets/default.css?body=1" for 192.168.0.149 at 2012-10-26 15:24:16 -0200
564
+ Served asset /default.css - 200 OK (0ms)
565
+
566
+
567
+ Started GET "/assets/jquery.js?body=1" for 192.168.0.149 at 2012-10-26 15:24:16 -0200
568
+ Served asset /jquery.js - 200 OK (0ms)
569
+
570
+
571
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.0.149 at 2012-10-26 15:24:16 -0200
572
+ Served asset /jquery_ujs.js - 200 OK (0ms)
573
+
574
+
575
+ Started GET "/assets/application.js?body=1" for 192.168.0.149 at 2012-10-26 15:24:16 -0200
576
+ Served asset /application.js - 200 OK (0ms)
577
+ Connecting to database specified by database.yml
578
+
579
+
580
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:02:23 -0200
581
+
582
+ OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
583
+ omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
584
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
585
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
586
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
587
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
588
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
589
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
590
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
591
+ rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
592
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
593
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
594
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
595
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
596
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
597
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
598
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__971259323__call__648779086__callbacks'
599
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
600
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
601
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
602
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
603
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
604
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
605
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
606
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
607
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
608
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
609
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
610
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
611
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
612
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
613
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
614
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
615
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
616
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
617
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
618
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
619
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
620
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
621
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
622
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
623
+
624
+
625
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
626
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (55.4ms)
627
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (1311.5ms)
628
+
629
+
630
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:02:27 -0200
631
+
632
+ OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
633
+ omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
634
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
635
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
636
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
637
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
638
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
639
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
640
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
641
+ rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
642
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
643
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
644
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
645
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
646
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
647
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
648
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__971259323__call__648779086__callbacks'
649
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
650
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
651
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
652
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
653
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
654
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
655
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
656
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
657
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
658
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
659
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
660
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
661
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
662
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
663
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
664
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
665
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
666
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
667
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
668
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
669
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
670
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
671
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
672
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
673
+
674
+
675
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
676
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
677
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.7ms)
678
+ Connecting to database specified by database.yml
679
+
680
+
681
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:03:48 -0200
682
+ Processing by Iugu::SessionsController#create as JSON
683
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
684
+ WARNING: Can't verify CSRF token authenticity
685
+ Completed 401 Unauthorized in 1ms
686
+
687
+
688
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:03:57 -0200
689
+ Processing by Iugu::SessionsController#create as JSON
690
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
691
+ WARNING: Can't verify CSRF token authenticity
692
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
693
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
694
+ Completed 201 Created in 933ms (Views: 9.0ms | ActiveRecord: 1.7ms)
695
+
696
+
697
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:04:16 -0200
698
+ Processing by Iugu::SessionsController#create as JSON
699
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
700
+ WARNING: Can't verify CSRF token authenticity
701
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
702
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
703
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
704
+ Connecting to database specified by database.yml
705
+
706
+
707
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:04:43 -0200
708
+ Processing by Iugu::SessionsController#create as JSON
709
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
710
+ WARNING: Can't verify CSRF token authenticity
711
+ Completed 401 Unauthorized in 1ms
712
+
713
+
714
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:04:55 -0200
715
+ Processing by DashboardController#index as */*
716
+ Rendered dashboard/splash.html.haml within layouts/application (2.9ms)
717
+ Completed 200 OK in 228ms (Views: 227.3ms | ActiveRecord: 0.0ms)
718
+
719
+
720
+ Started GET "/login" for 127.0.0.1 at 2012-10-26 17:05:02 -0200
721
+ Processing by Iugu::SessionsController#new as */*
722
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.6ms)
723
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (1214.5ms)
724
+ Completed 200 OK in 1240ms (Views: 1220.8ms | ActiveRecord: 1.3ms)
725
+
726
+
727
+ Started GET "/login" for 127.0.0.1 at 2012-10-26 17:05:12 -0200
728
+ Processing by Iugu::SessionsController#new as */*
729
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (1.7ms)
730
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (13.3ms)
731
+ Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.0ms)
732
+
733
+
734
+ Started GET "/login" for 127.0.0.1 at 2012-10-26 17:05:12 -0200
735
+ Processing by Iugu::SessionsController#new as */*
736
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
737
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (11.7ms)
738
+ Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.0ms)
739
+
740
+
741
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:05:16 -0200
742
+ Processing by DashboardController#index as */*
743
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
744
+ Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms)
745
+
746
+
747
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:05:19 -0200
748
+ Processing by Iugu::SessionsController#create as JSON
749
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
750
+ WARNING: Can't verify CSRF token authenticity
751
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
752
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
753
+ Completed 201 Created in 770ms (Views: 9.0ms | ActiveRecord: 1.7ms)
754
+ Connecting to database specified by database.yml
755
+
756
+
757
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:13:02 -0200
758
+
759
+ OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
760
+ omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
761
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
762
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
763
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
764
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
765
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
766
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
767
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
768
+ rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
769
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
770
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
771
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
772
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
773
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
774
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
775
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__935313182__call__361218767__callbacks'
776
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
777
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
778
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
779
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
780
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
781
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
782
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
783
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
784
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
785
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
786
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
787
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
788
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
789
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
790
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
791
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
792
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
793
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
794
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
795
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
796
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
797
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
798
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
799
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
800
+
801
+
802
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
803
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (24.4ms)
804
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (1236.5ms)
805
+
806
+
807
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:18:03 -0200
808
+
809
+ OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
810
+ omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
811
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
812
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
813
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
814
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
815
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
816
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
817
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
818
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
819
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
820
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
821
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
822
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
823
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
824
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
825
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__935313182__call__361218767__callbacks'
826
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
827
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
828
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
829
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
830
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
831
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
832
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
833
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
834
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
835
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
836
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
837
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
838
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
839
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
840
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
841
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
842
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
843
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
844
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
845
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
846
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
847
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
848
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
849
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
850
+
851
+
852
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
853
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
854
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.3ms)
855
+
856
+
857
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:18:09 -0200
858
+
859
+ OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
860
+ omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
861
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
862
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
863
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
864
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
865
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
866
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
867
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
868
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
869
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
870
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
871
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
872
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
873
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
874
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
875
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__935313182__call__361218767__callbacks'
876
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
877
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
878
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
879
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
880
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
881
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
882
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
883
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
884
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
885
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
886
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
887
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
888
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
889
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
890
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
891
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
892
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
893
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
894
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
895
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
896
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
897
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
898
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
899
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
900
+
901
+
902
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
903
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
904
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.7ms)
905
+ Connecting to database specified by database.yml
906
+
907
+
908
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:21:02 -0200
909
+
910
+ ActionController::RoutingError (No route matches [GET] "/"):
911
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
912
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
913
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
914
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
915
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
916
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
917
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
918
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
919
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
920
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
921
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
922
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
923
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
924
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
925
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
926
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
927
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
928
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
929
+
930
+
931
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
932
+
933
+
934
+ Started GET "/login.json" for 127.0.0.1 at 2012-10-26 17:21:47 -0200
935
+
936
+ ActionController::RoutingError (No route matches [GET] "/login.json"):
937
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
938
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
939
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
940
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
941
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
942
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
943
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
944
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
945
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
946
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
947
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
948
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
949
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
950
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
951
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
952
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
953
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
954
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
955
+
956
+
957
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
958
+
959
+
960
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:03 -0200
961
+ Processing by Iugu::SessionsController#create as JSON
962
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
963
+ WARNING: Can't verify CSRF token authenticity
964
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
965
+ Completed 401 Unauthorized in 293ms
966
+
967
+
968
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:08 -0200
969
+ Processing by Iugu::SessionsController#create as JSON
970
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
971
+ WARNING: Can't verify CSRF token authenticity
972
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
973
+ Completed 401 Unauthorized in 130ms
974
+
975
+
976
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:10 -0200
977
+ Processing by Iugu::SessionsController#create as JSON
978
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
979
+ WARNING: Can't verify CSRF token authenticity
980
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
981
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
982
+ Completed 201 Created in 576ms (Views: 9.3ms | ActiveRecord: 1.7ms)
983
+ Connecting to database specified by database.yml
984
+
985
+
986
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:38 -0200
987
+ Processing by Iugu::SessionsController#create as JSON
988
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
989
+ WARNING: Can't verify CSRF token authenticity
990
+ Completed 401 Unauthorized in 1ms
991
+
992
+
993
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:47 -0200
994
+ Processing by Iugu::SessionsController#create as JSON
995
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
996
+ WARNING: Can't verify CSRF token authenticity
997
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
998
+ Completed 401 Unauthorized in 299ms
999
+
1000
+
1001
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:49 -0200
1002
+ Processing by Iugu::SessionsController#create as JSON
1003
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1004
+ WARNING: Can't verify CSRF token authenticity
1005
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1006
+ Completed 401 Unauthorized in 130ms
1007
+
1008
+
1009
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:51 -0200
1010
+ Processing by Iugu::SessionsController#create as JSON
1011
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1012
+ WARNING: Can't verify CSRF token authenticity
1013
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1014
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1015
+ Completed 201 Created in 765ms (Views: 8.9ms | ActiveRecord: 1.7ms)
1016
+
1017
+
1018
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:23:50 -0200
1019
+ Processing by Iugu::SessionsController#create as JSON
1020
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1021
+ WARNING: Can't verify CSRF token authenticity
1022
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1023
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1024
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1025
+
1026
+
1027
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:24:09 -0200
1028
+ Processing by DashboardController#index as */*
1029
+ Rendered dashboard/splash.html.haml within layouts/application (2.8ms)
1030
+ Completed 200 OK in 27ms (Views: 26.0ms | ActiveRecord: 0.0ms)
1031
+
1032
+
1033
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:24:49 -0200
1034
+ Processing by DashboardController#index as */*
1035
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1036
+ Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
1037
+
1038
+
1039
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:24:53 -0200
1040
+ Processing by Iugu::SessionsController#create as JSON
1041
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1042
+ WARNING: Can't verify CSRF token authenticity
1043
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1044
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1045
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1046
+
1047
+
1048
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:27:19 -0200
1049
+ Processing by Iugu::SessionsController#create as JSON
1050
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1051
+ WARNING: Can't verify CSRF token authenticity
1052
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1053
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1054
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1055
+
1056
+
1057
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:27:33 -0200
1058
+ Processing by DashboardController#index as */*
1059
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1060
+ Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
1061
+
1062
+
1063
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:27:46 -0200
1064
+ Processing by Iugu::SessionsController#create as JSON
1065
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1066
+ WARNING: Can't verify CSRF token authenticity
1067
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1068
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1069
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1070
+
1071
+
1072
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:28:08 -0200
1073
+ Processing by DashboardController#index as */*
1074
+ Rendered dashboard/splash.html.haml within layouts/application (1.4ms)
1075
+ Completed 200 OK in 29ms (Views: 28.5ms | ActiveRecord: 0.0ms)
1076
+
1077
+
1078
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:28:14 -0200
1079
+ Processing by Iugu::SessionsController#create as JSON
1080
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1081
+ WARNING: Can't verify CSRF token authenticity
1082
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1083
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1084
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1085
+
1086
+
1087
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:28:26 -0200
1088
+ Processing by DashboardController#index as */*
1089
+ Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
1090
+ Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
1091
+
1092
+
1093
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:28:43 -0200
1094
+ Processing by DashboardController#index as */*
1095
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1096
+ Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
1097
+
1098
+
1099
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:28:50 -0200
1100
+ Processing by Iugu::SessionsController#create as JSON
1101
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1102
+ WARNING: Can't verify CSRF token authenticity
1103
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1104
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1105
+ Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1106
+
1107
+
1108
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:30:06 -0200
1109
+ Processing by DashboardController#index as */*
1110
+ Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
1111
+ Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.0ms)
1112
+
1113
+
1114
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:30:26 -0200
1115
+ Processing by DashboardController#index as */*
1116
+ Rendered dashboard/splash.html.haml within layouts/application (1.0ms)
1117
+ Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
1118
+
1119
+
1120
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:31:31 -0200
1121
+ Processing by DashboardController#index as */*
1122
+ Rendered dashboard/splash.html.haml within layouts/application (1.0ms)
1123
+ Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
1124
+
1125
+
1126
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:31:51 -0200
1127
+ Processing by Iugu::SessionsController#create as JSON
1128
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1129
+ WARNING: Can't verify CSRF token authenticity
1130
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1131
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1132
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1133
+
1134
+
1135
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:31:54 -0200
1136
+ Processing by DashboardController#index as */*
1137
+ Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
1138
+ Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.0ms)
1139
+
1140
+
1141
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:32:05 -0200
1142
+ Processing by Iugu::SessionsController#create as JSON
1143
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1144
+ WARNING: Can't verify CSRF token authenticity
1145
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1146
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1147
+ Completed 201 Created in 140ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1148
+
1149
+
1150
+ Started POST "/login." for 127.0.0.1 at 2012-10-26 17:32:14 -0200
1151
+
1152
+ ActionController::RoutingError (No route matches [POST] "/login."):
1153
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
1154
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1155
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
1156
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
1157
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
1158
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
1159
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
1160
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1161
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
1162
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
1163
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
1164
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
1165
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
1166
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
1167
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
1168
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
1169
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
1170
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
1171
+
1172
+
1173
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
1174
+
1175
+
1176
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 17:32:18 -0200
1177
+ Processing by Iugu::SessionsController#create as */*
1178
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1179
+ WARNING: Can't verify CSRF token authenticity
1180
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1181
+ Redirected to http://iugusdk.dev:3000/
1182
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1183
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
1184
+
1185
+
1186
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:32:18 -0200
1187
+ Processing by DashboardController#index as */*
1188
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1189
+ Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
1190
+
1191
+
1192
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:32:30 -0200
1193
+ Processing by DashboardController#index as */*
1194
+ Rendered dashboard/splash.html.haml within layouts/application (1.5ms)
1195
+ Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
1196
+
1197
+
1198
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 17:32:35 -0200
1199
+ Processing by Iugu::SessionsController#create as */*
1200
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1201
+ WARNING: Can't verify CSRF token authenticity
1202
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1203
+ Redirected to http://iugusdk.dev:3000/
1204
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1205
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
1206
+
1207
+
1208
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:32:35 -0200
1209
+ Processing by DashboardController#index as */*
1210
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1211
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
1212
+
1213
+
1214
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:32:50 -0200
1215
+ Processing by DashboardController#index as */*
1216
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1217
+ Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
1218
+
1219
+
1220
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:33:04 -0200
1221
+ Processing by DashboardController#index as */*
1222
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1223
+ Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
1224
+
1225
+
1226
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:34:09 -0200
1227
+ Processing by DashboardController#index as */*
1228
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1229
+ Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)
1230
+
1231
+
1232
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:34:15 -0200
1233
+ Processing by DashboardController#index as */*
1234
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1235
+ Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.0ms)
1236
+
1237
+
1238
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:34:30 -0200
1239
+ Processing by Iugu::SessionsController#create as JSON
1240
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1241
+ WARNING: Can't verify CSRF token authenticity
1242
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1243
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1244
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1245
+
1246
+
1247
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:34:34 -0200
1248
+ Processing by Iugu::SessionsController#create as JSON
1249
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1250
+ WARNING: Can't verify CSRF token authenticity
1251
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1252
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1253
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1254
+
1255
+
1256
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:35:01 -0200
1257
+ Processing by DashboardController#index as */*
1258
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1259
+ Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.0ms)
1260
+
1261
+
1262
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:36:11 -0200
1263
+ Processing by DashboardController#index as */*
1264
+ Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
1265
+ Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
1266
+
1267
+
1268
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:36:40 -0200
1269
+ Processing by Iugu::SessionsController#create as JSON
1270
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1271
+ WARNING: Can't verify CSRF token authenticity
1272
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1273
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1274
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1275
+
1276
+
1277
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:37:15 -0200
1278
+ Processing by DashboardController#index as */*
1279
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1280
+ Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
1281
+
1282
+
1283
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:37:30 -0200
1284
+ Processing by DashboardController#index as */*
1285
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1286
+ Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
1287
+
1288
+
1289
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:37:53 -0200
1290
+ Processing by DashboardController#index as */*
1291
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1292
+ Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)
1293
+
1294
+
1295
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:38:25 -0200
1296
+ Processing by DashboardController#index as */*
1297
+ Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
1298
+ Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms)
1299
+
1300
+
1301
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:38:31 -0200
1302
+ Processing by DashboardController#index as */*
1303
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1304
+ Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
1305
+
1306
+
1307
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:38:57 -0200
1308
+ Processing by Iugu::SessionsController#create as JSON
1309
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1310
+ WARNING: Can't verify CSRF token authenticity
1311
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1312
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1313
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1314
+
1315
+
1316
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:39:41 -0200
1317
+ Processing by Iugu::SessionsController#create as JSON
1318
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1319
+ WARNING: Can't verify CSRF token authenticity
1320
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1321
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1322
+ Completed 201 Created in 141ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1323
+
1324
+
1325
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:39:50 -0200
1326
+ Processing by Iugu::SessionsController#create as JSON
1327
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1328
+ WARNING: Can't verify CSRF token authenticity
1329
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1330
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1331
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1332
+
1333
+
1334
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:40:04 -0200
1335
+ Processing by DashboardController#index as */*
1336
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1337
+ Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
1338
+
1339
+
1340
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:40:15 -0200
1341
+ Processing by Iugu::SessionsController#create as JSON
1342
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1343
+ WARNING: Can't verify CSRF token authenticity
1344
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1345
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1346
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1347
+
1348
+
1349
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:40:31 -0200
1350
+
1351
+ ActionController::RoutingError (No route matches [GET] "/"):
1352
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
1353
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1354
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
1355
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
1356
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
1357
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
1358
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
1359
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1360
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
1361
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
1362
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
1363
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
1364
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
1365
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
1366
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
1367
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
1368
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
1369
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
1370
+
1371
+
1372
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
1373
+
1374
+
1375
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:40:43 -0200
1376
+ Processing by DashboardController#index as */*
1377
+ Rendered dashboard/splash.html.haml within layouts/application (1.0ms)
1378
+ Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
1379
+
1380
+
1381
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:40:48 -0200
1382
+ Processing by Iugu::SessionsController#create as JSON
1383
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1384
+ WARNING: Can't verify CSRF token authenticity
1385
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1386
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1387
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1388
+
1389
+
1390
+ Started POST "/" for 127.0.0.1 at 2012-10-26 17:40:52 -0200
1391
+ Processing by DashboardController#index as */*
1392
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1393
+ WARNING: Can't verify CSRF token authenticity
1394
+ Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
1395
+ Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
1396
+
1397
+
1398
+ Started POST "/" for 127.0.0.1 at 2012-10-26 17:40:57 -0200
1399
+ Processing by DashboardController#index as */*
1400
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1401
+ WARNING: Can't verify CSRF token authenticity
1402
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1403
+ Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms)
1404
+
1405
+
1406
+ Started POST "/" for 127.0.0.1 at 2012-10-26 17:41:01 -0200
1407
+ Processing by DashboardController#index as */*
1408
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1409
+ WARNING: Can't verify CSRF token authenticity
1410
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1411
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
1412
+
1413
+
1414
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:41:14 -0200
1415
+ Processing by Iugu::SessionsController#create as JSON
1416
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1417
+ WARNING: Can't verify CSRF token authenticity
1418
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1419
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1420
+ Completed 201 Created in 140ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1421
+
1422
+
1423
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:41:19 -0200
1424
+ Processing by Iugu::SessionsController#create as JSON
1425
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1426
+ WARNING: Can't verify CSRF token authenticity
1427
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1428
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1429
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1430
+
1431
+
1432
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:45:07 -0200
1433
+ Processing by Iugu::SessionsController#create as JSON
1434
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1435
+ WARNING: Can't verify CSRF token authenticity
1436
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1437
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1438
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1439
+
1440
+
1441
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
1442
+ Processing by DashboardController#index as HTML
1443
+ Rendered dashboard/splash.html.haml within layouts/application (2.6ms)
1444
+ Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)
1445
+
1446
+
1447
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
1448
+ Served asset /application.css - 304 Not Modified (6ms)
1449
+
1450
+
1451
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
1452
+ Served asset /default.css - 304 Not Modified (1ms)
1453
+
1454
+
1455
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
1456
+ Served asset /jquery.js - 304 Not Modified (2ms)
1457
+
1458
+
1459
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
1460
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
1461
+
1462
+
1463
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
1464
+ Served asset /application.js - 304 Not Modified (4ms)
1465
+
1466
+
1467
+ Started GET "/login" for 127.0.0.1 at 2012-10-26 17:45:27 -0200
1468
+ Processing by Iugu::SessionsController#new as HTML
1469
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.5ms)
1470
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (1248.3ms)
1471
+ Completed 200 OK in 1256ms (Views: 1254.0ms | ActiveRecord: 0.0ms)
1472
+
1473
+
1474
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
1475
+ Served asset /application.css - 304 Not Modified (0ms)
1476
+
1477
+
1478
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
1479
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1480
+
1481
+
1482
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
1483
+ Served asset /jquery.js - 304 Not Modified (0ms)
1484
+
1485
+
1486
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
1487
+ Served asset /default.css - 304 Not Modified (0ms)
1488
+
1489
+
1490
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
1491
+ Served asset /application.js - 304 Not Modified (0ms)
1492
+
1493
+
1494
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
1495
+ Processing by Iugu::SessionsController#create as HTML
1496
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BP7oW1fZYgrP7z7pe5xzvILYcl7ubgV0uOoe5Qxd8RU=", "user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Logar"}
1497
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1498
+ Redirected to http://iugusdk.dev:3000/
1499
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1500
+ Completed 302 Found in 138ms (ActiveRecord: 0.1ms)
1501
+
1502
+
1503
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
1504
+ Processing by DashboardController#index as HTML
1505
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
1506
+ Rendered dashboard/index.html.haml within layouts/application (1.3ms)
1507
+ Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.1ms)
1508
+
1509
+
1510
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
1511
+ Served asset /jquery.js - 304 Not Modified (0ms)
1512
+
1513
+
1514
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
1515
+ Served asset /default.css - 304 Not Modified (0ms)
1516
+
1517
+
1518
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
1519
+ Served asset /application.css - 304 Not Modified (0ms)
1520
+
1521
+
1522
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
1523
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1524
+
1525
+
1526
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
1527
+ Served asset /application.js - 304 Not Modified (0ms)
1528
+
1529
+
1530
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:39 -0200
1531
+ Processing by DashboardController#index as */*
1532
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
1533
+ Rendered dashboard/index.html.haml within layouts/application (1.3ms)
1534
+ Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.1ms)
1535
+
1536
+
1537
+ Started DELETE "/logout" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
1538
+ Processing by Iugu::SessionsController#destroy as HTML
1539
+ Parameters: {"authenticity_token"=>"BP7oW1fZYgrP7z7pe5xzvILYcl7ubgV0uOoe5Qxd8RU="}
1540
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
1541
+  (0.1ms) BEGIN
1542
+  (0.0ms) COMMIT
1543
+ Redirected to http://iugusdk.dev:3000/
1544
+ Completed 302 Found in 25ms (ActiveRecord: 0.2ms)
1545
+
1546
+
1547
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
1548
+ Processing by DashboardController#index as HTML
1549
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1550
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
1551
+
1552
+
1553
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
1554
+ Served asset /default.css - 304 Not Modified (0ms)
1555
+
1556
+
1557
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
1558
+ Served asset /jquery.js - 304 Not Modified (0ms)
1559
+
1560
+
1561
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
1562
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1563
+
1564
+
1565
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
1566
+ Served asset /application.js - 304 Not Modified (0ms)
1567
+
1568
+
1569
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
1570
+ Served asset /application.css - 304 Not Modified (0ms)
1571
+
1572
+
1573
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:45 -0200
1574
+ Processing by DashboardController#index as */*
1575
+ Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
1576
+ Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms)
1577
+
1578
+
1579
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
1580
+ Processing by DashboardController#index as HTML
1581
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1582
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
1583
+
1584
+
1585
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
1586
+ Served asset /application.css - 304 Not Modified (0ms)
1587
+
1588
+
1589
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
1590
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1591
+
1592
+
1593
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
1594
+ Served asset /default.css - 304 Not Modified (0ms)
1595
+
1596
+
1597
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
1598
+ Served asset /jquery.js - 304 Not Modified (0ms)
1599
+
1600
+
1601
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
1602
+ Served asset /application.js - 304 Not Modified (0ms)
1603
+
1604
+
1605
+ Started GET "/login" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
1606
+ Processing by Iugu::SessionsController#new as HTML
1607
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (1.3ms)
1608
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (10.4ms)
1609
+ Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.0ms)
1610
+
1611
+
1612
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
1613
+ Served asset /default.css - 304 Not Modified (0ms)
1614
+
1615
+
1616
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
1617
+ Served asset /jquery.js - 304 Not Modified (0ms)
1618
+
1619
+
1620
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
1621
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1622
+
1623
+
1624
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
1625
+ Served asset /application.js - 304 Not Modified (0ms)
1626
+
1627
+
1628
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
1629
+ Served asset /application.css - 304 Not Modified (0ms)
1630
+
1631
+
1632
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 17:46:11 -0200
1633
+ Processing by Iugu::SessionsController#create as HTML
1634
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"czxGtBvhbYMTIC47Apgu3iIcjNsYgiQKYfDRUYSeGKU=", "user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Logar"}
1635
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1636
+ Redirected to http://iugusdk.dev:3000/
1637
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1638
+ Completed 302 Found in 138ms (ActiveRecord: 0.1ms)
1639
+
1640
+
1641
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
1642
+ Processing by DashboardController#index as HTML
1643
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
1644
+ Rendered dashboard/index.html.haml within layouts/application (45.5ms)
1645
+ Completed 200 OK in 54ms (Views: 52.4ms | ActiveRecord: 0.1ms)
1646
+
1647
+
1648
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
1649
+ Served asset /default.css - 304 Not Modified (0ms)
1650
+
1651
+
1652
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
1653
+ Served asset /application.css - 304 Not Modified (0ms)
1654
+
1655
+
1656
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
1657
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1658
+
1659
+
1660
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
1661
+ Served asset /jquery.js - 304 Not Modified (0ms)
1662
+
1663
+
1664
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
1665
+ Served asset /application.js - 304 Not Modified (0ms)
1666
+
1667
+
1668
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:14 -0200
1669
+ Processing by DashboardController#index as */*
1670
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
1671
+ Rendered dashboard/index.html.haml within layouts/application (0.2ms)
1672
+ Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.2ms)
1673
+
1674
+
1675
+ Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 17:46:19 -0200
1676
+ Processing by Iugu::SessionsController#destroy as JSON
1677
+ WARNING: Can't verify CSRF token authenticity
1678
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
1679
+  (0.1ms) BEGIN
1680
+  (0.0ms) COMMIT
1681
+ Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
1682
+
1683
+
1684
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:22 -0200
1685
+ Processing by DashboardController#index as HTML
1686
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1687
+ Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)
1688
+
1689
+
1690
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
1691
+ Served asset /application.css - 304 Not Modified (0ms)
1692
+
1693
+
1694
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
1695
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1696
+
1697
+
1698
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
1699
+ Served asset /default.css - 304 Not Modified (0ms)
1700
+
1701
+
1702
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
1703
+ Served asset /application.js - 304 Not Modified (0ms)
1704
+
1705
+
1706
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
1707
+ Served asset /jquery.js - 304 Not Modified (0ms)
1708
+
1709
+
1710
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:29 -0200
1711
+ Processing by DashboardController#index as */*
1712
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1713
+ Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
1714
+
1715
+
1716
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:46:32 -0200
1717
+ Processing by Iugu::SessionsController#create as JSON
1718
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1719
+ WARNING: Can't verify CSRF token authenticity
1720
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1721
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1722
+ Completed 201 Created in 141ms (Views: 0.6ms | ActiveRecord: 0.2ms)
1723
+
1724
+
1725
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 17:46:39 -0200
1726
+ Processing by Iugu::SessionsController#create as */*
1727
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1728
+ WARNING: Can't verify CSRF token authenticity
1729
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1730
+ Redirected to http://iugusdk.dev:3000/
1731
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1732
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
1733
+
1734
+
1735
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:39 -0200
1736
+ Processing by DashboardController#index as */*
1737
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1738
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
1739
+
1740
+
1741
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 17:46:43 -0200
1742
+ Processing by Iugu::SessionsController#create as */*
1743
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1744
+ WARNING: Can't verify CSRF token authenticity
1745
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1746
+ Redirected to http://iugusdk.dev:3000/
1747
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1748
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
1749
+
1750
+
1751
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:43 -0200
1752
+ Processing by DashboardController#index as */*
1753
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1754
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
1755
+
1756
+
1757
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:46:49 -0200
1758
+ Processing by Iugu::SessionsController#create as JSON
1759
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1760
+ WARNING: Can't verify CSRF token authenticity
1761
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1762
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1763
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1764
+
1765
+
1766
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:46:58 -0200
1767
+ Processing by Iugu::SessionsController#create as JSON
1768
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1769
+ WARNING: Can't verify CSRF token authenticity
1770
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1771
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1772
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1773
+
1774
+
1775
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:47:31 -0200
1776
+ Processing by DashboardController#index as */*
1777
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1778
+ Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
1779
+
1780
+
1781
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:47:38 -0200
1782
+ Processing by Iugu::SessionsController#create as JSON
1783
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1784
+ WARNING: Can't verify CSRF token authenticity
1785
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1786
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1787
+ Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1788
+
1789
+
1790
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:47:52 -0200
1791
+ Processing by Iugu::SessionsController#create as JSON
1792
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1793
+ WARNING: Can't verify CSRF token authenticity
1794
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1795
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1796
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1797
+
1798
+
1799
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:49:10 -0200
1800
+ Processing by Iugu::SessionsController#create as JSON
1801
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1802
+ WARNING: Can't verify CSRF token authenticity
1803
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1804
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1805
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1806
+
1807
+
1808
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:49:36 -0200
1809
+ Processing by DashboardController#index as */*
1810
+ Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
1811
+ Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
1812
+
1813
+
1814
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:49:44 -0200
1815
+ Processing by Iugu::SessionsController#create as JSON
1816
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1817
+ WARNING: Can't verify CSRF token authenticity
1818
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1819
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1820
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1821
+
1822
+
1823
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:50:06 -0200
1824
+ Processing by Iugu::SessionsController#create as JSON
1825
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1826
+ WARNING: Can't verify CSRF token authenticity
1827
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1828
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1829
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1830
+
1831
+
1832
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:50:35 -0200
1833
+ Processing by Iugu::SessionsController#create as JSON
1834
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1835
+ WARNING: Can't verify CSRF token authenticity
1836
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1837
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1838
+ Completed 201 Created in 140ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1839
+
1840
+
1841
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:51:13 -0200
1842
+ Processing by DashboardController#index as */*
1843
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1844
+ Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
1845
+
1846
+
1847
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:51:25 -0200
1848
+ Processing by DashboardController#index as */*
1849
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
1850
+ Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)
1851
+
1852
+
1853
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:52:30 -0200
1854
+ Processing by DashboardController#index as */*
1855
+ Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
1856
+ Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms)
1857
+
1858
+
1859
+ Started GET "/" for 127.0.0.1 at 2012-10-26 17:52:40 -0200
1860
+ Processing by DashboardController#index as */*
1861
+ Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
1862
+ Completed 200 OK in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms)
1863
+
1864
+
1865
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:52:48 -0200
1866
+ Processing by Iugu::SessionsController#create as JSON
1867
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1868
+ WARNING: Can't verify CSRF token authenticity
1869
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1870
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1871
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1872
+
1873
+
1874
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:52:50 -0200
1875
+ Processing by Iugu::SessionsController#create as JSON
1876
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1877
+ WARNING: Can't verify CSRF token authenticity
1878
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1879
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1880
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1881
+
1882
+
1883
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:52:59 -0200
1884
+ Processing by Iugu::SessionsController#create as JSON
1885
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1886
+ WARNING: Can't verify CSRF token authenticity
1887
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1888
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1889
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1890
+
1891
+
1892
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:53:09 -0200
1893
+ Processing by Iugu::SessionsController#create as JSON
1894
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1895
+ WARNING: Can't verify CSRF token authenticity
1896
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1897
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1898
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1899
+
1900
+
1901
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:53:29 -0200
1902
+ Processing by Iugu::SessionsController#create as JSON
1903
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1904
+ WARNING: Can't verify CSRF token authenticity
1905
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1906
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1907
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1908
+
1909
+
1910
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:58:42 -0200
1911
+ Processing by Iugu::SessionsController#create as JSON
1912
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1913
+ WARNING: Can't verify CSRF token authenticity
1914
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1915
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1916
+ Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1917
+
1918
+
1919
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:01:50 -0200
1920
+ Processing by Iugu::SessionsController#create as JSON
1921
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1922
+ WARNING: Can't verify CSRF token authenticity
1923
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1924
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
1925
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
1926
+ Connecting to database specified by database.yml
1927
+
1928
+
1929
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:35:09 -0200
1930
+ Processing by Iugu::SessionsController#create as JSON
1931
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1932
+ WARNING: Can't verify CSRF token authenticity
1933
+ Completed 401 Unauthorized in 1ms
1934
+
1935
+
1936
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:35:16 -0200
1937
+ Processing by Iugu::SessionsController#create as JSON
1938
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
1939
+ WARNING: Can't verify CSRF token authenticity
1940
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
1941
+ Completed 500 Internal Server Error in 505ms
1942
+
1943
+ ActionView::MissingTemplate (Missing template iugu/sessions/create, devise/sessions/create, devise/create, application/create with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :prawn, :haml, :rabl]}. Searched in:
1944
+ * "/home/patrick/Desenvolvimento/iugusdk/spec/dummy/app/views"
1945
+ * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/kaminari-0.14.1/app/views"
1946
+ * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/devise-2.1.2/app/views"
1947
+ * "/home/patrick/Desenvolvimento/iugusdk/app/views"
1948
+ ):
1949
+ actionpack (3.2.8) lib/action_view/path_set.rb:58:in `find'
1950
+ actionpack (3.2.8) lib/action_view/lookup_context.rb:109:in `find'
1951
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
1952
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:34:in `determine_template'
1953
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:10:in `render'
1954
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
1955
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
1956
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
1957
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
1958
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
1959
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
1960
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
1961
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
1962
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
1963
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
1964
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
1965
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
1966
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
1967
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
1968
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
1969
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
1970
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
1971
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
1972
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
1973
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:176:in `to_format'
1974
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
1975
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
1976
+ actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
1977
+ devise (2.1.2) app/controllers/devise/sessions_controller.rb:18:in `create'
1978
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1979
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
1980
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
1981
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1982
+ activesupport (3.2.8) lib/active_support/callbacks.rb:469:in `_run__290765563__process_action__561538514__callbacks'
1983
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
1984
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
1985
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
1986
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
1987
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
1988
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
1989
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
1990
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1991
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
1992
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
1993
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
1994
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1995
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
1996
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
1997
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
1998
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
1999
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
2000
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
2001
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2002
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
2003
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
2004
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
2005
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
2006
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
2007
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
2008
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
2009
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
2010
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
2011
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
2012
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
2013
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
2014
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
2015
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
2016
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2017
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2018
+ rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
2019
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
2020
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2021
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
2022
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2023
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
2024
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
2025
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
2026
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
2027
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2028
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__82958304__call__364072266__callbacks'
2029
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
2030
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2031
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
2032
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2033
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
2034
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2035
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2036
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2037
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
2038
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
2039
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2040
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2041
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2042
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2043
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2044
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
2045
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
2046
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
2047
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2048
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
2049
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2050
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2051
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2052
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2053
+
2054
+
2055
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
2056
+
2057
+
2058
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:35:37 -0200
2059
+ Processing by Iugu::SessionsController#create as JSON
2060
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2061
+ WARNING: Can't verify CSRF token authenticity
2062
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2063
+ Completed 500 Internal Server Error in 137ms
2064
+
2065
+ ActionView::MissingTemplate (Missing template iugu/sessions/create, devise/sessions/create, devise/create, application/create with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :prawn, :haml, :rabl]}. Searched in:
2066
+ * "/home/patrick/Desenvolvimento/iugusdk/spec/dummy/app/views"
2067
+ * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/kaminari-0.14.1/app/views"
2068
+ * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/devise-2.1.2/app/views"
2069
+ * "/home/patrick/Desenvolvimento/iugusdk/app/views"
2070
+ ):
2071
+ actionpack (3.2.8) lib/action_view/path_set.rb:58:in `find'
2072
+ actionpack (3.2.8) lib/action_view/lookup_context.rb:109:in `find'
2073
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
2074
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:34:in `determine_template'
2075
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:10:in `render'
2076
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
2077
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
2078
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
2079
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
2080
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
2081
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
2082
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
2083
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
2084
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
2085
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2086
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2087
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
2088
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
2089
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
2090
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2091
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2092
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
2093
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2094
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
2095
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:176:in `to_format'
2096
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
2097
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
2098
+ actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
2099
+ devise (2.1.2) app/controllers/devise/sessions_controller.rb:18:in `create'
2100
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2101
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
2102
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
2103
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2104
+ activesupport (3.2.8) lib/active_support/callbacks.rb:469:in `_run__290765563__process_action__561538514__callbacks'
2105
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
2106
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2107
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
2108
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
2109
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
2110
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2111
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
2112
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2113
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
2114
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2115
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
2116
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2117
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
2118
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
2119
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
2120
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2121
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
2122
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
2123
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2124
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
2125
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
2126
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
2127
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
2128
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
2129
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
2130
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
2131
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
2132
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
2133
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
2134
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
2135
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
2136
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
2137
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
2138
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2139
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2140
+ rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
2141
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
2142
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2143
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
2144
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2145
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
2146
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
2147
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
2148
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
2149
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2150
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__82958304__call__364072266__callbacks'
2151
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
2152
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2153
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
2154
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2155
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
2156
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2157
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2158
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2159
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
2160
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
2161
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2162
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2163
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2164
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2165
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2166
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
2167
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
2168
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
2169
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2170
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
2171
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2172
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2173
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2174
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2175
+
2176
+
2177
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.4ms)
2178
+ Connecting to database specified by database.yml
2179
+
2180
+
2181
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:37:54 -0200
2182
+ Processing by Iugu::SessionsController#create as JSON
2183
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2184
+ WARNING: Can't verify CSRF token authenticity
2185
+ Completed 401 Unauthorized in 1ms
2186
+
2187
+
2188
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:38:03 -0200
2189
+ Processing by Iugu::SessionsController#create as JSON
2190
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2191
+ WARNING: Can't verify CSRF token authenticity
2192
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2193
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2194
+ Completed 201 Created in 941ms (Views: 9.0ms | ActiveRecord: 1.7ms)
2195
+
2196
+
2197
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:38:11 -0200
2198
+ Processing by Iugu::SessionsController#create as JSON
2199
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2200
+ WARNING: Can't verify CSRF token authenticity
2201
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2202
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2203
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
2204
+
2205
+
2206
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:38:12 -0200
2207
+ Processing by Iugu::SessionsController#create as JSON
2208
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2209
+ WARNING: Can't verify CSRF token authenticity
2210
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2211
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2212
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
2213
+
2214
+
2215
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:38:26 -0200
2216
+ Processing by Iugu::SessionsController#create as */*
2217
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2218
+ WARNING: Can't verify CSRF token authenticity
2219
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2220
+ Redirected to http://iugusdk.dev:3000/
2221
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2222
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
2223
+
2224
+
2225
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:38:26 -0200
2226
+ Processing by DashboardController#index as */*
2227
+ Rendered dashboard/splash.html.haml within layouts/application (2.8ms)
2228
+ Completed 200 OK in 27ms (Views: 25.5ms | ActiveRecord: 0.0ms)
2229
+
2230
+
2231
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:38:27 -0200
2232
+ Processing by Iugu::SessionsController#create as */*
2233
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2234
+ WARNING: Can't verify CSRF token authenticity
2235
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2236
+ Redirected to http://iugusdk.dev:3000/
2237
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2238
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
2239
+
2240
+
2241
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:38:28 -0200
2242
+ Processing by DashboardController#index as */*
2243
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2244
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
2245
+ Connecting to database specified by database.yml
2246
+
2247
+
2248
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:38:55 -0200
2249
+ Processing by Iugu::SessionsController#create as */*
2250
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2251
+ WARNING: Can't verify CSRF token authenticity
2252
+ Completed 401 Unauthorized in 1ms
2253
+ Processing by Iugu::SessionsController#new as */*
2254
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2255
+ WARNING: Can't verify CSRF token authenticity
2256
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.5ms)
2257
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (1207.9ms)
2258
+ Completed 200 OK in 1546ms (Views: 1399.7ms | ActiveRecord: 1.2ms)
2259
+
2260
+
2261
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:13 -0200
2262
+ Processing by Iugu::SessionsController#create as */*
2263
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2264
+ WARNING: Can't verify CSRF token authenticity
2265
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2266
+ Redirected to http://iugusdk.dev:3000/
2267
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2268
+ Completed 302 Found in 723ms (ActiveRecord: 1.7ms)
2269
+
2270
+
2271
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:14 -0200
2272
+ Processing by DashboardController#index as */*
2273
+ Rendered dashboard/splash.html.haml within layouts/application (2.8ms)
2274
+ Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms)
2275
+
2276
+
2277
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:20 -0200
2278
+ Processing by Iugu::SessionsController#create as */*
2279
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2280
+ WARNING: Can't verify CSRF token authenticity
2281
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2282
+ Redirected to http://iugusdk.dev:3000/
2283
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2284
+ Completed 302 Found in 141ms (ActiveRecord: 0.1ms)
2285
+
2286
+
2287
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:20 -0200
2288
+ Processing by DashboardController#index as */*
2289
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2290
+ Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
2291
+
2292
+
2293
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:25 -0200
2294
+ Processing by Iugu::SessionsController#create as */*
2295
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2296
+ WARNING: Can't verify CSRF token authenticity
2297
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2298
+ Redirected to http://iugusdk.dev:3000/
2299
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2300
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
2301
+
2302
+
2303
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:25 -0200
2304
+ Processing by DashboardController#index as */*
2305
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2306
+ Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
2307
+
2308
+
2309
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:26 -0200
2310
+ Processing by Iugu::SessionsController#create as */*
2311
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2312
+ WARNING: Can't verify CSRF token authenticity
2313
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2314
+ Redirected to http://iugusdk.dev:3000/
2315
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2316
+ Completed 302 Found in 138ms (ActiveRecord: 0.1ms)
2317
+
2318
+
2319
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:26 -0200
2320
+ Processing by DashboardController#index as */*
2321
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2322
+ Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
2323
+
2324
+
2325
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:27 -0200
2326
+ Processing by Iugu::SessionsController#create as */*
2327
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2328
+ WARNING: Can't verify CSRF token authenticity
2329
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2330
+ Redirected to http://iugusdk.dev:3000/
2331
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2332
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
2333
+
2334
+
2335
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:27 -0200
2336
+ Processing by DashboardController#index as */*
2337
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2338
+ Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
2339
+
2340
+
2341
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:28 -0200
2342
+ Processing by Iugu::SessionsController#create as */*
2343
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2344
+ WARNING: Can't verify CSRF token authenticity
2345
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2346
+ Redirected to http://iugusdk.dev:3000/
2347
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2348
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
2349
+
2350
+
2351
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:28 -0200
2352
+ Processing by DashboardController#index as */*
2353
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2354
+ Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms)
2355
+
2356
+
2357
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:29 -0200
2358
+ Processing by Iugu::SessionsController#create as */*
2359
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2360
+ WARNING: Can't verify CSRF token authenticity
2361
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2362
+ Redirected to http://iugusdk.dev:3000/
2363
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2364
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
2365
+
2366
+
2367
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:29 -0200
2368
+ Processing by DashboardController#index as */*
2369
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2370
+ Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
2371
+
2372
+
2373
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:29 -0200
2374
+ Processing by Iugu::SessionsController#create as */*
2375
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2376
+ WARNING: Can't verify CSRF token authenticity
2377
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2378
+ Redirected to http://iugusdk.dev:3000/
2379
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2380
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
2381
+
2382
+
2383
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:30 -0200
2384
+ Processing by DashboardController#index as */*
2385
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2386
+ Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms)
2387
+
2388
+
2389
+ Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:30 -0200
2390
+ Processing by Iugu::SessionsController#create as */*
2391
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2392
+ WARNING: Can't verify CSRF token authenticity
2393
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2394
+ Redirected to http://iugusdk.dev:3000/
2395
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2396
+ Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
2397
+
2398
+
2399
+ Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:30 -0200
2400
+ Processing by DashboardController#index as */*
2401
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2402
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
2403
+
2404
+
2405
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:39:37 -0200
2406
+ Processing by Iugu::SessionsController#create as JSON
2407
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2408
+ WARNING: Can't verify CSRF token authenticity
2409
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2410
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2411
+ Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
2412
+
2413
+
2414
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:39:41 -0200
2415
+ Processing by Iugu::SessionsController#create as JSON
2416
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2417
+ WARNING: Can't verify CSRF token authenticity
2418
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2419
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1
2420
+ Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
2421
+ Connecting to database specified by database.yml
2422
+
2423
+
2424
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:07:04 -0200
2425
+ Processing by Iugu::RegistrationsController#create as JSON
2426
+ Parameters: {"user"=>{"email"=>"john@john.com", "password"=>"[FILTERED]"}}
2427
+ WARNING: Can't verify CSRF token authenticity
2428
+  (0.1ms) BEGIN
2429
+ User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john@john.com' LIMIT 1
2430
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'eFydS2MRdhD7SJypuXni' LIMIT 1
2431
+ SQL (0.2ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-29 18:07:06', 'eFydS2MRdhD7SJypuXni', '2012-10-29 18:07:06', '2012-10-29 18:07:06', 'john@john.com', '$2a$10$0v77JjDjkMbS5NG/Rikzw.9FlIjE0/j7HtsbJPvNbS/5kqlpxWefa', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-29 18:07:06')
2432
+ SQL (0.2ms) INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-29 18:07:11', NULL, NULL, NULL, '2012-10-29 18:07:11')
2433
+  (0.2ms) UPDATE `accounts` SET `created_at` = '2012-10-29 18:07:11', `updated_at` = '2012-10-29 18:07:11', `subdomain` = 'account2' WHERE `accounts`.`id` = 2
2434
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 2 LIMIT 1
2435
+ SQL (0.1ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (2, 2)
2436
+ AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 2) LIMIT 1
2437
+ AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1
2438
+ SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'owner')
2439
+ AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 2) LIMIT 1
2440
+ AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1
2441
+ SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'admin')
2442
+  (23.9ms) COMMIT
2443
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 2 AND (accounts.id = '1') LIMIT 1
2444
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 2 LIMIT 1
2445
+ Completed 201 Created in 6034ms (Views: 0.6ms | ActiveRecord: 0.5ms)
2446
+ Connecting to database specified by database.yml
2447
+
2448
+
2449
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:12:23 -0200
2450
+ Processing by Iugu::RegistrationsController#create as JSON
2451
+ Parameters: {"user"=>{"email"=>"john2@john.com", "password"=>"[FILTERED]"}}
2452
+ WARNING: Can't verify CSRF token authenticity
2453
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
2454
+  (0.1ms) BEGIN
2455
+  (0.0ms) COMMIT
2456
+  (0.1ms) BEGIN
2457
+ User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john2@john.com' LIMIT 1
2458
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = '72XuFVtwZxe8fBWojCyo' LIMIT 1
2459
+ SQL (0.3ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-29 18:12:25', '72XuFVtwZxe8fBWojCyo', '2012-10-29 18:12:25', '2012-10-29 18:12:25', 'john2@john.com', '$2a$10$rmjz.LkdGcBTWK/zQFvOfu90dquiN.0ScGoTV/ift/TPWTSeJVBgm', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-29 18:12:25')
2460
+ SQL (0.2ms) INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-29 18:12:30', NULL, NULL, NULL, '2012-10-29 18:12:30')
2461
+  (0.2ms) UPDATE `accounts` SET `created_at` = '2012-10-29 18:12:30', `updated_at` = '2012-10-29 18:12:30', `subdomain` = 'account3' WHERE `accounts`.`id` = 3
2462
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 3 LIMIT 1
2463
+ SQL (0.1ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (3, 3)
2464
+ AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 3) LIMIT 1
2465
+ AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1
2466
+ SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'owner')
2467
+ AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 3) LIMIT 1
2468
+ AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1
2469
+ SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'admin')
2470
+  (39.8ms) COMMIT
2471
+ Completed 500 Internal Server Error in 6021ms
2472
+
2473
+ ActionView::MissingTemplate (Missing template iugu/registrations/create, devise/registrations/create, devise/create, application/create with {:locale=>[:"pt-BR", :en], :formats=>[:json], :handlers=>[:erb, :builder, :prawn, :haml, :rabl]}. Searched in:
2474
+ * "/home/patrick/Desenvolvimento/iugusdk/spec/dummy/app/views"
2475
+ * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/kaminari-0.14.1/app/views"
2476
+ * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/devise-2.1.2/app/views"
2477
+ * "/home/patrick/Desenvolvimento/iugusdk/app/views"
2478
+ ):
2479
+ actionpack (3.2.8) lib/action_view/path_set.rb:58:in `find'
2480
+ actionpack (3.2.8) lib/action_view/lookup_context.rb:109:in `find'
2481
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
2482
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:34:in `determine_template'
2483
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:10:in `render'
2484
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
2485
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
2486
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
2487
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
2488
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
2489
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
2490
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
2491
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
2492
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
2493
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2494
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2495
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
2496
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
2497
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
2498
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2499
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2500
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
2501
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2502
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
2503
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:176:in `to_format'
2504
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
2505
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
2506
+ actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
2507
+ devise (2.1.2) app/controllers/devise/registrations_controller.rb:19:in `create'
2508
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2509
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
2510
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
2511
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2512
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__984058892__process_action__745311360__callbacks'
2513
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
2514
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2515
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
2516
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
2517
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
2518
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2519
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
2520
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2521
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
2522
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2523
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
2524
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2525
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
2526
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
2527
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
2528
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2529
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
2530
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
2531
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2532
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
2533
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
2534
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
2535
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
2536
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
2537
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
2538
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
2539
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
2540
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
2541
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
2542
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
2543
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
2544
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
2545
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
2546
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2547
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2548
+ rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
2549
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
2550
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2551
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
2552
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2553
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
2554
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
2555
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
2556
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
2557
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2558
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__379160260__call__65536871__callbacks'
2559
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
2560
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2561
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
2562
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2563
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
2564
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2565
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2566
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2567
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
2568
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
2569
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2570
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2571
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2572
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2573
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2574
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
2575
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
2576
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
2577
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2578
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
2579
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2580
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2581
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2582
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2583
+
2584
+
2585
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
2586
+ Connecting to database specified by database.yml
2587
+
2588
+
2589
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:17:03 -0200
2590
+ Processing by Iugu::RegistrationsController#create as JSON
2591
+ Parameters: {"user"=>{"email"=>"john3@john.com", "password"=>"[FILTERED]"}}
2592
+ WARNING: Can't verify CSRF token authenticity
2593
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
2594
+  (0.1ms) BEGIN
2595
+  (0.0ms) COMMIT
2596
+  (0.1ms) BEGIN
2597
+ User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john3@john.com' LIMIT 1
2598
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'frd1MAsr7peiNo8dJdd2' LIMIT 1
2599
+ SQL (0.2ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-29 18:17:05', 'frd1MAsr7peiNo8dJdd2', '2012-10-29 18:17:05', '2012-10-29 18:17:05', 'john3@john.com', '$2a$10$0n0Q.F7y5wMzenfSFoj.0.ykxRfAnBb9/IlA4BvY0vh5orj2qbSUe', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-29 18:17:05')
2600
+ SQL (0.2ms) INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-29 18:17:10', NULL, NULL, NULL, '2012-10-29 18:17:10')
2601
+  (0.2ms) UPDATE `accounts` SET `created_at` = '2012-10-29 18:17:10', `updated_at` = '2012-10-29 18:17:10', `subdomain` = 'account4' WHERE `accounts`.`id` = 4
2602
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 4 LIMIT 1
2603
+ SQL (0.1ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (4, 4)
2604
+ AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 4) LIMIT 1
2605
+ AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 4 LIMIT 1
2606
+ SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (4, 'owner')
2607
+ AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 4) LIMIT 1
2608
+ AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 4 LIMIT 1
2609
+ SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (4, 'admin')
2610
+  (7.1ms) COMMIT
2611
+ Completed 500 Internal Server Error in 5953ms
2612
+
2613
+ NoMethodError (private method `as_json' called for #<User:0xb8c1bac>):
2614
+ activemodel (3.2.8) lib/active_model/attribute_methods.rb:404:in `method_missing'
2615
+ activerecord (3.2.8) lib/active_record/attribute_methods.rb:149:in `method_missing'
2616
+ activesupport (3.2.8) lib/active_support/json/encoding.rb:47:in `block in encode'
2617
+ activesupport (3.2.8) lib/active_support/json/encoding.rb:77:in `check_for_circular_references'
2618
+ activesupport (3.2.8) lib/active_support/json/encoding.rb:46:in `encode'
2619
+ activesupport (3.2.8) lib/active_support/json/encoding.rb:31:in `encode'
2620
+ activesupport (3.2.8) lib/active_support/core_ext/object/to_json.rb:16:in `to_json'
2621
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:93:in `block in <module:Renderers>'
2622
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:35:in `block in _handle_render_options'
2623
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/set.rb:222:in `block in each'
2624
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/set.rb:222:in `each_key'
2625
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/set.rb:222:in `each'
2626
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:32:in `_handle_render_options'
2627
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
2628
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
2629
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
2630
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
2631
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2632
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2633
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
2634
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
2635
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
2636
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2637
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2638
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
2639
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:254:in `display'
2640
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:204:in `api_behavior'
2641
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:181:in `rescue in to_format'
2642
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:175:in `to_format'
2643
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
2644
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
2645
+ actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
2646
+ devise (2.1.2) app/controllers/devise/registrations_controller.rb:19:in `create'
2647
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2648
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
2649
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
2650
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2651
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__184688453__process_action__682835835__callbacks'
2652
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
2653
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2654
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
2655
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
2656
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
2657
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2658
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
2659
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2660
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
2661
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2662
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
2663
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2664
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
2665
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
2666
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
2667
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2668
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
2669
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
2670
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2671
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
2672
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
2673
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
2674
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
2675
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
2676
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
2677
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
2678
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
2679
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
2680
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
2681
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
2682
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
2683
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
2684
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
2685
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2686
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2687
+ rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
2688
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
2689
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2690
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
2691
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2692
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
2693
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
2694
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
2695
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
2696
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2697
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__952070056__call__9516005__callbacks'
2698
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
2699
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2700
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
2701
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2702
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
2703
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2704
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2705
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2706
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
2707
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
2708
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2709
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2710
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2711
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2712
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2713
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
2714
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
2715
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
2716
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2717
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
2718
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2719
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2720
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2721
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2722
+
2723
+
2724
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
2725
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
2726
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.4ms)
2727
+ Connecting to database specified by database.yml
2728
+
2729
+
2730
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:18:13 -0200
2731
+ Processing by Iugu::RegistrationsController#create as JSON
2732
+ Parameters: {"user"=>{"email"=>"john3@john.com", "password"=>"[FILTERED]"}}
2733
+ WARNING: Can't verify CSRF token authenticity
2734
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
2735
+  (0.1ms) BEGIN
2736
+  (0.0ms) COMMIT
2737
+  (0.1ms) BEGIN
2738
+ User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john3@john.com' LIMIT 1
2739
+  (0.1ms) ROLLBACK
2740
+ Completed 422 Unprocessable Entity in 5103ms (Views: 0.3ms | ActiveRecord: 2.3ms)
2741
+
2742
+
2743
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:18:23 -0200
2744
+ Processing by Iugu::RegistrationsController#create as JSON
2745
+ Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
2746
+ WARNING: Can't verify CSRF token authenticity
2747
+  (0.1ms) BEGIN
2748
+ User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john4@john.com' LIMIT 1
2749
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'WAwAWZYC4yKQ99PPN9mh' LIMIT 1
2750
+ SQL (0.2ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-29 18:18:24', 'WAwAWZYC4yKQ99PPN9mh', '2012-10-29 18:18:24', '2012-10-29 18:18:24', 'john4@john.com', '$2a$10$zVLpigEC7vAo09aZLhq6tOCzy6g12UUYazBSX60o6629/eTqZTufG', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-29 18:18:24')
2751
+ SQL (0.2ms) INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-29 18:18:24', NULL, NULL, NULL, '2012-10-29 18:18:24')
2752
+  (0.2ms) UPDATE `accounts` SET `created_at` = '2012-10-29 18:18:24', `updated_at` = '2012-10-29 18:18:24', `subdomain` = 'account5' WHERE `accounts`.`id` = 5
2753
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 LIMIT 1
2754
+ SQL (0.1ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (5, 5)
2755
+ AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 5) LIMIT 1
2756
+ AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 5 LIMIT 1
2757
+ SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (5, 'owner')
2758
+ AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 5) LIMIT 1
2759
+ AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 5 LIMIT 1
2760
+ SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (5, 'admin')
2761
+  (11.1ms) COMMIT
2762
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '2') LIMIT 1
2763
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 LIMIT 1
2764
+ Completed 201 Created in 650ms (Views: 0.2ms | ActiveRecord: 0.5ms)
2765
+
2766
+
2767
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:18:36 -0200
2768
+ Processing by Iugu::SessionsController#create as JSON
2769
+ Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
2770
+ WARNING: Can't verify CSRF token authenticity
2771
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 LIMIT 1
2772
+  (0.1ms) BEGIN
2773
+  (0.0ms) COMMIT
2774
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1
2775
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '5') LIMIT 1
2776
+ Completed 201 Created in 178ms (Views: 0.2ms | ActiveRecord: 0.3ms)
2777
+ Connecting to database specified by database.yml
2778
+ Connecting to database specified by database.yml
2779
+
2780
+
2781
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:22:43 -0200
2782
+ Processing by Iugu::SessionsController#create as JSON
2783
+ Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
2784
+ WARNING: Can't verify CSRF token authenticity
2785
+ Completed 401 Unauthorized in 1ms
2786
+
2787
+
2788
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:22:50 -0200
2789
+ Processing by Iugu::SessionsController#create as JSON
2790
+ Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
2791
+ WARNING: Can't verify CSRF token authenticity
2792
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1
2793
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '5') LIMIT 1
2794
+ Completed 201 Created in 933ms (Views: 0.3ms | ActiveRecord: 1.5ms)
2795
+
2796
+
2797
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:23:35 -0200
2798
+ Processing by Iugu::SessionsController#create as JSON
2799
+ Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
2800
+ WARNING: Can't verify CSRF token authenticity
2801
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1
2802
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '5') LIMIT 1
2803
+ Completed 201 Created in 139ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2804
+
2805
+
2806
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:23:37 -0200
2807
+ Processing by Iugu::SessionsController#create as JSON
2808
+ Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
2809
+ WARNING: Can't verify CSRF token authenticity
2810
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1
2811
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '5') LIMIT 1
2812
+ Completed 201 Created in 139ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2813
+ Connecting to database specified by database.yml
2814
+
2815
+
2816
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:24:44 -0200
2817
+ Processing by Iugu::SessionsController#create as JSON
2818
+ Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
2819
+ WARNING: Can't verify CSRF token authenticity
2820
+ Completed 401 Unauthorized in 1ms
2821
+
2822
+
2823
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:24:50 -0200
2824
+ Processing by Iugu::SessionsController#create as JSON
2825
+ Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
2826
+ WARNING: Can't verify CSRF token authenticity
2827
+ User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1
2828
+ Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '5') LIMIT 1
2829
+ Completed 201 Created in 941ms (Views: 0.3ms | ActiveRecord: 1.6ms)
2830
+
2831
+
2832
+ Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:26:58 -0200
2833
+ Processing by Iugu::RegistrationsController#create as JSON
2834
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2835
+ WARNING: Can't verify CSRF token authenticity
2836
+  (0.1ms) BEGIN
2837
+ User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patrick@iugu.com' LIMIT 1
2838
+  (0.1ms) ROLLBACK
2839
+ Completed 422 Unprocessable Entity in 300ms (Views: 0.3ms | ActiveRecord: 0.8ms)
2840
+
2841
+
2842
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:27:02 -0200
2843
+ Processing by Iugu::SessionsController#create as JSON
2844
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2845
+ WARNING: Can't verify CSRF token authenticity
2846
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
2847
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '5') LIMIT 1
2848
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 LIMIT 1
2849
+ Completed 201 Created in 140ms (Views: 0.2ms | ActiveRecord: 0.5ms)
2850
+ Connecting to database specified by database.yml
2851
+ Connecting to database specified by database.yml
2852
+
2853
+
2854
+ Started POST "/login.json" for 127.0.0.1 at 2012-10-30 15:36:49 -0200
2855
+ Processing by Iugu::SessionsController#create as JSON
2856
+ Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
2857
+ WARNING: Can't verify CSRF token authenticity
2858
+ Completed 401 Unauthorized in 1ms
2859
+ Connecting to database specified by database.yml
2860
+ Connecting to database specified by database.yml
2861
+  (16.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
2862
+ Connecting to database specified by database.yml
2863
+
2864
+
2865
+ Started GET "/" for 127.0.0.1 at 2012-11-07 19:17:03 -0200
2866
+
2867
+ ActionController::RoutingError (No route matches [GET] "/"):
2868
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2869
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2870
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
2871
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
2872
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2873
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2874
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2875
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2876
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2877
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
2878
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
2879
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
2880
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2881
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
2882
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2883
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2884
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2885
+ /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2886
+
2887
+
2888
+ Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2889
+
2890
+
2891
+ Started GET "/" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
2892
+ Processing by DashboardController#index as HTML
2893
+ Rendered dashboard/splash.html.haml within layouts/application (2.9ms)
2894
+ Completed 200 OK in 57ms (Views: 55.3ms | ActiveRecord: 0.0ms)
2895
+
2896
+
2897
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
2898
+ Served asset /application.css - 304 Not Modified (5ms)
2899
+
2900
+
2901
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
2902
+ Served asset /default.css - 304 Not Modified (1ms)
2903
+
2904
+
2905
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
2906
+ Served asset /jquery.js - 304 Not Modified (43ms)
2907
+
2908
+
2909
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
2910
+ Served asset /application.js - 304 Not Modified (4ms)
2911
+
2912
+
2913
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
2914
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
2915
+
2916
+
2917
+ Started GET "/login" for 127.0.0.1 at 2012-11-07 19:17:12 -0200
2918
+ Processing by Iugu::SessionsController#new as HTML
2919
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.6ms)
2920
+ Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (6034.5ms)
2921
+ Completed 200 OK in 6066ms (Views: 6048.8ms | ActiveRecord: 1.0ms)
2922
+
2923
+
2924
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:18 -0200
2925
+ Served asset /application.css - 304 Not Modified (0ms)
2926
+
2927
+
2928
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:19 -0200
2929
+ Served asset /default.css - 304 Not Modified (0ms)
2930
+
2931
+
2932
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:19 -0200
2933
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2934
+
2935
+
2936
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:19 -0200
2937
+ Served asset /application.js - 304 Not Modified (0ms)
2938
+
2939
+
2940
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:19 -0200
2941
+ Served asset /jquery.js - 304 Not Modified (0ms)
2942
+
2943
+
2944
+ Started GET "/" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
2945
+ Processing by DashboardController#index as HTML
2946
+ Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
2947
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
2948
+
2949
+
2950
+ Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
2951
+ Served asset /default.css - 304 Not Modified (0ms)
2952
+
2953
+
2954
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
2955
+ Served asset /application.css - 304 Not Modified (0ms)
2956
+
2957
+
2958
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
2959
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2960
+
2961
+
2962
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
2963
+ Served asset /jquery.js - 304 Not Modified (0ms)
2964
+
2965
+
2966
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
2967
+ Served asset /application.js - 304 Not Modified (0ms)