iugusdk 1.0.0.alpha.1 → 1.0.0.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/iugu/account_controller.rb +24 -28
- data/app/controllers/iugu/account_domains_controller.rb +35 -5
- data/app/controllers/iugu/account_roles_controller.rb +2 -5
- data/app/controllers/iugu/account_users_controller.rb +6 -12
- data/app/controllers/iugu/confirmations_controller.rb +1 -0
- data/app/controllers/iugu/invitations_controller.rb +17 -23
- data/app/controllers/iugu/omniauth_callbacks_controller.rb +3 -1
- data/app/controllers/iugu/passwords_controller.rb +1 -0
- data/app/controllers/iugu/registrations_controller.rb +11 -0
- data/app/controllers/iugu/sessions_controller.rb +1 -0
- data/app/controllers/iugu/settings_controller.rb +14 -0
- data/app/mailers/iugu_mailer.rb +2 -2
- data/app/models/account.rb +15 -0
- data/app/models/account_domain.rb +25 -2
- data/app/models/user.rb +19 -3
- data/app/models/user_invitation.rb +15 -2
- data/app/views/iugu/account_domains/index.html.haml +50 -25
- data/app/views/iugu/account_domains/instructions.html.haml +3 -0
- data/app/views/iugu/account_users/index.html.haml +4 -2
- data/app/views/iugu/invitations/new.html.haml +19 -5
- data/app/views/iugu/registrations/new.html.haml +4 -1
- data/app/views/iugu/sessions/new.html.haml +9 -8
- data/app/views/iugu/settings/account.html.haml +31 -23
- data/app/views/iugu/settings/accounts.html.haml +5 -3
- data/app/views/iugu/settings/profile.html.haml +47 -44
- data/app/views/iugu/shared/_links.haml +14 -11
- data/app/views/layouts/settings.html.haml +1 -1
- data/config/initializers/devise.rb +0 -13
- data/config/locales/iugu.en.yml +6 -0
- data/config/locales/iugu.pt-BR.yml +6 -0
- data/config/routes.rb +9 -4
- data/db/migrate/20120725170859_add_api_token_to_account.rb +9 -0
- data/db/migrate/20120803172545_add_guest_to_users.rb +9 -0
- data/lib/iugusdk/controllers/helpers.rb +1 -1
- data/lib/iugusdk/engine.rb +1 -1
- data/lib/iugusdk/iugusdk_base_controller.rb +17 -0
- data/lib/iugusdk/version.rb +1 -1
- data/lib/iugusdk.rb +30 -5
- data/spec/controller_macros.rb +1 -1
- data/spec/controllers/account_controller_spec.rb +26 -45
- data/spec/controllers/account_domains_controller_spec.rb +87 -5
- data/spec/controllers/account_roles_controller_spec.rb +0 -14
- data/spec/controllers/invitations_controller_spec.rb +21 -1
- data/spec/controllers/registration_controller_spec.rb +15 -0
- data/spec/controllers/settings_controller_spec.rb +105 -0
- data/spec/dummy/db/schema.rb +3 -1
- data/spec/dummy/log/development.log +1579 -0
- data/spec/dummy/tmp/cache/assets/C91/3F0/sprockets%2Fcd844928d19e586b4146833b720e7d29 +0 -0
- data/spec/dummy/tmp/cache/assets/CAA/190/sprockets%2Fee7298fdc707d359368983e09687c627 +0 -0
- data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/CE6/A00/sprockets%2F583256e44957e430e1eca9ba1739b6b6 +0 -0
- data/spec/dummy/tmp/cache/assets/CE7/4B0/sprockets%2Fd3774b9099289a36db44caec70813a19 +0 -0
- data/spec/dummy/tmp/cache/assets/CF1/A70/sprockets%2F368a631d9662bcc4891c91f739b7be37 +0 -0
- data/spec/dummy/tmp/cache/assets/CF6/A50/sprockets%2Ff434c1ed5d55916f790cf698832f76b1 +0 -0
- data/spec/dummy/tmp/cache/assets/CFB/F30/sprockets%2F84131db318a2faf415628c1075c32bdd +0 -0
- data/spec/dummy/tmp/cache/assets/D1A/F20/sprockets%2F102cc77ec78847746b1c164edcb9b639 +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D3A/D70/sprockets%2Fa3bc2dd9e66062ea36222fc6154827ee +0 -0
- data/spec/dummy/tmp/cache/assets/D46/E20/sprockets%2F1de16fe0c12f9988664ed66a835a6ab0 +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/D64/F60/sprockets%2F4755d7f5deef0f3212cb7ae30172a33e +0 -0
- data/spec/dummy/tmp/cache/assets/D69/850/sprockets%2F5c160a5a6d1068a17af57ab38affd379 +0 -0
- data/spec/dummy/tmp/cache/assets/D77/1A0/sprockets%2Ff3864fc006a0674b4c977ff5ca5c7d2e +0 -0
- data/spec/dummy/tmp/cache/assets/D77/920/sprockets%2Faf0e746c541e6cf4540db92c87da579c +0 -0
- data/spec/dummy/tmp/cache/assets/D7A/850/sprockets%2Fd1e5bf9f64829d062ed7314af28a4e7e +0 -0
- data/spec/dummy/tmp/cache/assets/D86/3F0/sprockets%2F8f648e11dfcec044b2997b98f619cfa6 +0 -0
- data/spec/dummy/tmp/cache/assets/DA5/130/sprockets%2F7d741fa9ebe86e96fb2bd116ca91234e +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/DF2/910/sprockets%2F02db4a9e6f91b47261fa5b0eece2ab8b +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/E25/5A0/sprockets%2F795f5759cf9bc7cde9f8acf8c0ca479f +0 -0
- data/spec/dummy/tmp/cache/assets/E35/0E0/sprockets%2F9f57eaeefd4c9d5efb41c9801e3f1c1a +0 -0
- data/spec/dummy/tmp/cache/sass/e5be18dde92936a4632e65289dad5788ed73dd60/settings.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/e764476e9a85279ad82622591ce49983ed21c149/default.sassc +0 -0
- data/spec/fabricators/account_domain_fabricator.rb +5 -1
- data/spec/models/account_domain_spec.rb +49 -12
- data/spec/models/account_spec.rb +32 -4
- data/spec/models/user_invitation_spec.rb +23 -1
- data/spec/models/user_spec.rb +76 -0
- data/spec/requests/account_domain_spec.rb +71 -37
- data/spec/requests/account_roles_spec.rb +1 -0
- data/spec/requests/account_spec.rb +65 -3
- data/spec/requests/account_users_spec.rb +1 -0
- data/spec/requests/omniauth_spec.rb +34 -0
- data/spec/requests/settings_spec.rb +4 -4
- data/spec/requests/user_invitation_spec.rb +32 -1
- data/spec/requests/user_spec.rb +13 -0
- metadata +126 -70
- data/lib/iugusdk/locale_filter.rb +0 -12
@@ -102,3 +102,1582 @@ Connecting to database specified by database.yml
|
|
102
102
|
[1m[36m (128.7ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
103
103
|
[1m[35m (0.1ms)[0m SELECT version FROM `schema_migrations`
|
104
104
|
[1m[36m (0.5ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120719162426')[0m
|
105
|
+
Connecting to database specified by database.yml
|
106
|
+
Connecting to database specified by database.yml
|
107
|
+
|
108
|
+
|
109
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 23:17:00 -0300
|
110
|
+
Processing by DashboardController#index as HTML
|
111
|
+
Rendered dashboard/splash.html.haml within layouts/application (2.6ms)
|
112
|
+
WARNING on line 74 of /Users/patricknegri/Desenvolvimento/iugusdk/spec/dummy/app/assets/stylesheets/default.sass:
|
113
|
+
This selector doesn't have any properties and will not be rendered.
|
114
|
+
Compiled default.css (102ms) (pid 1972)
|
115
|
+
Compiled application.css (160ms) (pid 1972)
|
116
|
+
Compiled jquery.js (1ms) (pid 1972)
|
117
|
+
Compiled jquery_ujs.js (0ms) (pid 1972)
|
118
|
+
Compiled application.js (98ms) (pid 1972)
|
119
|
+
Completed 200 OK in 486ms (Views: 468.1ms | ActiveRecord: 0.0ms)
|
120
|
+
|
121
|
+
|
122
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-25 23:17:01 -0300
|
123
|
+
Served asset /application.css - 200 OK (3ms)
|
124
|
+
|
125
|
+
|
126
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-25 23:17:01 -0300
|
127
|
+
Served asset /jquery_ujs.js - 200 OK (2ms)
|
128
|
+
|
129
|
+
|
130
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-25 23:17:01 -0300
|
131
|
+
Served asset /application.js - 200 OK (60ms)
|
132
|
+
Connecting to database specified by database.yml
|
133
|
+
|
134
|
+
|
135
|
+
Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-07-25 23:17:14 -0300
|
136
|
+
Served asset /default.css - 200 OK (3ms)
|
137
|
+
|
138
|
+
|
139
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-25 23:17:14 -0300
|
140
|
+
Served asset /jquery.js - 200 OK (3ms)
|
141
|
+
|
142
|
+
|
143
|
+
Started GET "/login" for 127.0.0.1 at 2012-07-25 23:17:19 -0300
|
144
|
+
Processing by Iugu::SessionsController#new as HTML
|
145
|
+
Rendered /Users/patricknegri/.rvm/gems/ruby-1.9.2-p290/gems/devise-2.1.2/app/views/devise/shared/_links.erb (2.3ms)
|
146
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (6382.9ms)
|
147
|
+
Completed 200 OK in 6457ms (Views: 6391.6ms | ActiveRecord: 49.7ms)
|
148
|
+
Connecting to database specified by database.yml
|
149
|
+
[1m[36m (9.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
150
|
+
Migrating to CreateAccount (20120528164634)
|
151
|
+
Migrating to AddDeviseToUsers (20120529134109)
|
152
|
+
Migrating to AddBirthdateAndNameToUser (20120529162901)
|
153
|
+
Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
|
154
|
+
Migrating to CreateAccountUsers (20120529180814)
|
155
|
+
Migrating to RemoveUserIdFromAccounts (20120530114709)
|
156
|
+
Migrating to CreateAccountRoles (20120531171438)
|
157
|
+
Migrating to AddLocaleToUser (20120604131034)
|
158
|
+
Migrating to CreateSocialAccount (20120605142527)
|
159
|
+
Migrating to SetLocale (20120612141130)
|
160
|
+
Migrating to RemoveUniqueFromUserEmail (20120613173114)
|
161
|
+
Migrating to CreateDelayedJobs (20120615180728)
|
162
|
+
Migrating to CreateUserInvitations (20120629154429)
|
163
|
+
Migrating to AddTokenToUserInvitations (20120629195345)
|
164
|
+
Migrating to AddRolesToUserInvitations (20120705202827)
|
165
|
+
Migrating to CreateAccountDomain (20120716145846)
|
166
|
+
Migrating to AddSubdomainToAccount (20120719162426)
|
167
|
+
Migrating to AddApiTokenToAccount (20120725170859)
|
168
|
+
[1m[35m (180.8ms)[0m ALTER TABLE `accounts` ADD `api_token` varchar(255)
|
169
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859')[0m
|
170
|
+
[1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
171
|
+
Connecting to database specified by database.yml
|
172
|
+
Connecting to database specified by database.yml
|
173
|
+
[1m[36m (18.0ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
174
|
+
Migrating to CreateAccount (20120528164634)
|
175
|
+
Migrating to AddDeviseToUsers (20120529134109)
|
176
|
+
Migrating to AddBirthdateAndNameToUser (20120529162901)
|
177
|
+
Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
|
178
|
+
Migrating to CreateAccountUsers (20120529180814)
|
179
|
+
Migrating to RemoveUserIdFromAccounts (20120530114709)
|
180
|
+
Migrating to CreateAccountRoles (20120531171438)
|
181
|
+
Migrating to AddLocaleToUser (20120604131034)
|
182
|
+
Migrating to CreateSocialAccount (20120605142527)
|
183
|
+
Migrating to SetLocale (20120612141130)
|
184
|
+
Migrating to RemoveUniqueFromUserEmail (20120613173114)
|
185
|
+
Migrating to CreateDelayedJobs (20120615180728)
|
186
|
+
Migrating to CreateUserInvitations (20120629154429)
|
187
|
+
Migrating to AddTokenToUserInvitations (20120629195345)
|
188
|
+
Migrating to AddRolesToUserInvitations (20120705202827)
|
189
|
+
Migrating to CreateAccountDomain (20120716145846)
|
190
|
+
Migrating to AddSubdomainToAccount (20120719162426)
|
191
|
+
Migrating to AddApiTokenToAccount (20120725170859)
|
192
|
+
[1m[35m (0.3ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
193
|
+
Connecting to database specified by database.yml
|
194
|
+
|
195
|
+
|
196
|
+
Started GET "/" for 127.0.0.1 at 2012-07-27 18:50:40 -0300
|
197
|
+
Processing by DashboardController#index as HTML
|
198
|
+
Rendered dashboard/splash.html.haml within layouts/application (2.8ms)
|
199
|
+
Completed 200 OK in 212ms (Views: 203.3ms | ActiveRecord: 0.0ms)
|
200
|
+
|
201
|
+
|
202
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-27 18:50:41 -0300
|
203
|
+
Served asset /application.js - 200 OK (3ms)
|
204
|
+
|
205
|
+
|
206
|
+
Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-07-27 18:50:41 -0300
|
207
|
+
Served asset /default.css - 200 OK (2ms)
|
208
|
+
|
209
|
+
|
210
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:50:41 -0300
|
211
|
+
Served asset /jquery_ujs.js - 200 OK (1ms)
|
212
|
+
Connecting to database specified by database.yml
|
213
|
+
|
214
|
+
|
215
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:50:52 -0300
|
216
|
+
Served asset /jquery.js - 200 OK (3ms)
|
217
|
+
|
218
|
+
|
219
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-27 18:50:52 -0300
|
220
|
+
Served asset /application.css - 200 OK (48ms)
|
221
|
+
|
222
|
+
|
223
|
+
Started GET "/login" for 127.0.0.1 at 2012-07-27 18:50:58 -0300
|
224
|
+
Processing by Iugu::SessionsController#new as HTML
|
225
|
+
Rendered /Users/patricknegri/.rvm/gems/ruby-1.9.2-p290/gems/devise-2.1.2/app/views/devise/shared/_links.erb (2.3ms)
|
226
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (6713.5ms)
|
227
|
+
Completed 200 OK in 6756ms (Views: 6735.8ms | ActiveRecord: 3.5ms)
|
228
|
+
|
229
|
+
|
230
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:05 -0300
|
231
|
+
|
232
|
+
|
233
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:05 -0300
|
234
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
235
|
+
Served asset /application.css - 304 Not Modified (5ms)
|
236
|
+
|
237
|
+
|
238
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:05 -0300
|
239
|
+
|
240
|
+
|
241
|
+
Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:05 -0300
|
242
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
243
|
+
Served asset /default.css - 304 Not Modified (0ms)
|
244
|
+
|
245
|
+
|
246
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:05 -0300
|
247
|
+
Served asset /application.js - 304 Not Modified (3ms)
|
248
|
+
|
249
|
+
|
250
|
+
Started GET "/account/auth/facebook" for 127.0.0.1 at 2012-07-27 18:51:09 -0300
|
251
|
+
|
252
|
+
|
253
|
+
Started GET "/account/auth/facebook/callback?state=cb0c5938ab40d05b7bac355aae7308e5dee5256edc5b25f8&code=AQBiu8hdi6FRI2VJOqVKZ-oSAmt7E4M1afbjHIo8HvUWcJlNKXkR2wfmT65vuwSkcdVrP8v8yWo5m5WFpG5oSGcI-FK630yhH0VQ7BQHCyFl1RdtNKCF_jMeO0bfvcwrzAgRdq6v7pSSzTTMC-SPk0ma8HjeuBsWEKEn93HQIP3A15uiA7GByiBSyicT5w1ZiNE" for 127.0.0.1 at 2012-07-27 18:51:10 -0300
|
254
|
+
Processing by Iugu::OmniauthCallbacksController#facebook as HTML
|
255
|
+
Parameters: {"state"=>"cb0c5938ab40d05b7bac355aae7308e5dee5256edc5b25f8", "code"=>"AQBiu8hdi6FRI2VJOqVKZ-oSAmt7E4M1afbjHIo8HvUWcJlNKXkR2wfmT65vuwSkcdVrP8v8yWo5m5WFpG5oSGcI-FK630yhH0VQ7BQHCyFl1RdtNKCF_jMeO0bfvcwrzAgRdq6v7pSSzTTMC-SPk0ma8HjeuBsWEKEn93HQIP3A15uiA7GByiBSyicT5w1ZiNE"}
|
256
|
+
DEPRECATION WARNING: Using `method_missing` to handle non existing actions is deprecated and will be removed in Rails 4.0, please use `action_missing` instead. (called from handle at /Users/patricknegri/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147)
|
257
|
+
[1m[36mSocialAccount Load (0.5ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE (provider = 'facebook' AND social_id = '1139530567') LIMIT 1[0m
|
258
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `users` WHERE `users`.`email` = 'patrick@iugu.com.br'
|
259
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
260
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, NULL, NULL, '2012-07-27 21:51:14', '2012-07-27 21:51:14', 'patrick@iugu.com.br', '', NULL, NULL, NULL, NULL, NULL, NULL, '2012-07-27 21:51:14')
|
261
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('dc703a38dd769da0f98a9ffb7cc72f93', '2012-07-27 21:51:14', NULL, NULL, NULL, '2012-07-27 21:51:14')[0m
|
262
|
+
[1m[35mAccount Load (0.5ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
263
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `account_users` (`account_id`, `user_id`) VALUES (1, 1)[0m
|
264
|
+
[1m[35mAccountRole Exists (0.4ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 1) LIMIT 1
|
265
|
+
[1m[36mAccountUser Load (0.4ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1[0m
|
266
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'owner')
|
267
|
+
[1m[36mAccountRole Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 1) LIMIT 1[0m
|
268
|
+
[1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1
|
269
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'admin')[0m
|
270
|
+
[1m[35m (0.8ms)[0m COMMIT
|
271
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
272
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `social_accounts` (`provider`, `secret`, `social_id`, `token`, `user_id`) VALUES ('facebook', NULL, 1139530567, 'AAACfei317GUBAAZAsZA3lu1s1ZBmy8q8jijCEN2RP3PFGDFZAC0En0xwZCQ4O0S9cLXg9G2b4hYJZCsaOoRaVFjd1zZAR4l58c36qm46ZA6xfAZDZD', 1)
|
273
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
274
|
+
[1m[35m (0.1ms)[0m BEGIN
|
275
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
276
|
+
SELECT ACCOUNT
|
277
|
+
[1m[35mAccount Load (0.5ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '9') LIMIT 1
|
278
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 LIMIT 1[0m
|
279
|
+
Redirected to http://iugusdk.dev/
|
280
|
+
Completed 302 Found in 634ms (ActiveRecord: 17.9ms)
|
281
|
+
|
282
|
+
|
283
|
+
Started GET "/" for 127.0.0.1 at 2012-07-27 18:51:14 -0300
|
284
|
+
Processing by DashboardController#index as HTML
|
285
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
286
|
+
Rendered dashboard/index.html.haml within layouts/application (1.1ms)
|
287
|
+
Completed 200 OK in 45ms (Views: 41.8ms | ActiveRecord: 0.4ms)
|
288
|
+
|
289
|
+
|
290
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:14 -0300
|
291
|
+
|
292
|
+
|
293
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:14 -0300
|
294
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
295
|
+
|
296
|
+
|
297
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:14 -0300
|
298
|
+
Served asset /jquery.js - 304 Not Modified (3ms)
|
299
|
+
|
300
|
+
|
301
|
+
Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:14 -0300
|
302
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
303
|
+
Served asset /default.css - 304 Not Modified (0ms)
|
304
|
+
|
305
|
+
|
306
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:14 -0300
|
307
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
308
|
+
|
309
|
+
|
310
|
+
Started GET "/settings" for 127.0.0.1 at 2012-07-27 18:51:21 -0300
|
311
|
+
Processing by Iugu::SettingsController#index as HTML
|
312
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
313
|
+
Redirected to http://iugusdk.dev/settings/profile
|
314
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
315
|
+
|
316
|
+
|
317
|
+
Started GET "/settings/profile" for 127.0.0.1 at 2012-07-27 18:51:21 -0300
|
318
|
+
Processing by Iugu::ProfileController#index as HTML
|
319
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
320
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
|
321
|
+
DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from block in ___sers_patricknegri__esenvolvimento_iugusdk_app_views_iugu_settings_profile_html_haml__3975791667755215596_2168157460 at /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml:63)
|
322
|
+
[1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
|
323
|
+
[1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1[0m
|
324
|
+
[1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
|
325
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (33.6ms)
|
326
|
+
Compiled settings.css (205ms) (pid 1481)
|
327
|
+
Compiled jquery-ui.js (2ms) (pid 1481)
|
328
|
+
Compiled settings_code.js (71ms) (pid 1481)
|
329
|
+
Compiled settings.js (166ms) (pid 1481)
|
330
|
+
Completed 200 OK in 610ms (Views: 602.9ms | ActiveRecord: 5.0ms)
|
331
|
+
|
332
|
+
|
333
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:22 -0300
|
334
|
+
|
335
|
+
|
336
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:22 -0300
|
337
|
+
Served asset /settings_code.js - 200 OK (2ms)
|
338
|
+
|
339
|
+
|
340
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:22 -0300
|
341
|
+
Served asset /settings.js - 200 OK (10ms)
|
342
|
+
|
343
|
+
|
344
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:22 -0300
|
345
|
+
Served asset /jquery-ui.js - 200 OK (3ms)
|
346
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
347
|
+
|
348
|
+
|
349
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:22 -0300
|
350
|
+
|
351
|
+
|
352
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:22 -0300
|
353
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
354
|
+
Served asset /settings.css - 200 OK (2ms)
|
355
|
+
|
356
|
+
|
357
|
+
Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-07-27 18:51:22 -0300
|
358
|
+
Served asset /application_logo.png - 200 OK (24ms)
|
359
|
+
|
360
|
+
|
361
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-27 18:51:24 -0300
|
362
|
+
Processing by Iugu::AccountController#index as HTML
|
363
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
364
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
365
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
366
|
+
[1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
367
|
+
[1m[36mAccountRole Load (0.5ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
368
|
+
[1m[35mAccount Load (0.5ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
369
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (145.5ms)
|
370
|
+
Completed 200 OK in 165ms (Views: 160.6ms | ActiveRecord: 2.6ms)
|
371
|
+
|
372
|
+
|
373
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:25 -0300
|
374
|
+
|
375
|
+
|
376
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:25 -0300
|
377
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
378
|
+
|
379
|
+
|
380
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:25 -0300
|
381
|
+
Served asset /settings.css - 304 Not Modified (3ms)
|
382
|
+
Served asset /settings.js - 304 Not Modified (7ms)
|
383
|
+
|
384
|
+
|
385
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:25 -0300
|
386
|
+
|
387
|
+
|
388
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:25 -0300
|
389
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
390
|
+
|
391
|
+
|
392
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:25 -0300
|
393
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
394
|
+
Served asset /settings_code.js - 304 Not Modified (3ms)
|
395
|
+
|
396
|
+
|
397
|
+
Started GET "/settings/account/1" for 127.0.0.1 at 2012-07-27 18:51:26 -0300
|
398
|
+
Processing by Iugu::AccountController#view as HTML
|
399
|
+
Parameters: {"id"=>"1"}
|
400
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
401
|
+
[1m[35mAccount Load (0.3ms)[0m 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
|
402
|
+
[1m[36mAccountDomain Load (0.2ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
|
403
|
+
[1m[35mAccountUser Load (0.6ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
404
|
+
[1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
405
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
406
|
+
[1m[36mAccountRole Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
407
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
408
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
409
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
410
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
411
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
412
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
413
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
414
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
415
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
|
416
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (75.6ms)
|
417
|
+
Completed 200 OK in 157ms (Views: 82.5ms | ActiveRecord: 5.9ms)
|
418
|
+
|
419
|
+
|
420
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:27 -0300
|
421
|
+
|
422
|
+
|
423
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:27 -0300
|
424
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
425
|
+
|
426
|
+
|
427
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:27 -0300
|
428
|
+
Served asset /jquery-ui.js - 304 Not Modified (3ms)
|
429
|
+
|
430
|
+
|
431
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:27 -0300
|
432
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
433
|
+
|
434
|
+
|
435
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:27 -0300
|
436
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
437
|
+
|
438
|
+
|
439
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:27 -0300
|
440
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
441
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
442
|
+
|
443
|
+
|
444
|
+
Started GET "/settings/account/1/domains" for 127.0.0.1 at 2012-07-27 18:51:32 -0300
|
445
|
+
Processing by Iugu::AccountDomainsController#index as HTML
|
446
|
+
Parameters: {"account_id"=>"1"}
|
447
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
448
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
449
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
|
450
|
+
[1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
451
|
+
[1m[36mAccountRole Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
452
|
+
[1m[35mAccountRole Exists (0.3ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'admin' LIMIT 1
|
453
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `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[0m
|
454
|
+
[1m[35mAccountDomain Load (0.5ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`account_id` = 1
|
455
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/account_domains/index.html.haml within layouts/settings (10.6ms)
|
456
|
+
Completed 200 OK in 41ms (Views: 25.5ms | ActiveRecord: 2.6ms)
|
457
|
+
|
458
|
+
|
459
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:32 -0300
|
460
|
+
|
461
|
+
|
462
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:32 -0300
|
463
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
464
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
465
|
+
|
466
|
+
|
467
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:32 -0300
|
468
|
+
|
469
|
+
|
470
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:32 -0300
|
471
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
472
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
473
|
+
|
474
|
+
|
475
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:32 -0300
|
476
|
+
|
477
|
+
|
478
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:32 -0300
|
479
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
480
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
481
|
+
|
482
|
+
|
483
|
+
Started PUT "/settings/account/1/subdomain?id=1" for 127.0.0.1 at 2012-07-27 18:51:34 -0300
|
484
|
+
Processing by Iugu::AccountDomainsController#update_subdomain as HTML
|
485
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"bpsPTOi9t9F9+SZQRfRKCJTe+msoeOF+GzxwcBkQ5Bc=", "account"=>{"subdomain"=>""}, "commit"=>"Save", "id"=>"1", "account_id"=>"1"}
|
486
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
487
|
+
[1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
488
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
|
489
|
+
[1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
490
|
+
[1m[36mAccountRole Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
491
|
+
[1m[35mAccountRole Exists (0.4ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'admin' LIMIT 1
|
492
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `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[0m
|
493
|
+
[1m[35m (0.2ms)[0m BEGIN
|
494
|
+
[1m[36mAccount Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `accounts` WHERE (`accounts`.`api_token` = BINARY 'dc703a38dd769da0f98a9ffb7cc72f93' AND `accounts`.`id` != 1) LIMIT 1[0m
|
495
|
+
[1m[35m (0.4ms)[0m UPDATE `accounts` SET `subdomain` = '', `updated_at` = '2012-07-27 21:51:34' WHERE `accounts`.`id` = 1
|
496
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
497
|
+
Redirected to http://iugusdk.dev/settings/account/1/domains
|
498
|
+
Completed 302 Found in 15ms (ActiveRecord: 4.0ms)
|
499
|
+
|
500
|
+
|
501
|
+
Started GET "/settings/account/1/domains" for 127.0.0.1 at 2012-07-27 18:51:34 -0300
|
502
|
+
Processing by Iugu::AccountDomainsController#index as HTML
|
503
|
+
Parameters: {"account_id"=>"1"}
|
504
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
505
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
|
506
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
|
507
|
+
[1m[36mAccountUser Load (0.1ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1[0m
|
508
|
+
[1m[35mAccountRole Exists (0.3ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
509
|
+
[1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'admin' LIMIT 1[0m
|
510
|
+
[1m[35mAccount Load (0.4ms)[0m 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
|
511
|
+
[1m[36mAccountDomain Load (0.6ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`account_id` = 1[0m
|
512
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/account_domains/index.html.haml within layouts/settings (62.9ms)
|
513
|
+
Completed 200 OK in 81ms (Views: 71.2ms | ActiveRecord: 2.5ms)
|
514
|
+
|
515
|
+
|
516
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:34 -0300
|
517
|
+
|
518
|
+
|
519
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:34 -0300
|
520
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
521
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
522
|
+
|
523
|
+
|
524
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:34 -0300
|
525
|
+
|
526
|
+
|
527
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:34 -0300
|
528
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
529
|
+
|
530
|
+
|
531
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:34 -0300
|
532
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
533
|
+
|
534
|
+
|
535
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:34 -0300
|
536
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
537
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
538
|
+
|
539
|
+
|
540
|
+
Started POST "/settings/account/1/domain" for 127.0.0.1 at 2012-07-27 18:51:35 -0300
|
541
|
+
Processing by Iugu::AccountDomainsController#create as HTML
|
542
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"bpsPTOi9t9F9+SZQRfRKCJTe+msoeOF+GzxwcBkQ5Bc=", "account_domain"=>{"url"=>""}, "commit"=>"Add", "account_id"=>"1"}
|
543
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
544
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
|
545
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
|
546
|
+
[1m[36mAccountUser Load (0.2ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1[0m
|
547
|
+
[1m[35mAccountRole Exists (0.4ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
548
|
+
[1m[36mAccountRole Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'admin' LIMIT 1[0m
|
549
|
+
[1m[35mAccount Load (0.3ms)[0m 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
|
550
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
551
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
552
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
553
|
+
[1m[35m (0.1ms)[0m COMMIT
|
554
|
+
[1m[36mAccountDomain Load (0.5ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`account_id` = 1[0m
|
555
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/account_domains/index.html.haml within layouts/settings (5.8ms)
|
556
|
+
Completed 200 OK in 30ms (Views: 14.6ms | ActiveRecord: 3.3ms)
|
557
|
+
|
558
|
+
|
559
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:35 -0300
|
560
|
+
|
561
|
+
|
562
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:35 -0300
|
563
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
564
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
565
|
+
|
566
|
+
|
567
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:35 -0300
|
568
|
+
|
569
|
+
|
570
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:35 -0300
|
571
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
572
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
573
|
+
|
574
|
+
|
575
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:35 -0300
|
576
|
+
|
577
|
+
|
578
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:35 -0300
|
579
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
580
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
581
|
+
|
582
|
+
|
583
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-27 18:51:37 -0300
|
584
|
+
Processing by Iugu::AccountController#index as HTML
|
585
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
586
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
587
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
588
|
+
[1m[36mAccountUser Load (0.3ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1[0m
|
589
|
+
[1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
590
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
591
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.9ms)
|
592
|
+
Completed 200 OK in 20ms (Views: 16.4ms | ActiveRecord: 2.0ms)
|
593
|
+
|
594
|
+
|
595
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:37 -0300
|
596
|
+
|
597
|
+
|
598
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:37 -0300
|
599
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
600
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
601
|
+
|
602
|
+
|
603
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:37 -0300
|
604
|
+
|
605
|
+
|
606
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:37 -0300
|
607
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
608
|
+
|
609
|
+
|
610
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:37 -0300
|
611
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
612
|
+
|
613
|
+
|
614
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:37 -0300
|
615
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
616
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
617
|
+
|
618
|
+
|
619
|
+
Started POST "/settings/account" for 127.0.0.1 at 2012-07-27 18:51:39 -0300
|
620
|
+
Processing by Iugu::AccountController#create as HTML
|
621
|
+
Parameters: {"authenticity_token"=>"bpsPTOi9t9F9+SZQRfRKCJTe+msoeOF+GzxwcBkQ5Bc="}
|
622
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
623
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
624
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('5409bab1a7e6824501eed7f17b741343', '2012-07-27 21:51:39', NULL, NULL, NULL, '2012-07-27 21:51:39')
|
625
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
626
|
+
[1m[35m (0.1ms)[0m BEGIN
|
627
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
628
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (2, 1)
|
629
|
+
[1m[36mAccountRole Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 2) LIMIT 1[0m
|
630
|
+
[1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1
|
631
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'owner')[0m
|
632
|
+
[1m[35mAccountRole Exists (0.3ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 2) LIMIT 1
|
633
|
+
[1m[36mAccountUser Load (0.2ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1[0m
|
634
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'admin')
|
635
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
636
|
+
Redirected to http://iugusdk.dev/settings/accounts
|
637
|
+
Completed 302 Found in 18ms (ActiveRecord: 4.2ms)
|
638
|
+
|
639
|
+
|
640
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-27 18:51:39 -0300
|
641
|
+
Processing by Iugu::AccountController#index as HTML
|
642
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
643
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
644
|
+
[1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
645
|
+
[1m[36mAccountUser Load (0.4ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1[0m
|
646
|
+
[1m[35mAccountRole Load (0.2ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
647
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
648
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (7.7ms)
|
649
|
+
Completed 200 OK in 18ms (Views: 14.5ms | ActiveRecord: 2.1ms)
|
650
|
+
|
651
|
+
|
652
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:39 -0300
|
653
|
+
|
654
|
+
|
655
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:39 -0300
|
656
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
657
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
658
|
+
|
659
|
+
|
660
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:39 -0300
|
661
|
+
|
662
|
+
|
663
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:39 -0300
|
664
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
665
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
666
|
+
|
667
|
+
|
668
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:39 -0300
|
669
|
+
|
670
|
+
|
671
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:39 -0300
|
672
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
673
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
674
|
+
|
675
|
+
|
676
|
+
Started GET "/select_account/2" for 127.0.0.1 at 2012-07-27 18:51:40 -0300
|
677
|
+
Processing by Iugu::AccountController#select as HTML
|
678
|
+
Parameters: {"id"=>"2"}
|
679
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
680
|
+
[1m[36mAccount Load (0.5ms)[0m [1mSELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '2') LIMIT 1[0m
|
681
|
+
Redirected to http://iugusdk.dev/settings/accounts
|
682
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
683
|
+
|
684
|
+
|
685
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-27 18:51:40 -0300
|
686
|
+
Processing by Iugu::AccountController#index as HTML
|
687
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
688
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
689
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
690
|
+
[1m[36mAccountUser Load (0.3ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 2 LIMIT 1[0m
|
691
|
+
[1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (2)
|
692
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (2)[0m
|
693
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (9.0ms)
|
694
|
+
Completed 200 OK in 20ms (Views: 16.4ms | ActiveRecord: 1.9ms)
|
695
|
+
|
696
|
+
|
697
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:40 -0300
|
698
|
+
|
699
|
+
|
700
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:40 -0300
|
701
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
702
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
703
|
+
|
704
|
+
|
705
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:40 -0300
|
706
|
+
|
707
|
+
|
708
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:40 -0300
|
709
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
710
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
711
|
+
|
712
|
+
|
713
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:40 -0300
|
714
|
+
|
715
|
+
|
716
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:40 -0300
|
717
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
718
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
719
|
+
|
720
|
+
|
721
|
+
Started GET "/select_account/1" for 127.0.0.1 at 2012-07-27 18:51:41 -0300
|
722
|
+
Processing by Iugu::AccountController#select as HTML
|
723
|
+
Parameters: {"id"=>"1"}
|
724
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
725
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `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[0m
|
726
|
+
Redirected to http://iugusdk.dev/settings/accounts
|
727
|
+
Completed 302 Found in 67ms (ActiveRecord: 0.9ms)
|
728
|
+
|
729
|
+
|
730
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-27 18:51:41 -0300
|
731
|
+
Processing by Iugu::AccountController#index as HTML
|
732
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
733
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
734
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
735
|
+
[1m[36mAccountUser Load (0.4ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1[0m
|
736
|
+
[1m[35mAccountRole Load (0.4ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
737
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
738
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.4ms)
|
739
|
+
Completed 200 OK in 19ms (Views: 15.3ms | ActiveRecord: 2.1ms)
|
740
|
+
|
741
|
+
|
742
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:41 -0300
|
743
|
+
|
744
|
+
|
745
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:41 -0300
|
746
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
747
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
748
|
+
|
749
|
+
|
750
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:41 -0300
|
751
|
+
|
752
|
+
|
753
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:41 -0300
|
754
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
755
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
756
|
+
|
757
|
+
|
758
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:41 -0300
|
759
|
+
|
760
|
+
|
761
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:41 -0300
|
762
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
763
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
764
|
+
|
765
|
+
|
766
|
+
Started GET "/select_account/2" for 127.0.0.1 at 2012-07-27 18:51:42 -0300
|
767
|
+
Processing by Iugu::AccountController#select as HTML
|
768
|
+
Parameters: {"id"=>"2"}
|
769
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
770
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '2') LIMIT 1[0m
|
771
|
+
Redirected to http://iugusdk.dev/settings/accounts
|
772
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
773
|
+
|
774
|
+
|
775
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-27 18:51:42 -0300
|
776
|
+
Processing by Iugu::AccountController#index as HTML
|
777
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
778
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
779
|
+
[1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
780
|
+
[1m[36mAccountUser Load (0.4ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 2 LIMIT 1[0m
|
781
|
+
[1m[35mAccountRole Load (0.4ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (2)
|
782
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (2)[0m
|
783
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.0ms)
|
784
|
+
Completed 200 OK in 19ms (Views: 15.1ms | ActiveRecord: 2.2ms)
|
785
|
+
|
786
|
+
|
787
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:42 -0300
|
788
|
+
|
789
|
+
|
790
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:42 -0300
|
791
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
792
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
793
|
+
|
794
|
+
|
795
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:42 -0300
|
796
|
+
|
797
|
+
|
798
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:42 -0300
|
799
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
800
|
+
|
801
|
+
|
802
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:42 -0300
|
803
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
804
|
+
|
805
|
+
|
806
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:42 -0300
|
807
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
808
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
809
|
+
|
810
|
+
|
811
|
+
Started GET "/select_account/1" for 127.0.0.1 at 2012-07-27 18:51:43 -0300
|
812
|
+
Processing by Iugu::AccountController#select as HTML
|
813
|
+
Parameters: {"id"=>"1"}
|
814
|
+
[1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
815
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `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[0m
|
816
|
+
Redirected to http://iugusdk.dev/settings/accounts
|
817
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
818
|
+
|
819
|
+
|
820
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-27 18:51:43 -0300
|
821
|
+
Processing by Iugu::AccountController#index as HTML
|
822
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
823
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
824
|
+
[1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
825
|
+
[1m[36mAccountUser Load (0.4ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1[0m
|
826
|
+
[1m[35mAccountRole Load (0.2ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
827
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
828
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.0ms)
|
829
|
+
Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 2.1ms)
|
830
|
+
|
831
|
+
|
832
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:43 -0300
|
833
|
+
|
834
|
+
|
835
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:43 -0300
|
836
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
837
|
+
|
838
|
+
|
839
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:43 -0300
|
840
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
841
|
+
|
842
|
+
|
843
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:43 -0300
|
844
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
845
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
846
|
+
|
847
|
+
|
848
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:43 -0300
|
849
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
850
|
+
|
851
|
+
|
852
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:43 -0300
|
853
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
854
|
+
|
855
|
+
|
856
|
+
Started GET "/settings/account/1" for 127.0.0.1 at 2012-07-27 18:51:44 -0300
|
857
|
+
Processing by Iugu::AccountController#view as HTML
|
858
|
+
Parameters: {"id"=>"1"}
|
859
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
860
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `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[0m
|
861
|
+
[1m[35mAccountDomain Load (0.4ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
|
862
|
+
[1m[36mAccountUser Load (0.5ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1[0m
|
863
|
+
[1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
864
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
865
|
+
[1m[35mAccountRole Exists (0.4ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
866
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1[0m
|
867
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
868
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
869
|
+
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
870
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1[0m
|
871
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
872
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
873
|
+
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
874
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
|
875
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (20.6ms)
|
876
|
+
Completed 200 OK in 36ms (Views: 29.3ms | ActiveRecord: 2.9ms)
|
877
|
+
|
878
|
+
|
879
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:44 -0300
|
880
|
+
|
881
|
+
|
882
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:44 -0300
|
883
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
884
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
885
|
+
|
886
|
+
|
887
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:44 -0300
|
888
|
+
|
889
|
+
|
890
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:44 -0300
|
891
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
892
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
893
|
+
|
894
|
+
|
895
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:44 -0300
|
896
|
+
|
897
|
+
|
898
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:44 -0300
|
899
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
900
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
901
|
+
|
902
|
+
|
903
|
+
Started GET "/settings/account/1" for 127.0.0.1 at 2012-07-27 18:51:47 -0300
|
904
|
+
Processing by Iugu::AccountController#view as HTML
|
905
|
+
Parameters: {"id"=>"1"}
|
906
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
907
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `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[0m
|
908
|
+
[1m[35mAccountDomain Load (0.4ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
|
909
|
+
[1m[36mAccountUser Load (0.4ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1[0m
|
910
|
+
[1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
911
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
912
|
+
[1m[35mAccountRole Exists (0.4ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
913
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1[0m
|
914
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
915
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
916
|
+
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
917
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1[0m
|
918
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
919
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
920
|
+
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
921
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
|
922
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (18.2ms)
|
923
|
+
Completed 200 OK in 32ms (Views: 25.1ms | ActiveRecord: 2.9ms)
|
924
|
+
|
925
|
+
|
926
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:47 -0300
|
927
|
+
|
928
|
+
|
929
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:47 -0300
|
930
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
931
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
932
|
+
|
933
|
+
|
934
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:47 -0300
|
935
|
+
|
936
|
+
|
937
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:47 -0300
|
938
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
939
|
+
|
940
|
+
|
941
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:47 -0300
|
942
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
943
|
+
|
944
|
+
|
945
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:47 -0300
|
946
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
947
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
948
|
+
|
949
|
+
|
950
|
+
Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-07-27 18:51:50 -0300
|
951
|
+
Processing by Iugu::AccountController#generate_new_token as HTML
|
952
|
+
Parameters: {"authenticity_token"=>"bpsPTOi9t9F9+SZQRfRKCJTe+msoeOF+GzxwcBkQ5Bc=", "account_id"=>"1"}
|
953
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
954
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
|
955
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
|
956
|
+
[1m[36mAccountUser Load (0.2ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1[0m
|
957
|
+
[1m[35mAccountRole Exists (0.5ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
958
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `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[0m
|
959
|
+
[1m[35m (0.2ms)[0m BEGIN
|
960
|
+
[1m[36m (0.4ms)[0m [1mUPDATE `accounts` SET `api_token` = '95a08be4b003cd259c4dd21a49aad384', `updated_at` = '2012-07-27 21:51:50' WHERE `accounts`.`id` = 1[0m
|
961
|
+
[1m[35m (0.9ms)[0m COMMIT
|
962
|
+
Redirected to http://iugusdk.dev/settings/account/1
|
963
|
+
Completed 302 Found in 74ms (ActiveRecord: 3.5ms)
|
964
|
+
|
965
|
+
|
966
|
+
Started GET "/settings/account/1" for 127.0.0.1 at 2012-07-27 18:51:50 -0300
|
967
|
+
Processing by Iugu::AccountController#view as HTML
|
968
|
+
Parameters: {"id"=>"1"}
|
969
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
970
|
+
[1m[35mAccount Load (0.4ms)[0m 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
|
971
|
+
[1m[36mAccountDomain Load (0.4ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
|
972
|
+
[1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
973
|
+
[1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
974
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
975
|
+
[1m[36mAccountRole Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
976
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
977
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
978
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
979
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
980
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
981
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
982
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
983
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
984
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
|
985
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (20.2ms)
|
986
|
+
Completed 200 OK in 34ms (Views: 27.2ms | ActiveRecord: 2.8ms)
|
987
|
+
|
988
|
+
|
989
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:50 -0300
|
990
|
+
|
991
|
+
|
992
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:50 -0300
|
993
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
994
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
995
|
+
|
996
|
+
|
997
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:50 -0300
|
998
|
+
|
999
|
+
|
1000
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:50 -0300
|
1001
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1002
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
1003
|
+
|
1004
|
+
|
1005
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:50 -0300
|
1006
|
+
|
1007
|
+
|
1008
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:50 -0300
|
1009
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
1010
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
1011
|
+
|
1012
|
+
|
1013
|
+
Started GET "/settings/profile" for 127.0.0.1 at 2012-07-27 18:51:51 -0300
|
1014
|
+
Processing by Iugu::ProfileController#index as HTML
|
1015
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1016
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
|
1017
|
+
DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from block in ___sers_patricknegri__esenvolvimento_iugusdk_app_views_iugu_settings_profile_html_haml__3975791667755215596_2168157460 at /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml:63)
|
1018
|
+
[1m[36mSocialAccount Load (0.5ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
|
1019
|
+
[1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1
|
1020
|
+
[1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
|
1021
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (29.1ms)
|
1022
|
+
Completed 200 OK in 45ms (Views: 40.3ms | ActiveRecord: 2.1ms)
|
1023
|
+
|
1024
|
+
|
1025
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:51 -0300
|
1026
|
+
|
1027
|
+
|
1028
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:51 -0300
|
1029
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1030
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
1031
|
+
|
1032
|
+
|
1033
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:51 -0300
|
1034
|
+
|
1035
|
+
|
1036
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:51 -0300
|
1037
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
1038
|
+
|
1039
|
+
|
1040
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:51 -0300
|
1041
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
1042
|
+
|
1043
|
+
|
1044
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:51 -0300
|
1045
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
1046
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1047
|
+
|
1048
|
+
|
1049
|
+
Started GET "/settings/profile" for 127.0.0.1 at 2012-07-27 18:51:53 -0300
|
1050
|
+
Processing by Iugu::ProfileController#index as HTML
|
1051
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
1052
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
|
1053
|
+
DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from block in ___sers_patricknegri__esenvolvimento_iugusdk_app_views_iugu_settings_profile_html_haml__3975791667755215596_2168157460 at /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml:63)
|
1054
|
+
[1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
|
1055
|
+
[1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1[0m
|
1056
|
+
[1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
|
1057
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (80.5ms)
|
1058
|
+
Completed 200 OK in 91ms (Views: 87.4ms | ActiveRecord: 1.9ms)
|
1059
|
+
|
1060
|
+
|
1061
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:53 -0300
|
1062
|
+
|
1063
|
+
|
1064
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:53 -0300
|
1065
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
1066
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1067
|
+
|
1068
|
+
|
1069
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:53 -0300
|
1070
|
+
|
1071
|
+
|
1072
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:53 -0300
|
1073
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1074
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
1075
|
+
|
1076
|
+
|
1077
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:53 -0300
|
1078
|
+
|
1079
|
+
|
1080
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:53 -0300
|
1081
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
1082
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
1083
|
+
|
1084
|
+
|
1085
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-27 18:51:54 -0300
|
1086
|
+
Processing by Iugu::AccountController#index as HTML
|
1087
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1088
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
1089
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
1090
|
+
[1m[35mAccountUser Load (0.3ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
1091
|
+
[1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1092
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1093
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.7ms)
|
1094
|
+
Completed 200 OK in 21ms (Views: 17.2ms | ActiveRecord: 2.0ms)
|
1095
|
+
|
1096
|
+
|
1097
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:54 -0300
|
1098
|
+
|
1099
|
+
|
1100
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:54 -0300
|
1101
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
1102
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
1103
|
+
|
1104
|
+
|
1105
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:54 -0300
|
1106
|
+
|
1107
|
+
|
1108
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:54 -0300
|
1109
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
1110
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1111
|
+
|
1112
|
+
|
1113
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:54 -0300
|
1114
|
+
|
1115
|
+
|
1116
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:54 -0300
|
1117
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
1118
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1119
|
+
|
1120
|
+
|
1121
|
+
Started GET "/settings/profile" for 127.0.0.1 at 2012-07-27 18:51:54 -0300
|
1122
|
+
Processing by Iugu::ProfileController#index as HTML
|
1123
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1124
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
|
1125
|
+
DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from block in ___sers_patricknegri__esenvolvimento_iugusdk_app_views_iugu_settings_profile_html_haml__3975791667755215596_2168157460 at /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml:63)
|
1126
|
+
[1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
|
1127
|
+
[1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1
|
1128
|
+
[1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
|
1129
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (75.9ms)
|
1130
|
+
Completed 200 OK in 87ms (Views: 83.4ms | ActiveRecord: 1.9ms)
|
1131
|
+
|
1132
|
+
|
1133
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1134
|
+
|
1135
|
+
|
1136
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1137
|
+
Served asset /jquery-ui.js - 304 Not Modified (0ms)
|
1138
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1139
|
+
|
1140
|
+
|
1141
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1142
|
+
|
1143
|
+
|
1144
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1145
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1146
|
+
Served asset /settings.css - 304 Not Modified (0ms)
|
1147
|
+
|
1148
|
+
|
1149
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1150
|
+
|
1151
|
+
|
1152
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1153
|
+
Served asset /settings.js - 304 Not Modified (0ms)
|
1154
|
+
Served asset /settings_code.js - 304 Not Modified (0ms)
|
1155
|
+
|
1156
|
+
|
1157
|
+
Started GET "/" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1158
|
+
Processing by DashboardController#index as HTML
|
1159
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
1160
|
+
Rendered dashboard/index.html.haml within layouts/application (0.1ms)
|
1161
|
+
Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms)
|
1162
|
+
|
1163
|
+
|
1164
|
+
Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1165
|
+
|
1166
|
+
|
1167
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1168
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1169
|
+
Served asset /default.css - 304 Not Modified (0ms)
|
1170
|
+
|
1171
|
+
|
1172
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1173
|
+
|
1174
|
+
|
1175
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1176
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1177
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1178
|
+
|
1179
|
+
|
1180
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:55 -0300
|
1181
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1182
|
+
|
1183
|
+
|
1184
|
+
Started DELETE "/logout" for 127.0.0.1 at 2012-07-27 18:51:56 -0300
|
1185
|
+
Processing by Iugu::SessionsController#destroy as HTML
|
1186
|
+
Parameters: {"authenticity_token"=>"bpsPTOi9t9F9+SZQRfRKCJTe+msoeOF+GzxwcBkQ5Bc="}
|
1187
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1188
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1189
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1190
|
+
Redirected to http://iugusdk.dev/
|
1191
|
+
Completed 302 Found in 26ms (ActiveRecord: 0.8ms)
|
1192
|
+
|
1193
|
+
|
1194
|
+
Started GET "/" for 127.0.0.1 at 2012-07-27 18:51:56 -0300
|
1195
|
+
Processing by DashboardController#index as HTML
|
1196
|
+
Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
|
1197
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
1198
|
+
|
1199
|
+
|
1200
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:56 -0300
|
1201
|
+
|
1202
|
+
|
1203
|
+
Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-07-27 18:51:56 -0300
|
1204
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1205
|
+
Served asset /default.css - 304 Not Modified (2ms)
|
1206
|
+
|
1207
|
+
|
1208
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:56 -0300
|
1209
|
+
|
1210
|
+
|
1211
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:56 -0300
|
1212
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1213
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1214
|
+
|
1215
|
+
|
1216
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-27 18:51:56 -0300
|
1217
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1218
|
+
Connecting to database specified by database.yml
|
1219
|
+
Connecting to database specified by database.yml
|
1220
|
+
|
1221
|
+
|
1222
|
+
Started GET "/" for 127.0.0.1 at 2012-07-31 12:02:13 -0300
|
1223
|
+
Processing by DashboardController#index as HTML
|
1224
|
+
Rendered dashboard/splash.html.haml within layouts/application (3.0ms)
|
1225
|
+
Completed 200 OK in 177ms (Views: 163.7ms | ActiveRecord: 0.0ms)
|
1226
|
+
|
1227
|
+
|
1228
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 12:02:13 -0300
|
1229
|
+
Served asset /application.css - 200 OK (4ms)
|
1230
|
+
|
1231
|
+
|
1232
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 12:02:13 -0300
|
1233
|
+
Served asset /jquery_ujs.js - 200 OK (2ms)
|
1234
|
+
|
1235
|
+
|
1236
|
+
Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-07-31 12:02:13 -0300
|
1237
|
+
Served asset /default.css - 200 OK (2ms)
|
1238
|
+
Connecting to database specified by database.yml
|
1239
|
+
|
1240
|
+
|
1241
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 12:02:26 -0300
|
1242
|
+
Served asset /application.js - 200 OK (50ms)
|
1243
|
+
|
1244
|
+
|
1245
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 12:02:26 -0300
|
1246
|
+
Served asset /jquery.js - 200 OK (2ms)
|
1247
|
+
|
1248
|
+
|
1249
|
+
Started GET "/login" for 127.0.0.1 at 2012-07-31 12:03:24 -0300
|
1250
|
+
Processing by Iugu::SessionsController#new as HTML
|
1251
|
+
Rendered /Users/patricknegri/.rvm/gems/ruby-1.9.2-p290/gems/devise-2.1.2/app/views/devise/shared/_links.erb (4.9ms)
|
1252
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (7796.4ms)
|
1253
|
+
Completed 200 OK in 8042ms (Views: 7842.1ms | ActiveRecord: 182.7ms)
|
1254
|
+
Connecting to database specified by database.yml
|
1255
|
+
|
1256
|
+
|
1257
|
+
Started GET "/account/auth/facebook" for 127.0.0.1 at 2012-07-31 13:13:42 -0300
|
1258
|
+
|
1259
|
+
|
1260
|
+
Started GET "/account/auth/facebook/callback?state=a887c6cc6f3e85ef65b08b1ae37621bfcc173eb5a12a0771&code=AQAKJ6UpCRS_p_pOcSh6oiTLVTlxnjRISM-DgaTlVnqexmoFo1iQGQqPUYl1SBz3-Yf7bIhX2mPZbNmWQyKi_cNvlZ2I24H8bR1EpFQ8B1ZV1OYBztjW8fARatYoaBpd3xhS3l6ZVbsCOG26nvXGls6-n5KACq5nThi32mRE_yz5EjNS2E-ISf0l5Qv7pqJ_y1Y" for 127.0.0.1 at 2012-07-31 13:13:44 -0300
|
1261
|
+
Processing by Iugu::OmniauthCallbacksController#facebook as HTML
|
1262
|
+
Parameters: {"state"=>"a887c6cc6f3e85ef65b08b1ae37621bfcc173eb5a12a0771", "code"=>"AQAKJ6UpCRS_p_pOcSh6oiTLVTlxnjRISM-DgaTlVnqexmoFo1iQGQqPUYl1SBz3-Yf7bIhX2mPZbNmWQyKi_cNvlZ2I24H8bR1EpFQ8B1ZV1OYBztjW8fARatYoaBpd3xhS3l6ZVbsCOG26nvXGls6-n5KACq5nThi32mRE_yz5EjNS2E-ISf0l5Qv7pqJ_y1Y"}
|
1263
|
+
DEPRECATION WARNING: Using `method_missing` to handle non existing actions is deprecated and will be removed in Rails 4.0, please use `action_missing` instead. (called from handle at /Users/patricknegri/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147)
|
1264
|
+
[1m[36mSocialAccount Load (283.1ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE (provider = 'facebook' AND social_id = '1139530567') LIMIT 1[0m
|
1265
|
+
[1m[35mUser Load (0.7ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
1266
|
+
[1m[36m (0.8ms)[0m [1mBEGIN[0m
|
1267
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1268
|
+
SELECT ACCOUNT
|
1269
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT `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[0m
|
1270
|
+
Redirected to http://iugusdk.dev/
|
1271
|
+
Completed 302 Found in 1321ms (ActiveRecord: 606.4ms)
|
1272
|
+
|
1273
|
+
|
1274
|
+
Started GET "/" for 127.0.0.1 at 2012-07-31 13:13:49 -0300
|
1275
|
+
Processing by DashboardController#index as HTML
|
1276
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
1277
|
+
Rendered dashboard/index.html.haml within layouts/application (1.3ms)
|
1278
|
+
Completed 200 OK in 244ms (Views: 230.1ms | ActiveRecord: 0.4ms)
|
1279
|
+
|
1280
|
+
|
1281
|
+
Started GET "/settings" for 127.0.0.1 at 2012-07-31 13:13:52 -0300
|
1282
|
+
Processing by Iugu::SettingsController#index as HTML
|
1283
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1284
|
+
Redirected to http://iugusdk.dev/settings/profile
|
1285
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
1286
|
+
|
1287
|
+
|
1288
|
+
Started GET "/settings/profile" for 127.0.0.1 at 2012-07-31 13:13:53 -0300
|
1289
|
+
Processing by Iugu::ProfileController#index as HTML
|
1290
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
1291
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
|
1292
|
+
DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from block in ___sers_patricknegri__esenvolvimento_iugusdk_app_views_iugu_settings_profile_html_haml___3293581842198614446_2153038260 at /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml:63)
|
1293
|
+
[1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
|
1294
|
+
[1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1[0m
|
1295
|
+
[1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
|
1296
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (6182.3ms)
|
1297
|
+
Completed 200 OK in 6273ms (Views: 6246.1ms | ActiveRecord: 24.9ms)
|
1298
|
+
|
1299
|
+
|
1300
|
+
Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-07-31 13:13:59 -0300
|
1301
|
+
Served asset /settings.css - 200 OK (2ms)
|
1302
|
+
|
1303
|
+
|
1304
|
+
Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-07-31 13:13:59 -0300
|
1305
|
+
Served asset /settings_code.js - 200 OK (3ms)
|
1306
|
+
Connecting to database specified by database.yml
|
1307
|
+
|
1308
|
+
|
1309
|
+
Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-07-31 13:14:12 -0300
|
1310
|
+
Served asset /settings.js - 200 OK (53ms)
|
1311
|
+
|
1312
|
+
|
1313
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-07-31 13:14:12 -0300
|
1314
|
+
Served asset /jquery-ui.js - 200 OK (3ms)
|
1315
|
+
|
1316
|
+
|
1317
|
+
Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-07-31 13:14:12 -0300
|
1318
|
+
Served asset /application_logo.png - 200 OK (19ms)
|
1319
|
+
|
1320
|
+
|
1321
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-31 13:14:15 -0300
|
1322
|
+
Processing by Iugu::AccountController#index as HTML
|
1323
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1324
|
+
[1m[35m (46.4ms)[0m SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
1325
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
1326
|
+
[1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
1327
|
+
[1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1328
|
+
[1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1329
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (6018.5ms)
|
1330
|
+
Completed 200 OK in 6396ms (Views: 6181.4ms | ActiveRecord: 99.0ms)
|
1331
|
+
|
1332
|
+
|
1333
|
+
Started GET "/settings/account/1" for 127.0.0.1 at 2012-07-31 13:14:23 -0300
|
1334
|
+
Processing by Iugu::AccountController#view as HTML
|
1335
|
+
Parameters: {"id"=>"1"}
|
1336
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1337
|
+
[1m[35mAccount Load (0.4ms)[0m 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
|
1338
|
+
[1m[36mAccountDomain Load (0.4ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
|
1339
|
+
[1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1340
|
+
[1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1341
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1342
|
+
[1m[36mAccountRole Exists (1.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1343
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1344
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1345
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1346
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1347
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1348
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1349
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1350
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1351
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1352
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1353
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1354
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1355
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
|
1356
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (690.3ms)
|
1357
|
+
Completed 200 OK in 889ms (Views: 708.2ms | ActiveRecord: 12.9ms)
|
1358
|
+
|
1359
|
+
|
1360
|
+
Started GET "/settings/account/1/domains" for 127.0.0.1 at 2012-07-31 13:14:28 -0300
|
1361
|
+
Processing by Iugu::AccountDomainsController#index as HTML
|
1362
|
+
Parameters: {"account_id"=>"1"}
|
1363
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1364
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
1365
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
|
1366
|
+
[1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
1367
|
+
[1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1368
|
+
[1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'admin' LIMIT 1
|
1369
|
+
[1m[36mAccount Load (4.3ms)[0m [1mSELECT `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[0m
|
1370
|
+
[1m[35mAccountDomain Load (0.5ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`account_id` = 1
|
1371
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/account_domains/index.html.haml within layouts/settings (11.5ms)
|
1372
|
+
Completed 200 OK in 43ms (Views: 21.8ms | ActiveRecord: 6.2ms)
|
1373
|
+
|
1374
|
+
|
1375
|
+
Started PUT "/settings/account/1/subdomain?id=1" for 127.0.0.1 at 2012-07-31 13:14:30 -0300
|
1376
|
+
Processing by Iugu::AccountDomainsController#update_subdomain as HTML
|
1377
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rngr1HS6l9kqvtkPXxo6C24XedPbuTkdGz4ilFYKXIM=", "account"=>{"subdomain"=>""}, "commit"=>"Save", "id"=>"1", "account_id"=>"1"}
|
1378
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1379
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
1380
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
|
1381
|
+
[1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
1382
|
+
[1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1383
|
+
[1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'admin' LIMIT 1
|
1384
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT `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[0m
|
1385
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1386
|
+
[1m[36mAccount Exists (33.2ms)[0m [1mSELECT 1 AS one FROM `accounts` WHERE (`accounts`.`api_token` = BINARY '95a08be4b003cd259c4dd21a49aad384' AND `accounts`.`id` != 1) LIMIT 1[0m
|
1387
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1388
|
+
Redirected to http://iugusdk.dev/settings/account/1/domains
|
1389
|
+
Completed 302 Found in 66ms (ActiveRecord: 35.3ms)
|
1390
|
+
|
1391
|
+
|
1392
|
+
Started GET "/settings/account/1/domains" for 127.0.0.1 at 2012-07-31 13:14:30 -0300
|
1393
|
+
Processing by Iugu::AccountDomainsController#index as HTML
|
1394
|
+
Parameters: {"account_id"=>"1"}
|
1395
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1396
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
1397
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
|
1398
|
+
[1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
1399
|
+
[1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1400
|
+
[1m[35mAccountRole Exists (0.3ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'admin' LIMIT 1
|
1401
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT `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[0m
|
1402
|
+
[1m[35mAccountDomain Load (0.3ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`account_id` = 1
|
1403
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/account_domains/index.html.haml within layouts/settings (4.8ms)
|
1404
|
+
Completed 200 OK in 88ms (Views: 78.6ms | ActiveRecord: 2.1ms)
|
1405
|
+
|
1406
|
+
|
1407
|
+
Started POST "/settings/account/1/domain" for 127.0.0.1 at 2012-07-31 13:14:31 -0300
|
1408
|
+
Processing by Iugu::AccountDomainsController#create as HTML
|
1409
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rngr1HS6l9kqvtkPXxo6C24XedPbuTkdGz4ilFYKXIM=", "account_domain"=>{"url"=>""}, "commit"=>"Add", "account_id"=>"1"}
|
1410
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1411
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
1412
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
|
1413
|
+
[1m[35mAccountUser Load (0.1ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
1414
|
+
[1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1415
|
+
[1m[35mAccountRole Exists (0.3ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'admin' LIMIT 1
|
1416
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT `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[0m
|
1417
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1418
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1419
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1420
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1421
|
+
[1m[35mAccountDomain Load (0.4ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`account_id` = 1
|
1422
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/account_domains/index.html.haml within layouts/settings (4.9ms)
|
1423
|
+
Completed 200 OK in 28ms (Views: 13.4ms | ActiveRecord: 2.6ms)
|
1424
|
+
|
1425
|
+
|
1426
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-31 13:14:33 -0300
|
1427
|
+
Processing by Iugu::AccountController#index as HTML
|
1428
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1429
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
1430
|
+
[1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
1431
|
+
[1m[35mAccountUser Load (0.3ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
1432
|
+
[1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1433
|
+
[1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1434
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.6ms)
|
1435
|
+
Completed 200 OK in 22ms (Views: 18.3ms | ActiveRecord: 2.1ms)
|
1436
|
+
|
1437
|
+
|
1438
|
+
Started GET "/settings/account/1" for 127.0.0.1 at 2012-07-31 13:14:34 -0300
|
1439
|
+
Processing by Iugu::AccountController#view as HTML
|
1440
|
+
Parameters: {"id"=>"1"}
|
1441
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1442
|
+
[1m[35mAccount Load (0.2ms)[0m 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
|
1443
|
+
[1m[36mAccountDomain Load (0.2ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
|
1444
|
+
[1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1445
|
+
[1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1446
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1447
|
+
[1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1448
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1449
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1450
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1451
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1452
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1453
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1454
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1455
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1456
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1457
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1458
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1459
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1460
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
|
1461
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (21.8ms)
|
1462
|
+
Completed 200 OK in 36ms (Views: 30.9ms | ActiveRecord: 2.4ms)
|
1463
|
+
|
1464
|
+
|
1465
|
+
Started PUT "/settings/account/1" for 127.0.0.1 at 2012-07-31 13:14:46 -0300
|
1466
|
+
Processing by Iugu::AccountController#update as HTML
|
1467
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rngr1HS6l9kqvtkPXxo6C24XedPbuTkdGz4ilFYKXIM=", "account"=>{"name"=>""}, "commit"=>"Save", "id"=>"1"}
|
1468
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1469
|
+
[1m[35mAccountUser Load (0.3ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
1470
|
+
[1m[36mAccountRole Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1471
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
1472
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1473
|
+
[1m[35mAccount Exists (0.3ms)[0m SELECT 1 AS one FROM `accounts` WHERE (`accounts`.`api_token` = BINARY '95a08be4b003cd259c4dd21a49aad384' AND `accounts`.`id` != 1) LIMIT 1
|
1474
|
+
[1m[36m (50.5ms)[0m [1mUPDATE `accounts` SET `name` = '', `updated_at` = '2012-07-31 16:14:46' WHERE `accounts`.`id` = 1[0m
|
1475
|
+
[1m[35m (20.3ms)[0m COMMIT
|
1476
|
+
Redirected to http://iugusdk.dev/settings/account/1
|
1477
|
+
Completed 302 Found in 116ms (ActiveRecord: 72.4ms)
|
1478
|
+
|
1479
|
+
|
1480
|
+
Started GET "/settings/account/1" for 127.0.0.1 at 2012-07-31 13:14:46 -0300
|
1481
|
+
Processing by Iugu::AccountController#view as HTML
|
1482
|
+
Parameters: {"id"=>"1"}
|
1483
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1484
|
+
[1m[35mAccount Load (0.3ms)[0m 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
|
1485
|
+
[1m[36mAccountDomain Load (0.2ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
|
1486
|
+
[1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1487
|
+
[1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1488
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1489
|
+
[1m[36mAccountRole Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1490
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1491
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1492
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1493
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1494
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1495
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1496
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1497
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1498
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1499
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1500
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1501
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1502
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
|
1503
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (21.3ms)
|
1504
|
+
Completed 200 OK in 39ms (Views: 33.1ms | ActiveRecord: 2.6ms)
|
1505
|
+
|
1506
|
+
|
1507
|
+
Started GET "/settings/account/1/users" for 127.0.0.1 at 2012-07-31 13:14:52 -0300
|
1508
|
+
Processing by Iugu::AccountUsersController#index as HTML
|
1509
|
+
Parameters: {"account_id"=>"1"}
|
1510
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1511
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
1512
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
|
1513
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
|
1514
|
+
[1m[36mAccountUser Load (0.4ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1[0m
|
1515
|
+
[1m[35mAccountRole Load (0.1ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
1516
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
1517
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
1518
|
+
[1m[36mAccountUser Load (0.3ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1[0m
|
1519
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
1520
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
1521
|
+
[1m[35mAccountRole Exists (0.3ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
1522
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_user_1_destroy' LIMIT 1[0m
|
1523
|
+
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
1524
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1[0m
|
1525
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
|
1526
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
|
1527
|
+
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
|
1528
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (19.7ms)
|
1529
|
+
Completed 200 OK in 112ms (Views: 106.5ms | ActiveRecord: 2.1ms)
|
1530
|
+
|
1531
|
+
|
1532
|
+
Started GET "/settings/accounts" for 127.0.0.1 at 2012-07-31 13:14:55 -0300
|
1533
|
+
Processing by Iugu::AccountController#index as HTML
|
1534
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1535
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
|
1536
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
|
1537
|
+
[1m[35mAccountUser Load (0.3ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
|
1538
|
+
[1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1539
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1540
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (7.9ms)
|
1541
|
+
Completed 200 OK in 19ms (Views: 15.8ms | ActiveRecord: 1.6ms)
|
1542
|
+
|
1543
|
+
|
1544
|
+
Started GET "/settings/account/1" for 127.0.0.1 at 2012-07-31 13:14:58 -0300
|
1545
|
+
Processing by Iugu::AccountController#view as HTML
|
1546
|
+
Parameters: {"id"=>"1"}
|
1547
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1548
|
+
[1m[35mAccount Load (0.2ms)[0m 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
|
1549
|
+
[1m[36mAccountDomain Load (0.2ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
|
1550
|
+
[1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1551
|
+
[1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1552
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1553
|
+
[1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1554
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1555
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1556
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1557
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1558
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1559
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1560
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1561
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1562
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
|
1563
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
|
1564
|
+
[1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
|
1565
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
|
1566
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
|
1567
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (20.9ms)
|
1568
|
+
Completed 200 OK in 34ms (Views: 28.6ms | ActiveRecord: 2.3ms)
|
1569
|
+
|
1570
|
+
|
1571
|
+
Started GET "/settings/profile" for 127.0.0.1 at 2012-07-31 13:15:02 -0300
|
1572
|
+
Processing by Iugu::ProfileController#index as HTML
|
1573
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1574
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
|
1575
|
+
DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from block in ___sers_patricknegri__esenvolvimento_iugusdk_app_views_iugu_settings_profile_html_haml___2152321752299560610_2169214360 at /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml:63)
|
1576
|
+
[1m[36mSocialAccount Load (0.2ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
|
1577
|
+
[1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1
|
1578
|
+
[1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
|
1579
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (124.8ms)
|
1580
|
+
Completed 200 OK in 140ms (Views: 120.7ms | ActiveRecord: 17.2ms)
|
1581
|
+
|
1582
|
+
|
1583
|
+
Started GET "/" for 127.0.0.1 at 2012-07-31 13:15:07 -0300
|
1584
|
+
Processing by DashboardController#index as HTML
|
1585
|
+
[1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
1586
|
+
Rendered dashboard/index.html.haml within layouts/application (1.1ms)
|
1587
|
+
Completed 200 OK in 61ms (Views: 59.3ms | ActiveRecord: 0.3ms)
|
1588
|
+
|
1589
|
+
|
1590
|
+
Started GET "/settings" for 127.0.0.1 at 2012-07-31 13:15:08 -0300
|
1591
|
+
Processing by Iugu::SettingsController#index as HTML
|
1592
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1593
|
+
Redirected to http://iugusdk.dev/settings/profile
|
1594
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
1595
|
+
|
1596
|
+
|
1597
|
+
Started GET "/settings/profile" for 127.0.0.1 at 2012-07-31 13:15:08 -0300
|
1598
|
+
Processing by Iugu::ProfileController#index as HTML
|
1599
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
1600
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
|
1601
|
+
DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from block in ___sers_patricknegri__esenvolvimento_iugusdk_app_views_iugu_settings_profile_html_haml___2152321752299560610_2169214360 at /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml:63)
|
1602
|
+
[1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
|
1603
|
+
[1m[36mSocialAccount Load (0.2ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1[0m
|
1604
|
+
[1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
|
1605
|
+
Rendered /Users/patricknegri/Desenvolvimento/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (91.7ms)
|
1606
|
+
Completed 200 OK in 102ms (Views: 98.8ms | ActiveRecord: 1.6ms)
|
1607
|
+
|
1608
|
+
|
1609
|
+
Started GET "/" for 127.0.0.1 at 2012-07-31 13:15:09 -0300
|
1610
|
+
Processing by DashboardController#index as HTML
|
1611
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
|
1612
|
+
Rendered dashboard/index.html.haml within layouts/application (0.1ms)
|
1613
|
+
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.4ms)
|
1614
|
+
|
1615
|
+
|
1616
|
+
Started DELETE "/logout" for 127.0.0.1 at 2012-07-31 13:15:10 -0300
|
1617
|
+
Processing by Iugu::SessionsController#destroy as HTML
|
1618
|
+
Parameters: {"authenticity_token"=>"rngr1HS6l9kqvtkPXxo6C24XedPbuTkdGz4ilFYKXIM="}
|
1619
|
+
[1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
|
1620
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1621
|
+
[1m[35m (0.1ms)[0m COMMIT
|
1622
|
+
Redirected to http://iugusdk.dev/
|
1623
|
+
Completed 302 Found in 19ms (ActiveRecord: 0.7ms)
|
1624
|
+
|
1625
|
+
|
1626
|
+
Started GET "/" for 127.0.0.1 at 2012-07-31 13:15:10 -0300
|
1627
|
+
Processing by DashboardController#index as HTML
|
1628
|
+
Rendered dashboard/splash.html.haml within layouts/application (2.4ms)
|
1629
|
+
Completed 200 OK in 80ms (Views: 79.1ms | ActiveRecord: 0.0ms)
|
1630
|
+
|
1631
|
+
|
1632
|
+
Started GET "/" for 127.0.0.1 at 2012-07-31 13:15:13 -0300
|
1633
|
+
Processing by DashboardController#index as HTML
|
1634
|
+
Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
|
1635
|
+
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
1636
|
+
|
1637
|
+
|
1638
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 13:15:13 -0300
|
1639
|
+
|
1640
|
+
|
1641
|
+
Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-07-31 13:15:13 -0300
|
1642
|
+
Served asset /default.css - 304 Not Modified (1ms)
|
1643
|
+
Served asset /application.css - 304 Not Modified (6ms)
|
1644
|
+
|
1645
|
+
|
1646
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 13:15:13 -0300
|
1647
|
+
|
1648
|
+
|
1649
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 13:15:13 -0300
|
1650
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
1651
|
+
Served asset /application.js - 304 Not Modified (5ms)
|
1652
|
+
|
1653
|
+
|
1654
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 13:15:13 -0300
|
1655
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
1656
|
+
Connecting to database specified by database.yml
|
1657
|
+
|
1658
|
+
|
1659
|
+
Started GET "/" for 127.0.0.1 at 2012-07-31 20:26:46 -0300
|
1660
|
+
Processing by DashboardController#index as HTML
|
1661
|
+
Rendered dashboard/splash.html.haml within layouts/application (4.0ms)
|
1662
|
+
Completed 200 OK in 251ms (Views: 230.1ms | ActiveRecord: 0.0ms)
|
1663
|
+
|
1664
|
+
|
1665
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 20:26:46 -0300
|
1666
|
+
Served asset /application.css - 304 Not Modified (5ms)
|
1667
|
+
|
1668
|
+
|
1669
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 20:26:46 -0300
|
1670
|
+
Served asset /jquery_ujs.js - 304 Not Modified (7ms)
|
1671
|
+
|
1672
|
+
|
1673
|
+
Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-07-31 20:26:46 -0300
|
1674
|
+
Served asset /default.css - 304 Not Modified (2ms)
|
1675
|
+
Connecting to database specified by database.yml
|
1676
|
+
|
1677
|
+
|
1678
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 20:27:00 -0300
|
1679
|
+
Served asset /application.js - 304 Not Modified (6ms)
|
1680
|
+
|
1681
|
+
|
1682
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 20:27:00 -0300
|
1683
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|