spec/dummy/log/development.log in iugusdk-1.0.0.alpha.4 vs spec/dummy/log/development.log in iugusdk-1.0.0.alpha.5
- old
+ new
@@ -1,7 +1,953 @@
Connecting to database specified by database.yml
- [1m[36m (18.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Connecting to database specified by database.yml
+ [1m[36m (140.5ms)[0m [1mCREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB[0m
+ [1m[35m (106.2ms)[0m CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (106.9ms)[0m [1mCREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB[0m
+ [1m[35m (97.9ms)[0m CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `subscription_id` int(11), `subdomain` varchar(255), `api_token` varchar(255)) ENGINE=InnoDB
+ [1m[36m (78.3ms)[0m [1mCREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (175.8ms)[0m CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
+ [1m[36m (98.0ms)[0m [1mCREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (97.9ms)[0m CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB
+ [1m[36m (97.3ms)[0m [1mCREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB[0m
+ [1m[35m (166.6ms)[0m CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)
+ [1m[36m (149.8ms)[0m [1mCREATE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (167.9ms)[0m CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
+ [1m[36m (98.8ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (141.8ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
+ [1m[36m (0.2ms)[0m [1mSELECT version FROM `schema_migrations`[0m
+ [1m[35m (31.5ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')
+ [1m[36m (49.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120615180728')[0m
+ [1m[35m (24.8ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120705202827')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529162901')[0m
+ [1m[35m (25.0ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120716145846')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')
+ [1m[36m (24.8ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529134109')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120612141130')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120725170859')[0m
+ [1m[35m (24.8ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120530114709')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120531171438')[0m
+ [1m[35m (83.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')
+ [1m[36m (5.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+ [1m[36m (2.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+ [1m[35m (0.5ms)[0m DROP DATABASE IF EXISTS `iugusdk_test`
+ [1m[36m (0.4ms)[0m [1mCREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
+ [1m[35m (93.3ms)[0m CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (64.6ms)[0m [1mCREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB[0m
+ [1m[35m (73.2ms)[0m CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (72.7ms)[0m [1mCREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `subscription_id` int(11), `subdomain` varchar(255), `api_token` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (67.1ms)[0m CREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (124.7ms)[0m [1mCREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)[0m
+ [1m[35m (63.9ms)[0m CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB
+ [1m[36m (56.3ms)[0m [1mCREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (64.4ms)[0m CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (134.6ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)[0m
+ [1m[35m (133.1ms)[0m CREATE INDEX `index_users_on_email` ON `users` (`email`)
+ [1m[36m (116.3ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)[0m
+ [1m[35m (65.2ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
+ [1m[36m (125.4ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
+ [1m[35m (0.3ms)[0m SELECT version FROM `schema_migrations`
+ [1m[36m (22.8ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120803172545')[0m
+ [1m[35m (24.8ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120719162426')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120604131034')[0m
+ [1m[35m (24.8ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529174755')[0m
+ [1m[35m (24.8ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120613173114')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529180814')[0m
+ [1m[35m (35.0ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')
+ [1m[36m (32.6ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120528164634')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629154429')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')
+ [1m[36m (33.1ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120605142527')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629195345')[0m
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:00:44 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (3.7ms)
+WARNING on line 74 of /home/alezonez/Projetos/iugusdk/spec/dummy/app/assets/stylesheets/default.sass:
+This selector doesn't have any properties and will not be rendered.
+Compiled default.css (152ms) (pid 8524)
+Compiled application.css (161ms) (pid 8524)
+Compiled jquery.js (14ms) (pid 8524)
+Compiled jquery_ujs.js (1ms) (pid 8524)
+Compiled application.js (124ms) (pid 8524)
+Completed 200 OK in 464ms (Views: 462.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-16 14:00:44 -0300
+Served asset /default.css - 200 OK (4ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-16 14:00:45 -0300
+Served asset /jquery_ujs.js - 200 OK (2ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-16 14:00:45 -0300
+Served asset /jquery.js - 200 OK (3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-16 14:00:45 -0300
+Served asset /application.css - 200 OK (6ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-16 14:00:45 -0300
+Served asset /application.js - 200 OK (9ms)
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-10-16 14:03:49 -0300
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.0ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.4ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4481.5ms)
+Completed 200 OK in 4522ms (Views: 4489.2ms | ActiveRecord: 2.5ms)
+
+
+Started POST "/signup" for 127.0.0.1 at 2012-10-16 14:04:03 -0300
+Processing by Iugu::RegistrationsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"A3MV/fOG9yeXj1FpnMeT5zF8dhvRn1t8I586A2g9QNQ=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'alexandre@iugu.com' LIMIT 1
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'uGKs73R6HJkt2L6yf6Mb' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-16 17:04:04', 'uGKs73R6HJkt2L6yf6Mb', '2012-10-16 17:04:04', '2012-10-16 17:04:04', 'alexandre@iugu.com', '$2a$10$/GzKLJLkSZdZF5ffHKUVSOYWTbZdEuQrz2h6Q3C7/a4yTsgARHxFu', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-16 17:04:04')
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('4be3b81b18bbce5ee785a118259d72c9', '2012-10-16 17:04:04', NULL, NULL, NULL, '2012-10-16 17:04:04')[0m
+ [1m[35m (0.4ms)[0m UPDATE `accounts` SET `api_token` = '4be3b81b18bbce5ee785a118259d72c9', `created_at` = '2012-10-16 17:04:04', `updated_at` = '2012-10-16 17:04:04', `subdomain` = 'account1' WHERE `accounts`.`id` = 1
+ [1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (1, 1)
+ [1m[36mAccountRole Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 1) LIMIT 1[0m
+ [1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'owner')[0m
+ [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` = 1) LIMIT 1
+ [1m[36mAccountUser Load (0.3ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'admin')
+ [1m[36m (79.5ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/
+ [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 = NULL) LIMIT 1
+ [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 LIMIT 1[0m
+Completed 302 Found in 1117ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:04:04 -0300
+Processing by DashboardController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered dashboard/index.html.haml within layouts/application (1.8ms)
+Completed 200 OK in 13ms (Views: 10.0ms | ActiveRecord: 0.5ms)
+
+
+Started DELETE "/logout" for 127.0.0.1 at 2012-10-16 14:04:07 -0300
+Processing by Iugu::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"A3MV/fOG9yeXj1FpnMeT5zF8dhvRn1t8I586A2g9QNQ="}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/
+Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:04:07 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (1.1ms)
+Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-16 14:04:08 -0300
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (16.1ms)
+Completed 200 OK in 26ms (Views: 22.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/login" for 127.0.0.1 at 2012-10-16 14:04:13 -0300
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ASRqBHWySeSW4EqJpe+VrO4jwaHRnOKWP5wSjYy7ulc=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1
+Redirected to http://iugusdk.dev:3000/
+ [1m[36mAccount Load (0.6ms)[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
+Completed 302 Found in 384ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:04:13 -0300
+Processing by DashboardController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered dashboard/index.html.haml within layouts/application (0.2ms)
+Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:04:33 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:04:33 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.5ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (47.8ms)
+Compiled settings.css (167ms) (pid 8524)
+Compiled jquery-ui.js (8ms) (pid 8524)
+Compiled settings_code.js (75ms) (pid 8524)
+Compiled settings.js (188ms) (pid 8524)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
+Completed 200 OK in 543ms (Views: 534.4ms | ActiveRecord: 5.2ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-16 14:04:34 -0300
+Served asset /settings.css - 200 OK (3ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-16 14:04:34 -0300
+Served asset /settings_code.js - 200 OK (3ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-16 14:04:34 -0300
+Served asset /settings.js - 200 OK (14ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-16 14:04:34 -0300
+Served asset /jquery-ui.js - 200 OK (3ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-16 14:04:34 -0300
+Served asset /application_logo.png - 200 OK (7ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:05:41 -0300
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (2.0ms)
+Completed 200 OK in 270ms (Views: 155.9ms | ActiveRecord: 3.0ms)
+
+
+Started DELETE "/logout" for 127.0.0.1 at 2012-10-16 14:05:43 -0300
+Processing by Iugu::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"ASRqBHWySeSW4EqJpe+VrO4jwaHRnOKWP5wSjYy7ulc="}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/
+Completed 302 Found in 3348ms (ActiveRecord: 0.9ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:05:46 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (7.6ms)
+Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-16 14:05:48 -0300
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (735.5ms)
+Completed 200 OK in 747ms (Views: 744.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/login" for 127.0.0.1 at 2012-10-16 14:05:56 -0300
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZEQPGYrJ+HeSWH59Sq5FeKu+900AzBZIBao/ZxvylEE=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/
+ [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 = '1') LIMIT 1
+Completed 302 Found in 743ms (ActiveRecord: 3.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:05:56 -0300
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (0.2ms)
+Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 0.5ms)
+
+
+Started DELETE "/logout" for 127.0.0.1 at 2012-10-16 14:06:24 -0300
+Processing by Iugu::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"ZEQPGYrJ+HeSWH59Sq5FeKu+900AzBZIBao/ZxvylEE="}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/
+Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:06:24 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (1.0ms)
+Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-10-16 14:06:25 -0300
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.4ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (91.7ms)
+Completed 200 OK in 103ms (Views: 100.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/signup" for 127.0.0.1 at 2012-10-16 14:06:33 -0300
+Processing by Iugu::RegistrationsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LEXPbL0AeCBT5uxwVKRkPyBr98+JHDndCA4q3V5k6u8=", "user"=>{"email"=>"alexandre@iugu.com.br", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'alexandre@iugu.com.br' LIMIT 1
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'qw57spLBFDzhjsp4Lysn' LIMIT 1[0m
+ [1m[35mSQL (3.0ms)[0m INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-16 17:06:33', 'qw57spLBFDzhjsp4Lysn', '2012-10-16 17:06:33', '2012-10-16 17:06:33', 'alexandre@iugu.com.br', '$2a$10$InzIK3E2bBHUtRXLEFz0auFkfNcLJWKFA.eOwV61qwNHvtpmhtQrS', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-16 17:06:33')
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('0090756ca5beca44a11d84ff79032755', '2012-10-16 17:06:33', NULL, NULL, NULL, '2012-10-16 17:06:33')[0m
+ [1m[35m (0.5ms)[0m UPDATE `accounts` SET `api_token` = '0090756ca5beca44a11d84ff79032755', `created_at` = '2012-10-16 17:06:33', `updated_at` = '2012-10-16 17:06:33', `subdomain` = 'account2' WHERE `accounts`.`id` = 2
+ [1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 2 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (2, 2)
+ [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
+ [1m[35mAccountUser Load (0.3ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'owner')[0m
+ [1m[35mAccountRole Exists (0.4ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 2) LIMIT 1
+ [1m[36mAccountUser Load (0.3ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'admin')
+ [1m[36m (41.6ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/
+ [1m[35mAccount Load (0.6ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 2 AND (accounts.id = '1') LIMIT 1
+ [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` = 2 LIMIT 1[0m
+Completed 302 Found in 619ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:06:34 -0300
+Processing by DashboardController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1
+ Rendered dashboard/index.html.haml within layouts/application (0.2ms)
+Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.5ms)
+Connecting to database specified by database.yml
+
+
+Started DELETE "/logout" for 127.0.0.1 at 2012-10-16 14:09:32 -0300
+Processing by Iugu::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"LEXPbL0AeCBT5uxwVKRkPyBr98+JHDndCA4q3V5k6u8="}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/
+Completed 302 Found in 3333ms (ActiveRecord: 3.3ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:09:37 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (4.0ms)
+Completed 200 OK in 173ms (Views: 171.0ms | ActiveRecord: 0.0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-16 14:13:58 -0300
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (4615.0ms)
+Completed 200 OK in 4807ms (Views: 4772.3ms | ActiveRecord: 2.2ms)
+
+
+Started POST "/login" for 127.0.0.1 at 2012-10-16 14:14:08 -0300
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"+0L1Vfl+VvfZYFDFMhEK1fyy+kKAVc2MLNHa3xD6RP4=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (0.7ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/settings
+ [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 = '2') LIMIT 1
+ [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 LIMIT 1[0m
+Completed 302 Found in 758ms (ActiveRecord: 4.8ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:14:09 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:14:09 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (59.2ms)
+ [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
+Completed 200 OK in 174ms (Views: 164.6ms | ActiveRecord: 6.2ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:14:17 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:14:17 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (27.2ms)
+ [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
+Completed 200 OK in 47ms (Views: 43.1ms | ActiveRecord: 2.1ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:14:24 -0300
+Processing by DashboardController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered dashboard/index.html.haml within layouts/application (1.9ms)
+Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.5ms)
+
+
+Started DELETE "/logout" for 127.0.0.1 at 2012-10-16 14:14:25 -0300
+Processing by Iugu::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"+0L1Vfl+VvfZYFDFMhEK1fyy+kKAVc2MLNHa3xD6RP4="}
+ [1m[36mUser Load (0.7ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/
+Completed 302 Found in 84ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:14:25 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (4.0ms)
+Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-10-16 14:14:27 -0300
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (26.9ms)
+Completed 200 OK in 38ms (Views: 35.4ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/signup" for 127.0.0.1 at 2012-10-16 14:14:36 -0300
+Processing by Iugu::RegistrationsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"S9SqodKPz668BZ4Z8UX1A5rEhLi0aA84idVgUufAF4s=", "user"=>{"email"=>"testando@mto.test", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mUser Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testando@mto.test' LIMIT 1[0m
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'wzsgCXWnpYuWVgqpqTDJ' LIMIT 1
+ [1m[36mSQL (3.0ms)[0m [1mINSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-16 17:14:36', 'wzsgCXWnpYuWVgqpqTDJ', '2012-10-16 17:14:36', '2012-10-16 17:14:36', 'testando@mto.test', '$2a$10$CVI6dGcKbn01KnDhGTzbQekxmjXSOAeANyJbdLrlZMh7i67hbFsom', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-16 17:14:36')[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('667f9a0c98f1bddded8f035b2ad11c4c', '2012-10-16 17:14:36', NULL, NULL, NULL, '2012-10-16 17:14:36')
+ [1m[36m (0.4ms)[0m [1mUPDATE `accounts` SET `api_token` = '667f9a0c98f1bddded8f035b2ad11c4c', `created_at` = '2012-10-16 17:14:36', `updated_at` = '2012-10-16 17:14:36', `subdomain` = 'account3' WHERE `accounts`.`id` = 3[0m
+ [1m[35mAccount Load (0.5ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 3 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `account_users` (`account_id`, `user_id`) VALUES (3, 3)[0m
+ [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` = 3) LIMIT 1
+ [1m[36mAccountUser Load (0.4ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'owner')
+ [1m[36mAccountRole Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 3) LIMIT 1[0m
+ [1m[35mAccountUser Load (0.3ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'admin')[0m
+ [1m[35m (42.0ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings
+ [1m[36mAccount Load (0.6ms)[0m [1mSELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 3 AND (accounts.id = '1') LIMIT 1[0m
+ [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` = 3 LIMIT 1
+Completed 302 Found in 604ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:14:37 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:14:37 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_3_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 3
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 3 AND `social_accounts`.`provider` = 'facebook' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 3 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (26.4ms)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 3[0m
+Completed 200 OK in 46ms (Views: 41.9ms | ActiveRecord: 2.5ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:16:33 -0300
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (2.1ms)
+Completed 200 OK in 261ms (Views: 151.6ms | ActiveRecord: 2.5ms)
+
+
+Started DELETE "/logout" for 127.0.0.1 at 2012-10-16 14:16:40 -0300
+Processing by Iugu::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"S9SqodKPz668BZ4Z8UX1A5rEhLi0aA84idVgUufAF4s="}
+ [1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/
+Completed 302 Found in 3176ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:16:43 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (3.8ms)
+Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-10-16 14:16:46 -0300
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (710.8ms)
+Completed 200 OK in 783ms (Views: 780.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:16:57 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (1.0ms)
+Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-16 14:24:24 -0300
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (7.0ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (4411.8ms)
+Completed 200 OK in 4587ms (Views: 4556.7ms | ActiveRecord: 2.0ms)
+
+
+Started POST "/login" for 127.0.0.1 at 2012-10-16 14:24:37 -0300
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"xEo9alAqqq7vSa/gR7tONaOG/G16hHcxhYDhmk062Y0=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (0.7ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/
+ [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 = '3') LIMIT 1
+ [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 LIMIT 1[0m
+Completed 302 Found in 735ms (ActiveRecord: 4.2ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:24:38 -0300
+Processing by DashboardController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered dashboard/index.html.haml within layouts/application (1.7ms)
+Completed 200 OK in 15ms (Views: 11.8ms | ActiveRecord: 0.5ms)
+
+
+Started DELETE "/logout" for 127.0.0.1 at 2012-10-16 14:24:39 -0300
+Processing by Iugu::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"xEo9alAqqq7vSa/gR7tONaOG/G16hHcxhYDhmk062Y0="}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/
+Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:24:39 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (3.4ms)
+Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:30:45 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (4.1ms)
+Completed 200 OK in 102ms (Views: 100.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-16 14:30:46 -0300
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.6ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (4649.8ms)
+Completed 200 OK in 4694ms (Views: 4658.5ms | ActiveRecord: 2.5ms)
+
+
+Started POST "/login" for 127.0.0.1 at 2012-10-16 14:30:56 -0300
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"R1dvOvDToAUlGbJriMf4VnS2RFzWh0/Qc3WfhkiQTGo=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (0.7ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/
+ [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
+Completed 302 Found in 825ms (ActiveRecord: 3.8ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:30:56 -0300
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (1.8ms)
+Completed 200 OK in 15ms (Views: 11.9ms | ActiveRecord: 0.4ms)
+
+
+Started DELETE "/logout" for 127.0.0.1 at 2012-10-16 14:30:58 -0300
+Processing by Iugu::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"R1dvOvDToAUlGbJriMf4VnS2RFzWh0/Qc3WfhkiQTGo="}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/signup
+Completed 302 Found in 12ms (ActiveRecord: 0.8ms)
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-10-16 14:30:58 -0300
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.3ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (95.7ms)
+Completed 200 OK in 107ms (Views: 104.4ms | ActiveRecord: 0.0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:31:58 -0300
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (4.0ms)
+Completed 200 OK in 100ms (Views: 98.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-16 14:32:01 -0300
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (4649.0ms)
+Completed 200 OK in 4692ms (Views: 4657.8ms | ActiveRecord: 2.1ms)
+
+
+Started POST "/login" for 127.0.0.1 at 2012-10-16 14:32:18 -0300
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"1lM2WNYm0gc4Mcc9tfL9bkk7WGEgP5fdWsnT4VjHxis=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (0.7ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/
+ [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 = '1') LIMIT 1
+Completed 302 Found in 821ms (ActiveRecord: 3.8ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:32:19 -0300
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (3.2ms)
+Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:35:00 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:35:00 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (54.9ms)
+ [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
+Completed 200 OK in 169ms (Views: 161.1ms | ActiveRecord: 5.4ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:35:02 -0300
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (0.4ms)
+Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:35:04 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:35:04 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (30.6ms)
+ [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
+Completed 200 OK in 55ms (Views: 48.8ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-16 14:35:21 -0300
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (0.2ms)
+Completed 200 OK in 17ms (Views: 12.7ms | ActiveRecord: 0.5ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:37:25 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 118ms (ActiveRecord: 3.0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:37:26 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (4819.7ms)
+ [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
+Completed 200 OK in 5256ms (Views: 5170.2ms | ActiveRecord: 9.1ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:37:33 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:37:33 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.6ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.2ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1
+ [1m[36mSocialAccount Load (0.2ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (25.4ms)
+ [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
+Completed 200 OK in 110ms (Views: 105.9ms | ActiveRecord: 2.2ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:37:36 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:37:36 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (26.5ms)
+ [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
+Completed 200 OK in 50ms (Views: 44.7ms | ActiveRecord: 2.5ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-16 14:37:38 -0300
+Processing by Iugu::SettingsController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 14:37:38 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.2ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (25.3ms)
+ [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
+Completed 200 OK in 44ms (Views: 40.1ms | ActiveRecord: 1.9ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 16:20:18 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (4515.9ms)
+ [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
+Completed 200 OK in 5144ms (Views: 4907.8ms | ActiveRecord: 11.2ms)
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-16 16:22:57 -0300
+Processing by Iugu::AccountController#view as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.5ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (27.6ms)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
+Completed 200 OK in 396ms (Views: 43.1ms | ActiveRecord: 7.8ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 16:23:00 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.5ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (24.9ms)
+ [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
+Completed 200 OK in 48ms (Views: 42.3ms | ActiveRecord: 2.7ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 16:25:17 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.2ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1
+ [1m[36mSocialAccount Load (0.2ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (4785.2ms)
+ [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
+Completed 200 OK in 5451ms (Views: 5197.5ms | ActiveRecord: 11.2ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-16 16:25:22 -0300
+Served asset /settings.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:22 -0300
+Served asset /jquery_ujs.js - 304 Not Modified (19ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:22 -0300
+Served asset /jquery.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:22 -0300
+Served asset /settings.js - 304 Not Modified (16ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:22 -0300
+Served asset /settings_code.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:22 -0300
+Served asset /jquery-ui.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-16 16:25:22 -0300
+Served asset /application_logo.png - 304 Not Modified (3ms)
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-16 16:25:25 -0300
+Processing by Iugu::AccountController#view as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.5ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountDomain Load (0.5ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (94.4ms)
+ [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
+Completed 200 OK in 493ms (Views: 112.0ms | ActiveRecord: 8.0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-16 16:25:26 -0300
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:26 -0300
+Served asset /jquery.js - 304 Not Modified (12ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:26 -0300
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:26 -0300
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:26 -0300
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:26 -0300
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-16 16:25:26 -0300
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-16 16:25:27 -0300
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (24.3ms)
+ [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
+Completed 200 OK in 44ms (Views: 39.1ms | ActiveRecord: 2.2ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-16 16:25:28 -0300
+Served asset /settings.css - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:28 -0300
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:28 -0300
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:28 -0300
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:28 -0300
+Served asset /settings.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-16 16:25:28 -0300
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-16 16:25:28 -0300
+Served asset /application_logo.png - 304 Not Modified (0ms)
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+ [1m[36m (26.9ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
Migrating to CreateAccount (20120528164634)
Migrating to AddDeviseToUsers (20120529134109)
Migrating to AddBirthdateAndNameToUser (20120529162901)
Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
Migrating to CreateAccountUsers (20120529180814)
@@ -18,20 +964,556 @@
Migrating to CreateAccountDomain (20120716145846)
Migrating to AddSubdomainToAccount (20120719162426)
Migrating to AddApiTokenToAccount (20120725170859)
Migrating to AddGuestToUsers (20120803172545)
Migrating to CreateApiToken (20121023113304)
- [1m[35m (138.7ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
- [1m[36m (20.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')[0m
- [1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+ [1m[35m (109.5ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `type` varchar(255)) ENGINE=InnoDB
+ [1m[36m (23.6ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')[0m
+ [1m[35m (0.3ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
Connecting to database specified by database.yml
+ [1m[36m (2.9ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+ [1m[35m (0.3ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Migrating to CreateApiToken (20121023113304)
+ [1m[36m (56.6ms)[0m [1mDROP TABLE `api_tokens`[0m
+ [1m[35m (42.2ms)[0m DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20121023113304'
+ [1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Connecting to database specified by database.yml
+ [1m[36m (2.7ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+Migrating to AddDeviseToUsers (20120529134109)
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+Migrating to CreateAccountUsers (20120529180814)
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+Migrating to CreateAccountRoles (20120531171438)
+Migrating to AddLocaleToUser (20120604131034)
+Migrating to CreateSocialAccount (20120605142527)
+Migrating to SetLocale (20120612141130)
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+Migrating to CreateDelayedJobs (20120615180728)
+Migrating to CreateUserInvitations (20120629154429)
+Migrating to AddTokenToUserInvitations (20120629195345)
+Migrating to AddRolesToUserInvitations (20120705202827)
+Migrating to CreateAccountDomain (20120716145846)
+Migrating to AddSubdomainToAccount (20120719162426)
+Migrating to AddApiTokenToAccount (20120725170859)
+Migrating to AddGuestToUsers (20120803172545)
+Migrating to CreateApiToken (20121023113304)
+ [1m[35m (102.5ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (23.8ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')[0m
+ [1m[35m (0.3ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Connecting to database specified by database.yml
+ [1m[36m (2.6ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+ [1m[35m (309.3ms)[0m DROP DATABASE IF EXISTS `iugusdk_test`
+ [1m[36m (0.4ms)[0m [1mCREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
+ [1m[35m (100.3ms)[0m CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (64.4ms)[0m [1mCREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB[0m
+ [1m[35m (65.6ms)[0m CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (64.5ms)[0m [1mCREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `subscription_id` int(11), `subdomain` varchar(255), `api_token` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (56.5ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (67.0ms)[0m [1mCREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (125.5ms)[0m CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
+ [1m[36m (56.1ms)[0m [1mCREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (73.1ms)[0m CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB
+ [1m[36m (64.0ms)[0m [1mCREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB[0m
+ [1m[35m (125.0ms)[0m CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)
+ [1m[36m (141.7ms)[0m [1mCREATE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (133.1ms)[0m CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (126.8ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
+ [1m[36m (0.3ms)[0m [1mSELECT version FROM `schema_migrations`[0m
+ [1m[35m (22.5ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')
+ [1m[36m (24.8ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120615180728')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120705202827')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529162901')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120716145846')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120803172545')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529180814')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120528164634')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629154429')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120605142527')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629195345')[0m
+Connecting to database specified by database.yml
+ [1m[36m (2.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+ [1m[35m (0.3ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Migrating to CreateApiToken (20121023113304)
+ [1m[36m (55.0ms)[0m [1mDROP TABLE `api_tokens`[0m
+ [1m[35m (48.9ms)[0m DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20121023113304'
+ [1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Connecting to database specified by database.yml
+ [1m[36m (2.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+Migrating to AddDeviseToUsers (20120529134109)
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+Migrating to CreateAccountUsers (20120529180814)
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+Migrating to CreateAccountRoles (20120531171438)
+Migrating to AddLocaleToUser (20120604131034)
+Migrating to CreateSocialAccount (20120605142527)
+Migrating to SetLocale (20120612141130)
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+Migrating to CreateDelayedJobs (20120615180728)
+Migrating to CreateUserInvitations (20120629154429)
+Migrating to AddTokenToUserInvitations (20120629195345)
+Migrating to AddRolesToUserInvitations (20120705202827)
+Migrating to CreateAccountDomain (20120716145846)
+Migrating to AddSubdomainToAccount (20120719162426)
+Migrating to AddApiTokenToAccount (20120725170859)
+Migrating to AddGuestToUsers (20120803172545)
+Migrating to CreateApiToken (20121023113304)
+ [1m[35m (101.9ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (24.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')[0m
+ [1m[35m (0.4ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Connecting to database specified by database.yml
+ [1m[36m (2.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+ [1m[35m (331.3ms)[0m DROP DATABASE IF EXISTS `iugusdk_test`
+ [1m[36m (0.6ms)[0m [1mCREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
+ [1m[35m (79.6ms)[0m CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (64.7ms)[0m [1mCREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB[0m
+ [1m[35m (64.6ms)[0m CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (64.7ms)[0m [1mCREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `subscription_id` int(11), `subdomain` varchar(255), `api_token` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (65.3ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (56.8ms)[0m [1mCREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (140.9ms)[0m CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
+ [1m[36m (55.8ms)[0m [1mCREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (74.0ms)[0m CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB
+ [1m[36m (72.1ms)[0m [1mCREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB[0m
+ [1m[35m (200.0ms)[0m CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)
+ [1m[36m (149.6ms)[0m [1mCREATE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (141.4ms)[0m CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (125.2ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
+ [1m[36m (0.3ms)[0m [1mSELECT version FROM `schema_migrations`[0m
+ [1m[35m (22.1ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')
+ [1m[36m (33.1ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120615180728')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120705202827')[0m
+ [1m[35m (34.4ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529162901')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120716145846')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120803172545')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529180814')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120528164634')[0m
+ [1m[35m (33.1ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629154429')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120605142527')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629195345')[0m
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+ [1m[36m (2.9ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+ [1m[35m (0.3ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Migrating to CreateApiToken (20121023113304)
+ [1m[36m (55.1ms)[0m [1mDROP TABLE `api_tokens`[0m
+ [1m[35m (34.1ms)[0m DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20121023113304'
+ [1m[36m (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Connecting to database specified by database.yml
+ [1m[36m (2.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+Migrating to AddDeviseToUsers (20120529134109)
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+Migrating to CreateAccountUsers (20120529180814)
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+Migrating to CreateAccountRoles (20120531171438)
+Migrating to AddLocaleToUser (20120604131034)
+Migrating to CreateSocialAccount (20120605142527)
+Migrating to SetLocale (20120612141130)
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+Migrating to CreateDelayedJobs (20120615180728)
+Migrating to CreateUserInvitations (20120629154429)
+Migrating to AddTokenToUserInvitations (20120629195345)
+Migrating to AddRolesToUserInvitations (20120705202827)
+Migrating to CreateAccountDomain (20120716145846)
+Migrating to AddSubdomainToAccount (20120719162426)
+Migrating to AddApiTokenToAccount (20120725170859)
+Migrating to AddGuestToUsers (20120803172545)
+Migrating to CreateApiToken (20121023113304)
+ [1m[35m (141.7ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (23.7ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')[0m
+ [1m[35m (0.4ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Connecting to database specified by database.yml
+ [1m[36m (2.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+ [1m[35m (317.7ms)[0m DROP DATABASE IF EXISTS `iugusdk_test`
+ [1m[36m (0.6ms)[0m [1mCREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
+ [1m[35m (76.5ms)[0m CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (64.9ms)[0m [1mCREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB[0m
+ [1m[35m (64.2ms)[0m CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (65.9ms)[0m [1mCREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `subscription_id` int(11), `subdomain` varchar(255), `api_token` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (65.8ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (77.0ms)[0m [1mCREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (141.1ms)[0m CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
+ [1m[36m (64.0ms)[0m [1mCREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (72.7ms)[0m CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB
+ [1m[36m (72.5ms)[0m [1mCREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB[0m
+ [1m[35m (116.3ms)[0m CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)
+ [1m[36m (141.3ms)[0m [1mCREATE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (133.3ms)[0m CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
+ [1m[36m (66.8ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (125.5ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
+ [1m[36m (0.3ms)[0m [1mSELECT version FROM `schema_migrations`[0m
+ [1m[35m (22.0ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120615180728')[0m
+ [1m[35m (24.8ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120705202827')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529162901')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120716145846')[0m
+ [1m[35m (25.0ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120803172545')[0m
+ [1m[35m (25.0ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529180814')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120528164634')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629154429')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120605142527')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629195345')[0m
+Connecting to database specified by database.yml
-Started POST "/signup" for 127.0.0.1 at 2012-10-26 14:22:54 -0200
+Started GET "/" for 127.0.0.1 at 2012-10-23 15:17:09 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (7.7ms)
+Completed 200 OK in 284ms (Views: 282.2ms | ActiveRecord: 0.0ms)
-ActionController::RoutingError (No route matches [POST] "/signup"):
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-23 15:17:10 -0200
+Served asset /default.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:10 -0200
+Served asset /application.js - 304 Not Modified (12ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:10 -0200
+Served asset /jquery.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:17:10 -0200
+Served asset /application.css - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:10 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (3ms)
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-10-23 15:17:12 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.4ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4784.1ms)
+Completed 200 OK in 4836ms (Views: 4800.6ms | ActiveRecord: 2.7ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-23 15:17:17 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (17.2ms)
+Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:17:17 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:17 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:17 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:17 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-23 15:17:17 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started POST "/login" for 127.0.0.1 at 2012-10-23 15:17:22 -0200
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/
+ [1m[35mAccount Load (0.6ms)[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
+Completed 302 Found in 874ms (ActiveRecord: 4.2ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-23 15:17:22 -0200
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (1.8ms)
+Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:17:22 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-23 15:17:23 -0200
+Served asset /default.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:23 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:23 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:23 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-23 15:17:24 -0200
+Processing by Iugu::SettingsController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-23 15:17:24 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (59.6ms)
+ [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
+Completed 200 OK in 306ms (Views: 296.9ms | ActiveRecord: 5.9ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:25 -0200
+Served asset /jquery.js - 304 Not Modified (12ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:25 -0200
+Served asset /jquery-ui.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:17:25 -0200
+Served asset /settings.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:25 -0200
+Served asset /settings_code.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:25 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:25 -0200
+Served asset /settings.js - 304 Not Modified (12ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:17:25 -0200
+Served asset /application_logo.png - 304 Not Modified (22ms)
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:17:26 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountDomain Load (0.5ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (31.3ms)
+ [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
+Completed 200 OK in 434ms (Views: 50.3ms | ActiveRecord: 7.0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:17:27 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:27 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:27 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:27 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:27 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:17:27 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:17:27 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:18:40 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.4ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountDomain Load (0.5ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.3ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (4883.0ms)
+ [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
+Completed 200 OK in 5841ms (Views: 5138.5ms | ActiveRecord: 17.9ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:18:46 -0200
+Served asset /settings.css - 304 Not Modified (17ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:18:46 -0200
+Served asset /jquery.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:18:46 -0200
+Served asset /jquery-ui.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:18:46 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:18:46 -0200
+Served asset /settings_code.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:18:46 -0200
+Served asset /settings.js - 304 Not Modified (11ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:18:46 -0200
+Served asset /application_logo.png - 304 Not Modified (2ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:18:54 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"live", "description"=>"asdasd", "commit"=>"Save", "account_id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [1m[35mAccount Load (0.6ms)[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
+Completed 500 Internal Server Error in 16ms
+
+NoMethodError (undefined method `update_api_token' for #<Account:0x007f609409ba18>):
+ activemodel (3.2.8) lib/active_model/attribute_methods.rb:407:in `method_missing'
+ activerecord (3.2.8) lib/active_record/attribute_methods.rb:149:in `method_missing'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/account_controller.rb:56:in `generate_new_token'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:458:in `_run__3337990169769952140__process_action__2817074314503363042__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1876641526069360337__call__2879307381100586237__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
@@ -42,351 +1524,1237 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (32.0ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.6ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (33.0ms)
-Started POST "/signup" for 127.0.0.1 at 2012-10-26 14:23:08 -0200
-Processing by Iugu::RegistrationsController#create as */*
-WARNING: Can't verify CSRF token authenticity
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.7ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.5ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (1292.8ms)
-WARNING on line 74 of /home/patrick/Desenvolvimento/iugusdk/spec/dummy/app/assets/stylesheets/default.sass:
-This selector doesn't have any properties and will not be rendered.
-Compiled default.css (135ms) (pid 31884)
-Compiled application.css (143ms) (pid 31884)
-Compiled jquery.js (44ms) (pid 31884)
-Compiled jquery_ujs.js (0ms) (pid 31884)
-Compiled application.js (85ms) (pid 31884)
-Completed 200 OK in 6314ms (Views: 1596.0ms | ActiveRecord: 0.0ms)
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:22:20 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.4ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountRole Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.3ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (4286.9ms)
+ [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
+Completed 200 OK in 4526ms (Views: 4304.7ms | ActiveRecord: 16.2ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:23:41 -0200
-Processing by Iugu::RegistrationsController#create as JSON
-WARNING: Can't verify CSRF token authenticity
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Completed 422 Unprocessable Entity in 4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:22:24 -0200
+Served asset /settings.css - 304 Not Modified (13ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:05 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"email"=>"patricknegri@gmail.com", "password"=>"[FILTERED]"}
-WARNING: Can't verify CSRF token authenticity
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Completed 422 Unprocessable Entity in 5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:22:24 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:13 -0200
-Processing by Iugu::RegistrationsController#new as JSON
-Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:22:24 -0200
+Served asset /settings.js - 304 Not Modified (4ms)
-Started GET "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:17 -0200
-Processing by Iugu::RegistrationsController#new as JSON
-Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:22:24 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
-Processing by DashboardController#index as HTML
- Rendered dashboard/splash.html.haml within layouts/application (2.6ms)
-Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:22:24 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
-Served asset /application.css - 200 OK (3ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:22:25 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
-Served asset /default.css - 200 OK (1ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:22:25 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
-Served asset /jquery_ujs.js - 200 OK (1ms)
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:26:25 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountDomain Load (0.5ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (4939.7ms)
+ [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
+Completed 200 OK in 5835ms (Views: 5129.6ms | ActiveRecord: 18.1ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
-Served asset /jquery.js - 200 OK (2ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:26:31 -0200
+Served asset /settings.css - 304 Not Modified (16ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 14:24:20 -0200
-Served asset /application.js - 200 OK (52ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:31 -0200
+Served asset /settings_code.js - 304 Not Modified (2ms)
-Started GET "/signup" for 127.0.0.1 at 2012-10-26 14:24:25 -0200
-Processing by Iugu::RegistrationsController#new as HTML
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (1.2ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (12.4ms)
-Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:31 -0200
+Served asset /jquery-ui.js - 304 Not Modified (7ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:43 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"patricknegri@gmail.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:31 -0200
+Served asset /jquery.js - 304 Not Modified (6ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:31 -0200
+Served asset /settings.js - 304 Not Modified (12ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:31 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:26:31 -0200
+Served asset /application_logo.png - 304 Not Modified (71ms)
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:26:58 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.4ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (36.3ms)
+ [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
+Completed 200 OK in 78ms (Views: 59.5ms | ActiveRecord: 4.5ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:58 -0200
+Served asset /jquery.js - 304 Not Modified (11ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:58 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:26:58 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:58 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:58 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:26:58 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:26:59 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:27:04 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"coco", "commit"=>"Save", "account_id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [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
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mApiToken Exists (0.5ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1
+ [1m[36mApiToken Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'coco' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO `api_tokens` (`api_type`, `created_at`, `description`, `token`, `tokenable_id`, `tokenable_type`, `updated_at`) VALUES ('test', '2012-10-23 17:27:04', 'coco', '934a9049d9e81b31fab3dad80b4d8320', 1, 'Account', '2012-10-23 17:27:04')[0m
+ [1m[35m (40.9ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 170ms (ActiveRecord: 44.9ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:27:05 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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` = 1 LIMIT 1
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.4ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.6ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (34.4ms)
+ [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
+Completed 200 OK in 71ms (Views: 60.2ms | ActiveRecord: 4.5ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:27:05 -0200
+Served asset /settings.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:05 -0200
+Served asset /jquery.js - 304 Not Modified (19ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:05 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:05 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:05 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:05 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:27:05 -0200
+Served asset /application_logo.png - 304 Not Modified (71ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:27:12 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"xixi", "commit"=>"Save", "account_id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [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
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mApiToken Exists (0.3ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1
+ [1m[36mApiToken Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'xixi' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `api_tokens` (`api_type`, `created_at`, `description`, `token`, `tokenable_id`, `tokenable_type`, `updated_at`) VALUES ('test', '2012-10-23 17:27:12', 'xixi', 'c275de7c626c6dd688bd28b39521c54f', 1, 'Account', '2012-10-23 17:27:12')[0m
+ [1m[35m (106.0ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 132ms (ActiveRecord: 109.1ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:27:12 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [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
+ [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
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (30.0ms)
+ [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
+Completed 200 OK in 53ms (Views: 44.2ms | ActiveRecord: 3.9ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:27:12 -0200
+Served asset /settings.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:12 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:12 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:12 -0200
+Served asset /settings_code.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:12 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:12 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:27:12 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:27:31 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (37.3ms)
+ [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
+Completed 200 OK in 63ms (Views: 51.2ms | ActiveRecord: 4.2ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:31 -0200
+Served asset /jquery-ui.js - 304 Not Modified (19ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:31 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:27:31 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:31 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:31 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:31 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:27:31 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:27:39 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [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
+ [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
+ [1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (35.7ms)
+ [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
+Completed 200 OK in 68ms (Views: 58.9ms | ActiveRecord: 3.3ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:40 -0200
+Served asset /settings.js - 304 Not Modified (84ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:40 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:40 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:27:40 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:40 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:27:40 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:27:40 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:28:02 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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` = 1 LIMIT 1
+ [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
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (45.3ms)
+ [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
+Completed 200 OK in 73ms (Views: 63.0ms | ActiveRecord: 4.2ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:02 -0200
+Served asset /jquery.js - 304 Not Modified (11ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:02 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:02 -0200
+Served asset /settings.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:28:02 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:02 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:02 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:28:02 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:28:11 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (39.6ms)
+ [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
+Completed 200 OK in 65ms (Views: 55.2ms | ActiveRecord: 3.5ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:12 -0200
+Served asset /jquery.js - 304 Not Modified (7ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:28:12 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:12 -0200
+Served asset /settings.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:12 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:12 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:12 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:28:12 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:28:19 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.6ms)[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
+ [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
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (38.3ms)
+ [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
+Completed 200 OK in 145ms (Views: 132.3ms | ActiveRecord: 4.4ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:28:19 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:19 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:19 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:19 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:19 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:19 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:28:19 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:28:31 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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` = 1 LIMIT 1
+ [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
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (36.4ms)
+ [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
+Completed 200 OK in 63ms (Views: 51.4ms | ActiveRecord: 4.5ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:31 -0200
+Served asset /jquery-ui.js - 304 Not Modified (16ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:31 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:28:32 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:32 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:32 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:28:32 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:28:32 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:28:55 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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` = 1 LIMIT 1
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.4ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (4416.9ms)
+ [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
+Completed 200 OK in 4645ms (Views: 4433.0ms | ActiveRecord: 16.6ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:00 -0200
+Served asset /jquery-ui.js - 304 Not Modified (13ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:00 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:29:00 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:00 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:00 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:00 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:29:00 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:29:08 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"coco", "commit"=>"Create", "account_id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [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
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mUser Exists (23.4ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patricknegri@gmail.com' LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Completed 422 Unprocessable Entity in 464ms (Views: 0.3ms | ActiveRecord: 23.6ms)
+ [1m[35mApiToken Exists (0.5ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1
+ [1m[36mApiToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'coco' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 23ms (ActiveRecord: 2.9ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:24:53 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com.br", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:29:08 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [1m[35mAccountRole Load (0.2ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (27.3ms)
+ [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
+Completed 200 OK in 52ms (Views: 42.8ms | ActiveRecord: 3.9ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:29:08 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:09 -0200
+Served asset /jquery-ui.js - 304 Not Modified (26ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:09 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:09 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:09 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:29:09 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:29:09 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:30:45 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (154.4ms)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
+Completed 200 OK in 376ms (Views: 165.1ms | ActiveRecord: 16.0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:30:45 -0200
+Served asset /settings.css - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:45 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:45 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:45 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:45 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:45 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:30:45 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:30:50 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"coco", "commit"=>"Create", "account_id"=>"1"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ [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
+ [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
+ [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
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patrick@iugu.com.br' LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Completed 422 Unprocessable Entity in 136ms (Views: 0.3ms | ActiveRecord: 0.4ms)
+ [1m[36mApiToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1[0m
+ [1m[35mApiToken Exists (0.4ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'coco' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 27ms (ActiveRecord: 2.8ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:25:01 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:30:50 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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` = 1 LIMIT 1
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (27.8ms)
+ [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
+Completed 200 OK in 58ms (Views: 46.2ms | ActiveRecord: 4.1ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:30:50 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:50 -0200
+Served asset /jquery.js - 304 Not Modified (12ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:50 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:50 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:50 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:30:50 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:30:50 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-23 15:31:12 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (52.3ms)
+ [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
+Completed 200 OK in 73ms (Views: 66.5ms | ActiveRecord: 3.4ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:31:12 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:12 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:12 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:12 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:12 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:12 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:31:12 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:31:14 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (27.1ms)
+ [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
+Completed 200 OK in 56ms (Views: 45.3ms | ActiveRecord: 3.9ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:31:14 -0200
+Served asset /settings.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:14 -0200
+Served asset /jquery.js - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:14 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:14 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:14 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:31:14 -0200
+Served asset /settings.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:31:14 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:33:03 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"coco", "commit"=>"Create", "account_id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [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` = 1 LIMIT 1
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patrick@iugu.com' LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Completed 422 Unprocessable Entity in 135ms (Views: 0.3ms | ActiveRecord: 0.4ms)
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (19.0ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
- [1m[35m (31.4ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
- [1m[36m (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
-Migrating to CreateAccount (20120528164634)
- [1m[35m (8.5ms)[0m CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634')[0m
-Migrating to AddDeviseToUsers (20120529134109)
- [1m[35m (25.9ms)[0m CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
- [1m[36m (32.6ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)[0m
- [1m[35m (32.6ms)[0m CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
- [1m[36m (24.2ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)[0m
- [1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109')
-Migrating to AddBirthdateAndNameToUser (20120529162901)
- [1m[36m (39.8ms)[0m [1mALTER TABLE `users` ADD `birthdate` date[0m
- [1m[35m (32.0ms)[0m ALTER TABLE `users` ADD `name` varchar(255)
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901')[0m
-Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
- [1m[35m (31.8ms)[0m ALTER TABLE `accounts` ADD `name` varchar(255)
- [1m[36m (24.2ms)[0m [1mALTER TABLE `accounts` ADD `subscription_id` int(11)[0m
- [1m[35m (16.5ms)[0m ALTER TABLE `accounts` ADD `user_id` int(11)
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755')[0m
-Migrating to CreateAccountUsers (20120529180814)
- [1m[35m (19.4ms)[0m CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814')[0m
-Migrating to RemoveUserIdFromAccounts (20120530114709)
- [1m[35m (21.4ms)[0m ALTER TABLE `accounts` DROP `user_id`
- [1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709')[0m
-Migrating to CreateAccountRoles (20120531171438)
- [1m[35m (8.5ms)[0m CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438')[0m
-Migrating to AddLocaleToUser (20120604131034)
- [1m[35m (32.4ms)[0m ALTER TABLE `users` ADD `locale` varchar(255)
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034')[0m
-Migrating to CreateSocialAccount (20120605142527)
- [1m[35m (3.7ms)[0m CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB
- [1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527')[0m
-Migrating to SetLocale (20120612141130)
- [1m[35mSQL (0.1ms)[0m UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130')[0m
-Migrating to RemoveUniqueFromUserEmail (20120613173114)
- [1m[35m (29.0ms)[0m DROP INDEX `index_users_on_email` ON `users`
- [1m[36m (25.6ms)[0m [1mCREATE INDEX `index_users_on_email` ON `users` (`email`)[0m
- [1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114')
-Migrating to CreateDelayedJobs (20120615180728)
- [1m[36m (27.6ms)[0m [1mCREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
- [1m[35m (32.6ms)[0m CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728')[0m
-Migrating to CreateUserInvitations (20120629154429)
- [1m[35m (16.7ms)[0m CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11)) ENGINE=InnoDB
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429')[0m
-Migrating to AddTokenToUserInvitations (20120629195345)
- [1m[35m (31.7ms)[0m ALTER TABLE `user_invitations` ADD `token` varchar(255)
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345')[0m
-Migrating to AddRolesToUserInvitations (20120705202827)
- [1m[35m (13.6ms)[0m ALTER TABLE `user_invitations` ADD `roles` varchar(255)
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827')[0m
-Migrating to CreateAccountDomain (20120716145846)
- [1m[35m (18.5ms)[0m CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
- [1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846')[0m
-Migrating to AddSubdomainToAccount (20120719162426)
- [1m[35m (21.9ms)[0m ALTER TABLE `accounts` ADD `subdomain` varchar(255)
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426')[0m
-Migrating to AddApiTokenToAccount (20120725170859)
- [1m[35m (38.4ms)[0m ALTER TABLE `accounts` ADD `api_token` varchar(255)
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859')[0m
-Migrating to AddGuestToUsers (20120803172545)
- [1m[35m (36.2ms)[0m ALTER TABLE `users` ADD `guest` tinyint(1)
- [1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545')[0m
-Migrating to CreateApiToken (20121023113304)
- [1m[35m (12.0ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
- [1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')[0m
- [1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+ [1m[35mApiToken Exists (0.5ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1
+ [1m[36mApiToken Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'coco' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 268ms (ActiveRecord: 13.5ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-26 14:29:50 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'xTEt1iJz1azf6Qy9xx6v' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-26 16:29:50', 'xTEt1iJz1azf6Qy9xx6v', '2012-10-26 16:29:50', '2012-10-26 16:29:50', 'patrick@iugu.com', '$2a$10$eZKkNekyez6jyyARoqSWdeWJre.uybt97Dgchusv1n50EJMqnKBd.', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-26 16:29:50')[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-26 16:29:50', NULL, NULL, NULL, '2012-10-26 16:29:50')
- [1m[36m (0.2ms)[0m [1mUPDATE `accounts` SET `created_at` = '2012-10-26 16:29:50', `updated_at` = '2012-10-26 16:29:50', `subdomain` = 'account1' WHERE `accounts`.`id` = 1[0m
- [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `account_users` (`account_id`, `user_id`) VALUES (1, 1)[0m
- [1m[35mAccountRole Exists (9.7ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 1) LIMIT 1
- [1m[36mAccountUser Load (0.2ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'owner')
- [1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 1) LIMIT 1[0m
- [1m[35mAccountUser Load (0.1ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'admin')[0m
- [1m[35m (5.9ms)[0m COMMIT
- [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 = NULL) LIMIT 1[0m
- [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 LIMIT 1
-Completed 201 Created in 652ms (Views: 0.6ms | ActiveRecord: 0.5ms)
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:33:03 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [1m[35mAccountRole Load (0.4ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.5ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (46.4ms)
+ [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
+Completed 200 OK in 174ms (Views: 70.0ms | ActiveRecord: 6.1ms)
-Started POST "/login.json?user[email]=patrick@iugu.com&user[password]=[FILTERED]" for 127.0.0.1 at 2012-10-26 14:32:34 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:03 -0200
+Served asset /settings_code.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:03 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:03 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:03 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:03 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:33:03 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:33:04 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:33:05 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"", "commit"=>"Create", "account_id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ [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
+ [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
+ [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` = 1 LIMIT 1[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mCOMMIT[0m
- [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
- [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
-Completed 201 Created in 245ms (Views: 0.7ms | ActiveRecord: 0.3ms)
+ [1m[36mApiToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1[0m
+ [1m[35mApiToken Exists (0.3ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY '' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 24ms (ActiveRecord: 3.3ms)
-Started POST "/login.json?user[email]=patrick@iugu.com&user[password]=[FILTERED]" for 127.0.0.1 at 2012-10-26 14:32:39 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[35mUser Load (0.1ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
-Completed 401 Unauthorized in 130ms
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:33:05 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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` = 1 LIMIT 1
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountRole Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.6ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (29.0ms)
+ [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
+Completed 200 OK in 61ms (Views: 49.8ms | ActiveRecord: 4.3ms)
-Started POST "/login.json?user[email]=patrick@iugu.com&user[password]=[FILTERED]" for 127.0.0.1 at 2012-10-26 14:32:41 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:33:06 -0200
+Served asset /settings.css - 304 Not Modified (6ms)
-Started POST "/login.json?user[email]=patrick@iugu.com&user[password]=[FILTERED]" for 127.0.0.1 at 2012-10-26 14:32:46 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:06 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:34:21 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:06 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:34:45 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:06 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:34:49 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:06 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:34:49 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:06 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:25 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:33:06 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:26 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:33:06 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"", "commit"=>"Create", "account_id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
+ [1m[36mAccountRole Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
+ [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` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mApiToken Exists (0.3ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1
+ [1m[36mApiToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY '' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 21ms (ActiveRecord: 3.4ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:26 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:33:06 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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` = 1 LIMIT 1[0m
+ [1m[35mAccountDomain Load (0.2ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.6ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (27.5ms)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
+Completed 200 OK in 51ms (Views: 41.8ms | ActiveRecord: 4.3ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:33 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:33:07 -0200
+Served asset /settings.css - 304 Not Modified (1ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:35:48 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:07 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:55 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:07 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:56 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:07 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:56 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:07 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:57 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:07 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/logout.json" for 127.0.0.1 at 2012-10-26 14:35:59 -0200
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:33:07 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-ActionController::RoutingError (No route matches [GET] "/logout.json"):
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:33:13 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"oe", "commit"=>"Create", "account_id"=>"1"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ [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
+ [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mApiToken Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1[0m
+ [1m[35mApiToken Exists (0.2ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'oe' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `api_tokens` (`api_type`, `created_at`, `description`, `token`, `tokenable_id`, `tokenable_type`, `updated_at`) VALUES ('test', '2012-10-23 17:33:14', 'oe', '8182baedbf26f9af23fed788264a9583', 1, 'Account', '2012-10-23 17:33:14')
+ [1m[36m (125.0ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 145ms (ActiveRecord: 127.5ms)
+
+ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow):
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:303:in `[]='
+ actionpack (3.2.8) lib/action_dispatch/middleware/session/cookie_store.rb:67:in `set_cookie'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:330:in `commit_session'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:206:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__3909977787164404723__call__4058975525742372689__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
@@ -397,207 +2765,1012 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.7ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:36:03 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/" for 127.0.0.1 at 2012-10-23 15:33:22 -0200
+Processing by DashboardController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered dashboard/index.html.haml within layouts/application (2.0ms)
+Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.4ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:36:06 -0200
-Processing by Iugu::SessionsController#destroy as JSON
- Parameters: {"dsa"=>"dsa"}
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-23 15:33:22 -0200
+Served asset /application.css - 304 Not Modified (20ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:36:09 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-23 15:33:22 -0200
+Served asset /default.css - 304 Not Modified (1ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:25 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:22 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:29 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:22 -0200
+Served asset /application.js - 304 Not Modified (8ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:30 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:22 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:30 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/settings" for 127.0.0.1 at 2012-10-23 15:33:23 -0200
+Processing by Iugu::SettingsController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:30 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-23 15:33:23 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (34.8ms)
+ [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
+Completed 200 OK in 55ms (Views: 48.6ms | ActiveRecord: 4.0ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:30 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:33:23 -0200
+Served asset /settings.css - 304 Not Modified (5ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:37:34 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:23 -0200
+Served asset /jquery.js - 304 Not Modified (13ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 14:38:12 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (2.6ms)
-Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:23 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:38:21 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:23 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 14:38:23 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (1.7ms)
-Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:23 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 14:38:40 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:23 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:38:46 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:33:23 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:39:25 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:33:25 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (26.4ms)
+ [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
+Completed 200 OK in 66ms (Views: 47.6ms | ActiveRecord: 4.3ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:39:45 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 138ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:33:25 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:40:29 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:25 -0200
+Served asset /jquery.js - 304 Not Modified (9ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:40:43 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:25 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 14:40:44 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
-Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:25 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 14:41:27 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:25 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/app/people" for 192.168.0.149 at 2012-10-26 15:24:06 -0200
-Processing by MyDummyController#index as HTML
- Parameters: {"path"=>"app/people"}
- Rendered my_dummy/index.html.haml within layouts/dummy (1.3ms)
-Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:25 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
-Started GET "/assets/application.css?body=1" for 192.168.0.149 at 2012-10-26 15:24:11 -0200
-Served asset /application.css - 200 OK (0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:33:25 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started GET "/assets/default.css?body=1" for 192.168.0.149 at 2012-10-26 15:24:16 -0200
-Served asset /default.css - 200 OK (0ms)
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:33:50 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"", "commit"=>"Create", "account_id"=>"1"}
+ [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ [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
+ [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
+ [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` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mApiToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1[0m
+ [1m[35mApiToken Exists (0.3ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY '' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 267ms (ActiveRecord: 13.1ms)
-Started GET "/assets/jquery.js?body=1" for 192.168.0.149 at 2012-10-26 15:24:16 -0200
-Served asset /jquery.js - 200 OK (0ms)
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:33:51 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.5ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (42.6ms)
+ [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
+Completed 200 OK in 162ms (Views: 137.3ms | ActiveRecord: 5.9ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 192.168.0.149 at 2012-10-26 15:24:16 -0200
-Served asset /jquery_ujs.js - 200 OK (0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:33:51 -0200
+Served asset /settings.css - 304 Not Modified (6ms)
-Started GET "/assets/application.js?body=1" for 192.168.0.149 at 2012-10-26 15:24:16 -0200
-Served asset /application.js - 200 OK (0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:51 -0200
+Served asset /jquery.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:51 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:51 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:51 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:33:51 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:33:51 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 15:34:25 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"", "commit"=>"Create", "account_id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
+ [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
+ [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` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mApiToken Exists (0.4ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1
+ [1m[36mApiToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY '' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 255ms (ActiveRecord: 14.5ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 15:34:26 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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` = 1 LIMIT 1[0m
+ [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
+ [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
+ [1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.4ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (43.8ms)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
+Completed 200 OK in 85ms (Views: 60.2ms | ActiveRecord: 6.0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:26 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:26 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:26 -0200
+Served asset /settings.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:34:26 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:26 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:26 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:34:26 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:34:53 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountDomain Load (0.3ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (25.6ms)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
+Completed 200 OK in 53ms (Views: 41.2ms | ActiveRecord: 4.0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:53 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:53 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:34:53 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:53 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:53 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:53 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:34:53 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-23 15:34:55 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (36.0ms)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
+Completed 200 OK in 59ms (Views: 51.2ms | ActiveRecord: 4.3ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:55 -0200
+Served asset /jquery.js - 304 Not Modified (14ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:55 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:34:55 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:55 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:55 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:55 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:34:55 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:34:56 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountDomain Load (0.3ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (25.8ms)
+ [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
+Completed 200 OK in 52ms (Views: 41.4ms | ActiveRecord: 3.8ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 15:34:56 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:56 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:56 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:56 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (86ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:56 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 15:34:56 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 15:34:56 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 16:35:31 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountDomain Load (0.3ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.4ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (57.1ms)
+ [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
+Completed 200 OK in 355ms (Views: 69.8ms | ActiveRecord: 16.0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 16:35:31 -0200
+Served asset /settings.css - 304 Not Modified (8ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:31 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:31 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:31 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:31 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:31 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 16:35:32 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 16:35:33 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rp7E+zIK043nCuFLmRdZmxKlvR01SxiQIDRC2SDXK5M=", "api_type"=>"test", "description"=>"", "commit"=>"Create", "account_id"=>"1"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ [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
+ [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mApiToken Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1[0m
+ [1m[35mApiToken Exists (0.3ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY '' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 22ms (ActiveRecord: 2.5ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 16:35:33 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [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
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (31.6ms)
+ [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
+Completed 200 OK in 54ms (Views: 45.2ms | ActiveRecord: 4.1ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 16:35:33 -0200
+Served asset /settings.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:33 -0200
+Served asset /jquery-ui.js - 304 Not Modified (94ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:33 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:33 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:33 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 16:35:33 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 16:35:33 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
Connecting to database specified by database.yml
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:02:23 -0200
+Started GET "/" for 127.0.0.1 at 2012-10-23 20:50:21 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (7.2ms)
+Completed 200 OK in 243ms (Views: 240.9ms | ActiveRecord: 0.0ms)
-OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
- omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-23 20:50:21 -0200
+Served asset /application.js - 304 Not Modified (14ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-23 20:50:22 -0200
+Served asset /default.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:50:22 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-23 20:50:22 -0200
+Served asset /application.css - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:50:22 -0200
+Served asset /jquery.js - 304 Not Modified (64ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-23 20:51:32 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (12.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (5240.9ms)
+Completed 200 OK in 5307ms (Views: 5251.3ms | ActiveRecord: 20.0ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-23 20:51:37 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.3ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (79.3ms)
+Completed 200 OK in 92ms (Views: 90.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-23 20:51:38 -0200
+Served asset /application.css - 304 Not Modified (9ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-23 20:51:38 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:38 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:38 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:38 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started POST "/login" for 127.0.0.1 at 2012-10-23 20:51:42 -0200
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YG2ybU4h2i7+buVEE9NrHmX7d9Bvg9vZVYXdqvI9IM=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (17.9ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/
+ [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 = '1') LIMIT 1
+Completed 302 Found in 1061ms (ActiveRecord: 49.5ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-23 20:51:43 -0200
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (1.9ms)
+Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-23 20:51:43 -0200
+Served asset /application.css - 304 Not Modified (7ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:43 -0200
+Served asset /application.js - 304 Not Modified (10ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:43 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-23 20:51:43 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:43 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-10-23 20:51:45 -0200
+Processing by Iugu::SettingsController#index as HTML
+ [1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-10-23 20:51:45 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (165.4ms)
+ [1m[35m (17.2ms)[0m SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
+Completed 200 OK in 320ms (Views: 293.5ms | ActiveRecord: 23.7ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:45 -0200
+Served asset /jquery.js - 304 Not Modified (16ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:46 -0200
+Served asset /jquery-ui.js - 304 Not Modified (7ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:46 -0200
+Served asset /settings_code.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:46 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:46 -0200
+Served asset /settings.js - 304 Not Modified (88ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:51:46 -0200
+Served asset /settings.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:51:46 -0200
+Served asset /application_logo.png - 304 Not Modified (99ms)
+
+
+Started GET "/settings/account" for 127.0.0.1 at 2012-10-23 20:51:48 -0200
+Processing by Iugu::AccountController#view as HTML
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.4ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountDomain Load (0.5ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [1m[36mAccountRole Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.2ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (107.7ms)
+ [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
+Completed 200 OK in 652ms (Views: 117.7ms | ActiveRecord: 72.2ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:51:49 -0200
+Served asset /settings.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:49 -0200
+Served asset /jquery.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:49 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:49 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:49 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:49 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:51:49 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 20:51:54 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YG2ybU4h2i7+buVEE9NrHmX7d9Bvg9vZVYXdqvI9IM=", "api_type"=>"test", "description"=>"coco", "commit"=>"Create", "account_id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.4ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [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
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35mApiToken Exists (0.4ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1
+ [1m[36mApiToken Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'coco' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 118ms (ActiveRecord: 3.6ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:51:54 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.4ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (30.3ms)
+ [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
+Completed 200 OK in 63ms (Views: 50.0ms | ActiveRecord: 4.2ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:51:55 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:55 -0200
+Served asset /jquery-ui.js - 304 Not Modified (15ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:55 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:55 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:55 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:51:55 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:51:55 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 20:52:12 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YG2ybU4h2i7+buVEE9NrHmX7d9Bvg9vZVYXdqvI9IM=", "api_type"=>"test", "description"=>"coco", "commit"=>"Create", "account_id"=>"1"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ [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
+ [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
+ [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
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mApiToken Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1[0m
+ [1m[35mApiToken Exists (0.3ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'coco' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 25ms (ActiveRecord: 3.0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:52:12 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (122.5ms)
+ [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
+Completed 200 OK in 151ms (Views: 140.7ms | ActiveRecord: 3.5ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:52:12 -0200
+Served asset /settings.css - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:52:12 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:52:12 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:52:12 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:52:12 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:52:12 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:52:12 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:53:04 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (3.0ms)
+Completed 500 Internal Server Error in 17ms
+
+ActionView::Template::Error (The line was indented 2 levels deeper than the previous line.):
+ 44:
+ 45: - if IuguSDK::enable_account_api
+ 46: - if current_user.is?(:owner, @account)
+ 47: %h2
+ 48: = I18n.t("iugu.api_tokens")
+ 49: %br
+ 50: - if flash[:group] == :api_token
+ /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml:47
+ haml (3.1.7) lib/haml/parser.rb:155:in `parse'
+ haml (3.1.7) lib/haml/engine.rb:124:in `initialize'
+ haml (3.1.7) lib/haml/template/plugin.rb:34:in `new'
+ haml (3.1.7) lib/haml/template/plugin.rb:34:in `compile'
+ haml (3.1.7) lib/haml/template/plugin.rb:39:in `call'
+ actionpack (3.2.8) lib/action_view/template.rb:268:in `compile'
+ actionpack (3.2.8) lib/action_view/template.rb:244:in `block in compile!'
+ <internal:prelude>:10:in `synchronize'
+ actionpack (3.2.8) lib/action_view/template.rb:232:in `compile!'
+ actionpack (3.2.8) lib/action_view/template.rb:144:in `block in render'
+ activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/account_controller.rb:17:in `view'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__835334349417342660__process_action__4079016298392455283__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__971259323__call__648779086__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__3668283346965305789__call__151178761204063571__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
@@ -615,39 +3788,1443 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (55.4ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (1311.5ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.8ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:02:27 -0200
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:53:19 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mAccountDomain Load (0.3ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.3ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (37.3ms)
+ [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
+Completed 200 OK in 68ms (Views: 57.0ms | ActiveRecord: 3.9ms)
-OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
- omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:20 -0200
+Served asset /jquery.js - 304 Not Modified (17ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:53:20 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:20 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:20 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:20 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:20 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:53:20 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:53:27 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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` = 1 LIMIT 1[0m
+ [1m[35mAccountDomain Load (0.3ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.2ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.4ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (117.5ms)
+ [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
+Completed 200 OK in 143ms (Views: 132.7ms | ActiveRecord: 3.6ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:53:27 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:27 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:27 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:27 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:27 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:27 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:53:27 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:53:37 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mAccountDomain Load (0.2ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.2ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountRole Exists (0.6ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.6ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (39.4ms)
+ [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
+Completed 200 OK in 62ms (Views: 53.3ms | ActiveRecord: 3.9ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:53:37 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:37 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:37 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:37 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:37 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:37 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:53:37 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 20:53:40 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YG2ybU4h2i7+buVEE9NrHmX7d9Bvg9vZVYXdqvI9IM=", "api_type"=>"test", "description"=>"", "commit"=>"Create", "account_id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ [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
+ [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
+ [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
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mApiToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1[0m
+ [1m[35mApiToken Exists (0.4ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY '' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 27ms (ActiveRecord: 3.1ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:53:40 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [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
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (29.0ms)
+ [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
+Completed 200 OK in 53ms (Views: 44.0ms | ActiveRecord: 3.7ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:53:40 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:40 -0200
+Served asset /jquery.js - 304 Not Modified (17ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:40 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:40 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:40 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:40 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:53:40 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:53:57 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (1.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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` = 1 LIMIT 1
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (38.9ms)
+ [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
+Completed 200 OK in 65ms (Views: 53.8ms | ActiveRecord: 4.9ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:58 -0200
+Served asset /jquery.js - 304 Not Modified (18ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:58 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:58 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:53:58 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:58 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:53:58 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:53:58 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 20:54:03 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YG2ybU4h2i7+buVEE9NrHmX7d9Bvg9vZVYXdqvI9IM=", "api_type"=>"test", "description"=>"", "commit"=>"Create", "account_id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mApiToken Exists (0.4ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1
+ [1m[36mApiToken Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY '' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 19ms (ActiveRecord: 3.1ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:54:03 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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` = 1 LIMIT 1[0m
+ [1m[35mAccountDomain Load (0.2ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.2ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.3ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.6ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (32.5ms)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
+Completed 200 OK in 58ms (Views: 48.6ms | ActiveRecord: 4.1ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:54:03 -0200
+Served asset /settings.css - 304 Not Modified (7ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:03 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:03 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:03 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:03 -0200
+Served asset /settings.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:03 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:54:03 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:54:42 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [1m[35mAccountRole Load (0.4ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.4ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (46.1ms)
+ [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
+Completed 200 OK in 73ms (Views: 63.0ms | ActiveRecord: 4.1ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:54:42 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:42 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:42 -0200
+Served asset /settings.js - 304 Not Modified (94ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:43 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:43 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:43 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:54:43 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 20:54:44 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YG2ybU4h2i7+buVEE9NrHmX7d9Bvg9vZVYXdqvI9IM=", "api_type"=>"test", "description"=>"", "commit"=>"Create", "account_id"=>"1"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.2ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ [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
+ [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mApiToken Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1[0m
+ [1m[35mApiToken Exists (0.3ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY '' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 19ms (ActiveRecord: 2.1ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:54:44 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [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
+ [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
+ [1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (26.2ms)
+ [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
+Completed 200 OK in 52ms (Views: 44.1ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:54:44 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:44 -0200
+Served asset /jquery.js - 304 Not Modified (13ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:44 -0200
+Served asset /jquery-ui.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:44 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:44 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:44 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:54:44 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:54:51 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [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
+ [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
+ [1m[36mAccountRole Load (0.2ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (35.6ms)
+ [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
+Completed 200 OK in 58ms (Views: 50.7ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:54:51 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:51 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:51 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:51 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:51 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:51 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:54:51 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 20:54:53 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YG2ybU4h2i7+buVEE9NrHmX7d9Bvg9vZVYXdqvI9IM=", "api_type"=>"test", "description"=>"", "commit"=>"Create", "account_id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [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
+ [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
+ [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
+ [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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mApiToken Exists (0.2ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1
+ [1m[36mApiToken Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY '' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 19ms (ActiveRecord: 2.2ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:54:53 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mAccountDomain Load (0.2ms)[0m SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1
+ [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
+ [1m[35mAccountRole Load (0.2ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [1m[36mApiToken Load (0.4ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'[0m
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (26.0ms)
+ [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
+Completed 200 OK in 133ms (Views: 125.3ms | ActiveRecord: 3.2ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:54:53 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:53 -0200
+Served asset /jquery-ui.js - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:53 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:53 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:53 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:53 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:54:53 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started POST "/settings/account/1/generate_new_token" for 127.0.0.1 at 2012-10-23 20:54:56 -0200
+Processing by Iugu::AccountController#generate_new_token as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YG2ybU4h2i7+buVEE9NrHmX7d9Bvg9vZVYXdqvI9IM=", "api_type"=>"test", "description"=>"coco", "commit"=>"Create", "account_id"=>"1"}
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mAccount Load (0.4ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1
+ [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
+ [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
+ [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` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mApiToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1[0m
+ [1m[35mApiToken Exists (0.4ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'coco' AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/account/1
+Completed 302 Found in 24ms (ActiveRecord: 3.6ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:54:56 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [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
+ [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
+ [1m[36mAccountRole Load (0.4ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (34.4ms)
+ [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
+Completed 200 OK in 61ms (Views: 51.2ms | ActiveRecord: 4.0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:54:56 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:56 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:56 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:56 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:56 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:54:56 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:54:56 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:55:17 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (49.9ms)
+ [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
+Completed 200 OK in 78ms (Views: 68.3ms | ActiveRecord: 3.7ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:55:17 -0200
+Served asset /settings.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:17 -0200
+Served asset /jquery.js - 304 Not Modified (7ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:17 -0200
+Served asset /settings.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:17 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:17 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:17 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:55:17 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:55:56 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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` = 1 LIMIT 1
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [1m[35mAccountUser Load (0.5ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1
+ [1m[36mAccountRole Load (0.4ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.3ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (125.3ms)
+ [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
+Completed 200 OK in 159ms (Views: 145.9ms | ActiveRecord: 4.5ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:55:56 -0200
+Served asset /settings.css - 304 Not Modified (10ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:56 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:56 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:56 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:56 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:55:56 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:55:56 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/account/1" for 127.0.0.1 at 2012-10-23 20:56:28 -0200
+Processing by Iugu::AccountController#view as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountDomain Load (0.3ms)[0m [1mSELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1[0m
+ [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
+ [1m[36mAccountRole Load (0.3ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [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
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)
+ [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
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account'
+ [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
+ [1m[35mCACHE (0.0ms)[0m SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1)[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (52.9ms)
+ [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
+Completed 200 OK in 82ms (Views: 71.4ms | ActiveRecord: 3.6ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-10-23 20:56:28 -0200
+Served asset /settings.css - 304 Not Modified (12ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-23 20:56:28 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-10-23 20:56:28 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-10-23 20:56:28 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-10-23 20:56:28 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-23 20:56:28 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-10-23 20:56:28 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2012-10-31 09:59:26 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (3.9ms)
+Completed 200 OK in 200ms (Views: 198.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:27 -0200
+Served asset /application.js - 304 Not Modified (25ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-31 09:59:27 -0200
+Served asset /application.css - 304 Not Modified (67ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:27 -0200
+Served asset /jquery.js - 304 Not Modified (7ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:27 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-31 09:59:27 -0200
+Served asset /default.css - 304 Not Modified (2ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-10-31 09:59:32 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (4627.6ms)
+Completed 200 OK in 4771ms (Views: 4700.7ms | ActiveRecord: 29.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-31 09:59:37 -0200
+Served asset /application.css - 304 Not Modified (7ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-31 09:59:37 -0200
+Served asset /default.css - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:37 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:37 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:37 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/login?hl=pt" for 127.0.0.1 at 2012-10-31 09:59:47 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"pt"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (12.6ms)
+Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-31 09:59:47 -0200
+Served asset /application.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-31 09:59:47 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:47 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:47 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:47 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/login?hl=pt-BR" for 127.0.0.1 at 2012-10-31 09:59:52 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"pt-BR"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (21.6ms)
+Completed 200 OK in 34ms (Views: 32.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-31 09:59:52 -0200
+Served asset /default.css - 304 Not Modified (12ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:52 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:52 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-31 09:59:52 -0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-31 09:59:52 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/login?hl=en" for 127.0.0.1 at 2012-10-31 10:00:06 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"en"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (13.0ms)
+Completed 200 OK in 23ms (Views: 21.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-31 10:00:06 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-31 10:00:06 -0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-31 10:00:06 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-31 10:00:06 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-31 10:00:06 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/login?hl=pt-BR" for 127.0.0.1 at 2012-10-31 10:00:11 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"pt-BR"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.0ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (14.4ms)
+Completed 200 OK in 25ms (Views: 23.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-31 10:00:11 -0200
+Served asset /application.css - 304 Not Modified (6ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-31 10:00:11 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-31 10:00:11 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-31 10:00:11 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-31 10:00:11 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2012-11-05 10:47:14 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (3.9ms)
+Completed 200 OK in 238ms (Views: 235.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:14 -0200
+Served asset /application.css - 304 Not Modified (17ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:14 -0200
+Served asset /default.css - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:14 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (7ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:14 -0200
+Served asset /jquery.js - 304 Not Modified (68ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:14 -0200
+Served asset /application.js - 304 Not Modified (9ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-11-05 10:47:19 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (10.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (5248.7ms)
+Completed 200 OK in 5328ms (Views: 5259.0ms | ActiveRecord: 30.8ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:24 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:24 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:24 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:24 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:24 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/login?hl=pt" for 127.0.0.1 at 2012-11-05 10:47:30 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"pt"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (12.9ms)
+Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:30 -0200
+Served asset /jquery.js - 304 Not Modified (11ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:30 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:30 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:30 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:30 -0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/login?hl=pt-BR" for 127.0.0.1 at 2012-11-05 10:47:33 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"pt-BR"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (20.9ms)
+Completed 200 OK in 32ms (Views: 30.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:33 -0200
+Served asset /default.css - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:33 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:33 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:33 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:33 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/login?hl=en" for 127.0.0.1 at 2012-11-05 10:47:38 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"en"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (12.8ms)
+Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:38 -0200
+Served asset /application.css - 304 Not Modified (7ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:38 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:38 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-05 10:47:38 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-05 10:47:38 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/login?hl=en" for 127.0.0.1 at 2012-11-05 10:48:19 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"en"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (12.0ms)
+Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-05 10:48:19 -0200
+Served asset /application.css - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:19 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-05 10:48:19 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:19 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:19 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-11-05 10:48:21 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (13.7ms)
+Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-05 10:48:21 -0200
+Served asset /application.css - 304 Not Modified (11ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:21 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:21 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-05 10:48:21 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:21 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/login?hl=ch" for 127.0.0.1 at 2012-11-05 10:48:28 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"ch"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (13.2ms)
+Completed 200 OK in 25ms (Views: 22.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-05 10:48:28 -0200
+Served asset /application.css - 304 Not Modified (12ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:28 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:28 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:28 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-05 10:48:28 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/login?hl=pt-BR" for 127.0.0.1 at 2012-11-05 10:48:33 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Parameters: {"hl"=>"pt-BR"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (13.4ms)
+Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-05 10:48:33 -0200
+Served asset /application.css - 304 Not Modified (12ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:33 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-05 10:48:33 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:33 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-05 10:48:33 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+ [1m[36m (68.7ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+Migrating to AddDeviseToUsers (20120529134109)
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+Migrating to CreateAccountUsers (20120529180814)
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+Migrating to CreateAccountRoles (20120531171438)
+Migrating to AddLocaleToUser (20120604131034)
+Migrating to CreateSocialAccount (20120605142527)
+Migrating to SetLocale (20120612141130)
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+Migrating to CreateDelayedJobs (20120615180728)
+Migrating to CreateUserInvitations (20120629154429)
+Migrating to AddTokenToUserInvitations (20120629195345)
+Migrating to AddRolesToUserInvitations (20120705202827)
+Migrating to CreateAccountDomain (20120716145846)
+Migrating to AddSubdomainToAccount (20120719162426)
+Migrating to AddApiTokenToAccount (20120725170859)
+Migrating to AddGuestToUsers (20120803172545)
+Migrating to CreateApiToken (20121023113304)
+Migrating to RemoveApiTokenFromAccount (20121108115535)
+ [1m[35m (176.8ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')
+ [1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2012-11-08 14:09:31 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (3.7ms)
+Completed 200 OK in 264ms (Views: 262.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-08 14:09:32 -0200
+Served asset /jquery.js - 304 Not Modified (18ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-08 14:09:32 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-08 14:09:32 -0200
+Served asset /application.css - 304 Not Modified (7ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-08 14:09:32 -0200
+Served asset /application.js - 304 Not Modified (8ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-08 14:09:32 -0200
+Served asset /default.css - 304 Not Modified (2ms)
+
+
+Started GET "/login" for 127.0.0.1 at 2012-11-08 14:09:35 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.4ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (4520.2ms)
+Completed 200 OK in 4562ms (Views: 4529.3ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-08 14:09:39 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-08 14:09:39 -0200
+Served asset /default.css - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-08 14:09:39 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-08 14:09:40 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-08 14:09:40 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started POST "/login" for 127.0.0.1 at 2012-11-08 14:09:53 -0200
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dB2zEWtslIQyE7xwrcPjTMa0CPLPvcSwW+hUmvwwGYA=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Logar"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/
+ [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 = '1') LIMIT 1
+Completed 302 Found in 820ms (ActiveRecord: 3.8ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-11-08 14:09:54 -0200
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (1.7ms)
+Completed 200 OK in 15ms (Views: 11.9ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-08 14:09:54 -0200
+Served asset /application.css - 304 Not Modified (5ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-08 14:09:54 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-08 14:09:54 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-08 14:09:54 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-08 14:09:54 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 14:10:01 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Completed 500 Internal Server Error in 3ms
+
+ActionController::RoutingError (Not Found):
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/pricing_controller.rb:7:in `index'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:425:in `_run__1600341487112923140__process_action__2792585672003872053__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__971259323__call__648779086__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__4565016161427972395__call__1991534653669755764__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
@@ -665,116 +5242,127 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.7ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
Connecting to database specified by database.yml
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:03:48 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 401 Unauthorized in 1ms
+Started GET "/" for 127.0.0.1 at 2012-11-08 14:18:19 -0200
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (2.1ms)
+Completed 200 OK in 303ms (Views: 115.4ms | ActiveRecord: 2.9ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:03:57 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 933ms (Views: 9.0ms | ActiveRecord: 1.7ms)
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-08 14:18:20 -0200
+Served asset /default.css - 200 OK (12ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:04:16 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
-Connecting to database specified by database.yml
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-08 14:18:20 -0200
+Served asset /jquery.js - 200 OK (4ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:04:43 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 401 Unauthorized in 1ms
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-08 14:18:20 -0200
+Served asset /application.css - 200 OK (5ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:04:55 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (2.9ms)
-Completed 200 OK in 228ms (Views: 227.3ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-08 14:18:20 -0200
+Served asset /application.js - 200 OK (6ms)
-Started GET "/login" for 127.0.0.1 at 2012-10-26 17:05:02 -0200
-Processing by Iugu::SessionsController#new as */*
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.6ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (1214.5ms)
-Completed 200 OK in 1240ms (Views: 1220.8ms | ActiveRecord: 1.3ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-08 14:18:20 -0200
+Served asset /jquery_ujs.js - 200 OK (2ms)
-Started GET "/login" for 127.0.0.1 at 2012-10-26 17:05:12 -0200
-Processing by Iugu::SessionsController#new as */*
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (1.7ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (13.3ms)
-Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.0ms)
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 14:18:26 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Completed 500 Internal Server Error in 6ms
-
-Started GET "/login" for 127.0.0.1 at 2012-10-26 17:05:12 -0200
-Processing by Iugu::SessionsController#new as */*
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (11.7ms)
-Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.0ms)
-
-
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:05:16 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms)
-
-
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:05:19 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 770ms (Views: 9.0ms | ActiveRecord: 1.7ms)
-Connecting to database specified by database.yml
-
-
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:13:02 -0200
-
-OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
- omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
+Errno::ECONNREFUSED (Connection refused - connect(2)):
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:762:in `initialize'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:762:in `open'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:762:in `block in connect'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:762:in `connect'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:744:in `start'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1284:in `request'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1026:in `get'
+ activeresource (3.2.8) lib/active_resource/connection.rb:113:in `block in request'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ activeresource (3.2.8) lib/active_resource/connection.rb:110:in `request'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `block in get'
+ activeresource (3.2.8) lib/active_resource/connection.rb:218:in `with_auth'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `get'
+ activeresource (3.2.8) lib/active_resource/base.rb:901:in `find_every'
+ activeresource (3.2.8) lib/active_resource/base.rb:813:in `find'
+ /home/alezonez/Projetos/iugu-api/lib/iugu-api/models/iugu_resource.rb:109:in `find'
+ activeresource (3.2.8) lib/active_resource/base.rb:839:in `all'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/pricing_controller.rb:5:in `index'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:425:in `_run__2406259617012079014__process_action__2360669590330811374__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__935313182__call__361218767__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__864578271272662827__call__118059213884392638__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
@@ -792,39 +5380,88 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (24.4ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (1236.5ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.3ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.3ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (107.8ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:18:03 -0200
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 14:18:34 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Completed 500 Internal Server Error in 2111ms
-OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
- omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
+ActiveResource::UnauthorizedAccess (Failed. Response code = 401. Response message = Unauthorized .):
+ activeresource (3.2.8) lib/active_resource/connection.rb:132:in `handle_response'
+ activeresource (3.2.8) lib/active_resource/connection.rb:115:in `request'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `block in get'
+ activeresource (3.2.8) lib/active_resource/connection.rb:218:in `with_auth'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `get'
+ activeresource (3.2.8) lib/active_resource/base.rb:901:in `find_every'
+ activeresource (3.2.8) lib/active_resource/base.rb:813:in `find'
+ /home/alezonez/Projetos/iugu-api/lib/iugu-api/models/iugu_resource.rb:109:in `find'
+ activeresource (3.2.8) lib/active_resource/base.rb:839:in `all'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/pricing_controller.rb:5:in `index'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:425:in `_run__2406259617012079014__process_action__2360669590330811374__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__935313182__call__361218767__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__864578271272662827__call__118059213884392638__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
@@ -842,39 +5479,94 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.3ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.3ms)
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:18:09 -0200
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 14:25:10 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Completed 500 Internal Server Error in 136ms
-OmniAuth::NoSessionError (You must provide a session to use OmniAuth.):
- omniauth (1.1.1) lib/omniauth/strategy.rb:166:in `call!'
+ActiveResource::UnauthorizedAccess (Failed. Response code = 401. Response message = Unauthorized .):
+ activeresource (3.2.8) lib/active_resource/connection.rb:132:in `handle_response'
+ activeresource (3.2.8) lib/active_resource/connection.rb:115:in `request'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `block in get'
+ activeresource (3.2.8) lib/active_resource/connection.rb:218:in `with_auth'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `get'
+ activeresource (3.2.8) lib/active_resource/base.rb:901:in `find_every'
+ activeresource (3.2.8) lib/active_resource/base.rb:813:in `find'
+ /home/alezonez/Projetos/iugu-api/lib/iugu-api/models/iugu_resource.rb:109:in `find'
+ activeresource (3.2.8) lib/active_resource/base.rb:839:in `all'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/pricing_controller.rb:5:in `index'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:425:in `_run__1291505132687266555__process_action__2149775417482532439__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__935313182__call__361218767__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__4375074903487534772__call__2723813533247578399__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
@@ -892,25 +5584,102 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.7ms)
-Connecting to database specified by database.yml
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:21:02 -0200
+Started GET "/" for 127.0.0.1 at 2012-11-08 14:25:14 -0200
+Processing by DashboardController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered dashboard/index.html.haml within layouts/application (2.0ms)
+Completed 200 OK in 29ms (Views: 26.1ms | ActiveRecord: 0.5ms)
-ActionController::RoutingError (No route matches [GET] "/"):
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
+
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 14:25:17 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Completed 500 Internal Server Error in 30ms
+
+ActiveResource::UnauthorizedAccess (Failed. Response code = 401. Response message = Unauthorized .):
+ activeresource (3.2.8) lib/active_resource/connection.rb:132:in `handle_response'
+ activeresource (3.2.8) lib/active_resource/connection.rb:115:in `request'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `block in get'
+ activeresource (3.2.8) lib/active_resource/connection.rb:218:in `with_auth'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `get'
+ activeresource (3.2.8) lib/active_resource/base.rb:901:in `find_every'
+ activeresource (3.2.8) lib/active_resource/base.rb:813:in `find'
+ /home/alezonez/Projetos/iugu-api/lib/iugu-api/models/iugu_resource.rb:109:in `find'
+ activeresource (3.2.8) lib/active_resource/base.rb:839:in `all'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/pricing_controller.rb:5:in `index'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:425:in `_run__1291505132687266555__process_action__2149775417482532439__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__4375074903487534772__call__2723813533247578399__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
@@ -921,22 +5690,112 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.6ms)
+Connecting to database specified by database.yml
-Started GET "/login.json" for 127.0.0.1 at 2012-10-26 17:21:47 -0200
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 14:26:25 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (1.6ms)
+Completed 200 OK in 336ms (Views: 158.3ms | ActiveRecord: 2.8ms)
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
-ActionController::RoutingError (No route matches [GET] "/login.json"):
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
+
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:29:20 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (0.2ms)
+Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:29:33 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Completed 500 Internal Server Error in 300ms
+
+ActiveResource::UnauthorizedAccess (Failed. Response code = 401. Response message = Unauthorized .):
+ activeresource (3.2.8) lib/active_resource/connection.rb:132:in `handle_response'
+ activeresource (3.2.8) lib/active_resource/connection.rb:115:in `request'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `block in get'
+ activeresource (3.2.8) lib/active_resource/connection.rb:218:in `with_auth'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `get'
+ activeresource (3.2.8) lib/active_resource/base.rb:901:in `find_every'
+ activeresource (3.2.8) lib/active_resource/base.rb:813:in `find'
+ /home/alezonez/Projetos/iugu-api/lib/iugu-api/models/iugu_resource.rb:109:in `find'
+ activeresource (3.2.8) lib/active_resource/base.rb:839:in `all'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/pricing_controller.rb:5:in `index'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:425:in `_run__1458737722296425806__process_action__2974687424702323321__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1324522641197838462__call__310466669812270320__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
@@ -947,212 +5806,286 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.9ms)
+Connecting to database specified by database.yml
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:03 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Completed 401 Unauthorized in 293ms
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:30:58 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (1.2ms)
+Completed 200 OK in 385ms (Views: 163.3ms | ActiveRecord: 2.1ms)
+Connecting to database specified by database.yml
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:08 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[35mUser Load (0.1ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
-Completed 401 Unauthorized in 130ms
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:34:40 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (2.8ms)
+Completed 200 OK in 192ms (Views: 77.6ms | ActiveRecord: 0.5ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:10 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 576ms (Views: 9.3ms | ActiveRecord: 1.7ms)
-Connecting to database specified by database.yml
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:34:58 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (5.0ms)
+Completed 200 OK in 64ms (Views: 20.4ms | ActiveRecord: 0.5ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:38 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 401 Unauthorized in 1ms
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:36:34 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (74.1ms)
+Completed 200 OK in 134ms (Views: 93.1ms | ActiveRecord: 0.4ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:47 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Completed 401 Unauthorized in 299ms
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:38:30 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (79.3ms)
+Completed 200 OK in 135ms (Views: 101.3ms | ActiveRecord: 0.4ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:49 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[35mUser Load (0.1ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
-Completed 401 Unauthorized in 130ms
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:38:35 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (64.7ms)
+Completed 200 OK in 119ms (Views: 84.6ms | ActiveRecord: 0.5ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:22:51 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 765ms (Views: 8.9ms | ActiveRecord: 1.7ms)
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:38:54 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (83.2ms)
+Completed 200 OK in 213ms (Views: 101.1ms | ActiveRecord: 0.5ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:23:50 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/pricing" for 127.0.0.1 at 2012-11-08 16:11:01 -0200
+Processing by Iugu::PricingController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (161.9ms)
+Completed 200 OK in 210ms (Views: 178.9ms | ActiveRecord: 0.4ms)
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:24:09 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (2.8ms)
-Completed 200 OK in 27ms (Views: 26.0ms | ActiveRecord: 0.0ms)
+Started GET "/" for 127.0.0.1 at 2012-11-09 11:17:51 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (4.1ms)
+Completed 200 OK in 224ms (Views: 221.8ms | ActiveRecord: 0.0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:24:49 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:17:51 -0200
+Served asset /jquery.js - 304 Not Modified (81ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:24:53 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:17:51 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (3ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:27:19 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-09 11:17:51 -0200
+Served asset /application.js - 304 Not Modified (6ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:27:33 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-09 11:17:51 -0200
+Served asset /application.css - 304 Not Modified (3ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:27:46 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-09 11:17:51 -0200
+Served asset /default.css - 304 Not Modified (3ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:28:08 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (1.4ms)
-Completed 200 OK in 29ms (Views: 28.5ms | ActiveRecord: 0.0ms)
+Started GET "/login" for 127.0.0.1 at 2012-11-09 11:17:53 -0200
+Processing by Iugu::SessionsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (4521.3ms)
+Completed 200 OK in 4620ms (Views: 4530.3ms | ActiveRecord: 2.5ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:28:14 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-09 11:17:58 -0200
+Served asset /application.css - 304 Not Modified (2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:28:26 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
-Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:17:58 -0200
+Served asset /jquery.js - 304 Not Modified (4ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:28:43 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:17:58 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:28:50 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-09 11:17:58 -0200
+Served asset /default.css - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:30:06 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
-Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-09 11:17:58 -0200
+Served asset /application.js - 304 Not Modified (1ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:30:26 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (1.0ms)
-Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
+Started POST "/login" for 127.0.0.1 at 2012-11-09 11:18:03 -0200
+Processing by Iugu::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"GqLjo+OHZ33rme1LDnnkZou2Sxly3sdK2ZrPSMmYyUA=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Logar"}
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/
+ [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 = '1') LIMIT 1
+Completed 302 Found in 810ms (ActiveRecord: 4.5ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:31:31 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (1.0ms)
-Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
+Started GET "/" for 127.0.0.1 at 2012-11-09 11:18:04 -0200
+Processing by DashboardController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ Rendered dashboard/index.html.haml within layouts/application (1.9ms)
+Completed 200 OK in 18ms (Views: 14.4ms | ActiveRecord: 0.5ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:31:51 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-09 11:18:04 -0200
+Served asset /application.css - 304 Not Modified (1ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:31:54 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
-Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.0ms)
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-09 11:18:04 -0200
+Served asset /default.css - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:32:05 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 140ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-09 11:18:04 -0200
+Served asset /application.js - 304 Not Modified (2ms)
-Started POST "/login." for 127.0.0.1 at 2012-10-26 17:32:14 -0200
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:18:04 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-ActionController::RoutingError (No route matches [POST] "/login."):
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:18:04 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-11-09 11:18:06 -0200
+Processing by Iugu::SettingsController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:18:06 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.2ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (125.5ms)
+Completed 500 Internal Server Error in 134ms
+
+ActionView::Template::Error (undefined method `token' for nil:NilClass):
+ 59: %br
+ 60:
+ 61: - if IuguSDK::enable_user_api
+ 62: = @user.token.token
+ 63:
+ 64: - if IuguSDK::enable_signup_form
+ 65: %div
+ /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml:62:in `__home_alezonez__rojetos_iugusdk_app_views_iugu_settings_profile_html_haml___2649573558837203140_69946228101760'
+ actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/profile_controller.rb:6:in `index'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:436:in `_run__3550394474261366068__process_action__2603109002571930049__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1525638525159112575__call__3488792023776086425__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
@@ -1163,195 +6096,483 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.3ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.0ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 17:32:18 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:18:33 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (91.0ms)
+ [1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1[0m
+Completed 200 OK in 218ms (Views: 178.7ms | ActiveRecord: 37.2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:32:18 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:18:34 -0200
+Served asset /jquery.js - 304 Not Modified (17ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:32:30 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (1.5ms)
-Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:18:34 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 17:32:35 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:18:34 -0200
+Served asset /settings.css - 304 Not Modified (5ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:32:35 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:18:34 -0200
+Served asset /jquery-ui.js - 304 Not Modified (3ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:32:50 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:18:34 -0200
+Served asset /settings_code.js - 304 Not Modified (4ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:33:04 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:18:34 -0200
+Served asset /settings.js - 304 Not Modified (13ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:34:09 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:18:34 -0200
+Served asset /application_logo.png - 304 Not Modified (31ms)
+Connecting to database specified by database.yml
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:34:15 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:20:47 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (39.2ms)
+ [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
+Completed 200 OK in 60ms (Views: 54.5ms | ActiveRecord: 2.8ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:34:30 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:20:47 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:34:34 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:47 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:35:01 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:47 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:36:11 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
-Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:47 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:36:40 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:47 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:37:15 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:47 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:37:30 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:20:47 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:37:53 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:20:59 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (115.6ms)
+ [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
+Completed 200 OK in 139ms (Views: 134.4ms | ActiveRecord: 2.2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:38:25 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
-Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:20:59 -0200
+Served asset /settings.css - 304 Not Modified (8ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:38:31 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:59 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:38:57 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:59 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:39:41 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 141ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:59 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:39:50 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:59 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:40:04 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:20:59 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:40:15 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:20:59 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:40:31 -0200
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:21:24 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (47.1ms)
+ [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
+Completed 200 OK in 72ms (Views: 67.0ms | ActiveRecord: 3.0ms)
-ActionController::RoutingError (No route matches [GET] "/"):
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:21:24 -0200
+Served asset /settings.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:24 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:24 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:24 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:24 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:24 -0200
+Served asset /settings.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:21:24 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:21:40 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.6ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (121.1ms)
+ [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
+Completed 200 OK in 140ms (Views: 134.7ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:21:40 -0200
+Served asset /settings.css - 304 Not Modified (22ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:40 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:41 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:41 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:41 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:41 -0200
+Served asset /jquery-ui.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:21:41 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:21:55 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mApiToken Load (0.6ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (44.4ms)
+ [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
+Completed 200 OK in 63ms (Views: 57.9ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:21:55 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:55 -0200
+Served asset /jquery-ui.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:55 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:55 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:55 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:21:55 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:21:55 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:23:03 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.7ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [1m[36mDelayed::Backend::ActiveRecord::Job Load (0.5ms)[0m [1mSELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1[0m
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (50.9ms)
+ [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
+Completed 200 OK in 152ms (Views: 146.5ms | ActiveRecord: 3.3ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:23:03 -0200
+Served asset /settings.css - 304 Not Modified (11ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:04 -0200
+Served asset /jquery-ui.js - 304 Not Modified (13ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:04 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:04 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:04 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:04 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:23:04 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:23:14 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [1m[36mSocialAccount Load (0.5ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (48.1ms)
+ [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
+Completed 200 OK in 72ms (Views: 66.9ms | ActiveRecord: 2.8ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:23:14 -0200
+Served asset /settings.css - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:14 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:14 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:14 -0200
+Served asset /jquery-ui.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:14 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:23:14 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:23:14 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:31:06 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.3ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (89.3ms)
+ [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
+Completed 200 OK in 255ms (Views: 137.0ms | ActiveRecord: 13.0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:07 -0200
+Served asset /jquery.js - 304 Not Modified (7ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:07 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:31:07 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:07 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:07 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:07 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:31:07 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile/social/renew_token" for 127.0.0.1 at 2012-11-09 11:31:11 -0200
+Processing by Iugu::ProfileController#renew_token as HTML
+ [1m[35mUser Load (0.6ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Completed 500 Internal Server Error in 12ms
+
+ActionView::MissingTemplate (Missing template iugu/profile/renew_token, iugu/settings/renew_token, application/renew_token with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :prawn, :haml, :rabl]}. Searched in:
+ * "/home/alezonez/Projetos/iugusdk/spec/dummy/app/views"
+ * "/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/kaminari-0.14.1/app/views"
+ * "/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.2/app/views"
+ * "/home/alezonez/Projetos/iugusdk/app/views"
+):
+ actionpack (3.2.8) lib/action_view/path_set.rb:58:in `find'
+ actionpack (3.2.8) lib/action_view/lookup_context.rb:109:in `find'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:34:in `determine_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:10:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:436:in `_run__3550394474261366068__process_action__2194532250972113797__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1525638525159112575__call__3488792023776086425__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
@@ -1362,626 +6583,649 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:40:43 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (1.0ms)
-Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:31:57 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (68.9ms)
+ [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
+Completed 200 OK in 341ms (Views: 188.8ms | ActiveRecord: 11.6ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:40:48 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:58 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (22ms)
-Started POST "/" for 127.0.0.1 at 2012-10-26 17:40:52 -0200
-Processing by DashboardController#index as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
-Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:58 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
-Started POST "/" for 127.0.0.1 at 2012-10-26 17:40:57 -0200
-Processing by DashboardController#index as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:31:58 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started POST "/" for 127.0.0.1 at 2012-10-26 17:41:01 -0200
-Processing by DashboardController#index as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:58 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:41:14 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 140ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:58 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:41:19 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:31:58 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:45:07 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:31:58 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
-Processing by DashboardController#index as HTML
- Rendered dashboard/splash.html.haml within layouts/application (2.6ms)
-Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)
+Started GET "/settings/profile/social/renew_token" for 127.0.0.1 at 2012-11-09 11:32:00 -0200
+Processing by Iugu::ProfileController#renew_token as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
-Served asset /application.css - 304 Not Modified (6ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:32:00 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (25.8ms)
+ [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
+Completed 200 OK in 44ms (Views: 39.3ms | ActiveRecord: 2.6ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
-Served asset /default.css - 304 Not Modified (1ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:32:00 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:00 -0200
Served asset /jquery.js - 304 Not Modified (2ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
-Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:00 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:26 -0200
-Served asset /application.js - 304 Not Modified (4ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:00 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/login" for 127.0.0.1 at 2012-10-26 17:45:27 -0200
-Processing by Iugu::SessionsController#new as HTML
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.5ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (1248.3ms)
-Completed 200 OK in 1256ms (Views: 1254.0ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:00 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
-Served asset /application.css - 304 Not Modified (0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:00 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
-Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:32:00 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
-Served asset /jquery.js - 304 Not Modified (0ms)
+Started GET "/settings/profile/social/renew_token" for 127.0.0.1 at 2012-11-09 11:32:03 -0200
+Processing by Iugu::ProfileController#renew_token as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
-Served asset /default.css - 304 Not Modified (0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:32:03 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (28.0ms)
+ [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
+Completed 200 OK in 54ms (Views: 49.8ms | ActiveRecord: 2.9ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:29 -0200
-Served asset /application.js - 304 Not Modified (0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:03 -0200
+Served asset /jquery.js - 304 Not Modified (24ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
-Processing by Iugu::SessionsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"BP7oW1fZYgrP7z7pe5xzvILYcl7ubgV0uOoe5Qxd8RU=", "user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Logar"}
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 138ms (ActiveRecord: 0.1ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:03 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
-Processing by DashboardController#index as HTML
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
- Rendered dashboard/index.html.haml within layouts/application (1.3ms)
-Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:03 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
-Served asset /jquery.js - 304 Not Modified (0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:32:03 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
-Served asset /default.css - 304 Not Modified (0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:03 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
-Served asset /application.css - 304 Not Modified (0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:32:03 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
-Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:32:03 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:35 -0200
-Served asset /application.js - 304 Not Modified (0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:38:50 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mApiToken Load (0.4ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.3ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (60.0ms)
+ [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
+Completed 200 OK in 326ms (Views: 175.6ms | ActiveRecord: 12.1ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:39 -0200
-Processing by DashboardController#index as */*
- [1m[35mUser Load (0.1ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
- Rendered dashboard/index.html.haml within layouts/application (1.3ms)
-Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:50 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started DELETE "/logout" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
-Processing by Iugu::SessionsController#destroy as HTML
- Parameters: {"authenticity_token"=>"BP7oW1fZYgrP7z7pe5xzvILYcl7ubgV0uOoe5Qxd8RU="}
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mCOMMIT[0m
-Redirected to http://iugusdk.dev:3000/
-Completed 302 Found in 25ms (ActiveRecord: 0.2ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:50 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
-Processing by DashboardController#index as HTML
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:50 -0200
+Served asset /jquery-ui.js - 304 Not Modified (0ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
-Served asset /default.css - 304 Not Modified (0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:38:50 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
-Served asset /jquery.js - 304 Not Modified (0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:50 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
-Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:50 -0200
+Served asset /settings.js - 304 Not Modified (4ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
-Served asset /application.js - 304 Not Modified (0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:38:50 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:45:43 -0200
-Served asset /application.css - 304 Not Modified (0ms)
+Started GET "/settings/profile/social/renew_token" for 127.0.0.1 at 2012-11-09 11:38:52 -0200
+Processing by Iugu::ProfileController#renew_token as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:45:45 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
-Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:38:52 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.4ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (30.5ms)
+ [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
+Completed 200 OK in 55ms (Views: 49.3ms | ActiveRecord: 2.8ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
-Processing by DashboardController#index as HTML
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:52 -0200
+Served asset /jquery-ui.js - 304 Not Modified (9ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
-Served asset /application.css - 304 Not Modified (0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:52 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
-Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:52 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
-Served asset /default.css - 304 Not Modified (0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:52 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
-Served asset /jquery.js - 304 Not Modified (0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:38:52 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:03 -0200
-Served asset /application.js - 304 Not Modified (0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:38:52 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
-Started GET "/login" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
-Processing by Iugu::SessionsController#new as HTML
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (1.3ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (10.4ms)
-Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:38:52 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
-Served asset /default.css - 304 Not Modified (0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:39:20 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mApiToken Load (0.5ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (143.1ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1
+Completed 200 OK in 276ms (Views: 191.9ms | ActiveRecord: 13.2ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
-Served asset /jquery.js - 304 Not Modified (0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:20 -0200
+Served asset /jquery.js - 304 Not Modified (15ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:20 -0200
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
-Served asset /application.js - 304 Not Modified (0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:20 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:05 -0200
-Served asset /application.css - 304 Not Modified (0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:39:20 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 17:46:11 -0200
-Processing by Iugu::SessionsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"czxGtBvhbYMTIC47Apgu3iIcjNsYgiQKYfDRUYSeGKU=", "user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Logar"}
- [1m[35mUser Load (0.1ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
-Redirected to http://iugusdk.dev:3000/
- [1m[36mAccount Load (0.1ms)[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
-Completed 302 Found in 138ms (ActiveRecord: 0.1ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:20 -0200
+Served asset /settings.js - 304 Not Modified (5ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
-Processing by DashboardController#index as HTML
- [1m[35mUser Load (0.1ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
- Rendered dashboard/index.html.haml within layouts/application (45.5ms)
-Completed 200 OK in 54ms (Views: 52.4ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:20 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
-Served asset /default.css - 304 Not Modified (0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:39:21 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
-Served asset /application.css - 304 Not Modified (0ms)
+Started GET "/settings/profile/social/renew_token" for 127.0.0.1 at 2012-11-09 11:39:23 -0200
+Processing by Iugu::ProfileController#renew_token as HTML
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.5ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mApiToken Exists (0.6ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`token` = BINARY '6ae55980ab965c127fef9dfdb0ca3583' AND `api_tokens`.`id` != 7) LIMIT 1
+ [1m[36mApiToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'User' AND `api_tokens`.`id` != 7 AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User') LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36m (3.0ms)[0m [1mUPDATE `api_tokens` SET `token` = '6ae55980ab965c127fef9dfdb0ca3583', `updated_at` = '2012-11-09 13:39:23' WHERE `api_tokens`.`id` = 7[0m
+ [1m[35m (62.1ms)[0m COMMIT
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 252ms (ActiveRecord: 67.3ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:39:23 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (28.8ms)
+ [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
+Completed 200 OK in 48ms (Views: 43.3ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:39:23 -0200
+Served asset /settings.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:23 -0200
+Served asset /jquery.js - 304 Not Modified (11ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:23 -0200
+Served asset /jquery-ui.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:23 -0200
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
-Served asset /jquery.js - 304 Not Modified (0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:23 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:12 -0200
-Served asset /application.js - 304 Not Modified (0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:23 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:14 -0200
-Processing by DashboardController#index as */*
- [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
- Rendered dashboard/index.html.haml within layouts/application (0.2ms)
-Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.2ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:39:23 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
-Started DELETE "/logout.json" for 127.0.0.1 at 2012-10-26 17:46:19 -0200
-Processing by Iugu::SessionsController#destroy as JSON
-WARNING: Can't verify CSRF token authenticity
- [1m[35mUser Load (0.1ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m COMMIT
-Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
+Started GET "/settings/profile/social/renew_token" for 127.0.0.1 at 2012-11-09 11:39:24 -0200
+Processing by Iugu::ProfileController#renew_token as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mApiToken Load (0.4ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mApiToken Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`token` = BINARY '9606ea871690789939a06efb129e9efa' AND `api_tokens`.`id` != 7) LIMIT 1[0m
+ [1m[35mApiToken Exists (0.2ms)[0m SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`description` = BINARY 'User' AND `api_tokens`.`id` != 7 AND `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User') LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m UPDATE `api_tokens` SET `token` = '9606ea871690789939a06efb129e9efa', `updated_at` = '2012-11-09 13:39:25' WHERE `api_tokens`.`id` = 7
+ [1m[36m (95.6ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 106ms (ActiveRecord: 97.2ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:22 -0200
-Processing by DashboardController#index as HTML
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:39:25 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [1m[36mApiToken Load (0.4ms)[0m [1mSELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.4ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (27.1ms)
+ [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
+Completed 200 OK in 45ms (Views: 41.0ms | ActiveRecord: 2.8ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
-Served asset /application.css - 304 Not Modified (0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:39:25 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:25 -0200
+Served asset /jquery-ui.js - 304 Not Modified (12ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:25 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:25 -0200
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
-Served asset /default.css - 304 Not Modified (0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:25 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
-Served asset /application.js - 304 Not Modified (0ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:39:25 -0200
+Served asset /settings.js - 304 Not Modified (3ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-10-26 17:46:23 -0200
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:39:25 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:41:32 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mApiToken Load (0.4ms)[0m SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.2ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (59.0ms)
+ [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
+Completed 200 OK in 229ms (Views: 179.2ms | ActiveRecord: 12.3ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:41:33 -0200
+Served asset /jquery-ui.js - 304 Not Modified (14ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:41:33 -0200
Served asset /jquery.js - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:29 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:41:33 -0200
+Served asset /settings.css - 304 Not Modified (0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:46:32 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [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
-Completed 201 Created in 141ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:41:33 -0200
+Served asset /settings.js - 304 Not Modified (2ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 17:46:39 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:41:33 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:39 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:41:33 -0200
+Served asset /settings_code.js - 304 Not Modified (0ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 17:46:43 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:41:33 -0200
+Served asset /application_logo.png - 304 Not Modified (0ms)
+Connecting to database specified by database.yml
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:46:43 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:43:00 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [1m[36mSocialAccount Load (0.2ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1[0m
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (4893.4ms)
+ [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
+Completed 200 OK in 5513ms (Views: 5255.3ms | ActiveRecord: 11.9ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:46:49 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-09 11:43:05 -0200
+Served asset /jquery-ui.js - 304 Not Modified (20ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:46:58 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-09 11:43:05 -0200
+Served asset /settings.js - 304 Not Modified (15ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:47:31 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 11:43:05 -0200
+Served asset /jquery.js - 304 Not Modified (3ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:47:38 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-09 11:43:05 -0200
+Served asset /settings.css - 304 Not Modified (2ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:47:52 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-09 11:43:05 -0200
+Served asset /settings_code.js - 304 Not Modified (2ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:49:10 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 11:43:05 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (3ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:49:36 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
-Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-09 11:43:05 -0200
+Served asset /application_logo.png - 304 Not Modified (3ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:49:44 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/settings/profile/renew_token" for 127.0.0.1 at 2012-11-09 11:43:13 -0200
+Processing by Iugu::ProfileController#renew_token as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Completed 500 Internal Server Error in 3ms
+ActionController::RoutingError (Not found):
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/profile_controller.rb:75:in `renew_token'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:436:in `_run__2886478044694604057__process_action__2871034875444348226__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__4339682152228970228__call__2170605414346306949__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:50:06 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.4ms)
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:50:35 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 140ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/" for 127.0.0.1 at 2012-11-09 16:00:07 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (4.1ms)
+Completed 200 OK in 161ms (Views: 159.7ms | ActiveRecord: 0.0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:51:13 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 16:00:07 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (10ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:51:25 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 16:00:07 -0200
+Served asset /jquery.js - 304 Not Modified (3ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:52:30 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.9ms)
-Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-09 16:00:08 -0200
+Served asset /application.css - 304 Not Modified (4ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 17:52:40 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.8ms)
-Completed 200 OK in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms)
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-09 16:00:08 -0200
+Served asset /default.css - 304 Not Modified (2ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:52:48 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-09 16:00:08 -0200
+Served asset /application.js - 304 Not Modified (5ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:52:50 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/signup" for 127.0.0.1 at 2012-11-09 16:00:09 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.6ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4869.3ms)
+Completed 200 OK in 4917ms (Views: 4879.1ms | ActiveRecord: 2.4ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:52:59 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-09 16:00:14 -0200
+Served asset /application.css - 304 Not Modified (1ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:53:09 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-09 16:00:14 -0200
+Served asset /default.css - 304 Not Modified (6ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:53:29 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-09 16:00:14 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 17:58:42 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 140ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-09 16:00:14 -0200
+Served asset /application.js - 304 Not Modified (1ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:01:50 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-09 16:00:14 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Connecting to database specified by database.yml
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:35:09 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 401 Unauthorized in 1ms
+Started GET "/signup" for 127.0.0.1 at 2012-11-09 16:04:06 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+Redirected to http://iugusdk.dev:3000/pricing
+Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:35:16 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Completed 500 Internal Server Error in 505ms
+Started GET "/pricing" for 127.0.0.1 at 2012-11-09 16:04:07 -0200
+Processing by Iugu::PricingController#index as HTML
+Completed 500 Internal Server Error in 60092ms
-ActionView::MissingTemplate (Missing template iugu/sessions/create, devise/sessions/create, devise/create, application/create with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :prawn, :haml, :rabl]}. Searched in:
- * "/home/patrick/Desenvolvimento/iugusdk/spec/dummy/app/views"
- * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/kaminari-0.14.1/app/views"
- * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/devise-2.1.2/app/views"
- * "/home/patrick/Desenvolvimento/iugusdk/app/views"
-):
- actionpack (3.2.8) lib/action_view/path_set.rb:58:in `find'
- actionpack (3.2.8) lib/action_view/lookup_context.rb:109:in `find'
- actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
- actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:34:in `determine_template'
- actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:10:in `render'
- actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
- actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
- actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
- actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
- actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
- activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
- activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
- activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:176:in `to_format'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
- actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
- devise (2.1.2) app/controllers/devise/sessions_controller.rb:18:in `create'
+ActiveResource::TimeoutError (Timeout::Error):
+ activeresource (3.2.8) lib/active_resource/connection.rb:117:in `rescue in request'
+ activeresource (3.2.8) lib/active_resource/connection.rb:110:in `request'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `block in get'
+ activeresource (3.2.8) lib/active_resource/connection.rb:218:in `with_auth'
+ activeresource (3.2.8) lib/active_resource/connection.rb:80:in `get'
+ activeresource (3.2.8) lib/active_resource/base.rb:901:in `find_every'
+ activeresource (3.2.8) lib/active_resource/base.rb:813:in `find'
+ /home/alezonez/Projetos/iugu-api/lib/iugu-api/models/iugu_resource.rb:108:in `find'
+ activeresource (3.2.8) lib/active_resource/base.rb:839:in `all'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/pricing_controller.rb:5:in `index'
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:469:in `_run__290765563__process_action__561538514__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:425:in `_run__2006994791530478267__process_action__2676770508991911986__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
@@ -2013,21 +7257,22 @@
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__82958304__call__364072266__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1669891308380633896__call__1649727460681722004__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
@@ -2045,30 +7290,30 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28.7ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:35:37 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[35mUser Load (0.1ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
-Completed 500 Internal Server Error in 137ms
+Started GET "/api/v1/plans.json" for 127.0.0.1 at 2012-11-09 16:05:07 -0200
+Processing by MyDummyController#index as JSON
+ Parameters: {"path"=>"api/v1/plans"}
+Completed 500 Internal Server Error in 11ms
-ActionView::MissingTemplate (Missing template iugu/sessions/create, devise/sessions/create, devise/create, application/create with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :prawn, :haml, :rabl]}. Searched in:
- * "/home/patrick/Desenvolvimento/iugusdk/spec/dummy/app/views"
- * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/kaminari-0.14.1/app/views"
- * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/devise-2.1.2/app/views"
- * "/home/patrick/Desenvolvimento/iugusdk/app/views"
+ActionView::MissingTemplate (Missing template my_dummy/index, iugu/application_domain/index, application/index with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :prawn, :haml, :rabl]}. Searched in:
+ * "/home/alezonez/Projetos/iugusdk/spec/dummy/app/views"
+ * "/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/kaminari-0.14.1/app/views"
+ * "/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.2/app/views"
+ * "/home/alezonez/Projetos/iugusdk/app/views"
):
actionpack (3.2.8) lib/action_view/path_set.rb:58:in `find'
actionpack (3.2.8) lib/action_view/lookup_context.rb:109:in `find'
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:34:in `determine_template'
@@ -2082,28 +7327,22 @@
actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:176:in `to_format'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
- actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
- devise (2.1.2) app/controllers/devise/sessions_controller.rb:18:in `create'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:469:in `_run__290765563__process_action__561538514__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:436:in `_run__743779501959208094__process_action__2676770508991911986__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
@@ -2135,21 +7374,22 @@
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__82958304__call__364072266__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1669891308380633896__call__1649727460681722004__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
@@ -2167,316 +7407,1952 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.4ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)
Connecting to database specified by database.yml
+Connecting to database specified by database.yml
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:37:54 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 401 Unauthorized in 1ms
+Started GET "/pricing" for 127.0.0.1 at 2012-11-09 16:30:02 -0200
+Processing by Iugu::PricingController#index as HTML
+Completed 500 Internal Server Error in 2ms
+ActionController::RoutingError (iws_api_key missing):
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/iugusdk_base_controller.rb:31:in `verify_api_key'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:429:in `_run__8172698283673057__process_action__2461960758256179041__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__4215158674007587115__call__380044087867033266__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:38:03 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 941ms (Views: 9.0ms | ActiveRecord: 1.7ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:38:11 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/signup" for 127.0.0.1 at 2012-11-09 16:30:11 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+Redirected to http://iugusdk.dev:3000/pricing
+Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:38:12 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
+Started GET "/pricing" for 127.0.0.1 at 2012-11-09 16:30:12 -0200
+Processing by Iugu::PricingController#index as HTML
+Completed 500 Internal Server Error in 1ms
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:38:26 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+ActionController::RoutingError (iws_api_key missing):
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/iugusdk_base_controller.rb:31:in `verify_api_key'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:429:in `_run__8172698283673057__process_action__2461960758256179041__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__4215158674007587115__call__380044087867033266__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:38:26 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (2.8ms)
-Completed 200 OK in 27ms (Views: 25.5ms | ActiveRecord: 0.0ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+ [1m[36m (4.0ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+Migrating to AddDeviseToUsers (20120529134109)
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+Migrating to CreateAccountUsers (20120529180814)
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+Migrating to CreateAccountRoles (20120531171438)
+Migrating to AddLocaleToUser (20120604131034)
+Migrating to CreateSocialAccount (20120605142527)
+Migrating to SetLocale (20120612141130)
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+Migrating to CreateDelayedJobs (20120615180728)
+Migrating to CreateUserInvitations (20120629154429)
+Migrating to AddTokenToUserInvitations (20120629195345)
+Migrating to AddRolesToUserInvitations (20120705202827)
+Migrating to CreateAccountDomain (20120716145846)
+Migrating to AddSubdomainToAccount (20120719162426)
+Migrating to AddApiTokenToAccount (20120725170859)
+Migrating to AddGuestToUsers (20120803172545)
+Migrating to CreateApiToken (20121023113304)
+Migrating to RemoveApiTokenFromAccount (20121108115535)
+ [1m[35m (0.4ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Connecting to database specified by database.yml
+ [1m[36m (128.7ms)[0m [1mCREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB[0m
+ [1m[35m (106.9ms)[0m CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (106.2ms)[0m [1mCREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB[0m
+ [1m[35m (97.5ms)[0m CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `subscription_id` int(11), `subdomain` varchar(255), `api_token` varchar(255)) ENGINE=InnoDB
+ [1m[36m (89.3ms)[0m [1mCREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (81.5ms)[0m CREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (158.2ms)[0m [1mCREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)[0m
+ [1m[35m (89.7ms)[0m CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB
+ [1m[36m (90.6ms)[0m [1mCREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (105.6ms)[0m CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (158.2ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)[0m
+ [1m[35m (241.6ms)[0m CREATE INDEX `index_users_on_email` ON `users` (`email`)
+ [1m[36m (158.3ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)[0m
+ [1m[35m (82.1ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
+ [1m[36m (134.8ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
+ [1m[35m (0.3ms)[0m SELECT version FROM `schema_migrations`
+ [1m[36m (22.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20121108115535')[0m
+ [1m[35m (49.8ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')
+ [1m[36m (24.6ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120719162426')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120604131034')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529174755')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120613173114')[0m
+ [1m[35m (33.1ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120803172545')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529180814')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120528164634')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')
+ [1m[36m (41.6ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629154429')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')
+ [1m[36m (41.6ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120605142527')[0m
+ [1m[35m (41.5ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629195345')[0m
+ [1m[35m (5.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Connecting to database specified by database.yml
+ [1m[36m (5.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+Migrating to AddDeviseToUsers (20120529134109)
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+Migrating to CreateAccountUsers (20120529180814)
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+Migrating to CreateAccountRoles (20120531171438)
+Migrating to AddLocaleToUser (20120604131034)
+Migrating to CreateSocialAccount (20120605142527)
+Migrating to SetLocale (20120612141130)
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+Migrating to CreateDelayedJobs (20120615180728)
+Migrating to CreateUserInvitations (20120629154429)
+Migrating to AddTokenToUserInvitations (20120629195345)
+Migrating to AddRolesToUserInvitations (20120705202827)
+Migrating to CreateAccountDomain (20120716145846)
+Migrating to AddSubdomainToAccount (20120719162426)
+Migrating to AddApiTokenToAccount (20120725170859)
+Migrating to AddGuestToUsers (20120803172545)
+Migrating to CreateApiToken (20121023113304)
+Migrating to RemoveApiTokenFromAccount (20121108115535)
+ [1m[35m (0.4ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Connecting to database specified by database.yml
+ [1m[36m (105.8ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (133.6ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
+ [1m[36m (3.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+ [1m[35m (107.7ms)[0m CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (32.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634')[0m
+Migrating to AddDeviseToUsers (20120529134109)
+ [1m[35m (103.7ms)[0m CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (159.0ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (157.9ms)[0m CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
+ [1m[36m (149.9ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)[0m
+ [1m[35m (24.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109')
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+ [1m[36m (173.8ms)[0m [1mALTER TABLE `users` ADD `birthdate` date[0m
+ [1m[35m (192.7ms)[0m ALTER TABLE `users` ADD `name` varchar(255)
+ [1m[36m (25.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901')[0m
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+ [1m[35m (173.7ms)[0m ALTER TABLE `accounts` ADD `name` varchar(255)
+ [1m[36m (167.8ms)[0m [1mALTER TABLE `accounts` ADD `subscription_id` int(11)[0m
+ [1m[35m (193.0ms)[0m ALTER TABLE `accounts` ADD `user_id` int(11)
+ [1m[36m (24.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755')[0m
+Migrating to CreateAccountUsers (20120529180814)
+ [1m[35m (80.7ms)[0m CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (24.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814')[0m
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+ [1m[35m (216.9ms)[0m ALTER TABLE `accounts` DROP `user_id`
+ [1m[36m (23.7ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709')[0m
+Migrating to CreateAccountRoles (20120531171438)
+ [1m[35m (79.6ms)[0m CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (32.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438')[0m
+Migrating to AddLocaleToUser (20120604131034)
+ [1m[35m (204.5ms)[0m ALTER TABLE `users` ADD `locale` varchar(255)
+ [1m[36m (32.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034')[0m
+Migrating to CreateSocialAccount (20120605142527)
+ [1m[35m (88.7ms)[0m CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB
+ [1m[36m (24.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527')[0m
+Migrating to SetLocale (20120612141130)
+ [1m[35mSQL (0.4ms)[0m UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL
+ [1m[36m (41.8ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130')[0m
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+ [1m[35m (106.5ms)[0m DROP INDEX `index_users_on_email` ON `users`
+ [1m[36m (149.7ms)[0m [1mCREATE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (32.5ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114')
+Migrating to CreateDelayedJobs (20120615180728)
+ [1m[36m (94.6ms)[0m [1mCREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (157.9ms)[0m CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
+ [1m[36m (24.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728')[0m
+Migrating to CreateUserInvitations (20120629154429)
+ [1m[35m (80.9ms)[0m CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11)) ENGINE=InnoDB
+ [1m[36m (24.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429')[0m
+Migrating to AddTokenToUserInvitations (20120629195345)
+ [1m[35m (141.2ms)[0m ALTER TABLE `user_invitations` ADD `token` varchar(255)
+ [1m[36m (32.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345')[0m
+Migrating to AddRolesToUserInvitations (20120705202827)
+ [1m[35m (182.2ms)[0m ALTER TABLE `user_invitations` ADD `roles` varchar(255)
+ [1m[36m (32.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827')[0m
+Migrating to CreateAccountDomain (20120716145846)
+ [1m[35m (55.7ms)[0m CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846')[0m
+Migrating to AddSubdomainToAccount (20120719162426)
+ [1m[35m (141.3ms)[0m ALTER TABLE `accounts` ADD `subdomain` varchar(255)
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426')[0m
+Migrating to AddApiTokenToAccount (20120725170859)
+ [1m[35m (184.0ms)[0m ALTER TABLE `accounts` ADD `api_token` varchar(255)
+ [1m[36m (40.8ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859')[0m
+Migrating to AddGuestToUsers (20120803172545)
+ [1m[35m (194.7ms)[0m ALTER TABLE `users` ADD `guest` tinyint(1)
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545')[0m
+Migrating to CreateApiToken (20121023113304)
+ [1m[35m (86.0ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')[0m
+Migrating to RemoveApiTokenFromAccount (20121108115535)
+ [1m[35m (37.7ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')
+ [1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Connecting to database specified by database.yml
+ [1m[36m (125.7ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (125.3ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
+ [1m[36m (5.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+ [1m[35m (82.7ms)[0m CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (32.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634')[0m
+Migrating to AddDeviseToUsers (20120529134109)
+ [1m[35m (106.2ms)[0m CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (143.0ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (149.5ms)[0m CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
+ [1m[36m (141.3ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)[0m
+ [1m[35m (24.4ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109')
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+ [1m[36m (199.3ms)[0m [1mALTER TABLE `users` ADD `birthdate` date[0m
+ [1m[35m (244.0ms)[0m ALTER TABLE `users` ADD `name` varchar(255)
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901')[0m
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+ [1m[35m (149.4ms)[0m ALTER TABLE `accounts` ADD `name` varchar(255)
+ [1m[36m (192.8ms)[0m [1mALTER TABLE `accounts` ADD `subscription_id` int(11)[0m
+ [1m[35m (243.1ms)[0m ALTER TABLE `accounts` ADD `user_id` int(11)
+ [1m[36m (24.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755')[0m
+Migrating to CreateAccountUsers (20120529180814)
+ [1m[35m (72.6ms)[0m CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (24.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814')[0m
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+ [1m[35m (157.7ms)[0m ALTER TABLE `accounts` DROP `user_id`
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709')[0m
+Migrating to CreateAccountRoles (20120531171438)
+ [1m[35m (73.1ms)[0m CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (32.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438')[0m
+Migrating to AddLocaleToUser (20120604131034)
+ [1m[35m (208.8ms)[0m ALTER TABLE `users` ADD `locale` varchar(255)
+ [1m[36m (32.5ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034')[0m
+Migrating to CreateSocialAccount (20120605142527)
+ [1m[35m (71.5ms)[0m CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB
+ [1m[36m (24.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527')[0m
+Migrating to SetLocale (20120612141130)
+ [1m[35mSQL (0.3ms)[0m UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL
+ [1m[36m (35.7ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130')[0m
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+ [1m[35m (90.0ms)[0m DROP INDEX `index_users_on_email` ON `users`
+ [1m[36m (149.3ms)[0m [1mCREATE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (32.5ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114')
+Migrating to CreateDelayedJobs (20120615180728)
+ [1m[36m (106.8ms)[0m [1mCREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (157.8ms)[0m CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
+ [1m[36m (24.6ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728')[0m
+Migrating to CreateUserInvitations (20120629154429)
+ [1m[35m (98.0ms)[0m CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11)) ENGINE=InnoDB
+ [1m[36m (24.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429')[0m
+Migrating to AddTokenToUserInvitations (20120629195345)
+ [1m[35m (168.3ms)[0m ALTER TABLE `user_invitations` ADD `token` varchar(255)
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345')[0m
+Migrating to AddRolesToUserInvitations (20120705202827)
+ [1m[35m (208.5ms)[0m ALTER TABLE `user_invitations` ADD `roles` varchar(255)
+ [1m[36m (32.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827')[0m
+Migrating to CreateAccountDomain (20120716145846)
+ [1m[35m (73.4ms)[0m CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846')[0m
+Migrating to AddSubdomainToAccount (20120719162426)
+ [1m[35m (157.1ms)[0m ALTER TABLE `accounts` ADD `subdomain` varchar(255)
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426')[0m
+Migrating to AddApiTokenToAccount (20120725170859)
+ [1m[35m (182.1ms)[0m ALTER TABLE `accounts` ADD `api_token` varchar(255)
+ [1m[36m (32.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859')[0m
+Migrating to AddGuestToUsers (20120803172545)
+ [1m[35m (215.9ms)[0m ALTER TABLE `users` ADD `guest` tinyint(1)
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545')[0m
+Migrating to CreateApiToken (20121023113304)
+ [1m[35m (179.2ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (23.8ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')[0m
+Migrating to RemoveApiTokenFromAccount (20121108115535)
+ [1m[35m (157.5ms)[0m ALTER TABLE `accounts` DROP `api_token`
+ [1m[36m (23.8ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')[0m
+ [1m[35m (0.4ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:38:27 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+Started GET "/" for 127.0.0.1 at 2012-11-14 10:40:50 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (7.7ms)
+Completed 200 OK in 364ms (Views: 361.4ms | ActiveRecord: 0.0ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:38:28 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
-Connecting to database specified by database.yml
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 10:40:51 -0200
+Served asset /application.css - 304 Not Modified (3ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:38:55 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 401 Unauthorized in 1ms
-Processing by Iugu::SessionsController#new as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.5ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (1207.9ms)
-Completed 200 OK in 1546ms (Views: 1399.7ms | ActiveRecord: 1.2ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 10:40:51 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (8ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:13 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 723ms (ActiveRecord: 1.7ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 10:40:51 -0200
+Served asset /jquery.js - 304 Not Modified (4ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:14 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (2.8ms)
-Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms)
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 10:40:52 -0200
+Served asset /default.css - 304 Not Modified (2ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:20 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 141ms (ActiveRecord: 0.1ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 10:40:52 -0200
+Served asset /application.js - 304 Not Modified (5ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:20 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
+Started GET "/signup" for 127.0.0.1 at 2012-11-14 10:40:54 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ERROR: compiling __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620 RAISED /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end
+Function body: def __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620(local_assigns, output_buffer)
+ _old_virtual_path, @virtual_path = @virtual_path, "iugu/registrations/new";_old_output_buffer = @output_buffer;;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;;_hamlout.push_text("<h2>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up")
+));}\n</h2>\n", -1, false);haml_temp = simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.error_notification
+));}\n<div class='inputs'>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( f.input :email, :required => true, :autofocus => true
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password, :required => true, :label => I18n.t("activerecord.attributes.password")
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password_confirmation, :required => true, :label => I18n.t("activerecord.attributes.password_confirmation")
+));}\n", 0, false); if IuguSDK::enable_alias_on_signup
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :account_alias, :label => 'Alias'
+));}\n", 0, false);end
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/signup_fields", :locals => {:f => f}
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.hidden_field :locale, :value => @matched_locale_from_browser
+));}\n", 0, false); if IuguSDK::enable_subscription_features
+_hamlout.push_text("</div>\n<div class='actions'>\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up")
+));}\n</div>\n", -1, false);end
+_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false); if IuguSDK::enable_guest_user
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( link_to I18n.t("iugu.try_first"), try_first_path, :method => :post
+));}\n", 0, false);end
+_hamlout.push_text("<br>\n#{
+_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/links"
+));}\n", 0, false);::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper if @haml_buffer;end;
+ ensure
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
+ end
+Backtrace: /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `module_eval'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `compile'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:244:in `block in compile!'
+<internal:prelude>:10:in `synchronize'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:232:in `compile!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:144:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:125:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:143:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:18:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:36:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:17:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:110:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/streaming.rb:225:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:103:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:88:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:16:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `ms'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:39:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:232:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:160:in `to_html'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:153:in `respond'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:146:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.2/app/controllers/devise/registrations_controller.rb:8:in `new'
+/home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.2.1/lib/sass/plugin/rack.rb:54:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
+/home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:65:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application.rb:223:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/log_tailer.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (10.4ms)
+Completed 500 Internal Server Error in 97ms
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:25 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+ActionView::Template::Error (/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end):
+ 19:
+ 20: %br
+ 21: = render :partial => "iugu/shared/links"
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `module_eval'
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `compile'
+ actionpack (3.2.8) lib/action_view/template.rb:244:in `block in compile!'
+ <internal:prelude>:10:in `synchronize'
+ actionpack (3.2.8) lib/action_view/template.rb:232:in `compile!'
+ actionpack (3.2.8) lib/action_view/template.rb:144:in `block in render'
+ activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:160:in `to_html'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
+ actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+ devise (2.1.2) app/controllers/devise/registrations_controller.rb:8:in `new'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:25 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.2ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (29.5ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:26 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 138ms (ActiveRecord: 0.1ms)
+Started GET "/signup" for 127.0.0.1 at 2012-11-14 10:41:49 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ERROR: compiling __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620 RAISED /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end
+Function body: def __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620(local_assigns, output_buffer)
+ _old_virtual_path, @virtual_path = @virtual_path, "iugu/registrations/new";_old_output_buffer = @output_buffer;;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;;_hamlout.push_text("<h2>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up")
+));}\n</h2>\n", -1, false);haml_temp = simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.error_notification
+));}\n<div class='inputs'>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( f.input :email, :required => true, :autofocus => true
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password, :required => true, :label => I18n.t("activerecord.attributes.password")
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password_confirmation, :required => true, :label => I18n.t("activerecord.attributes.password_confirmation")
+));}\n", 0, false); if IuguSDK::enable_alias_on_signup
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :account_alias, :label => 'Alias'
+));}\n", 0, false);end
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/signup_fields", :locals => {:f => f}
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.hidden_field :locale, :value => @matched_locale_from_browser
+));}\n", 0, false); if IuguSDK::enable_subscription_features
+_hamlout.push_text("</div>\n<div class='actions'>\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up")
+));}\n</div>\n", -1, false);end
+_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false); if IuguSDK::enable_guest_user
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( link_to I18n.t("iugu.try_first"), try_first_path, :method => :post
+));}\n", 0, false);end
+_hamlout.push_text("<br>\n#{
+_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/links"
+));}\n", 0, false);::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper if @haml_buffer;end;
+ ensure
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
+ end
+Backtrace: /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `module_eval'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `compile'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:244:in `block in compile!'
+<internal:prelude>:10:in `synchronize'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:232:in `compile!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:144:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:125:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:143:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:18:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:36:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:17:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:110:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/streaming.rb:225:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:103:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:88:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:16:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `ms'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:39:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:232:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:160:in `to_html'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:153:in `respond'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:146:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.2/app/controllers/devise/registrations_controller.rb:8:in `new'
+/home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.2.1/lib/sass/plugin/rack.rb:54:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
+/home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:65:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application.rb:223:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/log_tailer.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4.6ms)
+Completed 500 Internal Server Error in 146ms
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:26 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
+ActionView::Template::Error (/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end):
+ 19:
+ 20: %br
+ 21: = render :partial => "iugu/shared/links"
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `module_eval'
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `compile'
+ actionpack (3.2.8) lib/action_view/template.rb:244:in `block in compile!'
+ <internal:prelude>:10:in `synchronize'
+ actionpack (3.2.8) lib/action_view/template.rb:232:in `compile!'
+ actionpack (3.2.8) lib/action_view/template.rb:144:in `block in render'
+ activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:160:in `to_html'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
+ actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+ devise (2.1.2) app/controllers/devise/registrations_controller.rb:8:in `new'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:27 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.8ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:27 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
+Started GET "/signup?plan=dad" for 127.0.0.1 at 2012-11-14 10:42:46 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"dad"}
+ERROR: compiling __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620 RAISED /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end
+Function body: def __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620(local_assigns, output_buffer)
+ _old_virtual_path, @virtual_path = @virtual_path, "iugu/registrations/new";_old_output_buffer = @output_buffer;;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;;_hamlout.push_text("<h2>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up")
+));}\n</h2>\n", -1, false);haml_temp = simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.error_notification
+));}\n<div class='inputs'>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( f.input :email, :required => true, :autofocus => true
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password, :required => true, :label => I18n.t("activerecord.attributes.password")
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password_confirmation, :required => true, :label => I18n.t("activerecord.attributes.password_confirmation")
+));}\n", 0, false); if IuguSDK::enable_alias_on_signup
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :account_alias, :label => 'Alias'
+));}\n", 0, false);end
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/signup_fields", :locals => {:f => f}
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.hidden_field :locale, :value => @matched_locale_from_browser
+));}\n", 0, false); if IuguSDK::enable_subscription_features
+_hamlout.push_text("</div>\n<div class='actions'>\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up")
+));}\n</div>\n", -1, false);end
+_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false); if IuguSDK::enable_guest_user
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( link_to I18n.t("iugu.try_first"), try_first_path, :method => :post
+));}\n", 0, false);end
+_hamlout.push_text("<br>\n#{
+_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/links"
+));}\n", 0, false);::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper if @haml_buffer;end;
+ ensure
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
+ end
+Backtrace: /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `module_eval'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `compile'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:244:in `block in compile!'
+<internal:prelude>:10:in `synchronize'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:232:in `compile!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:144:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:125:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:143:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:18:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:36:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:17:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:110:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/streaming.rb:225:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:103:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:88:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:16:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `ms'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:39:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:232:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:160:in `to_html'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:153:in `respond'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:146:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.2/app/controllers/devise/registrations_controller.rb:8:in `new'
+/home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.2.1/lib/sass/plugin/rack.rb:54:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
+/home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:65:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application.rb:223:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/log_tailer.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4.5ms)
+Completed 500 Internal Server Error in 10ms
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:28 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+ActionView::Template::Error (/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end):
+ 19:
+ 20: %br
+ 21: = render :partial => "iugu/shared/links"
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `module_eval'
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `compile'
+ actionpack (3.2.8) lib/action_view/template.rb:244:in `block in compile!'
+ <internal:prelude>:10:in `synchronize'
+ actionpack (3.2.8) lib/action_view/template.rb:232:in `compile!'
+ actionpack (3.2.8) lib/action_view/template.rb:144:in `block in render'
+ activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:160:in `to_html'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
+ actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+ devise (2.1.2) app/controllers/devise/registrations_controller.rb:8:in `new'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:28 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (18.3ms)
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:29 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+Started GET "/signup?plan=dad" for 127.0.0.1 at 2012-11-14 10:42:49 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"dad"}
+ERROR: compiling __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620 RAISED /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end
+Function body: def __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620(local_assigns, output_buffer)
+ _old_virtual_path, @virtual_path = @virtual_path, "iugu/registrations/new";_old_output_buffer = @output_buffer;;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;;_hamlout.push_text("<h2>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up")
+));}\n</h2>\n", -1, false);haml_temp = simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.error_notification
+));}\n<div class='inputs'>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( f.input :email, :required => true, :autofocus => true
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password, :required => true, :label => I18n.t("activerecord.attributes.password")
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password_confirmation, :required => true, :label => I18n.t("activerecord.attributes.password_confirmation")
+));}\n", 0, false); if IuguSDK::enable_alias_on_signup
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :account_alias, :label => 'Alias'
+));}\n", 0, false);end
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/signup_fields", :locals => {:f => f}
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.hidden_field :locale, :value => @matched_locale_from_browser
+));}\n", 0, false); if IuguSDK::enable_subscription_features
+_hamlout.push_text("</div>\n<div class='actions'>\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up")
+));}\n</div>\n", -1, false);end
+_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false); if IuguSDK::enable_guest_user
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( link_to I18n.t("iugu.try_first"), try_first_path, :method => :post
+));}\n", 0, false);end
+_hamlout.push_text("<br>\n#{
+_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/links"
+));}\n", 0, false);::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper if @haml_buffer;end;
+ ensure
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
+ end
+Backtrace: /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `module_eval'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `compile'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:244:in `block in compile!'
+<internal:prelude>:10:in `synchronize'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:232:in `compile!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:144:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:125:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:143:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:18:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:36:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:17:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:110:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/streaming.rb:225:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:103:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:88:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:16:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `ms'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:39:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:232:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:160:in `to_html'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:153:in `respond'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:146:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.2/app/controllers/devise/registrations_controller.rb:8:in `new'
+/home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.2.1/lib/sass/plugin/rack.rb:54:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
+/home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:65:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application.rb:223:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/log_tailer.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4.7ms)
+Completed 500 Internal Server Error in 11ms
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:29 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
+ActionView::Template::Error (/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end):
+ 19:
+ 20: %br
+ 21: = render :partial => "iugu/shared/links"
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `module_eval'
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `compile'
+ actionpack (3.2.8) lib/action_view/template.rb:244:in `block in compile!'
+ <internal:prelude>:10:in `synchronize'
+ actionpack (3.2.8) lib/action_view/template.rb:232:in `compile!'
+ actionpack (3.2.8) lib/action_view/template.rb:144:in `block in render'
+ activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:160:in `to_html'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
+ actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+ devise (2.1.2) app/controllers/devise/registrations_controller.rb:8:in `new'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:29 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (18.7ms)
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:30 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms)
+Started GET "/signup" for 127.0.0.1 at 2012-11-14 10:42:54 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ERROR: compiling __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620 RAISED /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end
+Function body: def __home_alezonez__rojetos_iugusdk_app_views_iugu_registrations_new_html_haml___3677991150698751857_53487620(local_assigns, output_buffer)
+ _old_virtual_path, @virtual_path = @virtual_path, "iugu/registrations/new";_old_output_buffer = @output_buffer;;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;;_hamlout.push_text("<h2>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up")
+));}\n</h2>\n", -1, false);haml_temp = simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( f.error_notification
+));}\n<div class='inputs'>\n #{_hamlout.adjust_tabs(1);
+_hamlout.format_script_false_false_false_true_false_true_false(( f.input :email, :required => true, :autofocus => true
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password, :required => true, :label => I18n.t("activerecord.attributes.password")
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :password_confirmation, :required => true, :label => I18n.t("activerecord.attributes.password_confirmation")
+));}\n", 0, false); if IuguSDK::enable_alias_on_signup
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( f.input :account_alias, :label => 'Alias'
+));}\n", 0, false);end
+_hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/signup_fields", :locals => {:f => f}
+));}\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.hidden_field :locale, :value => @matched_locale_from_browser
+));}\n", 0, false); if IuguSDK::enable_subscription_features
+_hamlout.push_text("</div>\n<div class='actions'>\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up")
+));}\n</div>\n", -1, false);end
+_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_false(haml_temp);_hamlout.push_text("\n", 0, false); if IuguSDK::enable_guest_user
+_hamlout.push_text("#{_hamlout.format_script_false_false_false_true_false_true_false(( link_to I18n.t("iugu.try_first"), try_first_path, :method => :post
+));}\n", 0, false);end
+_hamlout.push_text("<br>\n#{
+_hamlout.format_script_false_false_false_true_false_true_false(( render :partial => "iugu/shared/links"
+));}\n", 0, false);::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper if @haml_buffer;end;
+ ensure
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
+ end
+Backtrace: /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `module_eval'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:297:in `compile'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:244:in `block in compile!'
+<internal:prelude>:10:in `synchronize'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:232:in `compile!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:144:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:125:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/template.rb:143:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/template_renderer.rb:18:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:36:in `render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_view/renderer/renderer.rb:17:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:110:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/streaming.rb:225:in `_render_template'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:103:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:88:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:16:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb:5:in `ms'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:39:in `render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:232:in `default_render'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:160:in `to_html'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:153:in `respond'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/responder.rb:146:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.2/app/controllers/devise/registrations_controller.rb:8:in `new'
+/home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/sass-3.2.1/lib/sass/plugin/rack.rb:54:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
+/home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:65:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application.rb:223:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/rack/log_tailer.rb:17:in `call'
+/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+/home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4.7ms)
+Completed 500 Internal Server Error in 10ms
-Started POST "/login" for 127.0.0.1 at 2012-10-26 18:39:30 -0200
-Processing by Iugu::SessionsController#create as */*
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
-Redirected to http://iugusdk.dev:3000/
- [1m[35mAccount Load (0.1ms)[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
-Completed 302 Found in 139ms (ActiveRecord: 0.1ms)
+ActionView::Template::Error (/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:22: syntax error, unexpected keyword_ensure, expecting keyword_end
+...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
+... ^
+/home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml:25: syntax error, unexpected $end, expecting keyword_end):
+ 19:
+ 20: %br
+ 21: = render :partial => "iugu/shared/links"
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `module_eval'
+ actionpack (3.2.8) lib/action_view/template.rb:297:in `compile'
+ actionpack (3.2.8) lib/action_view/template.rb:244:in `block in compile!'
+ <internal:prelude>:10:in `synchronize'
+ actionpack (3.2.8) lib/action_view/template.rb:232:in `compile!'
+ actionpack (3.2.8) lib/action_view/template.rb:144:in `block in render'
+ activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:160:in `to_html'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
+ actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
+ actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
+ devise (2.1.2) app/controllers/devise/registrations_controller.rb:8:in `new'
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:11:in `new'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__3240496915495443732__process_action__3912643988950487809__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
-Started GET "/" for 127.0.0.1 at 2012-10-26 18:39:30 -0200
-Processing by DashboardController#index as */*
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (18.2ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:39:37 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+Started GET "/signup" for 127.0.0.1 at 2012-11-14 10:43:40 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (11.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (5431.8ms)
+Completed 200 OK in 5442ms (Views: 5440.5ms | ActiveRecord: 0.0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-26 18:39:41 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[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
-Completed 201 Created in 139ms (Views: 0.5ms | ActiveRecord: 0.1ms)
-Connecting to database specified by database.yml
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 10:43:46 -0200
+Served asset /application.css - 304 Not Modified (6ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:07:04 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"john@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john@john.com' LIMIT 1
- [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'eFydS2MRdhD7SJypuXni' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-29 18:07:06', 'eFydS2MRdhD7SJypuXni', '2012-10-29 18:07:06', '2012-10-29 18:07:06', 'john@john.com', '$2a$10$0v77JjDjkMbS5NG/Rikzw.9FlIjE0/j7HtsbJPvNbS/5kqlpxWefa', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-29 18:07:06')
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-29 18:07:11', NULL, NULL, NULL, '2012-10-29 18:07:11')[0m
- [1m[35m (0.2ms)[0m UPDATE `accounts` SET `created_at` = '2012-10-29 18:07:11', `updated_at` = '2012-10-29 18:07:11', `subdomain` = 'account2' WHERE `accounts`.`id` = 2
- [1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 2 LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (2, 2)
- [1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 2) LIMIT 1[0m
- [1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'owner')[0m
- [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 2) LIMIT 1
- [1m[36mAccountUser Load (0.1ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'admin')
- [1m[36m (23.9ms)[0m [1mCOMMIT[0m
- [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` = 2 AND (accounts.id = '1') LIMIT 1
- [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` = 2 LIMIT 1[0m
-Completed 201 Created in 6034ms (Views: 0.6ms | ActiveRecord: 0.5ms)
-Connecting to database specified by database.yml
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 10:43:46 -0200
+Served asset /default.css - 304 Not Modified (6ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:12:23 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"john2@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john2@john.com' LIMIT 1[0m
- [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = '72XuFVtwZxe8fBWojCyo' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-29 18:12:25', '72XuFVtwZxe8fBWojCyo', '2012-10-29 18:12:25', '2012-10-29 18:12:25', 'john2@john.com', '$2a$10$rmjz.LkdGcBTWK/zQFvOfu90dquiN.0ScGoTV/ift/TPWTSeJVBgm', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-29 18:12:25')[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-29 18:12:30', NULL, NULL, NULL, '2012-10-29 18:12:30')
- [1m[36m (0.2ms)[0m [1mUPDATE `accounts` SET `created_at` = '2012-10-29 18:12:30', `updated_at` = '2012-10-29 18:12:30', `subdomain` = 'account3' WHERE `accounts`.`id` = 3[0m
- [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 3 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `account_users` (`account_id`, `user_id`) VALUES (3, 3)[0m
- [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 3) LIMIT 1
- [1m[36mAccountUser Load (0.2ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'owner')
- [1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 3) LIMIT 1[0m
- [1m[35mAccountUser Load (0.1ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'admin')[0m
- [1m[35m (39.8ms)[0m COMMIT
-Completed 500 Internal Server Error in 6021ms
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 10:43:46 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
-ActionView::MissingTemplate (Missing template iugu/registrations/create, devise/registrations/create, devise/create, application/create with {:locale=>[:"pt-BR", :en], :formats=>[:json], :handlers=>[:erb, :builder, :prawn, :haml, :rabl]}. Searched in:
- * "/home/patrick/Desenvolvimento/iugusdk/spec/dummy/app/views"
- * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/kaminari-0.14.1/app/views"
- * "/home/patrick/.rvm/gems/ruby-1.9.2-head/gems/devise-2.1.2/app/views"
- * "/home/patrick/Desenvolvimento/iugusdk/app/views"
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 10:43:46 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 10:43:46 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/api/v1/plans/1.json" for 127.0.0.1 at 2012-11-14 10:47:41 -0200
+Processing by MyDummyController#index as JSON
+ Parameters: {"path"=>"api/v1/plans/1"}
+Completed 500 Internal Server Error in 6ms
+
+ActionView::MissingTemplate (Missing template my_dummy/index, iugu/application_domain/index, application/index with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :prawn, :haml, :rabl]}. Searched in:
+ * "/home/alezonez/Projetos/iugusdk/spec/dummy/app/views"
+ * "/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/kaminari-0.14.1/app/views"
+ * "/home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.2/app/views"
+ * "/home/alezonez/Projetos/iugusdk/app/views"
):
actionpack (3.2.8) lib/action_view/path_set.rb:58:in `find'
actionpack (3.2.8) lib/action_view/lookup_context.rb:109:in `find'
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:34:in `determine_template'
@@ -2490,28 +9366,22 @@
actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:232:in `default_render'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:176:in `to_format'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
- actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
- devise (2.1.2) app/controllers/devise/registrations_controller.rb:19:in `create'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__984058892__process_action__745311360__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:436:in `_run__4150444887739616309__process_action__2215193750820396184__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
@@ -2543,21 +9413,22 @@
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__379160260__call__65536871__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2930459385375192875__call__1849776027674994918__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
@@ -2575,82 +9446,88 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.1ms)
Connecting to database specified by database.yml
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:17:03 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"john3@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john3@john.com' LIMIT 1[0m
- [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'frd1MAsr7peiNo8dJdd2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-29 18:17:05', 'frd1MAsr7peiNo8dJdd2', '2012-10-29 18:17:05', '2012-10-29 18:17:05', 'john3@john.com', '$2a$10$0n0Q.F7y5wMzenfSFoj.0.ykxRfAnBb9/IlA4BvY0vh5orj2qbSUe', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-29 18:17:05')[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-29 18:17:10', NULL, NULL, NULL, '2012-10-29 18:17:10')
- [1m[36m (0.2ms)[0m [1mUPDATE `accounts` SET `created_at` = '2012-10-29 18:17:10', `updated_at` = '2012-10-29 18:17:10', `subdomain` = 'account4' WHERE `accounts`.`id` = 4[0m
- [1m[35mAccount Load (0.2ms)[0m SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 4 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `account_users` (`account_id`, `user_id`) VALUES (4, 4)[0m
- [1m[35mAccountRole Exists (0.3ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 4) LIMIT 1
- [1m[36mAccountUser Load (0.2ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 4 LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (4, 'owner')
- [1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 4) LIMIT 1[0m
- [1m[35mAccountUser Load (0.1ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 4 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (4, 'admin')[0m
- [1m[35m (7.1ms)[0m COMMIT
-Completed 500 Internal Server Error in 5953ms
+Started GET "/signup" for 127.0.0.1 at 2012-11-14 11:02:26 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.0ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.5ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4599.3ms)
+Completed 200 OK in 4787ms (Views: 4751.4ms | ActiveRecord: 2.4ms)
-NoMethodError (private method `as_json' called for #<User:0xb8c1bac>):
- activemodel (3.2.8) lib/active_model/attribute_methods.rb:404:in `method_missing'
- activerecord (3.2.8) lib/active_record/attribute_methods.rb:149:in `method_missing'
- activesupport (3.2.8) lib/active_support/json/encoding.rb:47:in `block in encode'
- activesupport (3.2.8) lib/active_support/json/encoding.rb:77:in `check_for_circular_references'
- activesupport (3.2.8) lib/active_support/json/encoding.rb:46:in `encode'
- activesupport (3.2.8) lib/active_support/json/encoding.rb:31:in `encode'
- activesupport (3.2.8) lib/active_support/core_ext/object/to_json.rb:16:in `to_json'
- actionpack (3.2.8) lib/action_controller/metal/renderers.rb:93:in `block in <module:Renderers>'
- actionpack (3.2.8) lib/action_controller/metal/renderers.rb:35:in `block in _handle_render_options'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/set.rb:222:in `block in each'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/set.rb:222:in `each_key'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/set.rb:222:in `each'
- actionpack (3.2.8) lib/action_controller/metal/renderers.rb:32:in `_handle_render_options'
- actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
- actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
- activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
- activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
- activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:254:in `display'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:204:in `api_behavior'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:181:in `rescue in to_format'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:175:in `to_format'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:153:in `respond'
- actionpack (3.2.8) lib/action_controller/metal/responder.rb:146:in `call'
- actionpack (3.2.8) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
- devise (2.1.2) app/controllers/devise/registrations_controller.rb:19:in `create'
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 11:02:31 -0200
+Served asset /default.css - 304 Not Modified (9ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 11:02:31 -0200
+Served asset /jquery.js - 304 Not Modified (65ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 11:02:31 -0200
+Served asset /application.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 11:02:31 -0200
+Served asset /application.css - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 11:02:31 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+
+
+Started GET "/signup?plan=1" for 127.0.0.1 at 2012-11-14 11:02:41 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"1"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.3ms)
+Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 11:02:41 -0200
+Served asset /application.css - 304 Not Modified (9ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 11:02:41 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 11:02:41 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 11:02:41 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 11:02:41 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/signup?plan=1" for 127.0.0.1 at 2012-11-14 11:07:03 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"1"}
+Completed 500 Internal Server Error in 38ms
+
+NoMethodError (undefined method `prices' for "1":String):
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:13:in `new'
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__184688453__process_action__682835835__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__1510268426289999542__process_action__3364117087780525487__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
@@ -2682,21 +9559,22 @@
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__952070056__call__9516005__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__3597100424579350496__call__3667737912102522624__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
@@ -2714,160 +9592,356 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.4ms)
-Connecting to database specified by database.yml
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.7ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:18:13 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"john3@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mCOMMIT[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john3@john.com' LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Completed 422 Unprocessable Entity in 5103ms (Views: 0.3ms | ActiveRecord: 2.3ms)
+Started GET "/signup?plan=1" for 127.0.0.1 at 2012-11-14 11:07:39 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"1"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.9ms)
+Completed 200 OK in 404ms (Views: 26.0ms | ActiveRecord: 2.0ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:18:23 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'john4@john.com' LIMIT 1
- [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'WAwAWZYC4yKQ99PPN9mh' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-10-29 18:18:24', 'WAwAWZYC4yKQ99PPN9mh', '2012-10-29 18:18:24', '2012-10-29 18:18:24', 'john4@john.com', '$2a$10$zVLpigEC7vAo09aZLhq6tOCzy6g12UUYazBSX60o6629/eTqZTufG', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-10-29 18:18:24')
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-10-29 18:18:24', NULL, NULL, NULL, '2012-10-29 18:18:24')[0m
- [1m[35m (0.2ms)[0m UPDATE `accounts` SET `created_at` = '2012-10-29 18:18:24', `updated_at` = '2012-10-29 18:18:24', `subdomain` = 'account5' WHERE `accounts`.`id` = 5
- [1m[36mAccount Load (0.2ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 5 LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (5, 5)
- [1m[36mAccountRole Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 5) LIMIT 1[0m
- [1m[35mAccountUser Load (0.2ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 5 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (5, 'owner')[0m
- [1m[35mAccountRole Exists (0.2ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 5) LIMIT 1
- [1m[36mAccountUser Load (0.1ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 5 LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (5, 'admin')
- [1m[36m (11.1ms)[0m [1mCOMMIT[0m
- [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` = 5 AND (accounts.id = '2') LIMIT 1
- [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` = 5 LIMIT 1[0m
-Completed 201 Created in 650ms (Views: 0.2ms | ActiveRecord: 0.5ms)
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 11:07:40 -0200
+Served asset /application.css - 304 Not Modified (7ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:18:36 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 LIMIT 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m COMMIT
- [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1[0m
- [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` = 5 AND (accounts.id = '5') LIMIT 1
-Completed 201 Created in 178ms (Views: 0.2ms | ActiveRecord: 0.3ms)
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 11:07:40 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 11:07:40 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 11:07:40 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 11:07:40 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Connecting to database specified by database.yml
-Connecting to database specified by database.yml
-Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:22:43 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 401 Unauthorized in 1ms
+Started GET "/signup?plan=1" for 127.0.0.1 at 2012-11-14 14:21:24 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"1"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (8.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4710.8ms)
+Completed 200 OK in 5223ms (Views: 4807.7ms | ActiveRecord: 1.7ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:22:50 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '5') LIMIT 1
-Completed 201 Created in 933ms (Views: 0.3ms | ActiveRecord: 1.5ms)
+Started GET "/signup" for 127.0.0.1 at 2012-11-14 14:21:30 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.5ms)
+Completed 200 OK in 27ms (Views: 25.6ms | ActiveRecord: 0.0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:23:35 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '5') LIMIT 1
-Completed 201 Created in 139ms (Views: 0.2ms | ActiveRecord: 0.1ms)
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:21:30 -0200
+Served asset /application.css - 304 Not Modified (17ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:23:37 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '5') LIMIT 1
-Completed 201 Created in 139ms (Views: 0.2ms | ActiveRecord: 0.1ms)
-Connecting to database specified by database.yml
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:21:30 -0200
+Served asset /jquery.js - 304 Not Modified (5ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:24:44 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 401 Unauthorized in 1ms
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:21:30 -0200
+Served asset /default.css - 304 Not Modified (2ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:24:50 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"john4@john.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'john4@john.com' LIMIT 1[0m
- [1m[35mAccount Load (0.1ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND (accounts.id = '5') LIMIT 1
-Completed 201 Created in 941ms (Views: 0.3ms | ActiveRecord: 1.6ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:21:30 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
-Started POST "/signup.json" for 127.0.0.1 at 2012-10-29 16:26:58 -0200
-Processing by Iugu::RegistrationsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mUser Exists (0.3ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'patrick@iugu.com' LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Completed 422 Unprocessable Entity in 300ms (Views: 0.3ms | ActiveRecord: 0.8ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:21:30 -0200
+Served asset /application.js - 304 Not Modified (10ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-29 16:27:02 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
- [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`email` = 'patrick@iugu.com' LIMIT 1
- [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 = '5') LIMIT 1[0m
- [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 LIMIT 1
-Completed 201 Created in 140ms (Views: 0.2ms | ActiveRecord: 0.5ms)
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
+Started GET "/signup?plan=1" for 127.0.0.1 at 2012-11-14 14:21:35 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"1"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (84.7ms)
+Completed 200 OK in 251ms (Views: 96.7ms | ActiveRecord: 0.0ms)
-Started POST "/login.json" for 127.0.0.1 at 2012-10-30 15:36:49 -0200
-Processing by Iugu::SessionsController#create as JSON
- Parameters: {"user"=>{"email"=>"patrick@iugu.com", "password"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 401 Unauthorized in 1ms
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:21:35 -0200
+Served asset /application.css - 304 Not Modified (7ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:21:35 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:21:35 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:21:35 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:21:35 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started POST "/signup" for 127.0.0.1 at 2012-11-14 14:22:19 -0200
+Processing by Iugu::RegistrationsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"jP2kX2JASrFImqS3doVtgSjQabKdQbR7UbcoRT51weA=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"pt-BR", "plan_id"=>"1", "price_id"=>"1"}, "commit"=>"Cadastro"}
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mUser Exists (0.6ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'alexandre@iugu.com' LIMIT 1
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'UDTe81DchaRZDi1zndyz' LIMIT 1[0m
+ [1m[35mSQL (4.7ms)[0m INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-11-14 16:22:20', 'UDTe81DchaRZDi1zndyz', '2012-11-14 16:22:20', '2012-11-14 16:22:20', 'alexandre@iugu.com', '$2a$10$SlSsIk0Tt3NlzLWk3zucUuVsQ0sE57Alctjb6ENp9aFdJ7ZexKlXe', NULL, 'pt-BR', NULL, NULL, NULL, NULL, NULL, '2012-11-14 16:22:20')
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `accounts` (`created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2012-11-14 16:22:21', NULL, NULL, 4, '2012-11-14 16:22:21')[0m
+ [1m[35m (13.8ms)[0m UPDATE `accounts` SET `subscription_id` = 4, `created_at` = '2012-11-14 16:22:21', `updated_at` = '2012-11-14 16:22:21', `subdomain` = 'account3' WHERE `accounts`.`id` = 3
+ [1m[36mAccount Load (0.6ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 3 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (3, 4)
+ [1m[36mAccountRole Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 3) LIMIT 1[0m
+ [1m[35mAccountUser Load (0.4ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'owner')[0m
+ [1m[35mAccountRole Exists (0.4ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 3) LIMIT 1
+ [1m[36mAccountUser Load (0.4ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'admin')
+ [1m[36m (41.8ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3001/
+ [1m[35mAccount Load (0.6ms)[0m SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 4 AND (accounts.id = '1') LIMIT 1
+ [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` = 4 LIMIT 1[0m
+Completed 302 Found in 1622ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-11-14 14:22:21 -0200
+Processing by DashboardController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 LIMIT 1
+ Rendered dashboard/index.html.haml within layouts/application (1.9ms)
+Completed 200 OK in 35ms (Views: 31.6ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:22:21 -0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:22:21 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:22:21 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:22:21 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:22:21 -0200
+Served asset /application.js - 304 Not Modified (1ms)
Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (16.9ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
-Connecting to database specified by database.yml
-Started GET "/" for 127.0.0.1 at 2012-11-07 19:17:03 -0200
+Started DELETE "/logout" for 127.0.0.1 at 2012-11-14 14:28:15 -0200
+Processing by Iugu::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"jP2kX2JASrFImqS3doVtgSjQabKdQbR7UbcoRT51weA="}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3001/
+Completed 302 Found in 153ms (ActiveRecord: 3.1ms)
-ActionController::RoutingError (No route matches [GET] "/"):
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
+
+Started GET "/" for 127.0.0.1 at 2012-11-14 14:28:16 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (3.5ms)
+Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:28:16 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:28:16 -0200
+Served asset /default.css - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:16 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:16 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:16 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-11-14 14:28:17 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (87.0ms)
+Completed 200 OK in 98ms (Views: 95.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:28:17 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:17 -0200
+Served asset /jquery.js - 304 Not Modified (6ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:28:17 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:17 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:17 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 14:28:22 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (21.0ms)
+Completed 200 OK in 329ms (Views: 32.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:28:23 -0200
+Served asset /default.css - 304 Not Modified (8ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:23 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:23 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:23 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:28:23 -0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/signup?plan=coco" for 127.0.0.1 at 2012-11-14 14:28:34 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"coco"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.2ms)
+Completed 200 OK in 103ms (Views: 26.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:28:34 -0200
+Served asset /application.css - 304 Not Modified (7ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:28:34 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:34 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:34 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:28:34 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/signup?plan=coco" for 127.0.0.1 at 2012-11-14 14:34:06 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"coco"}
+Completed 500 Internal Server Error in 283ms
+
+NoMethodError (undefined method `id' for #<Array:0x007f0170a03f48>):
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:13:in `new'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__274664376724141047__process_action__1861038156183435067__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__3226581335290429872__call__1864525248986833940__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
@@ -2878,90 +9952,1180 @@
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
- /home/patrick/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
- Rendered /home/patrick/.rvm/gems/ruby-1.9.2-head/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.3ms)
-Started GET "/" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
-Processing by DashboardController#index as HTML
- Rendered dashboard/splash.html.haml within layouts/application (2.9ms)
-Completed 200 OK in 57ms (Views: 55.3ms | ActiveRecord: 0.0ms)
+Started GET "/signup?plan=coco" for 127.0.0.1 at 2012-11-14 14:34:37 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"coco"}
+Completed 500 Internal Server Error in 277ms
+RuntimeError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id):
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:14:in `new'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__274664376724141047__process_action__1861038156183435067__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__3226581335290429872__call__1864525248986833940__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
-Served asset /application.css - 304 Not Modified (5ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.1ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
+
+Started GET "/signup?plan=coco" for 127.0.0.1 at 2012-11-14 14:35:07 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"coco"}
+Completed 500 Internal Server Error in 279ms
+
+NoMethodError (undefined method `prices' for nil:NilClass):
+ /home/alezonez/Projetos/iugusdk/app/controllers/iugu/registrations_controller.rb:15:in `new'
+ actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:447:in `_run__274664376724141047__process_action__1861038156183435067__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/mapper.rb:42:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
+ omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
+ sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
+ /home/alezonez/Projetos/iugusdk/lib/iugusdk/session_parameter_middleware.rb:13:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
+ activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__3226581335290429872__call__1864525248986833940__callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /home/alezonez/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+
+
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /home/alezonez/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.6ms)
+
+
+Started GET "/signup?plan=coco" for 127.0.0.1 at 2012-11-14 14:35:44 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"coco"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.4ms)
+Completed 200 OK in 425ms (Views: 25.8ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:35:45 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:35:45 -0200
Served asset /default.css - 304 Not Modified (1ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
-Served asset /jquery.js - 304 Not Modified (43ms)
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:35:45 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
-Served asset /application.js - 304 Not Modified (4ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:35:45 -0200
+Served asset /application.js - 304 Not Modified (2ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:11 -0200
-Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:35:45 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/login" for 127.0.0.1 at 2012-11-07 19:17:12 -0200
-Processing by Iugu::SessionsController#new as HTML
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/shared/_links.haml (4.6ms)
- Rendered /home/patrick/Desenvolvimento/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (6034.5ms)
-Completed 200 OK in 6066ms (Views: 6048.8ms | ActiveRecord: 1.0ms)
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 14:36:21 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.5ms)
+Completed 200 OK in 215ms (Views: 27.3ms | ActiveRecord: 0.0ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:18 -0200
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:36:22 -0200
+Served asset /application.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:36:22 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:36:22 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:36:22 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:36:22 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 14:45:18 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (17.3ms)
+Completed 200 OK in 410ms (Views: 26.6ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:45:19 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:19 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:19 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:45:19 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:19 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/signup?plan=api?hl=en" for 127.0.0.1 at 2012-11-14 14:45:46 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api?hl=en"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (15.9ms)
+Completed 200 OK in 133ms (Views: 96.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:45:46 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:45:46 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:46 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:46 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:46 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/signup?plan=api?hl=en" for 127.0.0.1 at 2012-11-14 14:45:48 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api?hl=en"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.0ms)
+Completed 200 OK in 58ms (Views: 24.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:45:48 -0200
+Served asset /application.css - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:48 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:45:48 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:48 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:48 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/signup?plan=api?hl=pt-BR" for 127.0.0.1 at 2012-11-14 14:45:55 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api?hl=pt-BR"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (19.8ms)
+Completed 200 OK in 64ms (Views: 31.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:45:55 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:45:55 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:55 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:55 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:45:55 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/signup?plan=api&hl=en" for 127.0.0.1 at 2012-11-14 14:46:04 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api", "hl"=>"en"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (5.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (28.7ms)
+Completed 200 OK in 115ms (Views: 38.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:46:05 -0200
+Served asset /application.css - 304 Not Modified (82ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:46:05 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:46:05 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:46:05 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:46:05 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 14:49:30 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.9ms)
+Completed 200 OK in 552ms (Views: 26.3ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:49:30 -0200
+Served asset /jquery.js - 304 Not Modified (9ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:49:30 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:49:30 -0200
Served asset /application.css - 304 Not Modified (0ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:19 -0200
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:49:30 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:49:30 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 14:50:01 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.7ms)
+Completed 200 OK in 481ms (Views: 26.1ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:50:02 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:50:02 -0200
Served asset /default.css - 304 Not Modified (0ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:19 -0200
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:50:02 -0200
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:19 -0200
-Served asset /application.js - 304 Not Modified (0ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:50:02 -0200
+Served asset /application.js - 304 Not Modified (1ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:19 -0200
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:50:02 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 14:50:31 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.7ms)
+Completed 200 OK in 530ms (Views: 25.8ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:50:31 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:50:31 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:50:31 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:50:31 -0200
Served asset /jquery.js - 304 Not Modified (0ms)
-Started GET "/" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
-Processing by DashboardController#index as HTML
- Rendered dashboard/splash.html.haml within layouts/application (0.7ms)
-Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:50:31 -0200
+Served asset /application.js - 304 Not Modified (1ms)
-Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 14:50:49 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.0ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (18.1ms)
+Completed 200 OK in 519ms (Views: 27.0ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:50:50 -0200
+Served asset /application.css - 304 Not Modified (12ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:50:50 -0200
Served asset /default.css - 304 Not Modified (0ms)
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:50:50 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:50:50 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:50:50 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 14:51:17 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.9ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (17.1ms)
+Completed 200 OK in 613ms (Views: 26.1ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 14:51:18 -0200
+Served asset /application.css - 304 Not Modified (16ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 14:51:18 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 14:51:18 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 14:51:18 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 14:51:18 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 15:15:20 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (20.0ms)
+Completed 200 OK in 147ms (Views: 31.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 15:15:20 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 15:15:20 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 15:15:20 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 15:15:20 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 15:15:20 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 15:15:41 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.6ms)
+Completed 200 OK in 426ms (Views: 25.4ms | ActiveRecord: 2.1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 15:15:41 -0200
+Served asset /default.css - 304 Not Modified (19ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 15:15:41 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 15:15:41 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 15:15:41 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 15:15:41 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 15:16:11 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.8ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.6ms)
+Completed 200 OK in 572ms (Views: 25.5ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 15:16:11 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 15:16:11 -0200
Served asset /application.css - 304 Not Modified (0ms)
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 15:16:11 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 15:16:11 -0200
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 15:16:11 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 15:17:54 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (1.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (16.4ms)
+Completed 200 OK in 414ms (Views: 25.3ms | ActiveRecord: 2.2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 15:17:55 -0200
+Served asset /application.css - 304 Not Modified (16ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 15:17:55 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 15:17:55 -0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 15:17:55 -0200
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 15:17:55 -0200
+Served asset /application.js - 304 Not Modified (3ms)
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 15:18:13 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.1ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (17.9ms)
+Completed 200 OK in 558ms (Views: 27.5ms | ActiveRecord: 1.6ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 15:18:14 -0200
+Served asset /application.css - 304 Not Modified (8ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 15:18:14 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 15:18:14 -0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 15:18:14 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 15:18:14 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/signup?plan=api" for 127.0.0.1 at 2012-11-14 15:20:36 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.0ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.7ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4764.6ms)
+Completed 200 OK in 5353ms (Views: 4927.1ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 15:20:41 -0200
+Served asset /application.css - 304 Not Modified (19ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 15:20:41 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 15:20:41 -0200
+Served asset /default.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 15:20:41 -0200
+Served asset /application.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 15:20:41 -0200
+Served asset /jquery.js - 304 Not Modified (6ms)
+
+
+Started GET "/signup?plan=api&hl=en" for 127.0.0.1 at 2012-11-14 15:21:07 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Parameters: {"plan"=>"api", "hl"=>"en"}
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.0ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (5.6ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (26.2ms)
+Completed 200 OK in 428ms (Views: 37.0ms | ActiveRecord: 2.2ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 15:21:08 -0200
+Served asset /application.js - 304 Not Modified (8ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 15:21:08 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 15:21:08 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 15:21:08 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 15:21:08 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-11-14 15:21:24 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.2ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (2.0ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (88.4ms)
+Completed 200 OK in 100ms (Views: 97.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 15:21:24 -0200
+Served asset /application.css - 304 Not Modified (9ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 15:21:24 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 15:21:24 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 15:21:24 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 15:21:24 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-11-14 15:26:39 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+Redirected to http://iugusdk.dev:3001/pricing
+Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/pricing" for 127.0.0.1 at 2012-11-14 15:26:40 -0200
+Processing by Iugu::PricingController#index as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/pricing/index.html.haml within layouts/application (227.7ms)
+Completed 200 OK in 454ms (Views: 403.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-14 15:26:40 -0200
+Served asset /application.css - 304 Not Modified (21ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-14 15:26:40 -0200
+Served asset /jquery.js - 304 Not Modified (65ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-14 15:26:40 -0200
+Served asset /default.css - 304 Not Modified (4ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-14 15:26:40 -0200
+Served asset /application.js - 304 Not Modified (8ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-14 15:26:40 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+ [1m[36m (125.4ms)[0m [1mCREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB[0m
+ [1m[35m (64.7ms)[0m CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (57.0ms)[0m [1mCREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB[0m
+ [1m[35m (56.5ms)[0m CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `subscription_id` int(11), `subdomain` varchar(255), `api_token` varchar(255)) ENGINE=InnoDB
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (79.6ms)[0m CREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (158.3ms)[0m [1mCREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)[0m
+ [1m[35m (73.9ms)[0m CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB
+ [1m[36m (64.3ms)[0m [1mCREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (64.0ms)[0m CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (133.3ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)[0m
+ [1m[35m (158.2ms)[0m CREATE INDEX `index_users_on_email` ON `users` (`email`)
+ [1m[36m (141.2ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)[0m
+ [1m[35m (67.0ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
+ [1m[36m (117.0ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
+ [1m[35m (0.4ms)[0m SELECT version FROM `schema_migrations`
+ [1m[36m (21.8ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20121108115535')[0m
+ [1m[35m (41.6ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120719162426')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120604131034')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529174755')[0m
+ [1m[35m (33.4ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')
+ [1m[36m (33.1ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120613173114')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120803172545')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529180814')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120528164634')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')
+ [1m[36m (33.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629154429')[0m
+ [1m[35m (33.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120605142527')[0m
+ [1m[35m (25.0ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120629195345')[0m
+ [1m[35m (5.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Connecting to database specified by database.yml
+ [1m[36m (2.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+Migrating to AddDeviseToUsers (20120529134109)
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+Migrating to CreateAccountUsers (20120529180814)
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+Migrating to CreateAccountRoles (20120531171438)
+Migrating to AddLocaleToUser (20120604131034)
+Migrating to CreateSocialAccount (20120605142527)
+Migrating to SetLocale (20120612141130)
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+Migrating to CreateDelayedJobs (20120615180728)
+Migrating to CreateUserInvitations (20120629154429)
+Migrating to AddTokenToUserInvitations (20120629195345)
+Migrating to AddRolesToUserInvitations (20120705202827)
+Migrating to CreateAccountDomain (20120716145846)
+Migrating to AddSubdomainToAccount (20120719162426)
+Migrating to AddApiTokenToAccount (20120725170859)
+Migrating to AddGuestToUsers (20120803172545)
+Migrating to CreateApiToken (20121023113304)
+Migrating to RemoveApiTokenFromAccount (20121108115535)
+ [1m[35m (0.4ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
+Connecting to database specified by database.yml
+ [1m[36m (103.2ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (133.7ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
+ [1m[36m (2.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Migrating to CreateAccount (20120528164634)
+ [1m[35m (154.5ms)[0m CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (32.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634')[0m
+Migrating to AddDeviseToUsers (20120529134109)
+ [1m[35m (111.2ms)[0m CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (141.5ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (158.4ms)[0m CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
+ [1m[36m (149.9ms)[0m [1mCREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)[0m
+ [1m[35m (24.3ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109')
+Migrating to AddBirthdateAndNameToUser (20120529162901)
+ [1m[36m (217.0ms)[0m [1mALTER TABLE `users` ADD `birthdate` date[0m
+ [1m[35m (167.9ms)[0m ALTER TABLE `users` ADD `name` varchar(255)
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901')[0m
+Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)
+ [1m[35m (183.5ms)[0m ALTER TABLE `accounts` ADD `name` varchar(255)
+ [1m[36m (167.7ms)[0m [1mALTER TABLE `accounts` ADD `subscription_id` int(11)[0m
+ [1m[35m (194.2ms)[0m ALTER TABLE `accounts` ADD `user_id` int(11)
+ [1m[36m (24.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755')[0m
+Migrating to CreateAccountUsers (20120529180814)
+ [1m[35m (88.6ms)[0m CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (32.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814')[0m
+Migrating to RemoveUserIdFromAccounts (20120530114709)
+ [1m[35m (174.3ms)[0m ALTER TABLE `accounts` DROP `user_id`
+ [1m[36m (24.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709')[0m
+Migrating to CreateAccountRoles (20120531171438)
+ [1m[35m (113.2ms)[0m CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (32.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438')[0m
+Migrating to AddLocaleToUser (20120604131034)
+ [1m[35m (225.1ms)[0m ALTER TABLE `users` ADD `locale` varchar(255)
+ [1m[36m (98.8ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034')[0m
+Migrating to CreateSocialAccount (20120605142527)
+ [1m[35m (80.6ms)[0m CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527')[0m
+Migrating to SetLocale (20120612141130)
+ [1m[35mSQL (0.4ms)[0m UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL
+ [1m[36m (29.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130')[0m
+Migrating to RemoveUniqueFromUserEmail (20120613173114)
+ [1m[35m (123.2ms)[0m DROP INDEX `index_users_on_email` ON `users`
+ [1m[36m (150.1ms)[0m [1mCREATE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (32.6ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114')
+Migrating to CreateDelayedJobs (20120615180728)
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (150.1ms)[0m CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
+ [1m[36m (25.5ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728')[0m
+Migrating to CreateUserInvitations (20120629154429)
+ [1m[35m (54.6ms)[0m CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11)) ENGINE=InnoDB
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429')[0m
+Migrating to AddTokenToUserInvitations (20120629195345)
+ [1m[35m (149.3ms)[0m ALTER TABLE `user_invitations` ADD `token` varchar(255)
+ [1m[36m (32.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345')[0m
+Migrating to AddRolesToUserInvitations (20120705202827)
+ [1m[35m (175.0ms)[0m ALTER TABLE `user_invitations` ADD `roles` varchar(255)
+ [1m[36m (32.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827')[0m
+Migrating to CreateAccountDomain (20120716145846)
+ [1m[35m (63.9ms)[0m CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (24.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846')[0m
+Migrating to AddSubdomainToAccount (20120719162426)
+ [1m[35m (158.3ms)[0m ALTER TABLE `accounts` ADD `subdomain` varchar(255)
+ [1m[36m (23.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426')[0m
+Migrating to AddApiTokenToAccount (20120725170859)
+ [1m[35m (181.4ms)[0m ALTER TABLE `accounts` ADD `api_token` varchar(255)
+ [1m[36m (32.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859')[0m
+Migrating to AddGuestToUsers (20120803172545)
+ [1m[35m (200.6ms)[0m ALTER TABLE `users` ADD `guest` tinyint(1)
+ [1m[36m (24.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545')[0m
+Migrating to CreateApiToken (20121023113304)
+ [1m[35m (62.9ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (24.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')[0m
+Migrating to RemoveApiTokenFromAccount (20121108115535)
+ [1m[35m (24.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')
+ [1m[36m (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+Connecting to database specified by database.yml
+ [1m[36m (2.7ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
+ [1m[35m (0.6ms)[0m DROP DATABASE IF EXISTS `iugusdk_test`
+ [1m[36m (0.5ms)[0m [1mCREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
+ [1m[35m (533.3ms)[0m CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB[0m
+ [1m[35m (56.8ms)[0m CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB
+ [1m[36m (47.8ms)[0m [1mCREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `subscription_id` int(11), `subdomain` varchar(255), `api_token` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (64.6ms)[0m CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
+ [1m[36m (62.5ms)[0m [1mCREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (124.5ms)[0m CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)
+ [1m[36m (64.0ms)[0m [1mCREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB[0m
+ [1m[35m (73.0ms)[0m CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB
+ [1m[36m (64.1ms)[0m [1mCREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB[0m
+ [1m[35m (125.2ms)[0m CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)
+ [1m[36m (124.8ms)[0m [1mCREATE INDEX `index_users_on_email` ON `users` (`email`)[0m
+ [1m[35m (109.4ms)[0m CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (142.3ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
+ [1m[36m (0.4ms)[0m [1mSELECT version FROM `schema_migrations`[0m
+ [1m[35m (31.1ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')
+ [1m[36m (33.1ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120615180728')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')
+ [1m[36m (33.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120705202827')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529162901')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120716145846')[0m
+ [1m[35m (33.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')
+ [1m[36m (24.8ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20121023113304')[0m
+ [1m[35m (25.0ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120529134109')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')
+ [1m[36m (25.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120612141130')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120725170859')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120530114709')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')
+ [1m[36m (24.9ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120531171438')[0m
+ [1m[35m (24.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2012-11-19 11:31:48 -0200
+Processing by DashboardController#index as HTML
+ Rendered dashboard/splash.html.haml within layouts/application (3.9ms)
+Completed 200 OK in 282ms (Views: 280.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-19 11:31:49 -0200
+Served asset /application.css - 304 Not Modified (9ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-19 11:31:49 -0200
+Served asset /default.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-19 11:31:49 -0200
+Served asset /jquery.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-19 11:31:49 -0200
+Served asset /application.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-19 11:31:49 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (4ms)
+
+
+Started GET "/signup" for 127.0.0.1 at 2012-11-19 11:31:51 -0200
+Processing by Iugu::RegistrationsController#new as HTML
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_signup_fields.haml (1.0ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/shared/_links.haml (6.4ms)
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (4863.5ms)
+Completed 200 OK in 4909ms (Views: 4872.3ms | ActiveRecord: 2.6ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-19 11:31:56 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-19 11:31:56 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-19 11:31:56 -0200
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-19 11:31:56 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-19 11:31:56 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started POST "/signup" for 127.0.0.1 at 2012-11-19 11:32:06 -0200
+Processing by Iugu::RegistrationsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"S+gnytvDaEVy/onhe0EVScLz8zJNgm+pvFK1KivbHqI=", "user"=>{"email"=>"alexandre@iugu.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mUser Exists (0.5ms)[0m SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'alexandre@iugu.com' LIMIT 1
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'BpnRY52EQ7zignXzEYxk' LIMIT 1[0m
+ [1m[35mSQL (2.5ms)[0m INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-11-19 13:32:06', 'BpnRY52EQ7zignXzEYxk', '2012-11-19 13:32:06', '2012-11-19 13:32:06', 'alexandre@iugu.com', '$2a$10$HbRq38P8Hx72zcpBHQsAJO2LomPOSk9ZhgCZC0K.aNUdRODDRXfZK', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-11-19 13:32:06')
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `accounts` (`api_token`, `created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES (NULL, '2012-11-19 13:32:06', NULL, NULL, NULL, '2012-11-19 13:32:06')[0m
+ [1m[35m (0.4ms)[0m UPDATE `accounts` SET `created_at` = '2012-11-19 13:32:06', `updated_at` = '2012-11-19 13:32:06', `subdomain` = 'account1' WHERE `accounts`.`id` = 1
+ [1m[36mAccount Load (0.5ms)[0m [1mSELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (1, 1)
+ [1m[36mAccountRole Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 1) LIMIT 1[0m
+ [1m[35mAccountUser Load (0.3ms)[0m SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'owner')[0m
+ [1m[35mAccountRole Exists (0.4ms)[0m SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 1) LIMIT 1
+ [1m[36mAccountUser Load (0.3ms)[0m [1mSELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'admin')
+ [1m[36m (53.0ms)[0m [1mCOMMIT[0m
+Redirected to http://iugusdk.dev:3000/
+ [1m[35mAccount Load (0.6ms)[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 = '3') LIMIT 1
+ [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 LIMIT 1[0m
+Completed 302 Found in 1170ms (ActiveRecord: 1.1ms)
+
+
+Started GET "/" for 127.0.0.1 at 2012-11-19 11:32:07 -0200
+Processing by DashboardController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ Rendered dashboard/index.html.haml within layouts/application (2.6ms)
+Completed 200 OK in 16ms (Views: 12.7ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-19 11:32:07 -0200
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-11-19 11:32:07 -0200
+Served asset /default.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-19 11:32:07 -0200
Served asset /jquery.js - 304 Not Modified (0ms)
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-07 19:17:21 -0200
-Served asset /application.js - 304 Not Modified (0ms)
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-19 11:32:07 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-19 11:32:07 -0200
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/settings" for 127.0.0.1 at 2012-11-19 11:32:15 -0200
+Processing by Iugu::SettingsController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+Redirected to http://iugusdk.dev:3000/settings/profile
+Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-19 11:32:15 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1
+ [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
+ [1m[35mSocialAccount Load (0.3ms)[0m SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'twitter' LIMIT 1
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (49.5ms)
+ [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
+Completed 200 OK in 183ms (Views: 173.9ms | ActiveRecord: 5.7ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-19 11:32:16 -0200
+Served asset /jquery.js - 304 Not Modified (15ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-19 11:32:16 -0200
+Served asset /jquery-ui.js - 304 Not Modified (79ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-19 11:32:16 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-19 11:32:16 -0200
+Served asset /settings_code.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-19 11:32:16 -0200
+Served asset /settings.js - 304 Not Modified (9ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-19 11:32:16 -0200
+Served asset /settings.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-19 11:32:16 -0200
+Served asset /application_logo.png - 304 Not Modified (29ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/settings/profile" for 127.0.0.1 at 2012-11-19 11:33:24 -0200
+Processing by Iugu::ProfileController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1[0m
+ [1m[35mDelayed::Backend::ActiveRecord::Job Load (0.4ms)[0m SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1
+ [1m[36mSocialAccount Load (0.3ms)[0m [1mSELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1[0m
+ [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
+ [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
+ Rendered /home/alezonez/Projetos/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (4946.3ms)
+ [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
+Completed 200 OK in 5641ms (Views: 5378.3ms | ActiveRecord: 12.0ms)
+
+
+Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-11-19 11:33:30 -0200
+Served asset /settings.css - 304 Not Modified (20ms)
+
+
+Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-11-19 11:33:30 -0200
+Served asset /settings.js - 304 Not Modified (10ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-19 11:33:30 -0200
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-11-19 11:33:30 -0200
+Served asset /settings_code.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-19 11:33:30 -0200
+Served asset /jquery.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-11-19 11:33:30 -0200
+Served asset /jquery-ui.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-11-19 11:33:30 -0200
+Served asset /application_logo.png - 304 Not Modified (2ms)