Connecting to database specified by database.yml Connecting to database specified by database.yml  (140.5ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (106.2ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (106.9ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (97.9ms) 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  (78.3ms) 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  (175.8ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (98.0ms) 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  (97.9ms) 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  (97.3ms) 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  (166.6ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (149.8ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (167.9ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (98.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (141.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.2ms) SELECT version FROM `schema_migrations`  (31.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (49.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (24.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (24.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (24.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (83.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (5.2ms) 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  (2.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.5ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.4ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (93.3ms) 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  (64.6ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (73.2ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (72.7ms) 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  (67.1ms) 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  (124.7ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (63.9ms) 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  (56.3ms) 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  (64.4ms) 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  (134.6ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (133.1ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (116.3ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (65.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (125.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.3ms) SELECT version FROM `schema_migrations`  (22.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (24.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (24.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (24.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (35.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (32.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (33.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345') 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"}  (0.2ms) BEGIN User Exists (0.5ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'alexandre@iugu.com' LIMIT 1 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'uGKs73R6HJkt2L6yf6Mb' LIMIT 1 SQL (0.4ms) 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') SQL (0.4ms) INSERT 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')  (0.4ms) 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 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 SQL (0.2ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (1, 1) AccountRole Exists (0.5ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 1) LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1 SQL (0.3ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'owner') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 1) LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'admin')  (79.5ms) COMMIT Redirected to http://iugusdk.dev:3000/ Account Load (0.5ms) 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 Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 LIMIT 1 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 User Load (0.5ms) 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="} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1  (0.2ms) BEGIN  (0.1ms) COMMIT 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/ Account Load (0.6ms) 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 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 User Load (0.5ms) 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 User Load (0.4ms) 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:04:33 -0300 Processing by Iugu::ProfileController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.5ms) 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)  (0.6ms) 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 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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="} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1  (0.3ms) BEGIN  (0.1ms) 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"} User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/ Account Load (0.5ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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="} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1  (0.1ms) BEGIN  (0.1ms) 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"}  (0.2ms) BEGIN User Exists (0.5ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'alexandre@iugu.com.br' LIMIT 1 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'qw57spLBFDzhjsp4Lysn' LIMIT 1 SQL (3.0ms) 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') SQL (0.2ms) INSERT 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')  (0.5ms) 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 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 2 LIMIT 1 SQL (0.3ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (2, 2) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 2) LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1 SQL (0.4ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'owner') AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 2) LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 2 LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (2, 'admin')  (41.6ms) COMMIT Redirected to http://iugusdk.dev:3000/ Account Load (0.6ms) 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 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 2 LIMIT 1 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 User Load (0.5ms) 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="} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1  (0.1ms) BEGIN  (0.1ms) COMMIT 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"} User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/settings Account Load (0.4ms) 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 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 LIMIT 1 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 User Load (0.6ms) 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 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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.2ms)  (0.5ms) 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 User Load (0.5ms) 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:14:17 -0300 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.4ms) 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 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 User Load (0.5ms) 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="} User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1  (0.2ms) BEGIN  (0.2ms) COMMIT 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"}  (0.3ms) BEGIN User Exists (0.6ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'testando@mto.test' LIMIT 1 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'wzsgCXWnpYuWVgqpqTDJ' LIMIT 1 SQL (3.0ms) 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: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') SQL (0.3ms) 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')  (0.4ms) UPDATE `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 Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 3 LIMIT 1 SQL (0.4ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (3, 3) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 3) LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1 SQL (0.3ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'owner') AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 3) LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1 SQL (0.3ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'admin')  (42.0ms) COMMIT Redirected to http://iugusdk.dev:3000/settings Account Load (0.6ms) SELECT `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 Account Load (0.3ms) 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 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 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:14:37 -0300 Processing by Iugu::ProfileController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_3_destroy' LIMIT 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 3 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 3 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.6ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 3 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1 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="} User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1  (0.2ms) BEGIN  (0.1ms) 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"} User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/ Account Load (0.4ms) 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 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 LIMIT 1 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 User Load (0.5ms) 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="} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1  (0.2ms) BEGIN  (0.1ms) COMMIT 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"} User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND (accounts.id = '1') LIMIT 1 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 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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="} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1  (0.2ms) BEGIN  (0.1ms) 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"} User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/ Account Load (0.5ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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 User Load (0.6ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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 (54.9ms)  (0.4ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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 User Load (0.5ms) 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 User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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.6ms)  (0.5ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.4ms) 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 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 User Load (0.4ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.6ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) 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.4ms)  (0.5ms) 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 User Load (0.3ms) 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 "/settings/profile" for 127.0.0.1 at 2012-10-16 14:37:36 -0300 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.5ms) 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 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 User Load (0.5ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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.3ms)  (0.4ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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 (4515.9ms)  (0.4ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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)  (0.6ms) 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 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.5ms) 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)  (0.5ms) 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 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) 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 (4785.2ms)  (0.4ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.5ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.6ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.4ms) 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 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 User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.5ms) 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: 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  (26.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  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)  (109.5ms) CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `type` varchar(255)) ENGINE=InnoDB  (23.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Migrating to CreateApiToken (20121023113304)  (56.6ms) DROP TABLE `api_tokens`  (42.2ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20121023113304'  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml  (2.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  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)  (102.5ms) 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  (23.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (309.3ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.4ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (100.3ms) 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  (64.4ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (65.6ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (64.5ms) 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  (56.5ms) 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  (67.0ms) 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  (125.5ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (56.1ms) 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  (73.1ms) 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  (64.0ms) 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  (125.0ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (141.7ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (133.1ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (73.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (126.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.3ms) SELECT version FROM `schema_migrations`  (22.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')  (24.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345') Connecting to database specified by database.yml  (2.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Migrating to CreateApiToken (20121023113304)  (55.0ms) DROP TABLE `api_tokens`  (48.9ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20121023113304'  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml  (2.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  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)  (101.9ms) 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  (24.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (331.3ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.6ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (79.6ms) 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  (64.7ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (64.6ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (64.7ms) 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  (65.3ms) 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  (56.8ms) 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  (140.9ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (55.8ms) 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  (74.0ms) 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  (72.1ms) 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  (200.0ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (149.6ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (141.4ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (65.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (125.2ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.3ms) SELECT version FROM `schema_migrations`  (22.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')  (33.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (34.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (33.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345') 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  (2.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Migrating to CreateApiToken (20121023113304)  (55.1ms) DROP TABLE `api_tokens`  (34.1ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20121023113304'  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml  (2.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  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)  (141.7ms) CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (23.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304')  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (317.7ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.6ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (76.5ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (64.9ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (64.2ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (65.9ms) 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  (65.8ms) 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  (77.0ms) 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  (141.1ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (64.0ms) 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  (72.7ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` int(11), `email` varchar(255), `sent_at` datetime, `account_id` int(11), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (72.5ms) 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  (116.3ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (141.3ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (133.3ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (66.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (125.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.3ms) SELECT version FROM `schema_migrations`  (22.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (24.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345') Connecting to database specified by database.yml 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) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/ Account Load (0.6ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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 User Load (0.4ms) 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 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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.6ms)  (0.5ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.5ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.5ms) 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 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.5ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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 (4883.0ms)  (0.5ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.6ms) 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 #): 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' 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 (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 GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:22:20 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.5ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (4286.9ms)  (0.5ms) 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 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 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 "/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 "/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 "/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/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/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 "/settings/account" for 127.0.0.1 at 2012-10-23 15:26:25 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.5ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (4939.7ms)  (0.5ms) 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/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/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 "/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 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 User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (36.3ms)  (0.5ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.2ms) BEGIN ApiToken Exists (0.5ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.5ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 SQL (0.5ms) INSERT 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')  (40.9ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.6ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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 (34.4ms)  (0.5ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.2ms) BEGIN ApiToken Exists (0.3ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.3ms) SELECT 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 SQL (0.4ms) INSERT 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')  (106.0ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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.0ms)  (0.5ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.5ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (35.7ms)  (0.5ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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 (45.3ms)  (0.5ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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.6ms)  (0.5ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.6ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (38.3ms)  (0.4ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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 (36.4ms)  (0.5ms) 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"} User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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 (4416.9ms)  (0.5ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.1ms) BEGIN ApiToken Exists (0.5ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.4ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) COMMIT Redirected to http://iugusdk.dev:3000/settings/account/1 Completed 302 Found in 23ms (ActiveRecord: 2.9ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.5ms) 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: 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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)  (0.6ms) 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 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.1ms) BEGIN ApiToken Exists (0.4ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.4ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.1ms) COMMIT Redirected to http://iugusdk.dev:3000/settings/account/1 Completed 302 Found in 27ms (ActiveRecord: 2.8ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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.8ms)  (0.5ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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 (52.3ms)  (0.5ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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.1ms)  (0.5ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.5ms) 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  (0.1ms) BEGIN ApiToken Exists (0.5ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.3ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) COMMIT Redirected to http://iugusdk.dev:3000/settings/account/1 Completed 302 Found in 268ms (ActiveRecord: 13.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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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)  (0.4ms) 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: 70.0ms | ActiveRecord: 6.1ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.5ms) 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  (0.1ms) BEGIN ApiToken Exists (0.4ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.3ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) COMMIT Redirected to http://iugusdk.dev:3000/settings/account/1 Completed 302 Found in 24ms (ActiveRecord: 3.3ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.5ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.6ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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 (29.0ms)  (0.5ms) 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 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 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 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 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 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 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 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 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.5ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.5ms) 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  (0.2ms) BEGIN ApiToken Exists (0.3ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.4ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) COMMIT Redirected to http://iugusdk.dev:3000/settings/account/1 Completed 302 Found in 21ms (ActiveRecord: 3.4ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.6ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.6ms) 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 51ms (Views: 41.8ms | ActiveRecord: 4.3ms) 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 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 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 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 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 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 "/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) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND `accounts`.`id` = 1 LIMIT 1  (0.1ms) BEGIN ApiToken Exists (0.3ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.2ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 SQL (0.4ms) 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')  (125.0ms) COMMIT 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' 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.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 GET "/" for 127.0.0.1 at 2012-10-23 15:33:22 -0200 Processing by DashboardController#index as HTML User Load (0.4ms) 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 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 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 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 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 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 GET "/settings" for 127.0.0.1 at 2012-10-23 15:33:23 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.5ms) 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 "/settings/profile" for 127.0.0.1 at 2012-10-23 15:33:23 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.5ms) 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.6ms | ActiveRecord: 4.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 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 "/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 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 "/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 "/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 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 GET "/settings/account" for 127.0.0.1 at 2012-10-23 15:33:25 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.5ms) 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 66ms (Views: 47.6ms | ActiveRecord: 4.3ms) 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 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 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 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 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 "/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_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 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"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.5ms) 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  (0.1ms) BEGIN ApiToken Exists (0.4ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.3ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) COMMIT Redirected to http://iugusdk.dev:3000/settings/account/1 Completed 302 Found in 267ms (ActiveRecord: 13.1ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (42.6ms)  (0.5ms) 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/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/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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.5ms) 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  (0.2ms) BEGIN ApiToken Exists (0.4ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.4ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) COMMIT 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.6ms) 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 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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)  (0.6ms) 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: 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.6ms) 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 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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)  (0.5ms) 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: 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 User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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)  (0.5ms) 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 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.1ms) BEGIN ApiToken Exists (0.2ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.3ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.1ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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.6ms)  (0.5ms) 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 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) 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"} User Load (17.9ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/ Account Load (0.5ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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 User Load (0.6ms) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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 (165.4ms)  (17.2ms) 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 User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountDomain Load (0.5ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.6ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.6ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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 (107.7ms)  (0.5ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.3ms) BEGIN ApiToken Exists (0.4ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.6ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) COMMIT 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.5ms) 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: 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.1ms) BEGIN ApiToken Exists (0.3ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.3ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.1ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (122.5ms)  (0.4ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 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!' :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: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__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' 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 (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 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.4ms) 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: 57.0ms | ActiveRecord: 3.9ms) 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"} User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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)  (0.4ms) 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 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.6ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.6ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.5ms) 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 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.1ms) BEGIN ApiToken Exists (0.4ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.4ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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 (29.0ms)  (0.5ms) 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"} User Load (1.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (38.9ms)  (0.5ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.1ms) BEGIN ApiToken Exists (0.4ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.3ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) COMMIT 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.5ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.6ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) 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)  (0.6ms) 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: 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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)  (0.4ms) 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.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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND `accounts`.`id` = 1 LIMIT 1  (0.1ms) BEGIN ApiToken Exists (0.2ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.3ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.1ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND `accounts`.`id` = 1 LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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.2ms)  (0.4ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND `accounts`.`id` = 1 LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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 (35.6ms)  (0.4ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.4ms) 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  (0.1ms) BEGIN ApiToken Exists (0.2ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.2ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.1ms) COMMIT 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 AND `accounts`.`id` = 1 LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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)  (0.5ms) 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 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1_destroy' LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 1 AND `account_users`.`account_id` = 1 LIMIT 1 AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Account Load (0.5ms) 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  (0.1ms) BEGIN ApiToken Exists (0.4ms) SELECT 1 AS one FROM `api_tokens` WHERE `api_tokens`.`token` IS NULL LIMIT 1 ApiToken Exists (0.4ms) 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 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1  (0.2ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.4ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (34.4ms)  (0.5ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) 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 (49.9ms)  (0.4ms) 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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.5ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (125.3ms)  (0.5ms) 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"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Account Load (0.4ms) 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 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = 1 AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = 1 AND `account_users`.`user_id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (1) CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` IN (1) CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = 1 AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) 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 (52.9ms)  (0.4ms) 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  (68.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  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)  (176.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  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"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/ Account Load (0.5ms) 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 User Load (0.5ms) 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.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 User Load (0.5ms) 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: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__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' 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/routing_error.erb within rescues/layout (1.0ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-11-08 14:18:19 -0200 Processing by DashboardController#index as HTML User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (2.1ms) Completed 200 OK in 303ms (Views: 115.4ms | ActiveRecord: 2.9ms) 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 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 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 "/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 "/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 "/pricing" for 127.0.0.1 at 2012-11-08 14:18:26 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 6ms 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: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__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' 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 (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 "/pricing" for 127.0.0.1 at 2012-11-08 14:18:34 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 2111ms 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__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' 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 (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 "/pricing" for 127.0.0.1 at 2012-11-08 14:25:10 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 136ms 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' 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 (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-11-08 14:25:14 -0200 Processing by DashboardController#index as HTML User Load (0.5ms) 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) Started GET "/pricing" for 127.0.0.1 at 2012-11-08 14:25:17 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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' 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 (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 "/pricing" for 127.0.0.1 at 2012-11-08 14:26:25 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.5ms) 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 (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 Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:29:20 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.5ms) 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 User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 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' 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.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 GET "/pricing" for 127.0.0.1 at 2012-11-08 15:30:58 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.4ms) 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 (1.2ms) Completed 200 OK in 385ms (Views: 163.3ms | ActiveRecord: 2.1ms) Connecting to database specified by database.yml Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:34:40 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.5ms) 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 GET "/pricing" for 127.0.0.1 at 2012-11-08 15:34:58 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.5ms) 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 (5.0ms) Completed 200 OK in 64ms (Views: 20.4ms | ActiveRecord: 0.5ms) Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:36:34 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.4ms) 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 GET "/pricing" for 127.0.0.1 at 2012-11-08 15:38:30 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.4ms) 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 (79.3ms) Completed 200 OK in 135ms (Views: 101.3ms | ActiveRecord: 0.4ms) Started GET "/pricing" for 127.0.0.1 at 2012-11-08 15:38:35 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.5ms) 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 GET "/pricing" for 127.0.0.1 at 2012-11-08 15:38:54 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.5ms) 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 (83.2ms) Completed 200 OK in 213ms (Views: 101.1ms | ActiveRecord: 0.5ms) Started GET "/pricing" for 127.0.0.1 at 2012-11-08 16:11:01 -0200 Processing by Iugu::PricingController#index as HTML User Load (0.4ms) 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-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 "/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 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 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 "/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 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 "/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 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 "/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 "/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 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 "/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 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"} User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'alexandre@iugu.com' LIMIT 1 Redirected to http://iugusdk.dev:3000/ Account Load (0.5ms) 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-11-09 11:18:04 -0200 Processing by DashboardController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (1.9ms) Completed 200 OK in 18ms (Views: 14.4ms | ActiveRecord: 0.5ms) 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 "/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 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 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) 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 User Load (0.4ms) 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 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.2ms) 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' 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 (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 GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:18:33 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.6ms) 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 218ms (Views: 178.7ms | ActiveRecord: 37.2ms) 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 "/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 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 "/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 "/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 "/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 "/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 "/settings/profile" for 127.0.0.1 at 2012-11-09 11:20:47 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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 (39.2ms)  (0.4ms) 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 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 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 "/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 "/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 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 "/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 "/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 "/settings/profile" for 127.0.0.1 at 2012-11-09 11:20:59 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.4ms) 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 139ms (Views: 134.4ms | ActiveRecord: 2.2ms) 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 "/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 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 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 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 "/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 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 "/settings/profile" for 127.0.0.1 at 2012-11-09 11:21:24 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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.1ms)  (0.5ms) 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) 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.6ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.4ms) 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 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 User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.6ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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 (44.4ms)  (0.4ms) 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 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.7ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.5ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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)  (0.5ms) 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 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 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.5ms) 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 (48.1ms)  (0.4ms) 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 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.5ms) 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 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 User Load (0.6ms) 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' 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/missing_template.erb within rescues/layout (1.2ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:31:57 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.4ms) 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 341ms (Views: 188.8ms | ActiveRecord: 11.6ms) 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 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 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 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 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 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 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 "/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 User Load (0.5ms) 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 "/settings/profile" for 127.0.0.1 at 2012-11-09 11:32:00 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.4ms) 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: 39.3ms | ActiveRecord: 2.6ms) 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-11-09 11:32:00 -0200 Served asset /jquery.js - 304 Not Modified (2ms) 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/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 "/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/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/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 "/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 User Load (0.3ms) 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 "/settings/profile" for 127.0.0.1 at 2012-11-09 11:32:03 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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)  (0.4ms) 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: 49.8ms | ActiveRecord: 2.9ms) 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 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 "/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/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/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/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/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 "/settings/profile" for 127.0.0.1 at 2012-11-09 11:38:50 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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 (60.0ms)  (0.4ms) 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 "/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 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 "/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/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-11-09 11:38:50 -0200 Served asset /jquery.js - 304 Not Modified (1ms) 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_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 "/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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.4ms) 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 "/settings/profile" for 127.0.0.1 at 2012-11-09 11:38:52 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.5ms) 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: 49.3ms | ActiveRecord: 2.8ms) 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/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-11-09 11:38:52 -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-11-09 11:38:52 -0200 Served asset /settings_code.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/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 "/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 "/settings/profile" for 127.0.0.1 at 2012-11-09 11:39:20 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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 (143.1ms)  (0.3ms) 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-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-11-09 11:39:20 -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:39:20 -0200 Served asset /settings_code.js - 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 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 "/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/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 "/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 User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.5ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1  (0.1ms) BEGIN ApiToken Exists (0.6ms) SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`token` = BINARY '6ae55980ab965c127fef9dfdb0ca3583' AND `api_tokens`.`id` != 7) LIMIT 1 ApiToken Exists (0.4ms) 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 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1  (3.0ms) UPDATE `api_tokens` SET `token` = '6ae55980ab965c127fef9dfdb0ca3583', `updated_at` = '2012-11-09 13:39:23' WHERE `api_tokens`.`id` = 7  (62.1ms) COMMIT Redirected to http://iugusdk.dev:3000/settings/profile Completed 302 Found in 252ms (ActiveRecord: 67.3ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:39:23 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.4ms) 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)  (0.5ms) 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 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/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/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 "/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 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 User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1  (0.1ms) BEGIN ApiToken Exists (0.3ms) SELECT 1 AS one FROM `api_tokens` WHERE (`api_tokens`.`token` = BINARY '9606ea871690789939a06efb129e9efa' AND `api_tokens`.`id` != 7) LIMIT 1 ApiToken Exists (0.2ms) 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 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1  (0.3ms) UPDATE `api_tokens` SET `token` = '9606ea871690789939a06efb129e9efa', `updated_at` = '2012-11-09 13:39:25' WHERE `api_tokens`.`id` = 7  (95.6ms) COMMIT Redirected to http://iugusdk.dev:3000/settings/profile Completed 302 Found in 106ms (ActiveRecord: 97.2ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-11-09 11:39:25 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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.1ms)  (0.5ms) 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/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-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/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/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/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 User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = 1 AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.5ms) 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 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 "/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 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 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 "/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 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 "/settings/profile" for 127.0.0.1 at 2012-11-09 11:43:00 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.4ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) 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 (4893.4ms)  (0.4ms) 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 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 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 "/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 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 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 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 "/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 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 User Load (0.5ms) 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/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' 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 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 "/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 "/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 "/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 "/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 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 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 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 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 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 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 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 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 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 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: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' 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__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' 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 (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 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 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' 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__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' 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__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' 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/missing_template.erb within rescues/layout (0.7ms) Connecting to database specified by database.yml Connecting to database specified by database.yml 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' 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 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 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 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' 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  (4.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  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)  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (128.7ms) 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  (106.9ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (106.2ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (97.5ms) 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  (89.3ms) 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  (81.5ms) 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  (158.2ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (89.7ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (90.6ms) 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  (105.6ms) 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  (158.2ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (241.6ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (158.3ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (82.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (134.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.3ms) SELECT version FROM `schema_migrations`  (22.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (49.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (24.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (33.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (41.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (41.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (41.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (5.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (5.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  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)  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (105.8ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (133.6ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (3.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (107.7ms) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (32.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (103.7ms) 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  (159.0ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (157.9ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (149.9ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (24.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (173.8ms) ALTER TABLE `users` ADD `birthdate` date  (192.7ms) ALTER TABLE `users` ADD `name` varchar(255)  (25.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (173.7ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (167.8ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (193.0ms) ALTER TABLE `accounts` ADD `user_id` int(11)  (24.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (80.7ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (24.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (216.9ms) ALTER TABLE `accounts` DROP `user_id`  (23.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (79.6ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (32.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (204.5ms) ALTER TABLE `users` ADD `locale` varchar(255)  (32.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (88.7ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` int(11), `user_id` int(11), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (24.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.4ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (41.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (106.5ms) DROP INDEX `index_users_on_email` ON `users`  (149.7ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (32.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (94.6ms) CREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (157.9ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (24.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (80.9ms) 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  (24.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (141.2ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (32.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (182.2ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (32.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (55.7ms) 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  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (141.3ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (184.0ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (40.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (194.7ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (86.0ms) CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (37.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml  (125.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (125.3ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (5.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (82.7ms) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (32.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (106.2ms) 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  (143.0ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (149.5ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (141.3ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (24.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (199.3ms) ALTER TABLE `users` ADD `birthdate` date  (244.0ms) ALTER TABLE `users` ADD `name` varchar(255)  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (149.4ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (192.8ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (243.1ms) ALTER TABLE `accounts` ADD `user_id` int(11)  (24.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (72.6ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (24.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (157.7ms) ALTER TABLE `accounts` DROP `user_id`  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (73.1ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (32.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (208.8ms) ALTER TABLE `users` ADD `locale` varchar(255)  (32.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (71.5ms) 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  (24.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.3ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (35.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (90.0ms) DROP INDEX `index_users_on_email` ON `users`  (149.3ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (32.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (106.8ms) 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  (157.8ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (24.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (98.0ms) 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  (24.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (168.3ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (208.5ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (32.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (73.4ms) 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  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (157.1ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (182.1ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (32.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (215.9ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (179.2ms) 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  (23.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (157.5ms) ALTER TABLE `accounts` DROP `api_token`  (23.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.4ms) 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 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 "/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 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 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 "/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 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 "/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("

\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up") ));}\n

\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
\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("
\n
\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up") ));}\n
\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("
\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!' :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 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!' :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' 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 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("

\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up") ));}\n

\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
\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("
\n
\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up") ));}\n
\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("
\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!' :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 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!' :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' 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 "/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("

\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up") ));}\n

\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
\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("
\n
\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up") ));}\n
\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("
\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!' :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 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!' :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' 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 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("

\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up") ));}\n

\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
\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("
\n
\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up") ));}\n
\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("
\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!' :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 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!' :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' 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 "/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("

\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.sign_up") ));}\n

\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
\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("
\n
\n #{_hamlout.format_script_false_false_false_true_false_true_false(( f.button :submit, I18n.t("iugu.sign_up") ));}\n
\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("
\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!' :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 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!' :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' 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 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 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 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 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) 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' 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__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' 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' 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 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) 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__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' 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__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' 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 (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 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 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 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 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 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 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 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 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 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 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 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 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"}  (0.2ms) BEGIN User Exists (0.6ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'alexandre@iugu.com' LIMIT 1 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'UDTe81DchaRZDi1zndyz' LIMIT 1 SQL (4.7ms) 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') SQL (0.4ms) INSERT 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')  (13.8ms) 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 Account Load (0.6ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 3 LIMIT 1 SQL (0.4ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (3, 4) AccountRole Exists (0.6ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 3) LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1 SQL (0.3ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'owner') AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 3) LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 3 LIMIT 1 SQL (0.3ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (3, 'admin')  (41.8ms) COMMIT Redirected to http://iugusdk.dev:3001/ Account Load (0.6ms) 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 Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 4 LIMIT 1 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 User Load (0.5ms) 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 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="} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 LIMIT 1  (0.3ms) BEGIN  (0.2ms) COMMIT Redirected to http://iugusdk.dev:3001/ Completed 302 Found in 153ms (ActiveRecord: 3.1ms) 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 #): /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' 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.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 "/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' 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 "/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-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-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-14 14:35:45 -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: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-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/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-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-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-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 "/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 "/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/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.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/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  (125.4ms) 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  (64.7ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (57.0ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (56.5ms) 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  (65.4ms) 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  (79.6ms) CREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (158.3ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (73.9ms) 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  (64.3ms) 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  (64.0ms) 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  (133.3ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (158.2ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (141.2ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (67.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (117.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.4ms) SELECT version FROM `schema_migrations`  (21.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (41.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (33.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (33.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (33.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (5.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  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)  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (103.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (133.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (154.5ms) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (32.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (111.2ms) 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  (141.5ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (158.4ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (149.9ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (24.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (217.0ms) ALTER TABLE `users` ADD `birthdate` date  (167.9ms) ALTER TABLE `users` ADD `name` varchar(255)  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (183.5ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (167.7ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (194.2ms) ALTER TABLE `accounts` ADD `user_id` int(11)  (24.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (88.6ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (32.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (174.3ms) ALTER TABLE `accounts` DROP `user_id`  (24.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (113.2ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (32.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (225.1ms) ALTER TABLE `users` ADD `locale` varchar(255)  (98.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (80.6ms) 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  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.4ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (29.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (123.2ms) DROP INDEX `index_users_on_email` ON `users`  (150.1ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (32.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (65.6ms) CREATE TABLE `delayed_jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `priority` int(11) DEFAULT 0, `attempts` int(11) DEFAULT 0, `handler` text, `last_error` text, `run_at` datetime, `locked_at` datetime, `failed_at` datetime, `locked_by` varchar(255), `queue` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (150.1ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (25.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (54.6ms) 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  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (149.3ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (32.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (175.0ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (32.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (63.9ms) 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  (24.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (158.3ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (23.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (181.4ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (32.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (200.6ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (24.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (62.9ms) CREATE TABLE `api_tokens` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` int(11), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (24.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (24.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml  (2.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.6ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.5ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (533.3ms) 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  (65.0ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (56.8ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (47.8ms) 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  (64.6ms) 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  (62.5ms) 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  (124.5ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (64.0ms) 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  (73.0ms) 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  (64.1ms) 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  (125.2ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (124.8ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (109.4ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (65.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (142.3ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.4ms) SELECT version FROM `schema_migrations`  (31.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (33.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (33.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (24.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (25.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (24.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (24.9ms) 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"}  (0.2ms) BEGIN User Exists (0.5ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'alexandre@iugu.com' LIMIT 1 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'BpnRY52EQ7zignXzEYxk' LIMIT 1 SQL (2.5ms) 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') SQL (0.4ms) INSERT 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')  (0.4ms) 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 Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 1 LIMIT 1 SQL (0.3ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (1, 1) AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 1) LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1 SQL (0.4ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'owner') AccountRole Exists (0.4ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 1) LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 1 LIMIT 1 SQL (0.3ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (1, 'admin')  (53.0ms) COMMIT Redirected to http://iugusdk.dev:3000/ Account Load (0.6ms) 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 Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 1 LIMIT 1 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 User Load (0.4ms) 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/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 User Load (0.4ms) 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-19 11:32:15 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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)  (0.5ms) 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 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 User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.4ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = 1 AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) 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 (4946.3ms)  (0.4ms) 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)