Connecting to database specified by database.yml  (42.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  (149.1ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` int(11)) ENGINE=InnoDB  (74.1ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` int(11), `user_id` int(11)) ENGINE=InnoDB  (63.4ms) 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  (76.1ms) 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  (82.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  (89.6ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (92.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.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  (57.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  (54.0ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (79.5ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (91.4ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (89.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (90.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.2ms) SELECT version FROM `schema_migrations`  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (14.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (14.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (14.7ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (15.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304')  (18.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (7.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to RemoveApiTokenFromAccount (20121108115535)  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (67.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (153.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634) Connecting to database specified by database.yml  (2.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (45.2ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (100.2ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (80.7ms) CREATE TABLE `users` (`id` binary(16) 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  (84.0ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (53.6ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (93.9ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (91.1ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (120.4ms) ALTER TABLE `users` ADD `birthdate` date  (108.0ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (99.4ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (98.5ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (100.4ms) ALTER TABLE `accounts` ADD `user_id` int(11)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (81.4ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (84.3ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (103.9ms) ALTER TABLE `accounts` DROP `user_id`  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (107.0ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (71.3ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (99.9ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (106.9ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` binary(16), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (75.7ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (68.5ms) DROP INDEX `index_users_on_email` ON `users`  (93.0ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (80.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  (123.8ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (82.8ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (83.2ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (96.8ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (113.7ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (78.9ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (120.9ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (95.6ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (99.3ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (97.2ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (16.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (89.9ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (85.8ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (103.8ms) ALTER TABLE `accounts` DROP `api_token`  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml Connecting to database specified by database.yml  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (38.7ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.4ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (45.9ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (168.9ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (87.4ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` blob(16)) ENGINE=InnoDB  (86.0ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (87.5ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `user_id` blob(16)) ENGINE=InnoDB  (106.6ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (78.1ms) 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)) ENGINE=InnoDB  (98.4ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (80.1ms) 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` blob(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (98.0ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (77.7ms) 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  (93.8ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (88.6ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` blob(16), `user_id` blob(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (93.2ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (88.2ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` blob(16), `email` varchar(255), `sent_at` datetime, `account_id` blob(16), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (93.4ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (95.9ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB  (87.5ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (88.5ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (99.5ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (104.5ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (88.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (113.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (11.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (12.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304') Connecting to database specified by database.yml Started HEAD "/" for 127.0.0.1 at 2012-12-27 16:45:23 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (1.8ms) Compiled default.css (396ms) (pid 3084) Compiled application.css (404ms) (pid 3084) Compiled jquery.js (3ms) (pid 3084) Compiled jquery_ujs.js (0ms) (pid 3084) Compiled application.js (74ms) (pid 3084) Completed 200 OK in 557ms (Views: 555.9ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-12-27 16:45:28 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 16:45:28 -0200 Served asset /application.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 16:45:28 -0200 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 16:45:28 -0200 Served asset /jquery_ujs.js - 200 OK (5ms) Connecting to database specified by database.yml Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 16:45:31 -0200 Served asset /default.css - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 16:45:31 -0200 Served asset /application.js - 200 OK (3ms) Started GET "/signup" for 127.0.0.1 at 2012-12-27 16:45:40 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.6ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (3.3ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (150.1ms) Completed 200 OK in 172ms (Views: 153.8ms | ActiveRecord: 2.4ms) Started POST "/signup" for 127.0.0.1 at 2012-12-27 16:45:46 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lv05zUFsezB4NqNpW3NcuSxIXYsAuRwzvOFtSGtO23E=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.2ms) BEGIN User Exists (0.4ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'zsUM3DkQqtBF7qfRss26' LIMIT 1 SQL (0.2ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-12-27 18:45:46', 'zsUM3DkQqtBF7qfRss26', '2012-12-27 18:45:46', '2012-12-27 18:45:46', 'paezao@gmail.com', '$2a$10$UBE5gOBttarG5tLem/wGGeTZxqTmIfe/DNWZ/RF12EYRk3OR3X6Ru', NULL, 'en', NULL, NULL, NULL, NULL, NULL, '2012-12-27 18:45:46') SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2012-12-27 18:45:46', NULL, NULL, NULL, '2012-12-27 18:45:46')  (0.3ms) UPDATE `accounts` SET `created_at` = '2012-12-27 18:45:46', `updated_at` = '2012-12-27 18:45:46', `subdomain` = 'account0' WHERE `accounts`.`id` = 0 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 0 LIMIT 1 SQL (0.2ms) INSERT INTO `account_users` (`account_id`, `user_id`) VALUES (NULL, NULL) AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = 0) LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 0 LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (NULL, 'owner') AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = 0) LIMIT 1 AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = 0 LIMIT 1 SQL (0.3ms) INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (NULL, 'admin') Mysql2::Error: Duplicate entry '\x00' for key 'PRIMARY': INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (NULL, 'admin')  (6.1ms) ROLLBACK Completed 500 Internal Server Error in 278ms ActiveRecord::RecordNotUnique (Mysql2::Error: Duplicate entry '\x00' for key 'PRIMARY': INSERT INTO `account_roles` (`account_user_id`, `name`) VALUES (NULL, 'admin')): activerecord (3.2.9) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `query' activerecord (3.2.9) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `block in execute' activerecord (3.2.9) lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activerecord (3.2.9) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' activerecord (3.2.9) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `execute' activerecord (3.2.9) lib/active_record/connection_adapters/mysql2_adapter.rb:211:in `execute' activerecord (3.2.9) lib/active_record/connection_adapters/mysql2_adapter.rb:234:in `exec_insert' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert' activerecord (3.2.9) lib/active_record/relation.rb:66:in `insert' activerecord (3.2.9) lib/active_record/persistence.rb:367:in `create' activerecord (3.2.9) lib/active_record/timestamp.rb:58:in `create' activerecord (3.2.9) lib/active_record/callbacks.rb:268:in `block in create' activesupport (3.2.9) lib/active_support/callbacks.rb:403:in `_run__1936012619598319047__create__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_create_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' activerecord (3.2.9) lib/active_record/callbacks.rb:268:in `create' activerecord (3.2.9) lib/active_record/persistence.rb:348:in `create_or_update' activerecord (3.2.9) lib/active_record/callbacks.rb:264:in `block in create_or_update' activesupport (3.2.9) lib/active_support/callbacks.rb:414:in `_run__1936012619598319047__save__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_save_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' activerecord (3.2.9) lib/active_record/callbacks.rb:264:in `create_or_update' activerecord (3.2.9) lib/active_record/persistence.rb:84:in `save' activerecord (3.2.9) lib/active_record/validations.rb:50:in `save' activerecord (3.2.9) lib/active_record/attribute_methods/dirty.rb:22:in `save' activerecord (3.2.9) lib/active_record/transactions.rb:259:in `block (2 levels) in save' activerecord (3.2.9) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.9) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.9) lib/active_record/transactions.rb:311:in `with_transaction_returning_status' activerecord (3.2.9) lib/active_record/transactions.rb:259:in `block in save' activerecord (3.2.9) lib/active_record/transactions.rb:270:in `rollback_active_record_state!' activerecord (3.2.9) lib/active_record/transactions.rb:258:in `save' activerecord (3.2.9) lib/active_record/associations/has_many_association.rb:16:in `insert_record' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:436:in `block (2 levels) in create_record' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:344:in `add_to_target' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:434:in `block in create_record' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:149:in `block in transaction' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.9) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:148:in `transaction' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:433:in `create_record' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:119:in `create' activerecord (3.2.9) lib/active_record/associations/collection_proxy.rb:46:in `create' /Users/nkr/Projetos/Iugu/iugusdk/app/models/account_user.rb:32:in `add_default_roles' activesupport (3.2.9) lib/active_support/callbacks.rb:409:in `_run__3900604665811099243__create__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_create_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' activerecord (3.2.9) lib/active_record/callbacks.rb:268:in `create' activerecord (3.2.9) lib/active_record/persistence.rb:348:in `create_or_update' activerecord (3.2.9) lib/active_record/callbacks.rb:264:in `block in create_or_update' activesupport (3.2.9) lib/active_support/callbacks.rb:436:in `_run__3900604665811099243__save__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_save_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' activerecord (3.2.9) lib/active_record/callbacks.rb:264:in `create_or_update' activerecord (3.2.9) lib/active_record/persistence.rb:84:in `save' activerecord (3.2.9) lib/active_record/validations.rb:50:in `save' activerecord (3.2.9) lib/active_record/attribute_methods/dirty.rb:22:in `save' activerecord (3.2.9) lib/active_record/transactions.rb:259:in `block (2 levels) in save' activerecord (3.2.9) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.9) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.9) lib/active_record/transactions.rb:311:in `with_transaction_returning_status' activerecord (3.2.9) lib/active_record/transactions.rb:259:in `block in save' activerecord (3.2.9) lib/active_record/transactions.rb:270:in `rollback_active_record_state!' activerecord (3.2.9) lib/active_record/transactions.rb:258:in `save' activerecord (3.2.9) lib/active_record/associations/has_many_association.rb:16:in `insert_record' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:436:in `block (2 levels) in create_record' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:344:in `add_to_target' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:434:in `block in create_record' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:149:in `block in transaction' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.9) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:148:in `transaction' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:433:in `create_record' activerecord (3.2.9) lib/active_record/associations/collection_association.rb:119:in `create' activerecord (3.2.9) lib/active_record/associations/collection_proxy.rb:46:in `create' /Users/nkr/Projetos/Iugu/iugusdk/app/models/user.rb:186:in `create_account_for_user' activesupport (3.2.9) lib/active_support/callbacks.rb:451:in `_run__1621603081873604396__create__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_create_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' activerecord (3.2.9) lib/active_record/callbacks.rb:268:in `create' activerecord (3.2.9) lib/active_record/persistence.rb:348:in `create_or_update' activerecord (3.2.9) lib/active_record/callbacks.rb:264:in `block in create_or_update' activesupport (3.2.9) lib/active_support/callbacks.rb:425:in `_run__1621603081873604396__save__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_save_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' activerecord (3.2.9) lib/active_record/callbacks.rb:264:in `create_or_update' activerecord (3.2.9) lib/active_record/persistence.rb:84:in `save' activerecord (3.2.9) lib/active_record/validations.rb:50:in `save' activerecord (3.2.9) lib/active_record/attribute_methods/dirty.rb:22:in `save' activerecord (3.2.9) lib/active_record/transactions.rb:259:in `block (2 levels) in save' activerecord (3.2.9) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' activerecord (3.2.9) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.9) lib/active_record/transactions.rb:311:in `with_transaction_returning_status' activerecord (3.2.9) lib/active_record/transactions.rb:259:in `block in save' activerecord (3.2.9) lib/active_record/transactions.rb:270:in `rollback_active_record_state!' activerecord (3.2.9) lib/active_record/transactions.rb:258:in `save' devise (2.1.2) app/controllers/devise/registrations_controller.rb:15:in `create' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__3185394552894917114__process_action__4098951879005672899__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-12-27 16:50:02 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 24ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started GET "/signup" for 127.0.0.1 at 2012-12-27 16:50:07 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (0.8ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (7.5ms) Completed 200 OK in 30ms (Views: 10.9ms | ActiveRecord: 2.1ms) Started POST "/signup" for 127.0.0.1 at 2012-12-27 16:50:12 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lv05zUFsezB4NqNpW3NcuSxIXYsAuRwzvOFtSGtO23E=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.1ms) BEGIN User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'Vv76ncK4zdNdqj4YkMKD' LIMIT 1 SQL (0.2ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `id`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-12-27 18:50:12', 'Vv76ncK4zdNdqj4YkMKD', '2012-12-27 18:50:12', '2012-12-27 18:50:12', 'paezao@gmail.com', '$2a$10$sm8wMOaG0SThZulyWDWsKOAuZmKfexoy3Z.3ZPnOzgpM1qW0fWOlO', NULL, x'1c5de48003ac42a8a27a6756fef2bc2b', 'en', NULL, NULL, NULL, NULL, NULL, '2012-12-27 18:50:12') SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `id`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2012-12-27 18:50:12', x'a22125527f344f19b42eae07d8c9bc7f', NULL, NULL, NULL, '2012-12-27 18:50:12')  (0.3ms) UPDATE `accounts` SET `created_at` = '2012-12-27 18:50:12', `updated_at` = '2012-12-27 18:50:12', `subdomain` = 'accounta2212552-7f34-4f19-b42e-ae07d8c9bc7f' WHERE `accounts`.`id` = x'a22125527f344f19b42eae07d8c9bc7f' Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 SQL (0.2ms) INSERT INTO `account_users` (`account_id`, `id`, `user_id`) VALUES (x'a22125527f344f19b42eae07d8c9bc7f', x'e94cde5bbd724765accf9eeb26cb5999', x'1c5de48003ac42a8a27a6756fef2bc2b') AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'e94cde5bbd724765accf9eeb26cb5999') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'e94cde5bbd724765accf9eeb26cb5999' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'e94cde5bbd724765accf9eeb26cb5999', x'22213c71ec094b81b82d8866c882ecc1', 'owner') AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'e94cde5bbd724765accf9eeb26cb5999') LIMIT 1 AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'e94cde5bbd724765accf9eeb26cb5999' LIMIT 1 SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'e94cde5bbd724765accf9eeb26cb5999', x'1a6e84ffc52d40d2a410372ba1abc285', 'admin')  (0.5ms) COMMIT Redirected to http://iugusdk.dev/ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND (accounts.id = NULL) 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` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Completed 302 Found in 198ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2012-12-27 16:50:13 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (0.9ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET "/settings" for 127.0.0.1 at 2012-12-27 16:50:20 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Redirected to http://iugusdk.dev/settings/profile Completed 302 Found in 28ms (ActiveRecord: 0.3ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-12-27 16:50:20 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1c5de480-03ac-42a8-a27a-6756fef2bc2b_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (25.6ms) Compiled settings.css (60ms) (pid 3084) Compiled jquery-ui.js (31ms) (pid 3084) Compiled settings_code.js (191ms) (pid 3084) Compiled settings.js (254ms) (pid 3084)  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' Completed 200 OK in 444ms (Views: 438.2ms | ActiveRecord: 4.8ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 16:50:20 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 16:50:20 -0200 Served asset /settings_code.js - 200 OK (1ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 16:50:20 -0200 Served asset /settings.js - 200 OK (6ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 16:50:20 -0200 Served asset /settings.css - 200 OK (1ms) Served asset /jquery-ui.js - 200 OK (2ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 16:50:20 -0200 Served asset /application_logo.png - 200 OK (6ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 16:50:22 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.4ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 14ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:14:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.3ms) Connecting to database specified by database.yml Started GET "/settings/profile" for 127.0.0.1 at 2012-12-27 16:51:23 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1c5de480-03ac-42a8-a27a-6756fef2bc2b_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' SocialAccount Load (0.1ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.1ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (14.3ms)  (0.2ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 1.3ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 16:51:46 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 4ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:14:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.3ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 16:52:07 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 4ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:14:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.2ms) Started GET "/settings/" for 127.0.0.1 at 2012-12-27 17:00:48 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Redirected to http://iugusdk.dev/settings/profile Completed 302 Found in 2ms (ActiveRecord: 0.5ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-12-27 17:00:48 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_1c5de480-03ac-42a8-a27a-6756fef2bc2b_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' SocialAccount Load (0.1ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (13.3ms)  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 1.2ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:00:52 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 4ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:14:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.9ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:00:58 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:14:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.1ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:01:47 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 50ms (Views: 2.9ms | ActiveRecord: 4.4ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:01:53 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 97ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:14:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.7ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:02:07 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Completed 500 Internal Server Error in 72ms ActionView::MissingTemplate (Missing template iugu/account/view, iugu/account_settings/view, iugu/settings/view, application/view with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/app/views" * "/Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/devise-2.1.2/app/views" * "/Users/nkr/Projetos/Iugu/iugusdk/app/views" ): actionpack (3.2.9) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.9) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:34:in `determine_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.3ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:02:23 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.1ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 97ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:15:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.7ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:02:34 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.1ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 4ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:15:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.2ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:04:24 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 # Completed 500 Internal Server Error in 71ms ActionView::MissingTemplate (Missing template iugu/account/view, iugu/account_settings/view, iugu/settings/view, application/view with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/app/views" * "/Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/devise-2.1.2/app/views" * "/Users/nkr/Projetos/Iugu/iugusdk/app/views" ): actionpack (3.2.9) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.9) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:34:in `determine_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.3ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:04:34 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 # Completed 500 Internal Server Error in 4ms ActionView::MissingTemplate (Missing template iugu/account/view, iugu/account_settings/view, iugu/settings/view, application/view with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/app/views" * "/Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/devise-2.1.2/app/views" * "/Users/nkr/Projetos/Iugu/iugusdk/app/views" ): actionpack (3.2.9) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.9) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:34:in `determine_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.3ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:04:55 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 # Rendered text template (0.0ms) Completed 200 OK in 73ms (Views: 0.8ms | ActiveRecord: 2.3ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:05:16 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 # AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 97ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:12:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.9ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:05:55 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 # AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'1c5de48003ac42a8a27a6756fef2bc2b' AND `account_users`.`account_id` = x'a22125527f344f19b42eae07d8c9bc7f' LIMIT 1 AccountRole Load (0.1ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'e94cde5bbd724765accf9eeb26cb5999') Completed 500 Internal Server Error in 99ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:12:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.4ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:06:12 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 # a2212552-7f34-4f19-b42e-ae07d8c9bc7f Rendered text template (0.0ms) Completed 200 OK in 73ms (Views: 0.6ms | ActiveRecord: 2.5ms) 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  (60.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (146.2ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (96.6ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (87.9ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (92.5ms) CREATE TABLE `users` (`id` binary(16) 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  (97.5ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (67.7ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (83.3ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (90.8ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (91.0ms) ALTER TABLE `users` ADD `birthdate` date  (116.3ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (83.7ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (97.4ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (93.6ms) ALTER TABLE `accounts` ADD `user_id` int(11)  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (79.9ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (71.3ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (108.5ms) ALTER TABLE `accounts` DROP `user_id`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (105.0ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (100.4ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (97.9ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (81.8ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` binary(16), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (76.0ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (52.6ms) DROP INDEX `index_users_on_email` ON `users`  (99.9ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (82.2ms) 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  (94.7ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (78.2ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (111.8ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (92.3ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (108.0ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (13.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (82.1ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (84.6ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (30.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (83.5ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (130.3ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (98.1ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (75.7ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (82.1ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (81.9ms) ALTER TABLE `accounts` DROP `api_token`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (36.2ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (151.2ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (80.1ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` blob(16)) ENGINE=InnoDB  (85.1ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (82.1ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `user_id` blob(16)) ENGINE=InnoDB  (85.2ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (71.1ms) 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)) ENGINE=InnoDB  (78.1ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (86.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` blob(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (71.3ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (80.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  (98.5ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (62.5ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` blob(16), `user_id` blob(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (102.0ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (63.6ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` blob(16), `email` varchar(255), `sent_at` datetime, `account_id` blob(16), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (100.5ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (65.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, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB  (85.8ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (92.4ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (81.4ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (93.1ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (102.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (87.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (1.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (29.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304') Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-12-27 17:19:44 -0200 Processing by DashboardController#index as HTML User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'1c5de48003ac42a8a27a6756fef2bc2b' LIMIT 1 Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 30ms (Views: 4.7ms | ActiveRecord: 2.2ms) Started GET "/signup" for 127.0.0.1 at 2012-12-27 17:19:56 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (1.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (8.2ms) Completed 200 OK in 26ms (Views: 11.9ms | ActiveRecord: 0.0ms) Started POST "/signup" for 127.0.0.1 at 2012-12-27 17:20:02 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lv05zUFsezB4NqNpW3NcuSxIXYsAuRwzvOFtSGtO23E=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.2ms) BEGIN User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'VSQ5daCynY68rSPPzFh2' LIMIT 1 SQL (0.3ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `id`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-12-27 19:20:02', 'VSQ5daCynY68rSPPzFh2', '2012-12-27 19:20:02', '2012-12-27 19:20:02', 'paezao@gmail.com', '$2a$10$yIxapITwRvNr9FXFk946AeUJ301gyeinVucDRSHWgCLW7QYxwxgP.', NULL, x'd2335f488bb44428a6edefcfa3a0b887', 'en', NULL, NULL, NULL, NULL, NULL, '2012-12-27 19:20:02') SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `id`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2012-12-27 19:20:02', x'09b4833290cc46b5b0d0003c537125cc', NULL, NULL, NULL, '2012-12-27 19:20:02')  (0.3ms) UPDATE `accounts` SET `created_at` = '2012-12-27 19:20:02', `updated_at` = '2012-12-27 19:20:02', `subdomain` = 'account09b48332-90cc-46b5-b0d0-003c537125cc' WHERE `accounts`.`id` = x'09b4833290cc46b5b0d0003c537125cc' Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'09b4833290cc46b5b0d0003c537125cc' LIMIT 1 SQL (0.2ms) INSERT INTO `account_users` (`account_id`, `id`, `user_id`) VALUES (x'09b4833290cc46b5b0d0003c537125cc', x'0536176277b64bd89cd1fed217ff56b8', x'd2335f488bb44428a6edefcfa3a0b887') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'0536176277b64bd89cd1fed217ff56b8') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'0536176277b64bd89cd1fed217ff56b8' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'0536176277b64bd89cd1fed217ff56b8', x'75e727ebdc3347e0b307a85cb8dcde1b', 'owner') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'0536176277b64bd89cd1fed217ff56b8') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'0536176277b64bd89cd1fed217ff56b8' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'0536176277b64bd89cd1fed217ff56b8', x'79602d321b704c3f80d41215e042574a', 'admin')  (0.4ms) COMMIT Redirected to http://iugusdk.dev/ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND (accounts.id = 'a2212552-7f34-4f19-b42e-ae07d8c9bc7f') 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` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 Completed 302 Found in 190ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2012-12-27 17:20:02 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (0.1ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started GET "/settings" for 127.0.0.1 at 2012-12-27 17:20:06 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 Redirected to http://iugusdk.dev/settings/profile Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-12-27 17:20:06 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_d2335f48-8bb4-4428-a6ed-efcfa3a0b887_destroy' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (18.4ms)  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' Completed 200 OK in 28ms (Views: 21.7ms | ActiveRecord: 4.7ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:20:06 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 # 09b48332-90cc-46b5-b0d0-003c537125cc Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.4ms) 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-12-27 17:22:30 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `account_users`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'0536176277b64bd89cd1fed217ff56b8') Completed 500 Internal Server Error in 94ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:17:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.7ms) Started GET "/settings/" for 127.0.0.1 at 2012-12-27 17:22:33 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 Redirected to http://iugusdk.dev/settings/profile Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-12-27 17:22:33 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_d2335f48-8bb4-4428-a6ed-efcfa3a0b887_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (30.9ms)  (0.2ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' Completed 200 OK in 43ms (Views: 27.4ms | ActiveRecord: 14.4ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:22:36 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `account_users`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' LIMIT 1 AccountRole Load (0.3ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'0536176277b64bd89cd1fed217ff56b8') Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:17:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.1ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:24:28 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 # AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `account_users`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' LIMIT 1 AccountRole Load (0.1ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` IN (x'0536176277b64bd89cd1fed217ff56b8') Completed 500 Internal Server Error in 98ms NoMethodError (undefined method `each' for nil:NilClass): activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:88:in `block in associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `each' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:85:in `associated_records_by_owner' activerecord (3.2.9) lib/active_record/associations/preloader/collection_association.rb:13:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader/association.rb:19:in `run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:132:in `block (2 levels) in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:131:in `block in preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:130:in `preload_one' activerecord (3.2.9) lib/active_record/associations/preloader.rb:109:in `preload' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `block in run' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `each' activerecord (3.2.9) lib/active_record/associations/preloader.rb:98:in `run' activerecord (3.2.9) lib/active_record/relation.rb:181:in `block in exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:180:in `each' activerecord (3.2.9) lib/active_record/relation.rb:180:in `exec_queries' activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.9) lib/active_record/explain.rb:40:in `logging_query_plan' activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:378:in `find_first' activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:122:in `first' activesupport (3.2.9) lib/active_support/core_ext/object/try.rb:36:in `try' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:8:in `search_user_account' /Users/nkr/Projetos/Iugu/iugusdk/lib/iugusdk/controllers/helpers.rb:12:in `current_user_account' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:17:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__4380406831685436634__process_action__4142558030367223471__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__577921850047183573__call__1577955033590236501__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.4ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:27:08 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 # AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `account_users`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'09b4833290cc46b5b0d0003c537125cc' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' AND `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'0536176277b64bd89cd1fed217ff56b8' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' AND `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'0536176277b64bd89cd1fed217ff56b8' 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_09b48332-90cc-46b5-b0d0-003c537125cc_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (30.3ms)  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' Completed 200 OK in 158ms (Views: 27.7ms | ActiveRecord: 18.8ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:27: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-12-27 17:27:08 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:08 -0200 Served asset /settings.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:12 -0200 Served asset /jquery-ui.js - 304 Not Modified (2ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:27:12 -0200 Served asset /settings.css - 304 Not Modified (1ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:12 -0200 Served asset /settings_code.js - 304 Not Modified (1ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:27:12 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-12-27 17:27:19 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.3ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_d2335f48-8bb4-4428-a6ed-efcfa3a0b887_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' SocialAccount Load (0.1ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (43.2ms)  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' Completed 200 OK in 53ms (Views: 48.0ms | ActiveRecord: 3.6ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:19 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:19 -0200 Served asset /settings_code.js - 304 Not Modified (1ms) Served asset /settings.js - 304 Not Modified (33ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:19 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:19 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:27:19 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:19 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:27:19 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account" for 127.0.0.1 at 2012-12-27 17:27:21 -0200 Processing by Iugu::AccountController#view as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 # AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' AND `account_users`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'09b4833290cc46b5b0d0003c537125cc' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' AND `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'0536176277b64bd89cd1fed217ff56b8' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'09b4833290cc46b5b0d0003c537125cc' AND `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'0536176277b64bd89cd1fed217ff56b8' 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_09b48332-90cc-46b5-b0d0-003c537125cc_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (7.3ms)  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'd2335f488bb44428a6edefcfa3a0b887' Completed 200 OK in 20ms (Views: 13.5ms | ActiveRecord: 2.2ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:27:21 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:21 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:21 -0200 Served asset /settings.css - 304 Not Modified (2ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:21 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:21 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:27:21 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:27:21 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Connecting to database specified by database.yml  (57.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (156.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (63.2ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (93.2ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (1.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (73.9ms) CREATE TABLE `users` (`id` binary(16) 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  (92.9ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (71.3ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (108.2ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (93.1ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (107.4ms) ALTER TABLE `users` ADD `birthdate` date  (132.9ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (75.6ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (106.1ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (92.7ms) ALTER TABLE `accounts` ADD `user_id` int(11)  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (122.5ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (111.9ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (100.4ms) ALTER TABLE `accounts` DROP `user_id`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (88.1ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (111.4ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (103.9ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (88.8ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` binary(16), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (94.0ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.3ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (110.9ms) DROP INDEX `index_users_on_email` ON `users`  (109.7ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (112.9ms) 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  (126.4ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (118.4ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (111.4ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (122.4ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (112.6ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (106.8ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (412.2ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (87.2ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (145.0ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (131.3ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (77.7ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (89.0ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (97.7ms) ALTER TABLE `accounts` DROP `api_token`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-12-27 17:31:56 -0200 Processing by DashboardController#index as HTML User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'd2335f488bb44428a6edefcfa3a0b887' LIMIT 1 Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 29ms (Views: 4.8ms | ActiveRecord: 2.6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:31:56 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:31:56 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2012-12-27 17:31:58 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.6ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:31:58 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:31: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-12-27 17:31:58 -0200 Served asset /default.css - 304 Not Modified (1ms) Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:31:58 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:31:58 -0200 Served asset /application.js - 304 Not Modified (3ms) Started GET "/signup" for 127.0.0.1 at 2012-12-27 17:31:59 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (1.0ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (8.6ms) Completed 200 OK in 26ms (Views: 12.3ms | ActiveRecord: 0.0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:31:59 -0200 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:31:59 -0200 Served asset /default.css - 304 Not Modified (1ms) Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:31:59 -0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:31:59 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:31:59 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/login" for 127.0.0.1 at 2012-12-27 17:32:17 -0200 Processing by Iugu::SessionsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (1.2ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (8.8ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:32:17 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:32:17 -0200 Served asset /application.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:32:17 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:32:17 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /default.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:32:17 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/signup" for 127.0.0.1 at 2012-12-27 17:32:21 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (1.0ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (7.7ms) Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:32:21 -0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:32:21 -0200 Served asset /application.css - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:32:21 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:32:21 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:32:21 -0200 Served asset /default.css - 304 Not Modified (0ms) Started POST "/signup" for 127.0.0.1 at 2012-12-27 17:32:37 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lv05zUFsezB4NqNpW3NcuSxIXYsAuRwzvOFtSGtO23E=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.2ms) BEGIN User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'zYHw1RsSb5MbvZPqmGC7' LIMIT 1 SQL (0.3ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `id`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-12-27 19:32:37', 'zYHw1RsSb5MbvZPqmGC7', '2012-12-27 19:32:37', '2012-12-27 19:32:37', 'paezao@gmail.com', '$2a$10$XuS5QlJbSEj/mY.GhUl1deJ42SzVZimQhl4FRXypJTI1ufUoUGH/u', NULL, x'5c4f2f3880384657b8748e8f053f723b', 'en', NULL, NULL, NULL, NULL, NULL, '2012-12-27 19:32:37') SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `id`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2012-12-27 19:32:37', x'6a941688a1eb4d7fa4b72ea5b588811a', NULL, NULL, NULL, '2012-12-27 19:32:37')  (0.2ms) UPDATE `accounts` SET `created_at` = '2012-12-27 19:32:37', `updated_at` = '2012-12-27 19:32:37', `subdomain` = 'account6a941688-a1eb-4d7f-a4b7-2ea5b588811a' WHERE `accounts`.`id` = x'6a941688a1eb4d7fa4b72ea5b588811a' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'6a941688a1eb4d7fa4b72ea5b588811a' LIMIT 1 SQL (0.2ms) INSERT INTO `account_users` (`account_id`, `id`, `user_id`) VALUES (x'6a941688a1eb4d7fa4b72ea5b588811a', x'7972f6df56d8412898a4915070ae2e01', x'5c4f2f3880384657b8748e8f053f723b') AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'7972f6df56d8412898a4915070ae2e01') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'7972f6df56d8412898a4915070ae2e01' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'7972f6df56d8412898a4915070ae2e01', x'a70deecb67be4b97971d9bd194c6dad1', 'owner') AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'7972f6df56d8412898a4915070ae2e01') LIMIT 1 AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'7972f6df56d8412898a4915070ae2e01' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'7972f6df56d8412898a4915070ae2e01', x'f7b76debe2df4ab0a12e0cd294bf93f2', 'admin')  (0.4ms) COMMIT Redirected to http://iugusdk.dev/ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'5c4f2f3880384657b8748e8f053f723b' AND (accounts.id = '09b48332-90cc-46b5-b0d0-003c537125cc') 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` = x'5c4f2f3880384657b8748e8f053f723b' LIMIT 1 Completed 302 Found in 216ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2012-12-27 17:32:37 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'5c4f2f3880384657b8748e8f053f723b' LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (0.1ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:32:37 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:32:37 -0200 Served asset /application.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:32:37 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:32:37 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /default.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:32:37 -0200 Served asset /application.css - 304 Not Modified (0ms) SQL (0.2ms) UPDATE `delayed_jobs` SET locked_by = null, locked_at = null WHERE (locked_by = 'host:iMac-de-Marcelo.local pid:3955') Mysql2::Error: Table 'iugusdk_development.delayed_jobs' doesn't exist: UPDATE `delayed_jobs` SET locked_by = null, locked_at = null WHERE (locked_by = 'host:iMac-de-Marcelo.local pid:3955') Connecting to database specified by database.yml  (51.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (206.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (96.5ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (89.5ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (67.2ms) CREATE TABLE `users` (`id` binary(16) 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  (88.0ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (71.3ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (93.9ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (89.4ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (1.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (101.0ms) ALTER TABLE `users` ADD `birthdate` date  (107.9ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (89.1ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (84.9ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (97.5ms) ALTER TABLE `accounts` ADD `user_id` int(11)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (59.3ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (74.0ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (104.0ms) ALTER TABLE `accounts` DROP `user_id`  (4.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (261.4ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (171.3ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (116.8ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (78.9ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` binary(16), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (85.0ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.1ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (69.6ms) DROP INDEX `index_users_on_email` ON `users`  (84.1ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (75.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  (85.4ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (2.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (93.2ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (78.4ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (2.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (92.9ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (90.8ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (13.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (62.3ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (68.0ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (83.8ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (82.1ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (88.0ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (63.9ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (101.9ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (80.7ms) ALTER TABLE `accounts` DROP `api_token`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-12-27 17:33:43 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'5c4f2f3880384657b8748e8f053f723b' LIMIT 1 Rendered dashboard/splash.html.haml within layouts/application (1.9ms) Completed 200 OK in 64ms (Views: 49.6ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:33:43 -0200 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:33:43 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:33:43 -0200 Served asset /default.css - 304 Not Modified (1ms) Connecting to database specified by database.yml Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:33:47 -0200 Served asset /application.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:33:47 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/signup" for 127.0.0.1 at 2012-12-27 17:34:18 -0200 Processing by Iugu::RegistrationsController#new as HTML Completed 500 Internal Server Error in 6649ms ActiveResource::ServerError (Failed. Response code = 500. Response message = Internal Server Error.): activeresource (3.2.9) lib/active_resource/connection.rb:148:in `handle_response' activeresource (3.2.9) lib/active_resource/connection.rb:115:in `request' activeresource (3.2.9) lib/active_resource/connection.rb:80:in `block in get' activeresource (3.2.9) lib/active_resource/connection.rb:218:in `with_auth' activeresource (3.2.9) lib/active_resource/connection.rb:80:in `get' activeresource (3.2.9) lib/active_resource/base.rb:901:in `find_every' activeresource (3.2.9) lib/active_resource/base.rb:813:in `find' iugu-api (0.0.3) lib/iugu-api/models/iugu_resource.rb:108:in `find' activeresource (3.2.9) lib/active_resource/base.rb:839:in `all' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/registrations_controller.rb:12:in `new' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__3167874025408091252__process_action__4141616898148283269__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__2485486135174383833__call__2419274695389837452__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.3ms) Connecting to database specified by database.yml Connecting to database specified by database.yml  (37.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (117.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml  (54.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (130.6ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (67.2ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (92.3ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (81.1ms) CREATE TABLE `users` (`id` binary(16) 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  (101.1ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (66.3ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (113.1ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (88.1ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (112.8ms) ALTER TABLE `users` ADD `birthdate` date  (124.5ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (83.8ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (97.8ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (93.2ms) ALTER TABLE `accounts` ADD `user_id` int(11)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (97.2ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (123.3ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (97.4ms) ALTER TABLE `accounts` DROP `user_id`  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (89.5ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (85.3ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (120.4ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (93.8ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` binary(16), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (130.5ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (71.0ms) DROP INDEX `index_users_on_email` ON `users`  (100.4ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (86.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  (99.8ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (70.2ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (93.6ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (80.8ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (104.3ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (116.7ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (227.6ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (177.4ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (121.8ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (122.4ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (106.9ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (73.8ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (89.4ms) ALTER TABLE `accounts` DROP `api_token`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-12-27 17:39:14 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 49ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:39:14 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:39:14 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:39:14 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /default.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:39:14 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:39:14 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/signup" for 127.0.0.1 at 2012-12-27 17:39:22 -0200 Processing by Iugu::RegistrationsController#new as HTML Completed 500 Internal Server Error in 6788ms ActiveResource::ServerError (Failed. Response code = 500. Response message = Internal Server Error.): activeresource (3.2.9) lib/active_resource/connection.rb:148:in `handle_response' activeresource (3.2.9) lib/active_resource/connection.rb:115:in `request' activeresource (3.2.9) lib/active_resource/connection.rb:80:in `block in get' activeresource (3.2.9) lib/active_resource/connection.rb:218:in `with_auth' activeresource (3.2.9) lib/active_resource/connection.rb:80:in `get' activeresource (3.2.9) lib/active_resource/base.rb:901:in `find_every' activeresource (3.2.9) lib/active_resource/base.rb:813:in `find' iugu-api (0.0.3) lib/iugu-api/models/iugu_resource.rb:108:in `find' activeresource (3.2.9) lib/active_resource/base.rb:839:in `all' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/registrations_controller.rb:12:in `new' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__3167874025408091252__process_action__4141616898148283269__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__2485486135174383833__call__2419274695389837452__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.8ms) Started GET "/" for 127.0.0.1 at 2012-12-27 17:39:43 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:39:43 -0200 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:39:43 -0200 Served asset /default.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:39:43 -0200 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:39:43 -0200 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:39:43 -0200 Served asset /application.js - 304 Not Modified (3ms) Served asset /jquery_ujs.js - 304 Not Modified (25ms) Started GET "/signup" for 127.0.0.1 at 2012-12-27 17:39:44 -0200 Processing by Iugu::RegistrationsController#new as HTML Completed 500 Internal Server Error in 6371ms ActiveResource::ServerError (Failed. Response code = 500. Response message = Internal Server Error.): activeresource (3.2.9) lib/active_resource/connection.rb:148:in `handle_response' activeresource (3.2.9) lib/active_resource/connection.rb:115:in `request' activeresource (3.2.9) lib/active_resource/connection.rb:80:in `block in get' activeresource (3.2.9) lib/active_resource/connection.rb:218:in `with_auth' activeresource (3.2.9) lib/active_resource/connection.rb:80:in `get' activeresource (3.2.9) lib/active_resource/base.rb:901:in `find_every' activeresource (3.2.9) lib/active_resource/base.rb:813:in `find' iugu-api (0.0.3) lib/iugu-api/models/iugu_resource.rb:108:in `find' activeresource (3.2.9) lib/active_resource/base.rb:839:in `all' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/registrations_controller.rb:12:in `new' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__3167874025408091252__process_action__4141616898148283269__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__2485486135174383833__call__2419274695389837452__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.8ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-12-27 17:42:00 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (1.9ms) Completed 200 OK in 25ms (Views: 24.0ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:00 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:42:00 -0200 Served asset /default.css - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:00 -0200 Served asset /application.js - 304 Not Modified (2ms) Connecting to database specified by database.yml Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:04 -0200 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:42:04 -0200 Served asset /application.css - 304 Not Modified (2ms) Started GET "/signup" for 127.0.0.1 at 2012-12-27 17:42:08 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.5ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (3.3ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (150.4ms) Completed 200 OK in 174ms (Views: 154.9ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:42:09 -0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:09 -0200 Served asset /application.css - 304 Not Modified (3ms) Served asset /application.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:09 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:42:09 -0200 Served asset /default.css - 304 Not Modified (1ms) Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:09 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started POST "/signup" for 127.0.0.1 at 2012-12-27 17:42:22 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lv05zUFsezB4NqNpW3NcuSxIXYsAuRwzvOFtSGtO23E=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "account_alias"=>"Gordolandia", "locale"=>"en"}, "commit"=>"Sign up"}  (0.1ms) BEGIN User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'uBsGtVxfW1DPo63yoUMD' LIMIT 1 SQL (2.7ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `id`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-12-27 19:42:22', 'uBsGtVxfW1DPo63yoUMD', NULL, '2012-12-27 19:42:22', 'paezao@gmail.com', '$2a$10$YVtB0JpJpTCvksR3aI2czeUY5sV7NQij97QywlFdc.n7tU6Wo8XbO', NULL, x'50215514562442599de83df06921a10e', 'en', NULL, NULL, NULL, NULL, NULL, '2012-12-27 19:42:22') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/confirmation_instructions.html.haml (1.8ms) Sent mail to paezao@gmail.com (6781ms) Date: Thu, 27 Dec 2012 17:42:22 -0200 From: Iugu Reply-To: Iugu To: paezao@gmail.com Message-ID: <50dca49e909aa_10143ff1a0835adc95010@iMac-de-Marcelo.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome paezao@gmail.com!

You can confirm your account email through the link below

Confirm my account

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 'User' AND `api_tokens`.`tokenable_id` = x'50215514562442599de83df06921a10e' AND `api_tokens`.`tokenable_type` = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO `api_tokens` (`api_type`, `created_at`, `description`, `id`, `token`, `tokenable_id`, `tokenable_type`, `updated_at`) VALUES ('USER', '2012-12-27 19:42:29', 'User', x'54709a49af13469dbdcd1e0bc5883ab4', '6c3aeaffd3222a4b2f79873993335026', x'50215514562442599de83df06921a10e', 'User', '2012-12-27 19:42:29') ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'50215514562442599de83df06921a10e' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Account Exists (0.3ms) SELECT 1 AS one FROM `accounts` WHERE `accounts`.`subdomain` = BINARY 'Gordolandia' LIMIT 1 SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `id`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2012-12-27 19:42:29', x'9efdfb6199b64a42ad37916a15c948ca', NULL, 'Gordolandia', NULL, '2012-12-27 19:42:29') Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 SQL (0.3ms) INSERT INTO `account_users` (`account_id`, `id`, `user_id`) VALUES (x'9efdfb6199b64a42ad37916a15c948ca', x'43356f5aba644c499b0c360076d2aa36', x'50215514562442599de83df06921a10e') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 SQL (0.3ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'43356f5aba644c499b0c360076d2aa36', x'70014f88a7f4433798dce6559c7acbd0', 'owner') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'43356f5aba644c499b0c360076d2aa36', x'762016a4f13449ef8807b02e4bc379cb', 'admin') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/welcome.html.haml (0.8ms) Sent mail to paezao@gmail.com (4852ms) Date: Thu, 27 Dec 2012 17:42:29 -0200 From: Iugu Reply-To: Iugu To: paezao@gmail.com Message-ID: <50dca4a579382_10143ff1a0835adc95161@iMac-de-Marcelo.local.mail> Subject: Bem vindo! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Bem vindo a Dummy  (0.4ms) COMMIT Redirected to http://iugusdk.dev/ Completed 302 Found in 12106ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-12-27 17:42:34 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:34 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:34 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:34 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:42:34 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /default.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:42:34 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/confirmation?confirmation_token=uBsGtVxfW1DPo63yoUMD" for 127.0.0.1 at 2012-12-27 17:42:54 -0200 Processing by Iugu::ConfirmationsController#show as HTML Parameters: {"confirmation_token"=>"uBsGtVxfW1DPo63yoUMD"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'uBsGtVxfW1DPo63yoUMD' LIMIT 1  (0.1ms) BEGIN  (0.3ms) UPDATE `users` SET `confirmation_token` = NULL, `confirmed_at` = '2012-12-27 19:42:54', `updated_at` = '2012-12-27 19:42:54' WHERE `users`.`id` = x'50215514562442599de83df06921a10e'  (0.5ms) COMMIT Redirected to http://iugusdk.dev/ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND (accounts.id = '6a941688-a1eb-4d7f-a4b7-2ea5b588811a') 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` = x'50215514562442599de83df06921a10e' LIMIT 1 Completed 302 Found in 47ms (ActiveRecord: 1.8ms) Started GET "/" for 127.0.0.1 at 2012-12-27 17:42:55 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (0.8ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:42:55 -0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:42:55 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:42:55 -0200 Served asset /default.css - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:42: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-12-27 17:42:55 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/login" for 127.0.0.1 at 2012-12-27 17:43:04 -0200 Processing by Iugu::SessionsController#new as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Redirected to http://iugusdk.dev/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2012-12-27 17:43:04 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (0.1ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:04 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-27 17:43:04 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:04 -0200 Served asset /default.css - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-27 17:43:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/settings" for 127.0.0.1 at 2012-12-27 17:43:09 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Redirected to http://iugusdk.dev/settings/profile Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-12-27 17:43:09 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'50215514562442599de83df06921a10e' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_50215514-5624-4259-9de8-3df06921a10e_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'50215514562442599de83df06921a10e' SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'50215514562442599de83df06921a10e' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'50215514562442599de83df06921a10e' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (56.7ms) Completed 200 OK in 79ms (Views: 73.2ms | ActiveRecord: 4.7ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:43:10 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:10 -0200 Served asset /settings.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:10 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (6ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:10 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:10 -0200 Served asset /jquery-ui.js - 304 Not Modified (2ms) Served asset /settings_code.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:10 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:43:10 -0200 Served asset /application_logo.png - 304 Not Modified (1ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-27 17:43:13 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' Account Load (0.6ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.0ms) Completed 200 OK in 17ms (Views: 13.5ms | ActiveRecord: 1.6ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:43:14 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:14 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:14 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:43: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-12-27 17:43:14 -0200 Served asset /jquery-ui.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:14 -0200 Served asset /settings_code.js - 304 Not Modified (1ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:43:14 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9EFDFB6199B64A42AD37916A15C948CA" for 127.0.0.1 at 2012-12-27 17:43:22 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"9EFDFB6199B64A42AD37916A15C948CA"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (20.5ms) Completed 200 OK in 83ms (Views: 26.6ms | ActiveRecord: 3.5ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:22 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:22 -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-12-27 17:43:22 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:22 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:43:22 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:43:22 -0200 Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:43:22 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-27 17:45:31 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.4ms) Completed 200 OK in 17ms (Views: 14.0ms | ActiveRecord: 1.1ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:45:31 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:31 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:31 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:31 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:31 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:31 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:45:31 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/select_account/9efdfb61-99b6-4a42-ad37-916a15c948ca" for 127.0.0.1 at 2012-12-27 17:45:37 -0200 Processing by Iugu::AccountController#select as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' 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` = x'50215514562442599de83df06921a10e' AND (accounts.id = '9efdfb61-99b6-4a42-ad37-916a15c948ca') 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` = x'50215514562442599de83df06921a10e' LIMIT 1 Redirected to http://iugusdk.dev/settings/accounts Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-27 17:45:37 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (4.7ms) Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:37 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:37 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:45:37 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:37 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:37 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:45:37 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:45:37 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-27 17:46:46 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.3ms) Completed 200 OK in 16ms (Views: 13.7ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:47 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:46:47 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:47 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (1ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:47 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:47 -0200 Served asset /settings.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:46:47 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca" for 127.0.0.1 at 2012-12-27 17:46:50 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (13.3ms) Completed 200 OK in 23ms (Views: 18.3ms | ActiveRecord: 1.6ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:50 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:50 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:50 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:50 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:46:50 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:46:50 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:46:50 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca" for 127.0.0.1 at 2012-12-27 17:50:15 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' 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_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (34.9ms) Completed 200 OK in 47ms (Views: 40.7ms | ActiveRecord: 1.9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:50:15 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:50:15 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:50:15 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:50:15 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:50:15 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:50:15 -0200 Served asset /settings.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:50:15 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca" for 127.0.0.1 at 2012-12-27 17:51:20 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' 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_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (15.9ms) Completed 200 OK in 27ms (Views: 21.9ms | ActiveRecord: 1.8ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:51:20 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:20 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:20 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:20 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:20 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:20 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:51:20 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-27 17:51:22 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (7.9ms) Completed 200 OK in 17ms (Views: 14.1ms | ActiveRecord: 1.1ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:51:23 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:23 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:23 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:23 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:23 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:23 -0200 Served asset /settings.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:51:23 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-27 17:51:41 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (8.5ms) Completed 200 OK in 17ms (Views: 14.3ms | ActiveRecord: 1.0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:51:41 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:41 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:41 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:41 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:41 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:51:41 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca" for 127.0.0.1 at 2012-12-27 17:51:45 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' 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_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (15.2ms) Completed 200 OK in 26ms (Views: 20.4ms | ActiveRecord: 1.8ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:45 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:45 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:45 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:45 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:51:45 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:51:45 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:51:45 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca" for 127.0.0.1 at 2012-12-27 17:53:29 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' 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_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (20.1ms) Completed 200 OK in 31ms (Views: 25.5ms | ActiveRecord: 1.9ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:53:29 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:53:29 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:53:29 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:53:29 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:53:29 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:53:29 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:53:29 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca" for 127.0.0.1 at 2012-12-27 17:54:11 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (43.2ms) Completed 200 OK in 55ms (Views: 49.3ms | ActiveRecord: 1.7ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:54:11 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:11 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:11 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:11 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:11 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:11 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:54:11 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/domains" for 127.0.0.1 at 2012-12-27 17:54:16 -0200 Processing by Iugu::AccountDomainsController#index as HTML Parameters: {"account_id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_domains/index.html.haml within layouts/settings (10.6ms) Completed 200 OK in 32ms (Views: 17.6ms | ActiveRecord: 2.0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:54:16 -0200 Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:16 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:16 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:16 -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-12-27 17:54: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-12-27 17:54:16 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:54:16 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/users" for 127.0.0.1 at 2012-12-27 17:54:23 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.1ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' 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_user_43356f5a-ba64-4c49-9b0c-360076d2aa36_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (12.1ms) Completed 200 OK in 24ms (Views: 18.6ms | ActiveRecord: 1.7ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:54:23 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:23 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:23 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:23 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:23 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:54:23 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:54:23 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/users" for 127.0.0.1 at 2012-12-27 17:57:40 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_user_43356f5a-ba64-4c49-9b0c-360076d2aa36_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (11.9ms) Completed 200 OK in 23ms (Views: 17.4ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:57:40 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:57:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:57:40 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:57:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:57:40 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:57:40 -0200 Served asset /settings.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:57:40 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/43356f5a-ba64-4c49-9b0c-360076d2aa36/roles" for 127.0.0.1 at 2012-12-27 17:57:50 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"43356f5a-ba64-4c49-9b0c-360076d2aa36"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (2.7ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `user_id' for nil:NilClass): 1: = form_tag(account_roles_update_path(:id => @account.id, :user_id => @account_user.user_id)) do 2: 3: - if current_user.is?(:owner, @account) 4: - APP_ROLES['roles'].each do |role| /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml:1:in `___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_account_roles_edit_html_haml__89206175025260067_70307032344320' actionpack (3.2.9) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.9) lib/action_view/template.rb:143:in `render' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__465292352074387323__process_action__17043581005565485__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__4416381406608950238__call__612002501791571321__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.7ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-27 17:58:08 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (5.8ms) Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:08 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:58:08 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:08 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:08 -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-12-27 17:58:08 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:08 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:58:08 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca" for 127.0.0.1 at 2012-12-27 17:58:09 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' 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_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (13.5ms) Completed 200 OK in 24ms (Views: 18.7ms | ActiveRecord: 1.9ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:58:09 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:09 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:10 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:10 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:10 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:10 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:58:10 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/users" for 127.0.0.1 at 2012-12-27 17:58:15 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.1ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_user_43356f5a-ba64-4c49-9b0c-360076d2aa36_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (9.4ms) Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 1.4ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:15 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:15 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:15 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:15 -0200 Served asset /settings.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 17:58:15 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 17:58:15 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 17:58:15 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/43356f5a-ba64-4c49-9b0c-360076d2aa36/roles" for 127.0.0.1 at 2012-12-27 17:58:42 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"43356f5a-ba64-4c49-9b0c-360076d2aa36"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (0.9ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `user_id' for nil:NilClass): 1: = form_tag(account_roles_update_path(:id => @account.id, :user_id => @account_user.user_id)) do 2: 3: - if current_user.is?(:owner, @account) 4: - APP_ROLES['roles'].each do |role| /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml:1:in `___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_account_roles_edit_html_haml__89206175025260067_70307032344320' actionpack (3.2.9) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.9) lib/action_view/template.rb:143:in `render' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__465292352074387323__process_action__17043581005565485__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__4416381406608950238__call__612002501791571321__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.7ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/43356f5a-ba64-4c49-9b0c-360076d2aa36/roles" for 127.0.0.1 at 2012-12-27 17:59:21 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"43356f5a-ba64-4c49-9b0c-360076d2aa36"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.1ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (24.7ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = form_tag(account_roles_update_path(@account, :user_id => @account_user.user)) do 2: 3: - if current_user.is?(:owner, @account) 4: - APP_ROLES['roles'].each do |role| /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml:1:in `___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_account_roles_edit_html_haml__89206175025260067_70307024171460' actionpack (3.2.9) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.9) lib/action_view/template.rb:143:in `render' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__465292352074387323__process_action__17043581005565485__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__4416381406608950238__call__612002501791571321__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.8ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/43356f5a-ba64-4c49-9b0c-360076d2aa36/roles" for 127.0.0.1 at 2012-12-27 17:59:22 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"43356f5a-ba64-4c49-9b0c-360076d2aa36"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (1.0ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = form_tag(account_roles_update_path(@account, :user_id => @account_user.user)) do 2: 3: - if current_user.is?(:owner, @account) 4: - APP_ROLES['roles'].each do |role| /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml:1:in `___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_account_roles_edit_html_haml__89206175025260067_70307024171460' actionpack (3.2.9) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.9) lib/action_view/template.rb:143:in `render' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__465292352074387323__process_action__17043581005565485__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__4416381406608950238__call__612002501791571321__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/43356f5a-ba64-4c49-9b0c-360076d2aa36/roles" for 127.0.0.1 at 2012-12-27 17:59:23 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"43356f5a-ba64-4c49-9b0c-360076d2aa36"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.1ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (1.0ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = form_tag(account_roles_update_path(@account, :user_id => @account_user.user)) do 2: 3: - if current_user.is?(:owner, @account) 4: - APP_ROLES['roles'].each do |role| /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml:1:in `___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_account_roles_edit_html_haml__89206175025260067_70307024171460' actionpack (3.2.9) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.9) lib/action_view/template.rb:143:in `render' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__465292352074387323__process_action__17043581005565485__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__4416381406608950238__call__612002501791571321__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.6ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/users" for 127.0.0.1 at 2012-12-27 18:06:50 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.1ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 ERROR: compiling ___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_account_users_index_html_haml__511098880305010342_70307033349740 RAISED /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml:12: syntax error, unexpected ';', expecting ')' ));}\n", 0, false); unless account_user.destroying? ^ /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml:14: syntax error, unexpected $undefined _hamlout.push_text(" |\n #{ ^ /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml:17: syntax error, unexpected keyword_else, expecting keyword_end /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml:29: syntax error, unexpected keyword_ensure, expecting $end ...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.... ... ^ Function body: def ___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_account_users_index_html_haml__511098880305010342_70307033349740(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "iugu/account_users/index";_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;; content_for :title do "Account Users" end @account_users.each do |account_user| _hamlout.push_text("
\n", 1, false); if account_user.user.name.blank? _hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( account_user.user.email ));}\n", 0, false); else _hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( account_user.user.name ));}\n", 0, false);end if current_user.is?(:owner, @account) || current_user.is?(:admin, @account) _hamlout.push_text(" |\n #{_hamlout.format_script_false_false_false_true_false_true_false(( link_to I18n.t("iugu.permissions"), account_roles_edit_path(@account, :user_id => account_userer ));}\n", 0, false); unless account_user.destroying? unless account_user.is?(:owner) || account_user.user_id == current_user.id _hamlout.push_text(" |\n #{ _hamlout.format_script_false_false_false_true_false_true_false(( link_to I18n.t("iugu.remove"), account_users_destroy_path(@account, :user_id => account_user.user), :method => 'delete' ));}\n", 0, false);end else _hamlout.push_text(" |\n", 0, false); if IuguSDK::delay_account_user_exclusion == 0 _hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( I18n.t("iugu.removing") ));}\n", 0, false); else _hamlout.push_text(" #{_hamlout.format_script_false_false_false_true_false_true_false(( link_to I18n.t("iugu.undo"), account_users_cancel_destruction_path(@account, :user_id => account_user.user), :method => 'delete' ));}\n", 0, false);end end end _hamlout.push_text("
\n", -1, false);end if current_user.is?(:owner, @account) || current_user.is?(:admin, @account) _hamlout.push_text("
\n #{_hamlout.adjust_tabs(1); _hamlout.format_script_false_false_false_true_false_true_false(( link_to I18n.t("iugu.invite"), new_invite_path(@account) ));}\n
\n", -1, false);end ::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: /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/template.rb:297:in `module_eval' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/template.rb:297:in `compile' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/template.rb:244:in `block in compile!' :10:in `synchronize' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/template.rb:232:in `compile!' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/template.rb:144:in `block in render' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/notifications.rb:125:in `instrument' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/template.rb:143:in `render' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `block in instrument' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `instrument' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:45:in `render_template' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:18:in `render' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/renderer/renderer.rb:36:in `render_template' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_view/renderer/renderer.rb:17:in `render' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:110:in `_render_template' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/streaming.rb:225:in `_render_template' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:103:in `render_to_body' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/renderers.rb:28:in `render_to_body' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/compatibility.rb:50:in `render_to_body' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:88:in `render' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/rendering.rb:16:in `render' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/core_ext/benchmark.rb:5:in `ms' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.9/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_users_controller.rb:9:in `index' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/abstract_controller/base.rb:167:in `process_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:447:in `_run__2439327479784139005__process_action__2172750890612247770__callbacks' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:405:in `__run_callback' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:81:in `run_callbacks' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/abstract_controller/callbacks.rb:17:in `process_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `block in instrument' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `instrument' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.9/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/abstract_controller/base.rb:121:in `process' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:45:in `process' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal.rb:203:in `dispatch' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_controller/metal.rb:246:in `block in action' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb:73:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb:36:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/routing/mapper.rb:42:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb:601:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:177:in `call!' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/omniauth-1.1.1/lib/omniauth/strategy.rb:157:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/head.rb:14:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/flash.rb:242:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/cookies.rb:341:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.9/lib/active_record/query_cache.rb:64:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:405:in `_run__4416381406608950238__call__612002501791571321__callbacks' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:405:in `__run_callback' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:81:in `run_callbacks' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/reloader.rb:65:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.9/lib/rails/rack/logger.rb:32:in `call_app' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.9/lib/rails/rack/logger.rb:16:in `block in call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/tagged_logging.rb:22:in `tagged' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.9/lib/rails/rack/logger.rb:16:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/request_id.rb:22:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/static.rb:62:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.9/lib/rails/engine.rb:479:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.9/lib/rails/application.rb:223:in `call' /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.9/lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (3.0ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (/Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml:12: syntax error, unexpected ';', expecting ')' ));}\n", 0, false); unless account_user.destroying? ^ /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml:14: syntax error, unexpected $undefined _hamlout.push_text(" |\n #{ ^ /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml:17: syntax error, unexpected keyword_else, expecting keyword_end /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml:29: syntax error, unexpected keyword_ensure, expecting $end ...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.... ... ^): 9: - if current_user.is?(:owner, @account) || current_user.is?(:admin, @account) 10: | 11: = link_to I18n.t("iugu.permissions"), account_roles_edit_path(@account, :user_id => account_userer 12: - unless account_user.destroying? 13: - unless account_user.is?(:owner) || account_user.user_id == current_user.id 14: | 15: = link_to I18n.t("iugu.remove"), account_users_destroy_path(@account, :user_id => account_user.user), :method => 'delete' actionpack (3.2.9) lib/action_view/template.rb:297:in `module_eval' actionpack (3.2.9) lib/action_view/template.rb:297:in `compile' actionpack (3.2.9) lib/action_view/template.rb:244:in `block in compile!' :10:in `synchronize' actionpack (3.2.9) lib/action_view/template.rb:232:in `compile!' actionpack (3.2.9) lib/action_view/template.rb:144:in `block in render' activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.9) lib/action_view/template.rb:143:in `render' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_users_controller.rb:9:in `index' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__2439327479784139005__process_action__2172750890612247770__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__4416381406608950238__call__612002501791571321__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (27.6ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/users" for 127.0.0.1 at 2012-12-27 18:07:13 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_user_43356f5a-ba64-4c49-9b0c-360076d2aa36_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (12.8ms) Completed 200 OK in 24ms (Views: 19.1ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:13 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:07:13 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:13 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:13 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:13 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:13 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:07:13 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/50215514-5624-4259-9de8-3df06921a10e/roles" for 127.0.0.1 at 2012-12-27 18:07:17 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"50215514-5624-4259-9de8-3df06921a10e"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'user' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'guest' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (9.1ms) Completed 200 OK in 24ms (Views: 14.7ms | ActiveRecord: 2.1ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:07:17 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:17 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:17 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:17 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:17 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:17 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:07:17 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/50215514-5624-4259-9de8-3df06921a10e/roles" for 127.0.0.1 at 2012-12-27 18:07:22 -0200 Processing by Iugu::AccountRolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lv05zUFsezB4NqNpW3NcuSxIXYsAuRwzvOFtSGtO23E=", "roles"=>["admin", "owner", "user"], "commit"=>"Save", "id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"50215514-5624-4259-9de8-3df06921a10e"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36'  (0.1ms) BEGIN AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `account_roles` INNER JOIN `account_users` ON `account_users`.`id` = `account_roles`.`account_user_id` WHERE (account_users.account_id = 'žýûa™¶JB­7‘jÉHÊ' AND name = 'owner') SQL (0.1ms) DELETE FROM `account_roles` WHERE `account_roles`.`id` = x'762016a4f13449ef8807b02e4bc379cb'  (0.4ms) COMMIT  (0.0ms) BEGIN AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'43356f5aba644c499b0c360076d2aa36', x'7a778a7d7fb945ad908a650b9c83b12c', 'admin')  (0.4ms) COMMIT  (0.1ms) BEGIN AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1  (0.2ms) COMMIT  (0.1ms) BEGIN AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'user' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'43356f5aba644c499b0c360076d2aa36', x'aaef0ad0670545e4ac870e391df48163', 'user')  (12.8ms) COMMIT Redirected to http://iugusdk.dev/settings/account/9EFDFB6199B64A42AD37916A15C948CA/users Completed 302 Found in 38ms (ActiveRecord: 17.9ms) Started GET "/settings/account/9EFDFB6199B64A42AD37916A15C948CA/users" for 127.0.0.1 at 2012-12-27 18:07:22 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"9EFDFB6199B64A42AD37916A15C948CA"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.1ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_user_43356f5a-ba64-4c49-9b0c-360076d2aa36_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (31.2ms) Completed 200 OK in 41ms (Views: 36.9ms | ActiveRecord: 1.7ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:07:23 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:23 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:23 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:23 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:23 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:23 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:07:23 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/50215514-5624-4259-9de8-3df06921a10e/roles" for 127.0.0.1 at 2012-12-27 18:07:25 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"50215514-5624-4259-9de8-3df06921a10e"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'user' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'guest' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (8.9ms) Completed 200 OK in 23ms (Views: 14.4ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:25 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:25 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:07:25 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:25 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:25 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:25 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:07:25 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/50215514-5624-4259-9de8-3df06921a10e/roles" for 127.0.0.1 at 2012-12-27 18:07:27 -0200 Processing by Iugu::AccountRolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lv05zUFsezB4NqNpW3NcuSxIXYsAuRwzvOFtSGtO23E=", "roles"=>["admin", "owner"], "commit"=>"Save", "id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"50215514-5624-4259-9de8-3df06921a10e"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Load (0.1ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36'  (0.1ms) BEGIN AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `account_roles` INNER JOIN `account_users` ON `account_users`.`id` = `account_roles`.`account_user_id` WHERE (account_users.account_id = 'žýûa™¶JB­7‘jÉHÊ' AND name = 'owner') SQL (0.2ms) DELETE FROM `account_roles` WHERE `account_roles`.`id` = x'7a778a7d7fb945ad908a650b9c83b12c' SQL (0.1ms) DELETE FROM `account_roles` WHERE `account_roles`.`id` = x'aaef0ad0670545e4ac870e391df48163'  (0.4ms) COMMIT  (0.1ms) BEGIN AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'43356f5aba644c499b0c360076d2aa36', x'2cfa7462c4a2423e84bcf5d5e07d4d97', 'admin')  (0.4ms) COMMIT  (0.0ms) BEGIN AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1  (0.1ms) COMMIT Redirected to http://iugusdk.dev/settings/account/9EFDFB6199B64A42AD37916A15C948CA/users Completed 302 Found in 21ms (ActiveRecord: 4.2ms) Started GET "/settings/account/9EFDFB6199B64A42AD37916A15C948CA/users" for 127.0.0.1 at 2012-12-27 18:07:27 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"9EFDFB6199B64A42AD37916A15C948CA"} User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_user_43356f5a-ba64-4c49-9b0c-360076d2aa36_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (11.7ms) Completed 200 OK in 22ms (Views: 16.9ms | ActiveRecord: 2.0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:07:27 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:27 -0200 Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:27 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:27 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:27 -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-12-27 18:07:28 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:07:28 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/50215514-5624-4259-9de8-3df06921a10e/roles" for 127.0.0.1 at 2012-12-27 18:07:39 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"50215514-5624-4259-9de8-3df06921a10e"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'user' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'guest' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (9.5ms) Completed 200 OK in 23ms (Views: 15.0ms | ActiveRecord: 1.9ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:39 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:39 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:39 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:07:39 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:07:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:07:39 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/50215514-5624-4259-9de8-3df06921a10e/roles" for 127.0.0.1 at 2012-12-27 18:08:32 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"50215514-5624-4259-9de8-3df06921a10e"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'user' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'guest' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (10.1ms) Completed 200 OK in 136ms (Views: 16.9ms | ActiveRecord: 13.4ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:08:33 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:33 -0200 Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:33 -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-12-27 18:08:33 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:33 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:08:33 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/50215514-5624-4259-9de8-3df06921a10e/roles" for 127.0.0.1 at 2012-12-27 18:08:36 -0200 Processing by Iugu::AccountRolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lv05zUFsezB4NqNpW3NcuSxIXYsAuRwzvOFtSGtO23E=", "roles"=>["admin", "owner", "user"], "commit"=>"Save", "id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"50215514-5624-4259-9de8-3df06921a10e"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36'  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `account_roles` WHERE `account_roles`.`id` = x'2cfa7462c4a2423e84bcf5d5e07d4d97' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `account_roles` INNER JOIN `account_users` ON `account_users`.`id` = `account_roles`.`account_user_id` WHERE (account_users.account_id = 'žýûa™¶JB­7‘jÉHÊ' AND name = 'owner')  (8.2ms) COMMIT  (0.1ms) BEGIN AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'43356f5aba644c499b0c360076d2aa36', x'fa07caad9a9944a8ba125140354b5626', 'admin')  (2.4ms) COMMIT  (0.1ms) BEGIN AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1  (0.1ms) COMMIT  (0.1ms) BEGIN AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'user' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'43356f5aba644c499b0c360076d2aa36', x'2c61a911fd6340538097b3538b6671c5', 'user')  (0.4ms) COMMIT Redirected to http://iugusdk.dev/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/users Completed 302 Found in 44ms (ActiveRecord: 15.1ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/users" for 127.0.0.1 at 2012-12-27 18:08:36 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.1ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_user_43356f5a-ba64-4c49-9b0c-360076d2aa36_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (9.7ms) Completed 200 OK in 24ms (Views: 15.8ms | ActiveRecord: 3.3ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:36 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:08:36 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:36 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:36 -0200 Served asset /settings.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:36 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:36 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:08:36 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/50215514-5624-4259-9de8-3df06921a10e/roles" for 127.0.0.1 at 2012-12-27 18:08:40 -0200 Processing by Iugu::AccountRolesController#edit as HTML Parameters: {"id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"50215514-5624-4259-9de8-3df06921a10e"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'user' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'guest' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_roles/edit.html.haml within layouts/settings (9.5ms) Completed 200 OK in 24ms (Views: 14.9ms | ActiveRecord: 2.1ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:40 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:40 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:40 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:40 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:08:40 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:40 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:08:40 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/user/50215514-5624-4259-9de8-3df06921a10e/roles" for 127.0.0.1 at 2012-12-27 18:08:41 -0200 Processing by Iugu::AccountRolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lv05zUFsezB4NqNpW3NcuSxIXYsAuRwzvOFtSGtO23E=", "roles"=>["admin", "owner"], "commit"=>"Save", "id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca", "user_id"=>"50215514-5624-4259-9de8-3df06921a10e"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'admin' 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` = x'50215514562442599de83df06921a10e' AND `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36'  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `account_roles` WHERE `account_roles`.`id` = x'2c61a911fd6340538097b3538b6671c5' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `account_roles` INNER JOIN `account_users` ON `account_users`.`id` = `account_roles`.`account_user_id` WHERE (account_users.account_id = 'žýûa™¶JB­7‘jÉHÊ' AND name = 'owner') SQL (0.1ms) DELETE FROM `account_roles` WHERE `account_roles`.`id` = x'fa07caad9a9944a8ba125140354b5626'  (0.4ms) COMMIT  (0.1ms) BEGIN AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'43356f5aba644c499b0c360076d2aa36', x'f326a42ad1394b38b0b78195783db89e', 'admin')  (0.3ms) COMMIT  (0.1ms) BEGIN AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'43356f5aba644c499b0c360076d2aa36' LIMIT 1  (0.1ms) COMMIT Redirected to http://iugusdk.dev/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/users Completed 302 Found in 25ms (ActiveRecord: 4.4ms) Started GET "/settings/account/9efdfb61-99b6-4a42-ad37-916a15c948ca/users" for 127.0.0.1 at 2012-12-27 18:08:41 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"9efdfb61-99b6-4a42-ad37-916a15c948ca"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_9efdfb61-99b6-4a42-ad37-916a15c948ca_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' 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_user_43356f5a-ba64-4c49-9b0c-360076d2aa36_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' AND `account_users`.`user_id` = x'50215514562442599de83df06921a10e' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'43356f5aba644c499b0c360076d2aa36' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (31.7ms) Completed 200 OK in 43ms (Views: 37.1ms | ActiveRecord: 1.9ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:08:41 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:41 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:41 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:41 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:41 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:08:41 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-12-27 18:08:47 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'50215514562442599de83df06921a10e' 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_50215514-5624-4259-9de8-3df06921a10e_destroy' LIMIT 1 SocialAccount Load (0.1ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'50215514562442599de83df06921a10e' SocialAccount Load (0.1ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'50215514562442599de83df06921a10e' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'50215514562442599de83df06921a10e' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (38.2ms) Completed 200 OK in 46ms (Views: 40.2ms | ActiveRecord: 4.5ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:08:47 -0200 Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:47 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:47 -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-12-27 18:08: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-12-27 18:08:47 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:08:47 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-27 18:08:57 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'50215514562442599de83df06921a10e' AND `account_users`.`account_id` = x'9efdfb6199b64a42ad37916a15c948ca' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (5.6ms) Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 1.0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:57 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:57 -0200 Served asset /settings.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:57 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:57 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:08:57 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:08:57 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:08:57 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) SQL (0.3ms) UPDATE `delayed_jobs` SET locked_by = null, locked_at = null WHERE (locked_by = 'host:iMac-de-Marcelo.local pid:4098') Connecting to database specified by database.yml  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (96.2ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (167.5ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (81.0ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` blob(16)) ENGINE=InnoDB  (107.9ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (100.0ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `user_id` blob(16)) ENGINE=InnoDB  (99.2ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (102.0ms) 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)) ENGINE=InnoDB  (103.2ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (70.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` blob(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (94.8ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (83.7ms) 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  (109.4ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (81.6ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` blob(16), `user_id` blob(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (147.3ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (52.9ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` blob(16), `email` varchar(255), `sent_at` datetime, `account_id` blob(16), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (98.0ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (87.8ms) 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  (82.3ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (84.0ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (92.5ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (82.2ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (88.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (115.2ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304') Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/settings/profile" for 127.0.0.1 at 2012-12-27 18:49:38 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'50215514562442599de83df06921a10e' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'50215514562442599de83df06921a10e' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_50215514-5624-4259-9de8-3df06921a10e_destroy' LIMIT 1 SocialAccount Load (0.1ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'50215514562442599de83df06921a10e' SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'50215514562442599de83df06921a10e' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'50215514562442599de83df06921a10e' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (198.3ms) Completed 200 OK in 288ms (Views: 220.1ms | ActiveRecord: 9.4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-27 18:49:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-27 18:49:38 -0200 Served asset /jquery-ui.js - 304 Not Modified (24ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-27 18:49:38 -0200 Served asset /settings.js - 304 Not Modified (4ms) Connecting to database specified by database.yml Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-27 18:49:41 -0200 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-27 18:49:41 -0200 Served asset /settings.css - 304 Not Modified (1ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-27 18:49:41 -0200 Served asset /settings_code.js - 304 Not Modified (1ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-27 18:49:42 -0200 Served asset /application_logo.png - 304 Not Modified (1ms) Connecting to database specified by database.yml  (1.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (91.9ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (31.1ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (178.7ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (67.0ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` blob(16)) ENGINE=InnoDB  (97.8ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (68.3ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `user_id` blob(16)) ENGINE=InnoDB  (96.7ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (69.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)) ENGINE=InnoDB  (86.9ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (72.1ms) 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` blob(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (93.0ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (60.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  (91.0ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (75.0ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` blob(16), `user_id` blob(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (214.4ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (113.5ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` blob(16), `email` varchar(255), `sent_at` datetime, `account_id` blob(16), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (84.6ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (114.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  (84.3ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (84.3ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (92.5ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (252.0ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (54.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (97.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (2.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304') Connecting to database specified by database.yml  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (89.7ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.3ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (207.8ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (138.9ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (64.3ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` blob(16)) ENGINE=InnoDB  (87.1ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (70.4ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `user_id` blob(16)) ENGINE=InnoDB  (94.8ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (63.1ms) 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)) ENGINE=InnoDB  (85.2ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (79.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` blob(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (86.5ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (82.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  (79.5ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (76.7ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` blob(16), `user_id` blob(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (81.5ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (83.1ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` blob(16), `email` varchar(255), `sent_at` datetime, `account_id` blob(16), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (83.2ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (81.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  (115.5ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (60.9ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (83.3ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (98.1ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (82.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (99.2ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (24.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304') Connecting to database specified by database.yml Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/welcome.html.haml (0.7ms) Sent mail to teste@teste.com (5360ms) Date: Thu, 27 Dec 2012 18:57:54 -0200 From: Iugu Reply-To: Iugu To: teste@teste.com Message-ID: <50dcb652e06f2_14353fec22035ae0120c3@iMac-de-Marcelo.local.mail> Subject: Bem vindo! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Bem vindo a Dummy Connecting to database specified by database.yml  (1.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (51.9ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (49.5ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (165.7ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (90.7ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` blob(16)) ENGINE=InnoDB  (110.9ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (95.2ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `user_id` blob(16)) ENGINE=InnoDB  (86.7ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (86.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)) ENGINE=InnoDB  (96.1ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (85.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` blob(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (97.4ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (79.9ms) 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  (89.0ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (83.5ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` blob(16), `user_id` blob(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (91.7ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (81.6ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` blob(16), `email` varchar(255), `sent_at` datetime, `account_id` blob(16), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (93.6ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (79.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, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB  (101.6ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (77.0ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (110.1ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (81.8ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (97.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (96.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (17.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304') Connecting to database specified by database.yml Connecting to database specified by database.yml  (2.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (68.5ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (57.1ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (234.3ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (70.9ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` blob(16)) ENGINE=InnoDB  (85.8ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (80.2ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `user_id` blob(16)) ENGINE=InnoDB  (114.7ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (93.1ms) 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)) ENGINE=InnoDB  (104.9ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (69.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` blob(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (97.1ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (89.9ms) 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  (112.3ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (61.2ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` blob(16), `user_id` blob(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (104.2ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (62.1ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` blob(16), `email` varchar(255), `sent_at` datetime, `account_id` blob(16), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (86.4ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (71.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  (77.4ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (81.9ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (101.9ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (101.2ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (96.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (102.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.2ms) SELECT version FROM `schema_migrations`  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.7ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (0.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (1.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304') Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (2.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (10.4ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (55.2ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (153.9ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (73.6ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` blob(16)) ENGINE=InnoDB  (142.2ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (57.2ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `user_id` blob(16)) ENGINE=InnoDB  (75.8ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (73.1ms) 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)) ENGINE=InnoDB  (76.3ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (81.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` blob(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (94.0ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (75.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  (101.0ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (64.8ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` blob(16), `user_id` blob(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (67.9ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (82.6ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` blob(16), `email` varchar(255), `sent_at` datetime, `account_id` blob(16), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (75.3ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (72.8ms) 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  (92.5ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (67.2ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (83.4ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (83.1ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (81.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (68.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304') Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (33.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (136.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml Connecting to database specified by database.yml  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (39.9ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (125.5ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (79.2ms) CREATE TABLE `users` (`id` binary(16) 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  (92.7ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (74.9ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (90.6ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (84.1ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (88.4ms) ALTER TABLE `users` ADD `birthdate` date  (116.3ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (105.5ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (101.8ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (139.1ms) ALTER TABLE `accounts` ADD `user_id` int(11)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (96.2ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (92.8ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (83.5ms) ALTER TABLE `accounts` DROP `user_id`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (79.7ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (68.0ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (104.3ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (81.2ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` varchar(255), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (69.5ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (58.7ms) DROP INDEX `index_users_on_email` ON `users`  (89.1ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (82.9ms) 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  (71.1ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (101.2ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (89.9ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (107.1ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (122.5ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (106.5ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (84.1ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (81.4ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (104.4ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (98.1ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (75.4ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (90.3ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (96.1ms) ALTER TABLE `accounts` DROP `api_token`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/welcome.html.haml (0.8ms) Sent mail to teste@teste.com (7554ms) Date: Fri, 28 Dec 2012 09:04:41 -0200 From: Iugu Reply-To: Iugu To: teste@teste.com Message-ID: <50dd7cc9c6686_2bf73fc0b0835ad0589bd@iMac-de-Marcelo.local.mail> Subject: Bem vindo! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Bem vindo a Dummy 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 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/welcome.html.haml (0.8ms) Sent mail to teste@teste.com (5570ms) Date: Fri, 28 Dec 2012 11:01:37 -0200 From: Iugu Reply-To: Iugu To: teste@teste.com Message-ID: <50dd9831248aa_ad143fcc48835adc4987d@iMac-de-Marcelo.local.mail> Subject: Bem vindo! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Bem vindo a Dummy Connecting to database specified by database.yml Mysql2::Error: Unknown column 'account_users.account' in 'where clause': SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account` = x'a51171c894e64347a0b34dfc4f45cb65' Mysql2::Error: Unknown column 'account_users.account' in 'where clause': SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account` = x'a51171c894e64347a0b34dfc4f45cb65' Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2012-12-28 15:22:13 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (2.2ms) Completed 200 OK in 55ms (Views: 54.6ms | ActiveRecord: 0.0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:13 -0200 Served asset /default.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:13 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:13 -0200 Served asset /jquery.js - 304 Not Modified (11ms) Connecting to database specified by database.yml Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:17 -0200 Served asset /application.js - 304 Not Modified (3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:17 -0200 Served asset /application.css - 304 Not Modified (2ms) Started GET "/signup" for 127.0.0.1 at 2012-12-28 15:22:19 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.6ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (3.6ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (172.7ms) Completed 200 OK in 204ms (Views: 176.4ms | ActiveRecord: 11.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:20 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:20 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:20 -0200 Served asset /default.css - 304 Not Modified (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:20 -0200 Served asset /application.css - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:20 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/login" for 127.0.0.1 at 2012-12-28 15:22:24 -0200 Processing by Iugu::SessionsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (1.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (8.1ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:24 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:24 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:24 -0200 Served asset /application.css - 304 Not Modified (2ms) Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:24 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:24 -0200 Served asset /default.css - 304 Not Modified (0ms) Started POST "/login" for 127.0.0.1 at 2012-12-28 15:22:25 -0200 Processing by Iugu::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"j4hff0RbEgE0yOXk0+9nnDWFNeAGTdo3ENf2HR9WoAk=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'paezao@gmail.com' LIMIT 1 Completed 401 Unauthorized in 37ms Processing by Iugu::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"j4hff0RbEgE0yOXk0+9nnDWFNeAGTdo3ENf2HR9WoAk=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (1.0ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/application (6.5ms) Completed 200 OK in 90ms (Views: 9.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:25 -0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:25 -0200 Served asset /application.css - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:25 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:25 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:25 -0200 Served asset /default.css - 304 Not Modified (0ms) Started GET "/signup" for 127.0.0.1 at 2012-12-28 15:22:27 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_links.haml (1.0ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/application (8.3ms) Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:27 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:27 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:27 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:27 -0200 Served asset /application.css - 304 Not Modified (0ms) Served asset /default.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:27 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/signup" for 127.0.0.1 at 2012-12-28 15:22:38 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"j4hff0RbEgE0yOXk0+9nnDWFNeAGTdo3ENf2HR9WoAk=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "account_alias"=>"", "locale"=>"en"}, "commit"=>"Sign up"}  (0.1ms) BEGIN User Exists (0.4ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'zFMwFy2MxLxvzA5BME79' LIMIT 1 SQL (2.5ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `id`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2012-12-28 17:22:38', 'zFMwFy2MxLxvzA5BME79', NULL, '2012-12-28 17:22:38', 'paezao@gmail.com', '$2a$10$8R7P..b2LHWsOQBWRVV8d.O6JWYPpIMEe9lmAEs40KKjPftM/cFxG', NULL, x'2ce750a74c7147d7b59898c91da4434c', 'en', NULL, NULL, NULL, NULL, NULL, '2012-12-28 17:22:38') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/confirmation_instructions.html.haml (1.8ms) Sent mail to paezao@gmail.com (6946ms) Date: Fri, 28 Dec 2012 15:22:39 -0200 From: Iugu Reply-To: Iugu To: paezao@gmail.com Message-ID: <50ddd55f1762_76823ffd6c435ae062676@iMac-de-Marcelo.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome paezao@gmail.com!

You can confirm your account email through the link below

Confirm my account

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 'User' AND `api_tokens`.`tokenable_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `api_tokens`.`tokenable_type` = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO `api_tokens` (`api_type`, `created_at`, `description`, `id`, `token`, `tokenable_id`, `tokenable_type`, `updated_at`) VALUES ('USER', '2012-12-28 17:22:45', 'User', x'0938f9f38d9c4139bf9e70590b4bed99', '4bc04f6bb69e98249f8f18f24e5dad33', x'2ce750a74c7147d7b59898c91da4434c', 'User', '2012-12-28 17:22:45') ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `id`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2012-12-28 17:22:46', x'1dfd63c06f6845acb86fb9efc57422c8', NULL, '', NULL, '2012-12-28 17:22:46')  (0.3ms) UPDATE `accounts` SET `subdomain` = 'account1dfd63c0-6f68-45ac-b86f-b9efc57422c8', `created_at` = '2012-12-28 17:22:46', `updated_at` = '2012-12-28 17:22:46' WHERE `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 SQL (0.2ms) INSERT INTO `account_users` (`account_id`, `id`, `user_id`) VALUES (x'1dfd63c06f6845acb86fb9efc57422c8', x'4eadd38371ea490cbbc7823b9e2a561f', x'2ce750a74c7147d7b59898c91da4434c') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f') LIMIT 1 AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'4eadd38371ea490cbbc7823b9e2a561f', x'5d7f5c16d56846c888728046ca418eb7', 'owner') AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f') LIMIT 1 AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'4eadd38371ea490cbbc7823b9e2a561f', x'fec2315ffad942eca159d65a20bbc6ee', 'admin') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/welcome.html.haml (0.8ms) Sent mail to paezao@gmail.com (4285ms) Date: Fri, 28 Dec 2012 15:22:46 -0200 From: Iugu Reply-To: Iugu To: paezao@gmail.com Message-ID: <50ddd5661696f_76823ffd6c435ae0627e7@iMac-de-Marcelo.local.mail> Subject: Bem vindo! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Bem vindo a Dummy  (0.5ms) COMMIT Redirected to http://iugusdk.dev/ Completed 302 Found in 11691ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-12-28 15:22:50 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:50 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:50 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:22:50 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:50 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /default.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-28 15:22:50 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/confirmation?confirmation_token=zFMwFy2MxLxvzA5BME79" for 127.0.0.1 at 2012-12-28 15:23:00 -0200 Processing by Iugu::ConfirmationsController#show as HTML Parameters: {"confirmation_token"=>"zFMwFy2MxLxvzA5BME79"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'zFMwFy2MxLxvzA5BME79' LIMIT 1  (0.1ms) BEGIN  (0.3ms) UPDATE `users` SET `confirmation_token` = NULL, `confirmed_at` = '2012-12-28 17:23:00', `updated_at` = '2012-12-28 17:23:00' WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c'  (0.4ms) COMMIT Redirected to http://iugusdk.dev/ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND (accounts.id = '9efdfb61-99b6-4a42-ad37-916a15c948ca') 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` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 Completed 302 Found in 18ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2012-12-28 15:23:00 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (0.9ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:00 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:00 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-28 15:23:00 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:00 -0200 Served asset /default.css - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-28 15:23:00 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/settings" for 127.0.0.1 at 2012-12-28 15:23:02 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 Redirected to http://iugusdk.dev/settings/profile Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-12-28 15:23:02 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 ApiToken Load (0.4ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_2ce750a7-4c71-47d7-b598-98c91da4434c_destroy' LIMIT 1 SocialAccount Load (0.1ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (45.2ms) Completed 200 OK in 96ms (Views: 76.4ms | ActiveRecord: 18.1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:02 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:02 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:02 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 15:23:02 -0200 Served asset /jquery-ui.js - 304 Not Modified (2ms) Served asset /settings.css - 304 Not Modified (1ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:02 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:02 -0200 Served asset /settings_code.js - 304 Not Modified (1ms) Served asset /settings.js - 304 Not Modified (5ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 15:23:02 -0200 Served asset /application_logo.png - 304 Not Modified (1ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-28 15:23:04 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (7.1ms) Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:04 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:04 -0200 Served asset /jquery-ui.js - 304 Not Modified (2ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 15:23:04 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:04 -0200 Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 15:23:04 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-28 15:23:06 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (4.2ms) Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.9ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:06 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:06 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 15:23:06 -0200 Served asset /settings.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:06 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (35ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:06 -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-12-28 15:23:06 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 15:23:06 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-28 15:23:07 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (4.9ms) Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.9ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 15:23:07 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:07 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:07 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:07 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:07 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:07 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 15:23:07 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/1dfd63c0-6f68-45ac-b86f-b9efc57422c8" for 127.0.0.1 at 2012-12-28 15:23:11 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"1dfd63c0-6f68-45ac-b86f-b9efc57422c8"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' 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` = x'2ce750a74c7147d7b59898c91da4434c' AND `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (10.1ms) Completed 500 Internal Server Error in 52ms ActionView::Template::Error (undefined method `user' for #): 4: 5: - current_user_account.roles.each do |d| 6: USER_ID: 7: = d.user.id.to_s 8: %br 9: AccountRole ID 10: = d.id.to_s activemodel (3.2.9) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.9) lib/active_record/attribute_methods.rb:149:in `method_missing' /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml:7:in `block in ___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_settings_account_html_haml___3398546648667810103_70357694859140' activerecord (3.2.9) lib/active_record/associations/collection_proxy.rb:89:in `each' activerecord (3.2.9) lib/active_record/associations/collection_proxy.rb:89:in `method_missing' /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml:5:in `___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_settings_account_html_haml___3398546648667810103_70357694859140' actionpack (3.2.9) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.9) lib/action_view/template.rb:143:in `render' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:17:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__3483627494080394783__process_action__2061048715793134185__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__3650237892820358638__call__3424729443487269982__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (26.3ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (33.7ms) Started GET "/settings/account/1dfd63c0-6f68-45ac-b86f-b9efc57422c8" for 127.0.0.1 at 2012-12-28 15:23:19 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"1dfd63c0-6f68-45ac-b86f-b9efc57422c8"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' 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` = x'2ce750a74c7147d7b59898c91da4434c' AND `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountRole Load (0.1ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (9.4ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `user_id' for #): 4: 5: - current_user_account.roles.each do |d| 6: USER_ID: 7: = d.user_id 8: %br 9: AccountRole ID 10: = d.id.to_s activemodel (3.2.9) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.9) lib/active_record/attribute_methods.rb:149:in `method_missing' /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml:7:in `block in ___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_settings_account_html_haml___3398546648667810103_70357700043760' activerecord (3.2.9) lib/active_record/associations/collection_proxy.rb:89:in `each' activerecord (3.2.9) lib/active_record/associations/collection_proxy.rb:89:in `method_missing' /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml:5:in `___sers_nkr__rojetos__ugu_iugusdk_app_views_iugu_settings_account_html_haml___3398546648667810103_70357700043760' actionpack (3.2.9) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.9) lib/action_view/template.rb:143:in `render' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/nkr/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/nkr/Projetos/Iugu/iugusdk/app/controllers/iugu/account_controller.rb:17:in `view' actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.9) lib/active_support/callbacks.rb:447:in `_run__3483627494080394783__process_action__2061048715793134185__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/routing/route_set.rb:601: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' 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.9) 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.9) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.9) 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.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__3650237892820358638__call__3424729443487269982__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.9) 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.9) 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.9) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.9) lib/rails/engine.rb:479:in `call' railties (3.2.9) lib/rails/application.rb:223:in `call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' /Users/nkr/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `
' Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.4ms) Started GET "/settings/account/1dfd63c0-6f68-45ac-b86f-b9efc57422c8" for 127.0.0.1 at 2012-12-28 15:23:33 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"1dfd63c0-6f68-45ac-b86f-b9efc57422c8"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' 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` = x'2ce750a74c7147d7b59898c91da4434c' AND `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1dfd63c0-6f68-45ac-b86f-b9efc57422c8_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (23.5ms) Completed 200 OK in 33ms (Views: 27.7ms | ActiveRecord: 2.3ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 15:23:33 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:33 -0200 Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:33 -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-12-28 15:23:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:33 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:33 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 15:23:33 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/1dfd63c0-6f68-45ac-b86f-b9efc57422c8" for 127.0.0.1 at 2012-12-28 15:23:41 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"1dfd63c0-6f68-45ac-b86f-b9efc57422c8"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' 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` = x'2ce750a74c7147d7b59898c91da4434c' AND `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountRole Load (0.1ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' 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_1dfd63c0-6f68-45ac-b86f-b9efc57422c8_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (28.3ms) Completed 200 OK in 38ms (Views: 32.4ms | ActiveRecord: 2.1ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 15:23:41 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:41 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:41 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:41 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:41 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 15:23:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 15:23:41 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/1dfd63c0-6f68-45ac-b86f-b9efc57422c8" for 127.0.0.1 at 2012-12-28 15:24:04 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"1dfd63c0-6f68-45ac-b86f-b9efc57422c8"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' 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` = x'2ce750a74c7147d7b59898c91da4434c' AND `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountRole Load (0.2ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1dfd63c0-6f68-45ac-b86f-b9efc57422c8_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (25.6ms) Completed 200 OK in 36ms (Views: 30.2ms | ActiveRecord: 2.1ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 15:24:04 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 15:24:04 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 15:24:04 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 15:24: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-12-28 15:24:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 15:24:04 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 15:24:04 -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 "/" for 127.0.0.1 at 2012-12-28 16:54:42 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (1.1ms) Completed 200 OK in 82ms (Views: 26.4ms | ActiveRecord: 2.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-28 16:54:42 -0200 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:42 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2012-12-28 16:54:42 -0200 Served asset /default.css - 304 Not Modified (1ms) Connecting to database specified by database.yml Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:45 -0200 Served asset /application.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:45 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/settings" for 127.0.0.1 at 2012-12-28 16:54:47 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 Redirected to http://iugusdk.dev/settings/profile Completed 302 Found in 57ms (ActiveRecord: 3.1ms) Started GET "/settings/profile" for 127.0.0.1 at 2012-12-28 16:54:47 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'2ce750a74c7147d7b59898c91da4434c' 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_2ce750a7-4c71-47d7-b598-98c91da4434c_destroy' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (218.0ms) Completed 200 OK in 281ms (Views: 241.6ms | ActiveRecord: 6.6ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 16:54:47 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:47 -0200 Served asset /settings.css - 304 Not Modified (1ms) Served asset /settings_code.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:47 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (28ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:48 -0200 Served asset /settings.js - 304 Not Modified (5ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 16:54:48 -0200 Served asset /application_logo.png - 304 Not Modified (1ms) Started GET "/settings/accounts" for 127.0.0.1 at 2012-12-28 16:54:49 -0200 Processing by Iugu::AccountController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/accounts.html.haml within layouts/settings (64.8ms) Completed 200 OK in 72ms (Views: 66.5ms | ActiveRecord: 4.3ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 16:54:49 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:49 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:49 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:49 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:49 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:49 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Served asset /jquery-ui.js - 304 Not Modified (1ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 16:54:49 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/1dfd63c0-6f68-45ac-b86f-b9efc57422c8" for 127.0.0.1 at 2012-12-28 16:54:51 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"1dfd63c0-6f68-45ac-b86f-b9efc57422c8"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' 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` = x'2ce750a74c7147d7b59898c91da4434c' AND `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountDomain Load (0.3ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountRole Load (0.1ms) SELECT `account_roles`.* FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'4eadd38371ea490cbbc7823b9e2a561f' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountUser Load (0.4ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1dfd63c0-6f68-45ac-b86f-b9efc57422c8_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (62.2ms) Completed 200 OK in 102ms (Views: 64.7ms | ActiveRecord: 5.7ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 16:54:52 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:52 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:52 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:52 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:52 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:54:52 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 16:54:52 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/1dfd63c0-6f68-45ac-b86f-b9efc57422c8" for 127.0.0.1 at 2012-12-28 16:55:19 -0200 Processing by Iugu::AccountController#view as HTML Parameters: {"id"=>"1dfd63c0-6f68-45ac-b86f-b9efc57422c8"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' 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` = x'2ce750a74c7147d7b59898c91da4434c' AND `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountDomain Load (0.2ms) SELECT `account_domains`.* FROM `account_domains` WHERE `account_domains`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_domains`.`primary` = 1 LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `api_tokens`.`tokenable_type` = 'Account' CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' 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_1dfd63c0-6f68-45ac-b86f-b9efc57422c8_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/account.html.haml within layouts/settings (18.1ms) Completed 200 OK in 28ms (Views: 22.8ms | ActiveRecord: 1.9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:19 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:19 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 16:55:19 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:19 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:19 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:19 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 16:55:19 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/1dfd63c0-6f68-45ac-b86f-b9efc57422c8/users" for 127.0.0.1 at 2012-12-28 16:55:22 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"1dfd63c0-6f68-45ac-b86f-b9efc57422c8"} User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1dfd63c0-6f68-45ac-b86f-b9efc57422c8_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_user_4eadd383-71ea-490c-bbc7-823b9e2a561f_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (10.4ms) Completed 200 OK in 39ms (Views: 34.3ms | ActiveRecord: 1.5ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 16:55:22 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:22 -0200 Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:22 -0200 Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:22 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:22 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:22 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 16:55:22 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/settings/account/1dfd63c0-6f68-45ac-b86f-b9efc57422c8/invite" for 127.0.0.1 at 2012-12-28 16:55:38 -0200 Processing by Iugu::InvitationsController#new as HTML Parameters: {"account_id"=>"1dfd63c0-6f68-45ac-b86f-b9efc57422c8"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'admin' LIMIT 1 Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountUser Load (0.3ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/invitations/new.html.haml within layouts/settings (8.0ms) Completed 200 OK in 81ms (Views: 13.0ms | ActiveRecord: 22.3ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:38 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:38 -0200 Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 16:55:38 -0200 Served asset /settings.js - 304 Not Modified (5ms) Served asset /settings.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:38 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:38 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 16:55:38 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/settings/account/1DFD63C06F6845ACB86FB9EFC57422C8/invite" for 127.0.0.1 at 2012-12-28 16:55:47 -0200 Processing by Iugu::InvitationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"j4hff0RbEgE0yOXk0+9nnDWFNeAGTdo3ENf2HR9WoAk=", "user_invitation"=>{"email"=>"alepaezseq@gmail.com", "roles"=>["admin"]}, "commit"=>"Invite", "account_id"=>"1DFD63C06F6845ACB86FB9EFC57422C8"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountUser Load (0.5ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' AND `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'admin' LIMIT 1  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM `account_users` INNER JOIN `users` ON `users`.`id` = `account_users`.`user_id` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `users`.`email` = 'alepaezseq@gmail.com' SQL (2.4ms) INSERT INTO `user_invitations` (`account_id`, `email`, `id`, `invited_by`, `roles`, `sent_at`, `token`) VALUES (x'1dfd63c06f6845acb86fb9efc57422c8', 'alepaezseq@gmail.com', x'8ac4bccf67974d28aa80c8203f1f0524', x'2ce750a74c7147d7b59898c91da4434c', 'admin', '2012-12-28 18:55:47', '_XklProQmNHdrVG2HnC5TjTsbZA') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/invitation.html.haml (1.1ms) Sent mail to alepaezseq@gmail.com (6662ms) Date: Fri, 28 Dec 2012 16:55:47 -0200 From: Iugu Reply-To: Iugu To: alepaezseq@gmail.com Message-ID: <50ddeb33be4e6_df513fe175035ad449347@iMac-de-Marcelo.local.mail> Subject: Convite para sua conta Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit http://iugusdk.dev:3000/accept_invite/8ac4bccf-6797-4d28-aa80-c8203f1f0524_XklProQmNHdrVG2HnC5TjTsbZA  (0.4ms) COMMIT Redirected to http://iugusdk.dev/settings/account/1DFD63C06F6845ACB86FB9EFC57422C8/users Completed 302 Found in 6820ms (ActiveRecord: 4.4ms) Started GET "/settings/account/1DFD63C06F6845ACB86FB9EFC57422C8/users" for 127.0.0.1 at 2012-12-28 16:55:55 -0200 Processing by Iugu::AccountUsersController#index as HTML Parameters: {"account_id"=>"1DFD63C06F6845ACB86FB9EFC57422C8"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 Account Load (0.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'account_1dfd63c0-6f68-45ac-b86f-b9efc57422c8_destroy' LIMIT 1 CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' 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_user_4eadd383-71ea-490c-bbc7-823b9e2a561f_destroy' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`account_id` = x'1dfd63c06f6845acb86fb9efc57422c8' AND `account_users`.`user_id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM `account_roles` WHERE `account_roles`.`account_user_id` = x'4eadd38371ea490cbbc7823b9e2a561f' AND `account_roles`.`name` = 'owner' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/account_users/index.html.haml within layouts/settings (32.3ms) Completed 200 OK in 41ms (Views: 36.7ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:55 -0200 Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 16:55:55 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Served asset /settings.css - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:55 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:55 -0200 Served asset /settings.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:55 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:55:55 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 16:55:55 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/accept_invite/8ac4bccf-6797-4d28-aa80-c8203f1f0524_XklProQmNHdrVG2HnC5TjTsbZA" for 127.0.0.1 at 2012-12-28 16:56:52 -0200 Processing by Iugu::InvitationsController#edit as HTML Parameters: {"invitation_token"=>"8ac4bccf-6797-4d28-aa80-c8203f1f0524_XklProQmNHdrVG2HnC5TjTsbZA"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 UserInvitation Load (0.2ms) SELECT `user_invitations`.* FROM `user_invitations` WHERE `user_invitations`.`id` = x'8ac4bccf67974d28aa80c8203f1f0524' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/invitations/edit.html.haml within layouts/settings (2.1ms) Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.5ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 16:56:52 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 16:56:52 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:56:52 -0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 16:56:52 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery-ui.js - 304 Not Modified (0ms) Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 16:56:52 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:56:52 -0200 Served asset /settings.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 16:56:52 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/accept_invite/8ac4bccf-6797-4d28-aa80-c8203f1f0524_XklProQmNHdrVG2HnC5TjTsbZA" for 127.0.0.1 at 2012-12-28 16:57:26 -0200 Processing by Iugu::InvitationsController#edit as HTML Parameters: {"invitation_token"=>"8ac4bccf-6797-4d28-aa80-c8203f1f0524_XklProQmNHdrVG2HnC5TjTsbZA"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 UserInvitation Load (0.2ms) SELECT `user_invitations`.* FROM `user_invitations` WHERE `user_invitations`.`id` = x'8ac4bccf67974d28aa80c8203f1f0524' LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'2ce750a74c7147d7b59898c91da4434c' LIMIT 1 Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'1dfd63c06f6845acb86fb9efc57422c8' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/invitations/edit.html.haml within layouts/settings (3.7ms) Completed 200 OK in 12ms (Views: 8.7ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2012-12-28 16:57:27 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-28 16:57:27 -0200 Served asset /jquery-ui.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/settings.css?body=1" for 127.0.0.1 at 2012-12-28 16:57:27 -0200 Started GET "/assets/settings.js?body=1" for 127.0.0.1 at 2012-12-28 16:57:27 -0200 Served asset /settings.css - 304 Not Modified (0ms) Served asset /settings.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-28 16:57:27 -0200 Started GET "/assets/settings_code.js?body=1" for 127.0.0.1 at 2012-12-28 16:57:27 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /settings_code.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2012-12-28 16:57:27 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Connecting to database specified by database.yml  (42.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (113.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (66.8ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (84.1ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (72.2ms) CREATE TABLE `users` (`id` binary(16) 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  (84.2ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (75.4ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (84.4ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (91.6ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (1.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (97.2ms) ALTER TABLE `users` ADD `birthdate` date  (99.4ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (73.5ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (66.7ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (0.3ms) ALTER TABLE `accounts` ADD `user_id` uuid Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'uuid' at line 1: ALTER TABLE `accounts` ADD `user_id` uuid Connecting to database specified by database.yml  (25.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (60.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (68.0ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (84.1ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (65.1ms) CREATE TABLE `users` (`id` binary(16) 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  (92.2ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (83.7ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (91.9ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (91.3ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (90.4ms) ALTER TABLE `users` ADD `birthdate` date  (91.0ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755) Connecting to database specified by database.yml  (53.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (177.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (75.4ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (84.0ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (72.3ms) CREATE TABLE `users` (`id` binary(16) 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  (75.7ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (67.2ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (91.3ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (91.8ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (81.9ms) ALTER TABLE `users` ADD `birthdate` date  (82.9ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (73.4ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (75.3ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (76.3ms) ALTER TABLE `accounts` ADD `user_id` blob(16)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (96.3ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (68.9ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (74.5ms) ALTER TABLE `accounts` DROP `user_id`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (71.3ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (67.9ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (83.3ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (87.3ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` varchar(255), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (67.7ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (77.7ms) DROP INDEX `index_users_on_email` ON `users`  (93.0ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (78.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  (92.5ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (80.4ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (84.1ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (83.8ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (89.8ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (119.5ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (270.5ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (1.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (173.2ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (1.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (96.8ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (81.9ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (80.1ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (84.6ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (74.5ms) ALTER TABLE `accounts` DROP `api_token`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (32.9ms) CREATE TABLE `account_domains` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (132.8ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (73.4ms) CREATE TABLE `account_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `account_user_id` blob(16)) ENGINE=InnoDB  (92.7ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (81.6ms) CREATE TABLE `account_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `account_id` blob(16), `user_id` blob(16)) ENGINE=InnoDB  (92.7ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (81.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)) ENGINE=InnoDB  (92.7ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (83.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` blob(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (100.6ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (77.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  (100.6ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (73.5ms) CREATE TABLE `social_accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `social_id` varchar(255), `user_id` blob(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (132.6ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (58.9ms) CREATE TABLE `user_invitations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `invited_by` blob(16), `email` varchar(255), `sent_at` datetime, `account_id` blob(16), `token` varchar(255), `roles` varchar(255)) ENGINE=InnoDB  (83.9ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (72.9ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `birthdate` date, `name` varchar(255), `locale` varchar(255), `guest` tinyint(1)) ENGINE=InnoDB  (92.8ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (76.0ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (91.2ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (102.6ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (100.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (101.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.1ms) SELECT version FROM `schema_migrations`  (1.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121108115535')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120528164634')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529134109')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529162901')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529174755')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120529180814')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120530114709')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120531171438')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120604131034')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120605142527')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120612141130')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120613173114')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120615180728')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629154429')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120629195345')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120705202827')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120716145846')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120719162426')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20120725170859')  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20120803172545')  (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20121023113304') Connecting to database specified by database.yml  (62.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (235.6ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) Connecting to database specified by database.yml  (35.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (298.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (15.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (63.3ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (75.4ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (62.2ms) CREATE TABLE `users` (`id` binary(16) 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  (75.6ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (59.8ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (86.7ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (96.6ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (1.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (107.4ms) ALTER TABLE `users` ADD `birthdate` date  (143.9ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (138.9ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (390.3ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (75.5ms) ALTER TABLE `accounts` ADD `user_id` blob(16)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (82.7ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (72.3ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (80.1ms) ALTER TABLE `accounts` DROP `user_id`  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (101.2ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (74.9ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (96.5ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (87.0ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` varchar(255), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (90.0ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (1.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (69.3ms) DROP INDEX `index_users_on_email` ON `users`  (82.9ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (73.9ms) 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  (87.1ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (65.4ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (88.3ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (99.1ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (91.1ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (79.2ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (66.2ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (88.0ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (82.4ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (95.6ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (66.3ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (74.5ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (83.0ms) ALTER TABLE `accounts` DROP `api_token`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (31.4ms) CREATE TABLE `account_domains` (`id` blob(16), `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (0.3ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`) Mysql2::Error: BLOB/TEXT column 'id' used in key specification without a key length: CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`) Connecting to database specified by database.yml  (51.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (156.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (54.6ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (84.1ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (19.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (60.8ms) CREATE TABLE `users` (`id` binary(16) 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  (89.1ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (71.5ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (108.1ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (83.5ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (114.7ms) ALTER TABLE `users` ADD `birthdate` date  (108.3ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (89.5ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (76.3ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (89.2ms) ALTER TABLE `accounts` ADD `user_id` blob(16)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (66.2ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (74.8ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (81.2ms) ALTER TABLE `accounts` DROP `user_id`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (88.2ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (70.1ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (102.3ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (89.5ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` varchar(255), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (64.1ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (2.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (45.3ms) DROP INDEX `index_users_on_email` ON `users`  (93.8ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (75.4ms) 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  (83.0ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (72.5ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (100.7ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (95.8ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (107.6ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (64.2ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (61.3ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (93.9ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (107.7ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (107.7ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (62.8ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (90.5ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (83.8ms) ALTER TABLE `accounts` DROP `api_token`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.4ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (39.6ms) CREATE TABLE `account_domains` (`id` blob(16), `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (0.3ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`) Mysql2::Error: BLOB/TEXT column 'id' used in key specification without a key length: CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`) Connecting to database specified by database.yml  (58.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (302.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (75.9ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (87.8ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (83.0ms) CREATE TABLE `users` (`id` binary(16) 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  (107.4ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (101.0ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (83.4ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (90.2ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (112.7ms) ALTER TABLE `users` ADD `birthdate` date  (108.6ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (89.3ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (93.3ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (122.7ms) ALTER TABLE `accounts` ADD `user_id` blob(16)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (61.2ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (79.6ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (87.8ms) ALTER TABLE `accounts` DROP `user_id`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (96.0ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (67.7ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (16.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (90.8ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (97.5ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` varchar(255), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (77.1ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (47.7ms) DROP INDEX `index_users_on_email` ON `users`  (108.0ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (73.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  (123.2ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (52.9ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (94.0ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (74.1ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (105.6ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (62.5ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (76.2ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`(16))  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (82.4ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (105.6ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (98.2ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (73.2ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (209.3ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (22.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (109.4ms) ALTER TABLE `accounts` DROP `api_token`  (13.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (2.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.3ms) DROP DATABASE IF EXISTS `iugusdk_test`  (0.2ms) CREATE DATABASE `iugusdk_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`  (61.8ms) CREATE TABLE `account_domains` (`id` blob(16), `account_id` blob(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (0.2ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`) Mysql2::Error: BLOB/TEXT column 'id' used in key specification without a key length: CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-01-10 09:58:51 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (2.7ms) WARNING on line 74 of /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/app/assets/stylesheets/default.sass: This selector doesn't have any properties and will not be rendered. Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/8e0323e2160b6b829172f473dd132223c8f07fcd/default.sassc: can't dump anonymous class # Compiled default.css (48ms) (pid 24157) Compiled application.css (56ms) (pid 24157) Compiled jquery.js (31ms) (pid 24157) Compiled jquery_ujs.js (0ms) (pid 24157) Compiled application.js (73ms) (pid 24157) Completed 200 OK in 257ms (Views: 255.7ms | ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2013-01-10 09:58:52 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2013-01-10 09:58:52 -0200 Served asset /default.css - 200 OK (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 09:58:52 -0200 Served asset /application.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:52 -0200 Served asset /jquery.js - 200 OK (1ms) Processing by Iugu::SessionsController#new as HTML Rendered iugu/shared/_responsive-dialog.header.html.haml (1.2ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/iugu-sdk (2838.6ms) Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/iugu-ux-entry.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/reset.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/core.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/variables.sassc: can't dump anonymous class # WARNING on line 16 of /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/iugu-ux-0.8.0/vendor/assets/stylesheets/iugu-ux/mixins.sass: This selector doesn't have any properties and will not be rendered. WARNING on line 17 of /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/iugu-ux-0.8.0/vendor/assets/stylesheets/iugu-ux/mixins.sass: This selector doesn't have any properties and will not be rendered. Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/mixins.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/adaptative-mixins.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/sprite-mixins.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/utilities.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/typography.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/components.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/no-js.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/iux-sprites.sassc: can't dump anonymous class # Compiled iugu-ux/iugu-ux-entry.css (1991ms) (pid 24208) Compiled iugu-ux/google-code-prettify/prettify.css (0ms) (pid 24208) Compiled iugu-ux.css (2038ms) (pid 24208) Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/e8d445c85f8d68051da48b21e515b7ba53fc1245/iugu-sdk.css.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/core.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/variables.sassc: can't dump anonymous class # WARNING on line 16 of /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/iugu-ux-0.8.0/vendor/assets/stylesheets/iugu-ux/mixins.sass: This selector doesn't have any properties and will not be rendered. WARNING on line 17 of /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/iugu-ux-0.8.0/vendor/assets/stylesheets/iugu-ux/mixins.sass: This selector doesn't have any properties and will not be rendered. Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/mixins.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/adaptative-mixins.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/b2dfee2d3e0d08e7f2e107b22180061d96eb0d8d/sprite-mixins.sassc: can't dump anonymous class # Compiled iugu-sdk.css (494ms) (pid 24208) Compiled vendor/jquery.js (1ms) (pid 24208) Compiled vendor/jquery.web-storage.js (0ms) (pid 24208) Compiled vendor/jquery.cookie.js (0ms) (pid 24208) Compiled vendor/jquery.checkboxes.js (0ms) (pid 24208) Compiled vendor/jquery.ui.js (2ms) (pid 24208) Compiled vendor/jquery.ui.touch-punch.js (0ms) (pid 24208) Compiled vendor/jquery.base64.js (0ms) (pid 24208) Compiled vendor/mobiscroll.core-2.3.1.js (0ms) (pid 24208) Compiled vendor/mobiscroll.datetime-2.3.js (0ms) (pid 24208) Compiled vendor/mobiscroll.select-2.3.1.js (0ms) (pid 24208) Compiled vendor/underscore.js (0ms) (pid 24208) Compiled vendor/backbone.js (0ms) (pid 24208) Compiled vendor.js (231ms) (pid 24208) Compiled iugu-ux/google-code-prettify/prettify.js (0ms) (pid 24208) Compiled iugu-ux/twitter-bootstrap/notice.js (0ms) (pid 24208) Compiled iugu-ux/twitter-bootstrap/bootstrap.js (8ms) (pid 24208) Compiled iugu-ux/capabilities.js (0ms) (pid 24208) Compiled iugu-ux/enable-prettify.js (0ms) (pid 24208) Compiled web-app/environment.js (199ms) (pid 24208) Compiled web-app/config.js (0ms) (pid 24208) Compiled web-app/comm.js (51ms) (pid 24208) Compiled web-app/presenters.js (0ms) (pid 24208) Compiled web-app/i18n-languages.js (0ms) (pid 24208) Compiled web-app/i18n.js (74ms) (pid 24208) Compiled web-app/sound.js (91ms) (pid 24208) Compiled web-app/helpers.js (139ms) (pid 24208) Compiled web-app/models.js (0ms) (pid 24208) Compiled web-app/usecode.js (0ms) (pid 24208) Compiled iugu-ux/web-app.js (758ms) (pid 24208) Compiled iugu-ux/components/iugu-ux-main.js (130ms) (pid 24208) Compiled iugu-ux/components/iugu-ux-components.js (140ms) (pid 24208) Compiled iugu-ux/iugu-ux.js (987ms) (pid 24208) Compiled iugu-ux.js (997ms) (pid 24208) Completed 200 OK in 7009ms (Views: 6953.7ms | ActiveRecord: 38.4ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /application.js - 200 OK (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /jquery_ujs.js - 200 OK (45ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux.css - 200 OK (6ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Started GET "/assets/iugu-ux/iugu-ux-entry.css?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/google-code-prettify/prettify.css - 200 OK (2ms) Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/iugu-ux-entry.css - 200 OK (4ms) Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-sdk.css - 200 OK (3ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /vendor/jquery.web-storage.js - 200 OK (12ms) Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /vendor/jquery.js - 200 OK (2ms) Served asset /vendor/jquery.cookie.js - 200 OK (2ms) Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /vendor/jquery.checkboxes.js - 200 OK (2ms) Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /vendor/jquery.ui.js - 200 OK (2ms) Served asset /vendor/jquery.ui.touch-punch.js - 200 OK (1ms) Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 200 OK (2ms) Served asset /vendor/jquery.base64.js - 200 OK (2ms) Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /vendor/mobiscroll.datetime-2.3.js - 200 OK (2ms) Served asset /vendor/mobiscroll.select-2.3.1.js - 200 OK (1ms) Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /vendor/underscore.js - 200 OK (2ms) Served asset /vendor/backbone.js - 200 OK (2ms) Started GET "/assets/vendor.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/google-code-prettify/prettify.js - 200 OK (2ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 200 OK (2ms) Served asset /vendor.js - 200 OK (18ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/enable-prettify.js - 200 OK (1ms) Started GET "/assets/web-app/config.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /web-app/config.js - 200 OK (1ms) Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /web-app/presenters.js - 200 OK (1ms) Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /web-app/i18n.js - 200 OK (1ms) Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 200 OK (40ms) Served asset /web-app/sound.js - 200 OK (2ms) Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Started GET "/assets/web-app/helpers.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/capabilities.js - 200 OK (1ms) Started GET "/assets/web-app/environment.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /web-app/helpers.js - 200 OK (1ms) Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /web-app/environment.js - 200 OK (1ms) Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /web-app/models.js - 200 OK (1ms) Started GET "/assets/iugu-ux/web-app.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /web-app/comm.js - 200 OK (1ms) Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /web-app/i18n-languages.js - 200 OK (1ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/web-app.js - 200 OK (11ms) Started GET "/assets/iugu-ux/components/iugu-ux-components.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /web-app/usecode.js - 200 OK (2ms) Started GET "/assets/iugu-ux/components/iugu-ux-main.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/components/iugu-ux-components.js - 200 OK (2ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/components/iugu-ux-main.js - 200 OK (1ms) Started GET "/assets/iugu-ux/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux/iugu-ux.js - 200 OK (18ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /iugu-ux.js - 200 OK (21ms) Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 09:58:59 -0200 Served asset /application_logo.png - 200 OK (10ms) Started GET "/signup" for 127.0.0.1 at 2013-01-10 09:59:15 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered iugu/shared/_responsive-dialog.header.html.haml (1.4ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.html.haml (0.6ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/iugu-sdk (2133.4ms) Completed 200 OK in 2265ms (Views: 2246.3ms | ActiveRecord: 2.2ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 09:59:17 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 09:59:17 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /vendor/jquery.js - 304 Not Modified (2ms) Started POST "/signup" for 127.0.0.1 at 2013-01-10 09:59:39 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QRWUtwvKoqONaT8pdxQMZab0un/dWjw+LFRO/T4qFoc=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.1ms) BEGIN User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'pdqDzCPyJrKZopdRCsp8' LIMIT 1 SQL (0.3ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `id`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2013-01-10 11:59:40', 'pdqDzCPyJrKZopdRCsp8', NULL, '2013-01-10 11:59:40', 'paezao@gmail.com', '$2a$10$u9kMAYoRQEiZLSRzh6MWueQplV9FzdH88U04o7VR1pXExq7hRiwcC', NULL, x'84ee02e0453e4c28be1adf3ce54d4aba', 'en', NULL, NULL, NULL, NULL, NULL, '2013-01-10 11:59:40') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/confirmation_instructions.html.haml (1.7ms) Sent mail to paezao@gmail.com (3260ms) Date: Thu, 10 Jan 2013 09:59:40 -0200 From: iugu Reply-To: iugu To: paezao@gmail.com Message-ID: <50eead2c77efa_5e5d3fc3ba035ad065059@iMac-de-Marcelo.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome paezao@gmail.com!

You can confirm your account email through the link below

Confirm my account

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 'User' AND `api_tokens`.`tokenable_id` = x'84ee02e0453e4c28be1adf3ce54d4aba' AND `api_tokens`.`tokenable_type` = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO `api_tokens` (`api_type`, `created_at`, `description`, `id`, `token`, `tokenable_id`, `tokenable_type`, `updated_at`) VALUES ('USER', '2013-01-10 11:59:43', 'User', x'eb7811cd82614e52a957d68150354259', '39e91caff9c089b454a551bcdbe38150', x'84ee02e0453e4c28be1adf3ce54d4aba', 'User', '2013-01-10 11:59:43') ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'84ee02e0453e4c28be1adf3ce54d4aba' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `id`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2013-01-10 11:59:43', x'a57b9ee3366f4da1a5145de1c3b4e449', NULL, NULL, NULL, '2013-01-10 11:59:43')  (0.2ms) UPDATE `accounts` SET `created_at` = '2013-01-10 11:59:43', `updated_at` = '2013-01-10 11:59:43', `subdomain` = 'accounta57b9ee3-366f-4da1-a514-5de1c3b4e449' WHERE `accounts`.`id` = x'a57b9ee3366f4da1a5145de1c3b4e449' Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'a57b9ee3366f4da1a5145de1c3b4e449' LIMIT 1 SQL (0.2ms) INSERT INTO `account_users` (`account_id`, `id`, `user_id`) VALUES (x'a57b9ee3366f4da1a5145de1c3b4e449', x'c554088c845d45128af2f6101087e235', x'84ee02e0453e4c28be1adf3ce54d4aba') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'c554088c845d45128af2f6101087e235') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'c554088c845d45128af2f6101087e235' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'c554088c845d45128af2f6101087e235', x'7151c27ec57644b5ace5f5b979afbff7', 'owner') AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'c554088c845d45128af2f6101087e235') LIMIT 1 AccountUser Load (0.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'c554088c845d45128af2f6101087e235' LIMIT 1 SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'c554088c845d45128af2f6101087e235', x'9199846b1f7049fea3daad4059746e05', 'admin') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/welcome.html.haml (0.8ms) Sent mail to paezao@gmail.com (2404ms) Date: Thu, 10 Jan 2013 09:59:44 -0200 From: iugu Reply-To: iugu To: paezao@gmail.com Message-ID: <50eead3058de_5e5d3fc3ba035ad06519b@iMac-de-Marcelo.local.mail> Subject: Bem vindo! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Bem vindo a Dummy  (0.5ms) COMMIT Redirected to http://iugusdk.dev/ Completed 302 Found in 6459ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2013-01-10 09:59:46 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 09:59:46 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 09:59:46 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 09:59:46 -0200 Served asset /application.js - 304 Not Modified (3ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2013-01-10 09:59:46 -0200 Served asset /jquery.js - 304 Not Modified (2ms) Served asset /default.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 09:59:46 -0200 Served asset /application.css - 304 Not Modified (2ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (136.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (115.6ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) Connecting to database specified by database.yml  (3.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (50.1ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (110.5ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (70.1ms) CREATE TABLE `users` (`id` binary(16) 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  (102.0ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (65.5ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (99.4ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (83.9ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (94.3ms) ALTER TABLE `users` ADD `birthdate` date  (122.3ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (91.0ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (84.1ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (97.4ms) ALTER TABLE `accounts` ADD `user_id` blob(16)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (68.6ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (89.2ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (98.3ms) ALTER TABLE `accounts` DROP `user_id`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (96.2ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (65.9ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (89.0ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (122.5ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` varchar(255), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (68.1ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (1.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (132.7ms) DROP INDEX `index_users_on_email` ON `users`  (102.5ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (63.9ms) 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  (111.2ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (86.5ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (78.2ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (99.7ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (114.0ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (80.5ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (85.9ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (81.2ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (136.7ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (97.7ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (74.1ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (66.8ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (72.9ms) ALTER TABLE `accounts` DROP `api_token`  (13.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Started GET "/" for 127.0.0.1 at 2013-01-10 10:06:05 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.7ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:06 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:06 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:06 -0200 Served asset /default.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:06 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:06 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/signup" for 127.0.0.1 at 2013-01-10 10:06:09 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered iugu/shared/_responsive-dialog.header.html.haml (1.3ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.html.haml (0.6ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/iugu-sdk (2067.5ms) Completed 200 OK in 2136ms (Views: 2085.9ms | ActiveRecord: 2.1ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:11 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:11 -0200 Served asset /vendor/jquery.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/signup" for 127.0.0.1 at 2013-01-10 10:06:21 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QRWUtwvKoqONaT8pdxQMZab0un/dWjw+LFRO/T4qFoc=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.1ms) BEGIN User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'p2QrtybHzDJfudtxHxyz' LIMIT 1 SQL (0.3ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `id`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2013-01-10 12:06:21', 'p2QrtybHzDJfudtxHxyz', NULL, '2013-01-10 12:06:21', 'paezao@gmail.com', '$2a$10$OxygoFBM4IF8czi29oAoH.r90NEaBdTPH7NgpZXpdY2ln0hvezU1W', NULL, x'a419e754b5de402bb75e9a22f6f471ae', 'en', NULL, NULL, NULL, NULL, NULL, '2013-01-10 12:06:21') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/confirmation_instructions.html.haml (0.7ms) Sent mail to paezao@gmail.com (2738ms) Date: Thu, 10 Jan 2013 10:06:21 -0200 From: iugu Reply-To: iugu To: paezao@gmail.com Message-ID: <50eeaebd678f6_5e5d3fc3ba035ad065210@iMac-de-Marcelo.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome paezao@gmail.com!

You can confirm your account email through the link below

Confirm my account

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 'User' AND `api_tokens`.`tokenable_id` = x'a419e754b5de402bb75e9a22f6f471ae' AND `api_tokens`.`tokenable_type` = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO `api_tokens` (`api_type`, `created_at`, `description`, `id`, `token`, `tokenable_id`, `tokenable_type`, `updated_at`) VALUES ('USER', '2013-01-10 12:06:24', 'User', x'7a74d7db46c04003bef76d22ae6d3b65', '079be4608fba67546dc82b8561620403', x'a419e754b5de402bb75e9a22f6f471ae', 'User', '2013-01-10 12:06:24') ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'a419e754b5de402bb75e9a22f6f471ae' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `id`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2013-01-10 12:06:24', x'82b5699c48d243daa59ac8cc92169beb', NULL, NULL, NULL, '2013-01-10 12:06:24')  (0.3ms) UPDATE `accounts` SET `created_at` = '2013-01-10 12:06:24', `updated_at` = '2013-01-10 12:06:24', `subdomain` = 'account82b5699c-48d2-43da-a59a-c8cc92169beb' WHERE `accounts`.`id` = x'82b5699c48d243daa59ac8cc92169beb' Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'82b5699c48d243daa59ac8cc92169beb' LIMIT 1 SQL (0.2ms) INSERT INTO `account_users` (`account_id`, `id`, `user_id`) VALUES (x'82b5699c48d243daa59ac8cc92169beb', x'ede1b0a2600f49338d23b16500b5b693', x'a419e754b5de402bb75e9a22f6f471ae') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'ede1b0a2600f49338d23b16500b5b693') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'ede1b0a2600f49338d23b16500b5b693' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'ede1b0a2600f49338d23b16500b5b693', x'c390103278564f99b6066328c8c7face', 'owner') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'ede1b0a2600f49338d23b16500b5b693') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'ede1b0a2600f49338d23b16500b5b693' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'ede1b0a2600f49338d23b16500b5b693', x'4dda000bddf9450ea53c08c4dbd2d0d5', 'admin') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/welcome.html.haml (0.1ms) Sent mail to paezao@gmail.com (2533ms) Date: Thu, 10 Jan 2013 10:06:24 -0200 From: iugu Reply-To: iugu To: paezao@gmail.com Message-ID: <50eeaec045ca4_5e5d3fc3ba035ad06536f@iMac-de-Marcelo.local.mail> Subject: Bem vindo! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Bem vindo a Dummy  (0.5ms) COMMIT Redirected to http://iugusdk.dev/ Completed 302 Found in 5554ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2013-01-10 10:06:26 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.6ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:26 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:26 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:26 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:26 -0200 Served asset /default.css - 304 Not Modified (0ms) Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:26 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/signup/confirmation?confirmation_token=p2QrtybHzDJfudtxHxyz" for 127.0.0.1 at 2013-01-10 10:06:44 -0200 Processing by Iugu::ConfirmationsController#show as HTML Parameters: {"confirmation_token"=>"p2QrtybHzDJfudtxHxyz"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'p2QrtybHzDJfudtxHxyz' LIMIT 1  (0.0ms) BEGIN  (0.3ms) UPDATE `users` SET `confirmation_token` = NULL, `confirmed_at` = '2013-01-10 12:06:44', `updated_at` = '2013-01-10 12:06:44' WHERE `users`.`id` = x'a419e754b5de402bb75e9a22f6f471ae'  (0.3ms) COMMIT Redirected to http://iugusdk.dev/ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'a419e754b5de402bb75e9a22f6f471ae' AND (accounts.id = '1dfd63c0-6f68-45ac-b86f-b9efc57422c8') 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` = x'a419e754b5de402bb75e9a22f6f471ae' LIMIT 1 Completed 302 Found in 59ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2013-01-10 10:06:45 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'a419e754b5de402bb75e9a22f6f471ae' LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (0.9ms) Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:45 -0200 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:45 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:45 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:45 -0200 Served asset /application.js - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:45 -0200 Served asset /default.css - 304 Not Modified (0ms) Started GET "/settings" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'a419e754b5de402bb75e9a22f6f471ae' LIMIT 1 Redirected to http://iugusdk.dev/settings/profile Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/settings/profile" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'a419e754b5de402bb75e9a22f6f471ae' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (2.6ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (0.2ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (2.7ms) SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'a419e754b5de402bb75e9a22f6f471ae' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'a419e754b5de402bb75e9a22f6f471ae' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (0.2ms) ApiToken Load (0.3ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'a419e754b5de402bb75e9a22f6f471ae' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (0.2ms) Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_a419e754-b5de-402b-b75e-9a22f6f471ae_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (44.8ms) Completed 200 OK in 104ms (Views: 97.5ms | ActiveRecord: 4.5ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (1ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (2ms) Started GET "/assets/iugu-ux/iugu-ux-entry.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/jquery.js - 304 Not Modified (0ms) Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/iugu-ux-entry.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-sdk.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (1ms) Served asset /vendor/jquery.cookie.js - 304 Not Modified (1ms) Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/jquery.ui.js - 304 Not Modified (2ms) Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (5ms) Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (1ms) Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (1ms) Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/backbone.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/jquery.base64.js - 304 Not Modified (1ms) Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (2ms) Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (3ms) Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/capabilities.js - 304 Not Modified (0ms) Served asset /vendor/underscore.js - 304 Not Modified (1ms) Started GET "/assets/web-app/environment.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Started GET "/assets/vendor.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /web-app/environment.js - 304 Not Modified (0ms) Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /web-app/comm.js - 304 Not Modified (0ms) Served asset /vendor.js - 304 Not Modified (13ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /web-app/i18n-languages.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (0ms) Started GET "/assets/web-app/config.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /web-app/i18n.js - 304 Not Modified (2ms) Served asset /web-app/config.js - 304 Not Modified (0ms) Started GET "/assets/web-app/helpers.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /web-app/presenters.js - 304 Not Modified (0ms) Served asset /web-app/helpers.js - 304 Not Modified (1ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /web-app/usecode.js - 304 Not Modified (0ms) Served asset /web-app/sound.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-main.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/components/iugu-ux-main.js - 304 Not Modified (0ms) Served asset /web-app/models.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/web-app.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Started GET "/assets/iugu-ux/components/iugu-ux-components.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/web-app.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/components/iugu-ux-components.js - 304 Not Modified (2ms) Started GET "/assets/iugu-ux/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /iugu-ux/iugu-ux.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:06:47 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/settings/profile" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Processing by Iugu::ProfileController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QRWUtwvKoqONaT8pdxQMZab0un/dWjw+LFRO/T4qFoc=", "user"=>{"name"=>"", "email"=>"paezao@gmail.com", "birthdate"=>"", "locale"=>"pt-BR"}, "commit"=>"Save"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'a419e754b5de402bb75e9a22f6f471ae' LIMIT 1  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'a419e754b5de402bb75e9a22f6f471ae'  (0.2ms) UPDATE `users` SET `name` = '', `locale` = 'pt-BR', `updated_at` = '2013-01-10 12:07:03' WHERE `users`.`id` = x'a419e754b5de402bb75e9a22f6f471ae'  (0.4ms) COMMIT Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (3.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (2.9ms) SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'a419e754b5de402bb75e9a22f6f471ae' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'a419e754b5de402bb75e9a22f6f471ae' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (0.1ms) ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'a419e754b5de402bb75e9a22f6f471ae' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (0.1ms) Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_a419e754-b5de-402b-b75e-9a22f6f471ae_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (29.5ms) Completed 200 OK in 100ms (Views: 93.2ms | ActiveRecord: 2.1ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /iugu-ux.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (0ms) Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /vendor/jquery.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /iugu-sdk.css - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/iugu-ux-entry.css?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (0ms) Served asset /iugu-ux/iugu-ux-entry.css - 304 Not Modified (3ms) Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /vendor/jquery.cookie.js - 304 Not Modified (0ms) Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (0ms) Served asset /vendor/jquery.ui.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /vendor/jquery.base64.js - 304 Not Modified (0ms) Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (0ms) Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /vendor/underscore.js - 304 Not Modified (0ms) Served asset /vendor/backbone.js - 304 Not Modified (0ms) Started GET "/assets/vendor.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:03 -0200 Served asset /vendor.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (2ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (2ms) Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (0ms) Served asset /iugu-ux/capabilities.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Started GET "/assets/web-app/environment.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (1ms) Served asset /web-app/environment.js - 304 Not Modified (1ms) Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Started GET "/assets/web-app/config.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /web-app/config.js - 304 Not Modified (2ms) Served asset /web-app/comm.js - 304 Not Modified (1ms) Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /web-app/presenters.js - 304 Not Modified (1ms) Served asset /web-app/i18n-languages.js - 304 Not Modified (1ms) Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /web-app/i18n.js - 304 Not Modified (0ms) Served asset /web-app/sound.js - 304 Not Modified (0ms) Started GET "/assets/web-app/helpers.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /web-app/helpers.js - 304 Not Modified (0ms) Served asset /web-app/models.js - 304 Not Modified (0ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Started GET "/assets/iugu-ux/web-app.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /web-app/usecode.js - 304 Not Modified (0ms) Served asset /iugu-ux/web-app.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-components.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Started GET "/assets/iugu-ux/components/iugu-ux-main.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /iugu-ux/components/iugu-ux-components.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /iugu-ux/components/iugu-ux-main.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /iugu-ux.js - 304 Not Modified (18ms) Served asset /iugu-ux/iugu-ux.js - 304 Not Modified (17ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:07:04 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Connecting to database specified by database.yml  (43.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (169.2ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (3.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (79.6ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (80.0ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (75.0ms) CREATE TABLE `users` (`id` binary(16) 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  (100.7ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (55.8ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (123.8ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (234.8ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (154.1ms) ALTER TABLE `users` ADD `birthdate` date  (99.6ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (89.9ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (92.2ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (67.4ms) ALTER TABLE `accounts` ADD `user_id` blob(16)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (71.7ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (61.7ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (85.6ms) ALTER TABLE `accounts` DROP `user_id`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (96.9ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (73.4ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (132.1ms) ALTER TABLE `users` ADD `locale` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (81.0ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` varchar(255), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (65.3ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (82.1ms) DROP INDEX `index_users_on_email` ON `users`  (77.2ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (1.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (131.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  (86.0ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (86.6ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (102.9ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (101.4ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (100.2ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (84.1ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (98.4ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (72.6ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (104.1ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (98.1ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (65.2ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (123.1ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (114.9ms) ALTER TABLE `accounts` DROP `api_token`  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Started GET "/" for 127.0.0.1 at 2013-01-10 10:11:04 -0200 Processing by DashboardController#index as HTML User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'a419e754b5de402bb75e9a22f6f471ae' LIMIT 1 Rendered dashboard/splash.html.haml within layouts/application (0.5ms) Completed 200 OK in 69ms (Views: 4.7ms | ActiveRecord: 2.2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:04 -0200 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:04 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Served asset /default.css - 304 Not Modified (1ms) Started GET "/signup" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered iugu/shared/_responsive-dialog.header.html.haml (0.3ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.html.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/iugu-sdk (8.2ms) Completed 200 OK in 37ms (Views: 22.7ms | ActiveRecord: 0.0ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (0ms) Served asset /iugu-ux.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /vendor/jquery.js - 304 Not Modified (0ms) Served asset /iugu-sdk.css - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/iugu-ux-entry.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /iugu-ux/iugu-ux-entry.css - 304 Not Modified (0ms) Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (0ms) Served asset /vendor/jquery.cookie.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (0ms) Served asset /vendor/jquery.ui.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /vendor/jquery.base64.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (0ms) Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (0ms) Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /vendor/underscore.js - 304 Not Modified (0ms) Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /vendor/backbone.js - 304 Not Modified (0ms) Served asset /vendor.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (0ms) Served asset /iugu-ux/capabilities.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/web-app/environment.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (0ms) Served asset /web-app/environment.js - 304 Not Modified (0ms) Started GET "/assets/web-app/config.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /web-app/config.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /web-app/comm.js - 304 Not Modified (0ms) Served asset /web-app/i18n-languages.js - 304 Not Modified (0ms) Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /web-app/presenters.js - 304 Not Modified (0ms) Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /web-app/i18n.js - 304 Not Modified (0ms) Started GET "/assets/web-app/helpers.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /web-app/sound.js - 304 Not Modified (2ms) Served asset /web-app/helpers.js - 304 Not Modified (0ms) Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /web-app/models.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux/web-app.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /web-app/usecode.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux/components/iugu-ux-main.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /iugu-ux/components/iugu-ux-main.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /iugu-ux/iugu-ux.js - 304 Not Modified (0ms) Served asset /iugu-ux/web-app.js - 304 Not Modified (50ms) Started GET "/assets/iugu-ux/components/iugu-ux-components.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /iugu-ux/components/iugu-ux-components.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /iugu-ux.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:11:17 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/login" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Processing by Iugu::SessionsController#new as HTML Rendered iugu/shared/_responsive-dialog.header.html.haml (0.3ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/iugu-sdk (10.4ms) Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 0.0ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (0ms) Served asset /iugu-ux.css - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /vendor/jquery.js - 304 Not Modified (0ms) Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (0ms) Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/iugu-ux/iugu-ux-entry.css?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /iugu-ux/iugu-ux-entry.css - 304 Not Modified (1ms) Served asset /iugu-sdk.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (0ms) Served asset /vendor/jquery.cookie.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /vendor/jquery.ui.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /vendor/jquery.base64.js - 304 Not Modified (3ms) Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (0ms) Served asset /vendor/underscore.js - 304 Not Modified (0ms) Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/vendor.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /vendor/backbone.js - 304 Not Modified (0ms) Served asset /vendor.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (0ms) Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /iugu-ux/capabilities.js - 304 Not Modified (0ms) Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (0ms) Started GET "/assets/web-app/environment.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/web-app/config.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /web-app/environment.js - 304 Not Modified (0ms) Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /web-app/config.js - 304 Not Modified (0ms) Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /web-app/comm.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /web-app/presenters.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /web-app/i18n.js - 304 Not Modified (0ms) Served asset /web-app/i18n-languages.js - 304 Not Modified (0ms) Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/web-app/helpers.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /web-app/sound.js - 304 Not Modified (0ms) Served asset /web-app/helpers.js - 304 Not Modified (0ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /web-app/usecode.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-main.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /web-app/models.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/web-app.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /iugu-ux/components/iugu-ux-main.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /iugu-ux/web-app.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-components.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /iugu-ux/iugu-ux.js - 304 Not Modified (0ms) Served asset /iugu-ux/components/iugu-ux-components.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /iugu-ux.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:11:20 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started GET "/signup" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered iugu/shared/_responsive-dialog.header.html.haml (0.2ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.html.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/iugu-sdk (6.7ms) Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.0ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (0ms) Served asset /vendor/jquery.js - 304 Not Modified (0ms) Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /iugu-sdk.css - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/iugu-ux-entry.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /iugu-ux/iugu-ux-entry.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor/jquery.cookie.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor/jquery.ui.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor/jquery.base64.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (0ms) Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /iugu-ux.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor/underscore.js - 304 Not Modified (0ms) Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor/backbone.js - 304 Not Modified (0ms) Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /vendor.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (0ms) Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (0ms) Served asset /iugu-ux/capabilities.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Started GET "/assets/web-app/environment.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:11 -0200 Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (0ms) Served asset /web-app/environment.js - 304 Not Modified (0ms) Started GET "/assets/web-app/config.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /web-app/config.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /web-app/i18n-languages.js - 304 Not Modified (0ms) Served asset /web-app/comm.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /web-app/i18n.js - 304 Not Modified (0ms) Served asset /web-app/presenters.js - 304 Not Modified (0ms) Started GET "/assets/web-app/helpers.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /web-app/helpers.js - 304 Not Modified (0ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /web-app/usecode.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/web-app.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /iugu-ux/web-app.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-components.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /iugu-ux/components/iugu-ux-components.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /iugu-ux.js - 304 Not Modified (0ms) Served asset /web-app/sound.js - 304 Not Modified (0ms) Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /web-app/models.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-main.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /iugu-ux/components/iugu-ux-main.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /iugu-ux/iugu-ux.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:13:12 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/signup" for 127.0.0.1 at 2013-01-10 10:13:19 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QRWUtwvKoqONaT8pdxQMZab0un/dWjw+LFRO/T4qFoc=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.1ms) BEGIN User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'qXkzTjDR13pejmQN7ayY' LIMIT 1 SQL (0.2ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `id`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2013-01-10 12:13:19', 'qXkzTjDR13pejmQN7ayY', NULL, '2013-01-10 12:13:19', 'paezao@gmail.com', '$2a$10$PBJaggbMzJknPzKcBAte8.AFirl4pdcJaCK2p903JCt2pN2kzdJDa', NULL, x'73d7325c20ad44019b9a1e5aed708d2a', 'en', NULL, NULL, NULL, NULL, NULL, '2013-01-10 12:13:19') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/confirmation_instructions.html.haml (0.6ms) Sent mail to paezao@gmail.com (2941ms) Date: Thu, 10 Jan 2013 10:13:19 -0200 From: iugu Reply-To: iugu To: paezao@gmail.com Message-ID: <50eeb05fd2e15_5e5d3fc3ba035ad06542b@iMac-de-Marcelo.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome paezao@gmail.com!

You can confirm your account email through the link below

Confirm my account

ApiToken Exists (0.4ms) 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 'User' AND `api_tokens`.`tokenable_id` = x'73d7325c20ad44019b9a1e5aed708d2a' AND `api_tokens`.`tokenable_type` = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO `api_tokens` (`api_type`, `created_at`, `description`, `id`, `token`, `tokenable_id`, `tokenable_type`, `updated_at`) VALUES ('USER', '2013-01-10 12:13:22', 'User', x'9857d9020d64402392d86f5cb20e4648', 'b1bf3822c2e2eba1229a67717ef72a5e', x'73d7325c20ad44019b9a1e5aed708d2a', 'User', '2013-01-10 12:13:22') ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'73d7325c20ad44019b9a1e5aed708d2a' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `id`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2013-01-10 12:13:22', x'4189e089987948788dfa38c490919610', NULL, NULL, NULL, '2013-01-10 12:13:22')  (0.3ms) UPDATE `accounts` SET `created_at` = '2013-01-10 12:13:22', `updated_at` = '2013-01-10 12:13:22', `subdomain` = 'account4189e089-9879-4878-8dfa-38c490919610' WHERE `accounts`.`id` = x'4189e089987948788dfa38c490919610' Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'4189e089987948788dfa38c490919610' LIMIT 1 SQL (2.6ms) INSERT INTO `account_users` (`account_id`, `id`, `user_id`) VALUES (x'4189e089987948788dfa38c490919610', x'00e338c745ff4dec9fcf9721162d82d0', x'73d7325c20ad44019b9a1e5aed708d2a') AccountRole Exists (1.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'00e338c745ff4dec9fcf9721162d82d0') LIMIT 1 AccountUser Load (0.6ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'00e338c745ff4dec9fcf9721162d82d0' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'00e338c745ff4dec9fcf9721162d82d0', x'47a25349bc35410cb696625e148d9f8d', 'owner') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'00e338c745ff4dec9fcf9721162d82d0') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'00e338c745ff4dec9fcf9721162d82d0' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'00e338c745ff4dec9fcf9721162d82d0', x'95e30b6871a24f279c451c1f91aa8783', 'admin') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/welcome.html.haml (0.3ms) Sent mail to paezao@gmail.com (2571ms) Date: Thu, 10 Jan 2013 10:13:22 -0200 From: iugu Reply-To: iugu To: paezao@gmail.com Message-ID: <50eeb062e7e32_5e5d3fc3ba035ad0655c9@iMac-de-Marcelo.local.mail> Subject: Bem vindo! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Bem vindo a Dummy  (0.4ms) COMMIT Redirected to http://iugusdk.dev/ Completed 302 Found in 5776ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2013-01-10 10:13:25 -0200 Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (0.6ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:25 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:25 -0200 Served asset /application.css - 304 Not Modified (0ms) Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:25 -0200 Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:25 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /default.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:25 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/login" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Processing by Iugu::SessionsController#new as HTML Rendered iugu/shared/_responsive-dialog.header.html.haml (0.3ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/iugu-sdk (5.3ms) Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.0ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (0ms) Served asset /iugu-ux.css - 304 Not Modified (0ms) Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /vendor/jquery.js - 304 Not Modified (0ms) Served asset /iugu-sdk.css - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/iugu-ux-entry.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /iugu-ux/iugu-ux-entry.css - 304 Not Modified (0ms) Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /vendor/jquery.cookie.js - 304 Not Modified (0ms) Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (0ms) Served asset /vendor/jquery.ui.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (0ms) Served asset /vendor/jquery.base64.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (0ms) Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /vendor/underscore.js - 304 Not Modified (0ms) Served asset /vendor/backbone.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/vendor.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /vendor.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (0ms) Served asset /iugu-ux/capabilities.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (0ms) Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (0ms) Started GET "/assets/web-app/environment.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /web-app/environment.js - 304 Not Modified (0ms) Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (0ms) Started GET "/assets/web-app/config.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /web-app/config.js - 304 Not Modified (0ms) Served asset /web-app/comm.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /web-app/i18n-languages.js - 304 Not Modified (0ms) Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /web-app/sound.js - 304 Not Modified (0ms) Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /web-app/models.js - 304 Not Modified (0ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /web-app/usecode.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-main.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /iugu-ux/components/iugu-ux-main.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /iugu-ux/iugu-ux.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /web-app/presenters.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /iugu-ux.js - 304 Not Modified (0ms) Served asset /web-app/i18n.js - 304 Not Modified (0ms) Started GET "/assets/web-app/helpers.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /web-app/helpers.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/web-app.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /iugu-ux/web-app.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-components.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /iugu-ux/components/iugu-ux-components.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:13:54 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/login" for 127.0.0.1 at 2013-01-10 10:13:56 -0200 Processing by Iugu::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QRWUtwvKoqONaT8pdxQMZab0un/dWjw+LFRO/T4qFoc=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'paezao@gmail.com' LIMIT 1  (0.1ms) BEGIN  (0.3ms) UPDATE `users` SET `updated_at` = '2013-01-10 12:13:57' WHERE `users`.`id` = x'73d7325c20ad44019b9a1e5aed708d2a'  (0.3ms) COMMIT Completed 401 Unauthorized in 91ms Started GET "/login" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Processing by Iugu::SessionsController#new as HTML Rendered iugu/shared/_responsive-dialog.header.html.haml (0.3ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/sessions/new.html.haml within layouts/iugu-sdk (6.4ms) Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.0ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /iugu-ux.css - 304 Not Modified (0ms) Served asset /iugu-sdk.css - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/iugu-ux/iugu-ux-entry.css?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (0ms) Served asset /iugu-ux/iugu-ux-entry.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (0ms) Served asset /vendor/jquery.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (0ms) Served asset /vendor/jquery.cookie.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor/jquery.ui.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor/jquery.base64.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (0ms) Served asset /vendor/underscore.js - 304 Not Modified (0ms) Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor/backbone.js - 304 Not Modified (0ms) Started GET "/assets/vendor.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /vendor.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (0ms) Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /iugu-ux/capabilities.js - 304 Not Modified (0ms) Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (0ms) Started GET "/assets/web-app/environment.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/web-app/config.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /web-app/environment.js - 304 Not Modified (0ms) Served asset /web-app/config.js - 304 Not Modified (0ms) Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /web-app/comm.js - 304 Not Modified (0ms) Served asset /web-app/presenters.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /web-app/i18n-languages.js - 304 Not Modified (0ms) Served asset /web-app/i18n.js - 304 Not Modified (0ms) Started GET "/assets/web-app/helpers.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /web-app/helpers.js - 304 Not Modified (0ms) Served asset /web-app/sound.js - 304 Not Modified (0ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /web-app/usecode.js - 304 Not Modified (0ms) Served asset /web-app/models.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-main.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Started GET "/assets/iugu-ux/web-app.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /iugu-ux/components/iugu-ux-main.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/components/iugu-ux-components.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /iugu-ux/components/iugu-ux-components.js - 304 Not Modified (0ms) Served asset /iugu-ux/web-app.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /iugu-ux/iugu-ux.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /iugu-ux.js - 304 Not Modified (0ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:13:57 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Connecting to database specified by database.yml  (36.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (127.6ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (2.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateAccount (20120528164634)  (88.8ms) CREATE TABLE `accounts` (`id` binary(16) PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (115.7ms) CREATE INDEX `index_accounts_on_id` ON `accounts` (`id`)  (2.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120528164634') Migrating to AddDeviseToUsers (20120529134109)  (288.8ms) CREATE TABLE `users` (`id` binary(16) 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  (115.8ms) CREATE INDEX `index_users_on_id` ON `users` (`id`)  (60.2ms) CREATE UNIQUE INDEX `index_users_on_email` ON `users` (`email`)  (96.5ms) CREATE UNIQUE INDEX `index_users_on_reset_password_token` ON `users` (`reset_password_token`)  (78.3ms) CREATE UNIQUE INDEX `index_users_on_confirmation_token` ON `users` (`confirmation_token`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529134109') Migrating to AddBirthdateAndNameToUser (20120529162901)  (84.0ms) ALTER TABLE `users` ADD `birthdate` date  (100.1ms) ALTER TABLE `users` ADD `name` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529162901') Migrating to AddNameAndSubscriptionIdAndUserIdToAccount (20120529174755)  (97.2ms) ALTER TABLE `accounts` ADD `name` varchar(255)  (85.2ms) ALTER TABLE `accounts` ADD `subscription_id` int(11)  (97.3ms) ALTER TABLE `accounts` ADD `user_id` blob(16)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529174755') Migrating to CreateAccountUsers (20120529180814)  (71.4ms) CREATE TABLE `account_users` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `user_id` binary(16)) ENGINE=InnoDB  (76.1ms) CREATE INDEX `index_account_users_on_id` ON `account_users` (`id`)  (15.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120529180814') Migrating to RemoveUserIdFromAccounts (20120530114709)  (99.9ms) ALTER TABLE `accounts` DROP `user_id`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120530114709') Migrating to CreateAccountRoles (20120531171438)  (105.9ms) CREATE TABLE `account_roles` (`id` binary(16) PRIMARY KEY, `name` varchar(255), `account_user_id` binary(16)) ENGINE=InnoDB  (86.1ms) CREATE INDEX `index_account_roles_on_id` ON `account_roles` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120531171438') Migrating to AddLocaleToUser (20120604131034)  (111.1ms) ALTER TABLE `users` ADD `locale` varchar(255)  (15.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120604131034') Migrating to CreateSocialAccount (20120605142527)  (93.6ms) CREATE TABLE `social_accounts` (`id` binary(16) PRIMARY KEY, `social_id` varchar(255), `user_id` binary(16), `provider` varchar(255), `token` varchar(255), `secret` varchar(255)) ENGINE=InnoDB  (96.2ms) CREATE INDEX `index_social_accounts_on_id` ON `social_accounts` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120605142527') Migrating to SetLocale (20120612141130) SQL (0.2ms) UPDATE `users` SET locale = 'en' WHERE `users`.`locale` IS NULL  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120612141130') Migrating to RemoveUniqueFromUserEmail (20120613173114)  (74.7ms) DROP INDEX `index_users_on_email` ON `users`  (108.3ms) CREATE INDEX `index_users_on_email` ON `users` (`email`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120613173114') Migrating to CreateDelayedJobs (20120615180728)  (79.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  (145.4ms) CREATE INDEX `delayed_jobs_priority` ON `delayed_jobs` (`priority`, `run_at`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120615180728') Migrating to CreateUserInvitations (20120629154429)  (203.0ms) CREATE TABLE `user_invitations` (`id` binary(16) PRIMARY KEY, `invited_by` binary(16), `email` varchar(255), `sent_at` datetime, `account_id` binary(16)) ENGINE=InnoDB  (202.5ms) CREATE INDEX `index_user_invitations_on_id` ON `user_invitations` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629154429') Migrating to AddTokenToUserInvitations (20120629195345)  (85.5ms) ALTER TABLE `user_invitations` ADD `token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120629195345') Migrating to AddRolesToUserInvitations (20120705202827)  (113.8ms) ALTER TABLE `user_invitations` ADD `roles` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120705202827') Migrating to CreateAccountDomain (20120716145846)  (69.7ms) CREATE TABLE `account_domains` (`id` binary(16) PRIMARY KEY, `account_id` binary(16), `url` varchar(255), `verified` tinyint(1), `primary` tinyint(1)) ENGINE=InnoDB  (88.2ms) CREATE INDEX `index_account_domains_on_id` ON `account_domains` (`id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120716145846') Migrating to AddSubdomainToAccount (20120719162426)  (81.7ms) ALTER TABLE `accounts` ADD `subdomain` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120719162426') Migrating to AddApiTokenToAccount (20120725170859)  (111.9ms) ALTER TABLE `accounts` ADD `api_token` varchar(255)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120725170859') Migrating to AddGuestToUsers (20120803172545)  (106.4ms) ALTER TABLE `users` ADD `guest` tinyint(1)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120803172545') Migrating to CreateApiToken (20121023113304)  (72.5ms) CREATE TABLE `api_tokens` (`id` binary(16) PRIMARY KEY, `token` varchar(255), `description` varchar(255), `api_type` varchar(255), `tokenable_id` binary(16), `tokenable_type` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (84.9ms) CREATE INDEX `index_api_tokens_on_id` ON `api_tokens` (`id`)  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121023113304') Migrating to RemoveApiTokenFromAccount (20121108115535)  (95.7ms) ALTER TABLE `accounts` DROP `api_token`  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121108115535')  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for undefined at 2013-01-10 10:17:20 -0200 Started GET "/" for 127.0.0.1 at 2013-01-10 10:17:20 -0200 Processing by DashboardController#index as HTML Processing by DashboardController#index as HTML Rendered dashboard/splash.html.haml within layouts/application (2.0ms) Rendered dashboard/splash.html.haml within layouts/application (2.2ms) Completed 200 OK in 29ms (Views: 28.1ms | ActiveRecord: 0.0ms) Completed 200 OK in 59ms (Views: 58.2ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:20 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:20 -0200 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2013-01-10 10:17:20 -0200 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 10:17:20 -0200 Served asset /default.css - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:20 -0200 Served asset /application.css - 304 Not Modified (2ms) Served asset /application.js - 304 Not Modified (3ms) Started GET "/signup" for 127.0.0.1 at 2013-01-10 10:17:37 -0200 Processing by Iugu::RegistrationsController#new as HTML Rendered iugu/shared/_responsive-dialog.header.html.haml (1.4ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.html.haml (0.5ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/iugu-sdk (2142.6ms) Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/iugu-ux-entry.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/reset.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/core.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/variables.sassc: can't dump anonymous class # WARNING on line 16 of /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/iugu-ux-0.8.7/vendor/assets/stylesheets/iugu-ux/mixins.sass: This selector doesn't have any properties and will not be rendered. WARNING on line 17 of /Users/nkr/.rvm/gems/ruby-1.9.3-p327/gems/iugu-ux-0.8.7/vendor/assets/stylesheets/iugu-ux/mixins.sass: This selector doesn't have any properties and will not be rendered. Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/mixins.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/adaptative-mixins.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/sprite-mixins.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/utilities.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/typography.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/components.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/no-js.sassc: can't dump anonymous class # Warning. Error encountered while saving cache /Users/nkr/Projetos/Iugu/iugusdk/spec/dummy/tmp/cache/sass/039606265012c09cd2e7d071f6c551b1869c770d/iux-sprites.sassc: can't dump anonymous class # Compiled iugu-ux/iugu-ux-entry.css (2633ms) (pid 29657) Compiled iugu-ux/google-code-prettify/prettify.css (0ms) (pid 29657) Compiled iugu-ux.css (2692ms) (pid 29657) Compiled vendor/jquery.js (1ms) (pid 29657) Compiled vendor/jquery.web-storage.js (0ms) (pid 29657) Compiled vendor/jquery.cookie.js (0ms) (pid 29657) Compiled vendor/jquery.checkboxes.js (0ms) (pid 29657) Compiled vendor/jquery.ui.js (2ms) (pid 29657) Compiled vendor/jquery.ui.touch-punch.js (0ms) (pid 29657) Compiled vendor/jquery.base64.js (0ms) (pid 29657) Compiled vendor/mobiscroll.core-2.3.1.js (0ms) (pid 29657) Compiled vendor/mobiscroll.datetime-2.3.js (0ms) (pid 29657) Compiled vendor/mobiscroll.select-2.3.1.js (0ms) (pid 29657) Compiled vendor/underscore.js (0ms) (pid 29657) Compiled vendor/backbone.js (0ms) (pid 29657) Compiled vendor/backbone.validation.js (0ms) (pid 29657) Compiled vendor/backbone.paginator.js (0ms) (pid 29657) Compiled vendor/rivets.js (0ms) (pid 29657) Compiled vendor/async.js (0ms) (pid 29657) Compiled vendor/tasks.js (128ms) (pid 29657) Compiled vendor.js (521ms) (pid 29657) Compiled iugu-ux/google-code-prettify/prettify.js (0ms) (pid 29657) Compiled iugu-ux/twitter-bootstrap/notice.js (0ms) (pid 29657) Compiled iugu-ux/twitter-bootstrap/bootstrap.js (8ms) (pid 29657) Compiled iugu-ux/capabilities.js (0ms) (pid 29657) Compiled iugu-ux/enable-prettify.js (0ms) (pid 29657) Compiled web-app/environment.js (60ms) (pid 29657) Compiled web-app/config.js (1ms) (pid 29657) Compiled web-app/comm.js (94ms) (pid 29657) Compiled web-app/i18n-languages.js (0ms) (pid 29657) Compiled web-app/i18n.js (79ms) (pid 29657) Compiled web-app/sound.js (140ms) (pid 29657) Compiled web-app/helpers.js (104ms) (pid 29657) Compiled iugu-ux/iugu-ui-helpers.js (132ms) (pid 29657) Compiled iugu-ux/components/base_resource.js (68ms) (pid 29657) Compiled iugu-ux/components/base_resources.js (82ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-base.js (138ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-view.js (97ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-alert.js (121ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-dataset-record.js (62ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-dataset.js (58ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-navigator.js (109ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-paginator.js (79ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-responsive-box.js (106ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-scrollable-container.js (59ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-search-filter.js (76ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-search-range.js (58ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-search.js (55ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-table-row.js (63ms) (pid 29657) Compiled iugu-ux/components/presenters/iugu-ui-table.js (74ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-alert.js (65ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-dataset-record.js (67ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-dataset.js (72ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-navigator.js (73ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-paginator.js (125ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-responsive-box.js (93ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-scrollable-content.js (61ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-search-filter.js (125ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-search-range.js (72ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-search.js (72ms) (pid 29657) Compiled iugu-ux/components/usecode/iugu-ui-table.js (117ms) (pid 29657) Compiled iugu-ux/components/iugu-ux-main.js (85ms) (pid 29657) Compiled iugu-ux/components/iugu-ux-components.js (2738ms) (pid 29657) Compiled web-app/models.js (0ms) (pid 29657) Compiled web-app/presenters.js (0ms) (pid 29657) Compiled web-app/usecode.js (0ms) (pid 29657) Compiled iugu-ux/web-app.js (3515ms) (pid 29657) Compiled iugu-ux/iugu-ux.js (3619ms) (pid 29657) Compiled iugu-ux.js (3638ms) (pid 29657) Completed 200 OK in 9439ms (Views: 9418.5ms | ActiveRecord: 2.2ms) Started GET "/assets/vendor/backbone.paginator.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/backbone.paginator.js - 200 OK (34ms) Started GET "/assets/vendor/rivets.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/vendor/backbone.validation.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/backbone.validation.js - 200 OK (1ms) Served asset /vendor/rivets.js - 200 OK (2ms) Started GET "/assets/vendor/async.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/vendor/tasks.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/async.js - 200 OK (1ms) Served asset /vendor/tasks.js - 200 OK (2ms) Started GET "/assets/iugu-ux/iugu-ui-helpers.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/base_resource.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/base_resource.js - 200 OK (1ms) Served asset /iugu-ux/iugu-ui-helpers.js - 200 OK (2ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-base.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/base_resources.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-base.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/presenters/iugu-ui-alert.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/base_resources.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-view.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/presenters/iugu-ui-alert.js - 200 OK (1ms) Served asset /iugu-ux/components/usecode/iugu-ui-view.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/presenters/iugu-ui-dataset-record.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/presenters/iugu-ui-dataset-record.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/presenters/iugu-ui-dataset.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/presenters/iugu-ui-scrollable-container.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/presenters/iugu-ui-dataset.js - 200 OK (1ms) Served asset /iugu-ux/components/presenters/iugu-ui-scrollable-container.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/presenters/iugu-ui-paginator.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/presenters/iugu-ui-responsive-box.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/presenters/iugu-ui-paginator.js - 200 OK (1ms) Served asset /iugu-ux/components/presenters/iugu-ui-responsive-box.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/presenters/iugu-ui-navigator.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/presenters/iugu-ui-search-filter.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/presenters/iugu-ui-search-filter.js - 200 OK (1ms) Served asset /iugu-ux/components/presenters/iugu-ui-navigator.js - 200 OK (2ms) Started GET "/assets/iugu-ux/components/presenters/iugu-ui-search.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/presenters/iugu-ui-search-range.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/presenters/iugu-ui-search.js - 200 OK (1ms) Served asset /iugu-ux/components/presenters/iugu-ui-search-range.js - 200 OK (2ms) Started GET "/assets/iugu-ux/components/presenters/iugu-ui-table-row.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/presenters/iugu-ui-table.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/presenters/iugu-ui-table-row.js - 200 OK (1ms) Served asset /iugu-ux/components/presenters/iugu-ui-table.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-dataset-record.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/usecode/iugu-ui-alert.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-dataset-record.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-navigator.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-alert.js - 200 OK (2ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-dataset.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-navigator.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-responsive-box.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-dataset.js - 200 OK (2ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-paginator.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-responsive-box.js - 200 OK (1ms) Served asset /iugu-ux/components/usecode/iugu-ui-paginator.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-search-filter.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/usecode/iugu-ui-scrollable-content.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-search-filter.js - 200 OK (1ms) Served asset /iugu-ux/components/usecode/iugu-ui-scrollable-content.js - 200 OK (1ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-search.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-ux/components/usecode/iugu-ui-search-range.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-search.js - 200 OK (1ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-search-range.js - 200 OK (2ms) Started GET "/assets/iugu-ux/components/usecode/iugu-ui-table.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/components/usecode/iugu-ui-table.js - 200 OK (1ms) Started GET "/assets/iugu-ux/iugu-ux-entry.css?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux.css - 304 Not Modified (6ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/iugu-ux-entry.css - 200 OK (3ms) Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (2ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/jquery.js - 304 Not Modified (2ms) Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-sdk.css - 304 Not Modified (3ms) Served asset /vendor/jquery.cookie.js - 304 Not Modified (1ms) Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (1ms) Served asset /vendor/jquery.ui.js - 304 Not Modified (3ms) Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (1ms) Served asset /vendor/jquery.base64.js - 304 Not Modified (2ms) Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (4ms) Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (1ms) Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/underscore.js - 304 Not Modified (1ms) Started GET "/assets/vendor.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (2ms) Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (2ms) Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /vendor/backbone.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/capabilities.js - 304 Not Modified (1ms) Started GET "/assets/web-app/environment.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /web-app/environment.js - 200 OK (2ms) Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /web-app/comm.js - 304 Not Modified (1ms) Served asset /vendor.js - 200 OK (72ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (2ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (1ms) Started GET "/assets/web-app/config.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /web-app/config.js - 200 OK (1ms) Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /web-app/sound.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux/components/iugu-ux-main.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:47 -0200 Served asset /web-app/i18n-languages.js - 304 Not Modified (44ms) Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Served asset /iugu-ux/components/iugu-ux-main.js - 200 OK (1ms) Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Served asset /web-app/i18n.js - 304 Not Modified (1ms) Started GET "/assets/web-app/helpers.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Served asset /web-app/models.js - 304 Not Modified (3ms) Served asset /web-app/helpers.js - 200 OK (2ms) Started GET "/assets/iugu-ux/components/iugu-ux-components.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Served asset /web-app/presenters.js - 304 Not Modified (1ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Served asset /web-app/usecode.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Served asset /iugu-ux/components/iugu-ux-components.js - 200 OK (27ms) Started GET "/assets/iugu-ux/web-app.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Served asset /iugu-ux.js - 304 Not Modified (53ms) Served asset /iugu-ux/web-app.js - 200 OK (38ms) Started GET "/assets/iugu-ux/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Served asset /iugu-ux/iugu-ux.js - 200 OK (41ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:17:48 -0200 Served asset /application_logo.png - 304 Not Modified (1ms) Started POST "/signup" for 127.0.0.1 at 2013-01-10 10:17:52 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QRWUtwvKoqONaT8pdxQMZab0un/dWjw+LFRO/T4qFoc=", "user"=>{"email"=>"marcelo@iugu.com.br", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.1ms) BEGIN User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'marcelo@iugu.com.br' LIMIT 1  (8.1ms) ROLLBACK Rendered iugu/shared/_responsive-dialog.header.html.haml (0.3ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.html.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/iugu-sdk (13.6ms) Completed 200 OK in 297ms (Views: 38.1ms | ActiveRecord: 0.0ms) Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /iugu-ux.css - 304 Not Modified (0ms) Served asset /vendor/jquery.cookie.js - 304 Not Modified (1ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/jquery.js - 304 Not Modified (0ms) Served asset /vendor/jquery.web-storage.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (0ms) Served asset /iugu-sdk.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (3ms) Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/jquery.base64.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (0ms) Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/underscore.js - 304 Not Modified (0ms) Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/jquery.ui.js - 304 Not Modified (44ms) Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /vendor/backbone.js - 304 Not Modified (49ms) Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /iugu-ux/capabilities.js - 304 Not Modified (0ms) Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (0ms) Served asset /web-app/comm.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /web-app/i18n-languages.js - 304 Not Modified (0ms) Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /web-app/i18n.js - 304 Not Modified (1ms) Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /web-app/models.js - 304 Not Modified (1ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /web-app/sound.js - 304 Not Modified (0ms) Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /web-app/usecode.js - 304 Not Modified (1ms) Served asset /web-app/presenters.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /iugu-ux.js - 304 Not Modified (1ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:17:53 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/signup" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QRWUtwvKoqONaT8pdxQMZab0un/dWjw+LFRO/T4qFoc=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.1ms) BEGIN User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1  (0.1ms) ROLLBACK Rendered iugu/shared/_responsive-dialog.header.html.haml (0.2ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_signup_fields.html.haml (0.1ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/registrations/new.html.haml within layouts/iugu-sdk (6.5ms) Completed 200 OK in 38ms (Views: 30.2ms | ActiveRecord: 0.0ms) Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (1ms) Served asset /vendor/jquery.js - 304 Not Modified (2ms) Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /iugu-sdk.css - 304 Not Modified (0ms) Served asset /iugu-ux.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /vendor/jquery.cookie.js - 304 Not Modified (0ms) Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (2ms) Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /vendor/jquery.ui.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (0ms) Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (2ms) Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /vendor/jquery.base64.js - 304 Not Modified (1ms) Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (0ms) Served asset /vendor/underscore.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (0ms) Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /vendor/backbone.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (2ms) Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /iugu-ux/capabilities.js - 304 Not Modified (2ms) Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (3ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /web-app/comm.js - 304 Not Modified (2ms) Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (1ms) Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /web-app/i18n.js - 304 Not Modified (0ms) Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /web-app/i18n-languages.js - 304 Not Modified (0ms) Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /web-app/models.js - 304 Not Modified (0ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /web-app/sound.js - 304 Not Modified (1ms) Served asset /web-app/usecode.js - 304 Not Modified (0ms) Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /web-app/presenters.js - 304 Not Modified (1ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /iugu-ux.js - 304 Not Modified (81ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:18:03 -0200 Served asset /application_logo.png - 304 Not Modified (0ms) Started POST "/signup" for 127.0.0.1 at 2013-01-10 10:18:07 -0200 Processing by Iugu::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QRWUtwvKoqONaT8pdxQMZab0un/dWjw+LFRO/T4qFoc=", "user"=>{"email"=>"paezao@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "locale"=>"en"}, "commit"=>"Sign up"}  (0.1ms) BEGIN User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'paezao@gmail.com' LIMIT 1 User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'Dwk43cxNVv36g9DiBWuw' LIMIT 1 SQL (0.2ms) INSERT INTO `users` (`birthdate`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `email`, `encrypted_password`, `guest`, `id`, `locale`, `name`, `remember_created_at`, `reset_password_sent_at`, `reset_password_token`, `unconfirmed_email`, `updated_at`) VALUES (NULL, '2013-01-10 12:18:07', 'Dwk43cxNVv36g9DiBWuw', '2013-01-10 12:18:07', '2013-01-10 12:18:07', 'paezao@gmail.com', '$2a$10$16qBZ6.6pYuuYfsM04vQZuAl.CIVK2XyVXJoko4lh1mnbTbTXF2Am', NULL, x'bca69f07b4bd41c4a961af0e41230a1f', 'en', NULL, NULL, NULL, NULL, NULL, '2013-01-10 12:18:07') 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 'User' AND `api_tokens`.`tokenable_id` = x'bca69f07b4bd41c4a961af0e41230a1f' AND `api_tokens`.`tokenable_type` = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO `api_tokens` (`api_type`, `created_at`, `description`, `id`, `token`, `tokenable_id`, `tokenable_type`, `updated_at`) VALUES ('USER', '2013-01-10 12:18:07', 'User', x'c7cbce6d7d5d4be5b7b95766c4a2a730', 'a1eab4b0cd0d6dc34af6714ae6801275', x'bca69f07b4bd41c4a961af0e41230a1f', 'User', '2013-01-10 12:18:07') ApiToken Load (0.6ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'bca69f07b4bd41c4a961af0e41230a1f' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `id`, `name`, `subdomain`, `subscription_id`, `updated_at`) VALUES ('2013-01-10 12:18:07', x'1d5bc437ad8e427d9251788800f45ee3', NULL, NULL, NULL, '2013-01-10 12:18:07')  (0.2ms) UPDATE `accounts` SET `created_at` = '2013-01-10 12:18:07', `updated_at` = '2013-01-10 12:18:07', `subdomain` = 'account1d5bc437-ad8e-427d-9251-788800f45ee3' WHERE `accounts`.`id` = x'1d5bc437ad8e427d9251788800f45ee3' Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = x'1d5bc437ad8e427d9251788800f45ee3' LIMIT 1 SQL (0.2ms) INSERT INTO `account_users` (`account_id`, `id`, `user_id`) VALUES (x'1d5bc437ad8e427d9251788800f45ee3', x'ec24050c85824687b537090f4d95830b', x'bca69f07b4bd41c4a961af0e41230a1f') AccountRole Exists (0.2ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'owner' AND `account_roles`.`account_user_id` = x'ec24050c85824687b537090f4d95830b') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'ec24050c85824687b537090f4d95830b' LIMIT 1 SQL (0.2ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'ec24050c85824687b537090f4d95830b', x'2d717d70b5d144acaf0be80381d3ae76', 'owner') AccountRole Exists (0.3ms) SELECT 1 AS one FROM `account_roles` WHERE (`account_roles`.`name` = BINARY 'admin' AND `account_roles`.`account_user_id` = x'ec24050c85824687b537090f4d95830b') LIMIT 1 AccountUser Load (0.2ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`id` = x'ec24050c85824687b537090f4d95830b' LIMIT 1 SQL (0.1ms) INSERT INTO `account_roles` (`account_user_id`, `id`, `name`) VALUES (x'ec24050c85824687b537090f4d95830b', x'967ad7bad2964a4499ba34f1a97f9663', 'admin') Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/mailer/welcome.html.haml (0.9ms) Sent mail to paezao@gmail.com (3262ms) Date: Thu, 10 Jan 2013 10:18:08 -0200 From: iugu Reply-To: iugu To: paezao@gmail.com Message-ID: <50eeb18046526_73d93fe035c35adc92567@iMac-de-Marcelo.local.mail> Subject: Bem vindo! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Bem vindo a Dummy  (0.5ms) COMMIT Redirected to http://iugusdk.dev/ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = x'bca69f07b4bd41c4a961af0e41230a1f' AND (accounts.id = '82b5699c-48d2-43da-a59a-c8cc92169beb') 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` = x'bca69f07b4bd41c4a961af0e41230a1f' LIMIT 1 Completed 302 Found in 3769ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2013-01-10 10:18:11 -0200 Processing by DashboardController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'bca69f07b4bd41c4a961af0e41230a1f' LIMIT 1 Rendered dashboard/index.html.haml within layouts/application (1.0ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/assets/default.css?body=1" for 127.0.0.1 at 2013-01-10 10:18:11 -0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:11 -0200 Served asset /default.css - 304 Not Modified (1ms) Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:11 -0200 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 10:18:11 -0200 Served asset /application.css - 304 Not Modified (2ms) Served asset /application.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:11 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/settings" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Processing by Iugu::SettingsController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'bca69f07b4bd41c4a961af0e41230a1f' LIMIT 1 Redirected to http://iugusdk.dev/settings/profile Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/settings/profile" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Processing by Iugu::ProfileController#index as HTML User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = x'bca69f07b4bd41c4a961af0e41230a1f' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (2.8ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (0.2ms) Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (3.1ms) SocialAccount Load (0.3ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'bca69f07b4bd41c4a961af0e41230a1f' AND `social_accounts`.`provider` = 'facebook' LIMIT 1 SocialAccount Load (0.2ms) SELECT `social_accounts`.* FROM `social_accounts` WHERE `social_accounts`.`user_id` = x'bca69f07b4bd41c4a961af0e41230a1f' AND `social_accounts`.`provider` = 'twitter' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (0.1ms) ApiToken Load (0.2ms) SELECT `api_tokens`.* FROM `api_tokens` WHERE `api_tokens`.`tokenable_id` = x'bca69f07b4bd41c4a961af0e41230a1f' AND `api_tokens`.`tokenable_type` = 'User' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/shared/_notices.html.haml (0.1ms) Delayed::Backend::ActiveRecord::Job Load (0.2ms) SELECT `delayed_jobs`.* FROM `delayed_jobs` WHERE `delayed_jobs`.`queue` = 'user_bca69f07-b4bd-41c4-a961-af0e41230a1f_destroy' LIMIT 1 Rendered /Users/nkr/Projetos/Iugu/iugusdk/app/views/iugu/settings/profile.html.haml within layouts/settings (51.0ms) Completed 200 OK in 89ms (Views: 71.1ms | ActiveRecord: 16.4ms) Started GET "/assets/vendor/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/iugu-ux/google-code-prettify/prettify.css?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /iugu-ux/google-code-prettify/prettify.css - 304 Not Modified (0ms) Served asset /vendor/jquery.js - 304 Not Modified (0ms) Started GET "/assets/iugu-sdk.css?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/iugu-ux.css?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /iugu-sdk.css - 304 Not Modified (0ms) Served asset /iugu-ux.css - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.cookie.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/vendor/jquery.web-storage.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /vendor/jquery.web-storage.js - 304 Not Modified (0ms) Served asset /vendor/jquery.cookie.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.ui.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/vendor/jquery.checkboxes.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /vendor/jquery.ui.js - 304 Not Modified (0ms) Served asset /vendor/jquery.checkboxes.js - 304 Not Modified (0ms) Started GET "/assets/vendor/jquery.base64.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/vendor/jquery.ui.touch-punch.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /vendor/jquery.base64.js - 304 Not Modified (0ms) Served asset /vendor/jquery.ui.touch-punch.js - 304 Not Modified (0ms) Started GET "/assets/vendor/mobiscroll.datetime-2.3.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/vendor/mobiscroll.core-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /vendor/mobiscroll.core-2.3.1.js - 304 Not Modified (0ms) Served asset /vendor/mobiscroll.datetime-2.3.js - 304 Not Modified (0ms) Started GET "/assets/vendor/underscore.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/vendor/mobiscroll.select-2.3.1.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /vendor/underscore.js - 304 Not Modified (0ms) Served asset /vendor/mobiscroll.select-2.3.1.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/vendor/backbone.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Served asset /vendor/backbone.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/google-code-prettify/prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/iugu-ux/twitter-bootstrap/notice.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /iugu-ux/twitter-bootstrap/notice.js - 304 Not Modified (0ms) Served asset /iugu-ux/google-code-prettify/prettify.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/capabilities.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/iugu-ux/twitter-bootstrap/bootstrap.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /iugu-ux/capabilities.js - 304 Not Modified (0ms) Served asset /iugu-ux/twitter-bootstrap/bootstrap.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux/enable-prettify.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/web-app/comm.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /web-app/comm.js - 304 Not Modified (0ms) Served asset /iugu-ux/enable-prettify.js - 304 Not Modified (0ms) Started GET "/assets/web-app/i18n.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/web-app/i18n-languages.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /web-app/i18n.js - 304 Not Modified (0ms) Served asset /web-app/i18n-languages.js - 304 Not Modified (0ms) Started GET "/assets/web-app/sound.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/web-app/models.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /web-app/sound.js - 304 Not Modified (0ms) Served asset /web-app/models.js - 304 Not Modified (0ms) Started GET "/assets/web-app/usecode.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Started GET "/assets/web-app/presenters.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /web-app/usecode.js - 304 Not Modified (0ms) Served asset /web-app/presenters.js - 304 Not Modified (0ms) Started GET "/assets/iugu-ux.js?body=1" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /iugu-ux.js - 304 Not Modified (1ms) Started GET "/assets/application_logo.png" for 127.0.0.1 at 2013-01-10 10:18:19 -0200 Served asset /application_logo.png - 304 Not Modified (0ms)