# Logfile created on Tue Jun 15 14:42:51 +0300 2010ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq ActiveMessaging: adapter reliable_msg not loaded: no such file to load -- reliable-msg ActiveMessaging: Loading /home/maanpelt/yousource/gitorious/app/processors/application.rb ** [localized_dates] localized_dates plugin loaded. ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/pt-BR.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/es.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.yml ** [localized_dates] locales loaded from config/locales. SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 ** ultrasphinx: configuration file not found for "test" environment ** ultrasphinx: please run 'rake ultrasphinx:configure' ** ultrasphinx: spelling support not available (raspell configuration raised "uninitialized constant Ultrasphinx::Spell::Aspell") MergeRequest Columns (0.0ms) Mysql::Error: Table 'gitorious_test2.merge_requests' doesn't exist: SHOW FIELDS FROM `merge_requests` ** ultrasphinx: warning: model MergeRequest does not exist in the database yet Comment Columns (0.0ms) Mysql::Error: Table 'gitorious_test2.comments' doesn't exist: SHOW FIELDS FROM `comments` ** ultrasphinx: warning: model Comment does not exist in the database yet Project Columns (0.0ms) Mysql::Error: Table 'gitorious_test2.projects' doesn't exist: SHOW FIELDS FROM `projects` ** ultrasphinx: warning: model Project does not exist in the database yet Repository Columns (0.0ms) Mysql::Error: Table 'gitorious_test2.repositories' doesn't exist: SHOW FIELDS FROM `repositories` ** ultrasphinx: warning: model Repository does not exist in the database yet User Columns (0.0ms) Mysql::Error: Table 'gitorious_test2.users' doesn't exist: SHOW FIELDS FROM `users` SQL (0.3ms) SHOW TABLES SQL (18.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB SQL (11.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) SQL (0.2ms) SHOW TABLES SQL (0.3ms) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.3ms) SHOW TABLES SQL (2.6ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `login` varchar(255), `email` varchar(255), `crypted_password` varchar(40), `salt` varchar(40), `created_at` datetime, `updated_at` datetime, `remember_token` varchar(255), `remember_token_expires_at` datetime, `activation_code` varchar(40), `activated_at` datetime) ENGINE=InnoDB SQL (6.0ms) CREATE INDEX `index_users_on_login` ON `users` (`login`) SQL (5.0ms) CREATE INDEX `index_users_on_email` ON `users` (`email`) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateProjects (2) SQL (2.9ms) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `description` text, `user_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (10.1ms) CREATE INDEX `index_projects_on_name` ON `projects` (`name`) SQL (8.0ms) CREATE INDEX `index_projects_on_user_id` ON `projects` (`user_id`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to RenameProjectNameToTitle (3) SQL (0.6ms) SHOW FIELDS FROM `projects` SQL (0.3ms) SHOW COLUMNS FROM `projects` LIKE 'name' SQL (6.9ms) ALTER TABLE `projects` CHANGE `name` `title` varchar(255) DEFAULT NULL SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('3') Migrating to CreateRepositories (4) SQL (1.9ms) CREATE TABLE `repositories` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `project_id` int(11), `user_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (4.0ms) CREATE INDEX `index_repositories_on_name` ON `repositories` (`name`) SQL (6.7ms) CREATE INDEX `index_repositories_on_project_id` ON `repositories` (`project_id`) SQL (6.7ms) CREATE INDEX `index_repositories_on_user_id` ON `repositories` (`user_id`) SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('4') Migrating to AddSshKeyToUsers (5) SQL (4.4ms) ALTER TABLE `users` ADD `ssh_key` text SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('5') Migrating to AddSlugToProjects (6) SQL (4.0ms) ALTER TABLE `projects` ADD `slug` varchar(255) SQL (19.6ms) CREATE UNIQUE INDEX `index_projects_on_slug` ON `projects` (`slug`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('6') Migrating to AddMainlineToProjects (7) SQL (4.2ms) ALTER TABLE `repositories` ADD `mainline` tinyint(1) DEFAULT 0 SQL (5.0ms) ALTER TABLE `repositories` ADD `parent_id` int(11) SQL (13.1ms) CREATE INDEX `index_repositories_on_parent_id` ON `repositories` (`parent_id`) SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('7') Migrating to CreatePermissions (8) SQL (2.1ms) CREATE TABLE `permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `repository_id` int(11), `kind` int(11) DEFAULT 2, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (3.7ms) CREATE INDEX `index_permissions_on_user_id` ON `permissions` (`user_id`) SQL (5.3ms) CREATE INDEX `index_permissions_on_repository_id` ON `permissions` (`repository_id`) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('8') Migrating to AddMoreInfoToProjects (9) SQL (13.6ms) ALTER TABLE `projects` ADD `license` varchar(255) SQL (4.1ms) ALTER TABLE `projects` ADD `home_url` varchar(255) SQL (4.3ms) ALTER TABLE `projects` ADD `mailinglist_url` varchar(255) SQL (9.2ms) ALTER TABLE `projects` ADD `bugtracker_url` varchar(255) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('9') Migrating to CreateSshKeys (10) SQL (3.4ms) CREATE TABLE `ssh_keys` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `key` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (3.8ms) ALTER TABLE `users` DROP `ssh_key` SQL (5.4ms) ALTER TABLE `users` ADD `ssh_key_id` int(11) SQL (7.2ms) CREATE INDEX `index_ssh_keys_on_user_id` ON `ssh_keys` (`user_id`) SQL (4.5ms) CREATE INDEX `index_users_on_ssh_key_id` ON `users` (`ssh_key_id`) SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('10') Migrating to AddReadyStatusToRepositories (11) SQL (4.2ms) ALTER TABLE `repositories` ADD `ready` tinyint(1) DEFAULT 0 SQL (14.8ms) CREATE INDEX `index_repositories_on_ready` ON `repositories` (`ready`) SQL (0.8ms) INSERT INTO schema_migrations (version) VALUES ('11') Migrating to ActsAsTaggableMigration (12) SQL (3.3ms) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB SQL (4.0ms) CREATE UNIQUE INDEX `index_tags_on_name` ON `tags` (`name`) SQL (2.9ms) CREATE TABLE `taggings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `tag_id` int(11), `taggable_id` int(11), `taggable_type` varchar(255), `created_at` datetime) ENGINE=InnoDB SQL (3.3ms) CREATE INDEX `index_taggings_on_tag_id` ON `taggings` (`tag_id`) SQL (3.6ms) CREATE INDEX `index_taggings_on_taggable_id_and_taggable_type` ON `taggings` (`taggable_id`, `taggable_type`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('12') Migrating to AddFullnameToUsers (13) SQL (18.6ms) ALTER TABLE `users` ADD `fullname` varchar(255) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('13') Migrating to RenamePermissionsToCommitterships (14) SQL (1.6ms) RENAME TABLE `permissions` TO `committerships` SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('14') Migrating to AddReadyToSshKey (15) SQL (3.6ms) ALTER TABLE `ssh_keys` ADD `ready` tinyint(1) DEFAULT 0 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('15') Migrating to CreateTasks (16) SQL (2.1ms) CREATE TABLE `tasks` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `target_class` varchar(255), `command` varchar(255), `arguments` text, `performed` tinyint(1) DEFAULT 0, `performed_at` datetime, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (3.9ms) CREATE INDEX `index_tasks_on_performed` ON `tasks` (`performed`) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('16') Migrating to AddTargetIdToTasks (17) SQL (4.5ms) ALTER TABLE `tasks` ADD `target_id` int(11) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('17') Migrating to AddUrlToUsers (18) SQL (11.9ms) ALTER TABLE `users` ADD `url` text SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('18') Migrating to CreateComments (19) SQL (1.7ms) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) NOT NULL, `repository_id` int(11) NOT NULL, `sha1` varchar(255), `body` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (5.2ms) CREATE INDEX `index_comments_on_user_id` ON `comments` (`user_id`) SQL (4.6ms) CREATE INDEX `index_comments_on_repository_id` ON `comments` (`repository_id`) SQL (4.8ms) CREATE INDEX `index_comments_on_sha1` ON `comments` (`sha1`) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('19') Migrating to AddProjectIdToComments (20) SQL (12.9ms) ALTER TABLE `comments` ADD `project_id` int(11) SQL (8.2ms) CREATE INDEX `index_comments_on_project_id` ON `comments` (`project_id`) Comment Load (0.2ms) SELECT * FROM `comments`  SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20') Migrating to CreateMergeRequests (21) SQL (2.6ms) CREATE TABLE `merge_requests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `source_repository_id` int(11), `target_repository_id` int(11), `proposal` text, `sha_snapshot` varchar(255), `status` int(11) DEFAULT 0, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (3.5ms) CREATE INDEX `index_merge_requests_on_user_id` ON `merge_requests` (`user_id`) SQL (6.1ms) CREATE INDEX `index_merge_requests_on_source_repository_id` ON `merge_requests` (`source_repository_id`) SQL (4.1ms) CREATE INDEX `index_merge_requests_on_target_repository_id` ON `merge_requests` (`target_repository_id`) SQL (4.7ms) CREATE INDEX `index_merge_requests_on_status` ON `merge_requests` (`status`) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('21') Migrating to AddBranchesToMergeRequests (22) SQL (13.2ms) ALTER TABLE `merge_requests` ADD `source_branch` varchar(255) SQL (4.6ms) ALTER TABLE `merge_requests` ADD `target_branch` varchar(255) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('22') Migrating to CreateCloners (23) SQL (5.5ms) CREATE TABLE `cloners` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `ip` varchar(255), `country_code` varchar(255), `country` varchar(255), `date` datetime, `repository_id` int(11)) ENGINE=InnoDB SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('23') Migrating to CreateEvents (24) SQL (2.3ms) CREATE TABLE `events` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) NOT NULL, `project_id` int(11) NOT NULL, `action` int(11) NOT NULL, `data` varchar(255), `body` text, `target_id` int(11), `target_type` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (3.7ms) CREATE INDEX `index_events_on_user_id` ON `events` (`user_id`) SQL (10.4ms) CREATE INDEX `index_events_on_project_id` ON `events` (`project_id`) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('24') Migrating to AddIndicesToEvents (25) SQL (3.7ms) CREATE INDEX `index_events_on_target_type_and_target_id` ON `events` (`target_type`, `target_id`) SQL (5.9ms) CREATE INDEX `index_events_on_created_at` ON `events` (`created_at`) SQL (12.0ms) CREATE INDEX `index_events_on_action` ON `events` (`action`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('25') Migrating to AddIndexesToCloners (26) SQL (3.6ms) CREATE INDEX `index_cloners_on_repository_id` ON `cloners` (`repository_id`) SQL (4.5ms) CREATE INDEX `index_cloners_on_date` ON `cloners` (`date`) SQL (4.1ms) CREATE INDEX `index_cloners_on_ip` ON `cloners` (`ip`) SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('26') Migrating to AddIdentityUrlToUsers (27) SQL (7.1ms) ALTER TABLE `users` ADD `identity_url` text SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('27') Migrating to AddOpenIdAuthenticationTables (28) SQL (0.3ms) SHOW TABLES SQL (3.3ms) CREATE TABLE `open_id_authentication_associations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `issued` int(11), `lifetime` int(11), `handle` varchar(255), `assoc_type` varchar(255), `server_url` blob, `secret` blob) ENGINE=InnoDB SQL (0.3ms) SHOW TABLES SQL (1.7ms) CREATE TABLE `open_id_authentication_nonces` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `timestamp` int(11) NOT NULL, `server_url` varchar(255), `salt` varchar(255) NOT NULL) ENGINE=InnoDB SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('28') Migrating to AddNewFlagsToUser (20090109005102) SQL (5.4ms) ALTER TABLE `users` ADD `is_admin` tinyint(1) DEFAULT 0 SQL (17.0ms) ALTER TABLE `users` ADD `suspended_at` datetime SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090109005102') Migrating to AddKindToRepository (20090112123845) SQL (4.2ms) ALTER TABLE `repositories` ADD `kind` int(11) DEFAULT 0 SQL (20.5ms) CREATE INDEX `index_repositories_on_kind` ON `repositories` (`kind`) SQL (3.7ms) INSERT INTO schema_migrations (version) VALUES ('20090112123845') Migrating to AddKindIndexesOnRepositories (20090115112423) SQL (4.5ms) CREATE INDEX `index_repositories_on_project_id_and_kind` ON `repositories` (`project_id`, `kind`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090115112423') Migrating to CreateGroups (20090126121750) SQL (0.0ms) BEGIN SQL (2.3ms) CREATE TABLE `groups` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `public` tinyint(1) DEFAULT 1, `user_id` int(11), `project_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (4.8ms) CREATE INDEX `index_groups_on_name_and_public` ON `groups` (`name`, `public`) SQL (8.2ms) CREATE INDEX `index_groups_on_user_id` ON `groups` (`user_id`) SQL (3.8ms) CREATE INDEX `index_groups_on_project_id_and_public` ON `groups` (`project_id`, `public`) SQL (2.6ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `kind` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB Role Columns (0.5ms) SHOW FIELDS FROM `roles` Role Create (0.6ms) INSERT INTO `roles` (`name`, `updated_at`, `kind`, `created_at`) VALUES('Administrator', '2010-06-15 11:42:56', 0, '2010-06-15 11:42:56') Role Create (0.9ms) INSERT INTO `roles` (`name`, `updated_at`, `kind`, `created_at`) VALUES('Committer', '2010-06-15 11:42:56', 1, '2010-06-15 11:42:56') SQL (3.9ms) CREATE TABLE `memberships` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `group_id` int(11), `user_id` int(11), `role_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (3.6ms) CREATE INDEX `index_memberships_on_group_id_and_user_id` ON `memberships` (`group_id`, `user_id`) SQL (0.1ms) COMMIT SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090126121750') Migrating to AddRepositoryToGroup (20090126140246) SQL (0.0ms) BEGIN SQL (24.4ms) ALTER TABLE `repositories` ADD `owner_type` varchar(255) SQL (5.9ms) ALTER TABLE `repositories` ADD `owner_id` int(11) SQL (5.0ms) CREATE INDEX `index_repositories_on_owner_type_and_owner_id` ON `repositories` (`owner_type`, `owner_id`) Repository Load (0.3ms) SELECT * FROM `repositories`  SQL (0.0ms) COMMIT SQL (9.9ms) INSERT INTO schema_migrations (version) VALUES ('20090126140246') Migrating to AddingStateToUser (20090126141704) SQL (5.5ms) ALTER TABLE `users` ADD `aasm_state` varchar(255) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090126141704') Migrating to NukeCommitterships (20090127102507) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090127102507') Migrating to AddingRangeOfCommitsToMergeRequest (20090129144706) SQL (4.5ms) ALTER TABLE `merge_requests` ADD `starting_commit` varchar(255) SQL (11.4ms) ALTER TABLE `merge_requests` ADD `ending_commit` varchar(255) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090129144706') Migrating to MoveProjectRepositoriesToOwner (20090203090855) SQL (0.1ms) BEGIN Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`mainline` = 1)  SQL (0.0ms) COMMIT SQL (3.1ms) INSERT INTO schema_migrations (version) VALUES ('20090203090855') Migrating to AddHashedPathToRepositories (20090203101718) SQL (0.1ms) BEGIN SQL (4.7ms) ALTER TABLE `repositories` ADD `hashed_path` varchar(255) SQL (11.4ms) CREATE INDEX `index_repositories_on_hashed_path` ON `repositories` (`hashed_path`) Repository Load (0.2ms) SELECT * FROM `repositories`  SQL (0.0ms) COMMIT SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090203101718') Migrating to AddOwnerToProjects (20090204131336) SQL (0.1ms) BEGIN SQL (5.0ms) ALTER TABLE `projects` ADD `owner_id` int(11) SQL (5.1ms) ALTER TABLE `projects` ADD `owner_type` varchar(255) SQL (10.9ms) CREATE INDEX `index_projects_on_owner_type_and_owner_id` ON `projects` (`owner_type`, `owner_id`) Project Load (0.2ms) SELECT * FROM `projects`  SQL (0.0ms) COMMIT SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090204131336') Migrating to AddDescriptionToRepositories (20090204150126) SQL (5.8ms) ALTER TABLE `repositories` ADD `description` text SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090204150126') Migrating to RemovePublicFromGroups (20090205140618) SQL (14.5ms) ALTER TABLE `groups` DROP `public` SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090205140618') Migrating to CreateParticipations (20090209095321) SQL (5.0ms) INSERT INTO schema_migrations (version) VALUES ('20090209095321') Migrating to RemoveProjectIdFromGroups (20090209100248) SQL (8.0ms) ALTER TABLE `groups` DROP `project_id` SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090209100248') Migrating to MakeUserIdOptionalInEvents (20090210134131) SQL (1.2ms) SHOW FIELDS FROM `events` SQL (4.2ms) ALTER TABLE `events` CHANGE `user_id` `user_id` int(11) DEFAULT NULL SQL (16.7ms) ALTER TABLE `events` ADD `user_email` varchar(255) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090210134131') Migrating to AddWikiEnabledToProjects (20090212155914) SQL (5.6ms) ALTER TABLE `projects` ADD `wiki_enabled` tinyint(1) DEFAULT 1 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090212155914') Migrating to RenameParticipationsToCommittersAndMakeItPolymorphic (20090218111119) SQL (0.6ms) SHOW FIELDS FROM `committerships` SQL (0.3ms) SHOW COLUMNS FROM `committerships` LIKE 'user_id' SQL (4.4ms) ALTER TABLE `committerships` CHANGE `user_id` `committer_id` int(11) DEFAULT NULL SQL (0.5ms) SHOW FIELDS FROM `committerships` SQL (1.6ms) ALTER TABLE `committerships` CHANGE `committer_id` `committer_id` int(11) DEFAULT NULL SQL (8.0ms) ALTER TABLE `committerships` ADD `committer_type` varchar(255) NOT NULL SQL (5.1ms) ALTER TABLE `committerships` ADD `creator_id` int(11) SQL (4.7ms) CREATE INDEX `index_committerships_on_committer_id_and_committer_type` ON `committerships` (`committer_id`, `committer_type`) SQL (13.2ms) CREATE INDEX `index_committerships_on_repository_id` ON `committerships` (`repository_id`) Committership Update (0.3ms) UPDATE `committerships` SET committer_type = 'User'  SQL (10.3ms) INSERT INTO schema_migrations (version) VALUES ('20090218111119') Migrating to AddingEulaVersionToUsers (20090218113100) SQL (4.4ms) ALTER TABLE `users` ADD `accepted_license_agreement_version` varchar(255) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090218113100') Migrating to SetProperKindOnRepositoryClones (20090219100307) SQL (0.0ms) BEGIN Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (parent_id is not null)  SQL (0.0ms) COMMIT SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090219100307') Migrating to RemoveMainlineFromRepositories (20090219120008) SQL (16.1ms) ALTER TABLE `repositories` DROP `mainline` SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090219120008') Migrating to RenameCommitterRoleToMember (20090219131022) Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) BEGIN Role Update (0.2ms) UPDATE `roles` SET `updated_at` = '2010-06-15 11:42:56', `name` = 'Member' WHERE `id` = 2 SQL (1.9ms) COMMIT SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090219131022') Migrating to MakeCommentsPolymorphic (20090219140050) SQL (0.0ms) BEGIN SQL (0.5ms) SHOW FIELDS FROM `comments` SQL (0.3ms) SHOW COLUMNS FROM `comments` LIKE 'repository_id' SQL (3.9ms) ALTER TABLE `comments` CHANGE `repository_id` `target_id` int(11) NOT NULL SQL (4.1ms) ALTER TABLE `comments` ADD `target_type` varchar(255) SQL (14.7ms) CREATE INDEX `index_comments_on_target_id_and_target_type` ON `comments` (`target_id`, `target_type`) Comment Update (0.2ms) UPDATE `comments` SET target_type = 'Repository'  SQL (0.0ms) COMMIT SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20090219140050') Migrating to CreateEmails (20090225124504) SQL (14.9ms) CREATE TABLE `emails` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `address` varchar(255), `aasm_state` varchar(255), `confirmation_code` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (4.2ms) CREATE INDEX `index_emails_on_user_id` ON `emails` (`user_id`) SQL (5.2ms) CREATE INDEX `index_emails_on_address` ON `emails` (`address`) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090225124504') Migrating to AddEmailToggleToUsers (20090226134536) SQL (4.3ms) ALTER TABLE `users` ADD `public_email` tinyint(1) DEFAULT 1 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090226134536') Migrating to MigratingStatusOfMergeRequests (20090226141804) MergeRequest Update (0.2ms) UPDATE `merge_requests` SET status=status+1  SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090226141804') Migrating to CreateSites (20090303084023) SQL (0.0ms) BEGIN SQL (2.4ms) CREATE TABLE `sites` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `subdomain` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (15.0ms) CREATE INDEX `index_sites_on_subdomain` ON `sites` (`subdomain`) SQL (4.4ms) ALTER TABLE `projects` ADD `site_id` int(11) SQL (4.9ms) CREATE INDEX `index_projects_on_site_id` ON `projects` (`site_id`) SQL (0.1ms) COMMIT SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090303084023') Migrating to AddingMergeRequestsNeedSignoffToProjects (20090303114736) SQL (21.2ms) ALTER TABLE `projects` ADD `merge_requests_need_signoff` tinyint(1) DEFAULT 0 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090303114736') Migrating to CreateMessages (20090304120852) SQL (2.6ms) CREATE TABLE `messages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `sender_id` int(11), `recipient_id` int(11), `subject` varchar(255), `body` text, `notifiable_type` varchar(255), `notifiable_id` int(11), `aasm_state` varchar(255), `in_reply_to_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090304120852') Migrating to AddingMailInterestToUsers (20090305125531) SQL (8.5ms) ALTER TABLE `users` ADD `wants_email_notifications` tinyint(1) DEFAULT 0 SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090305125531') Migrating to AddingDecisionToMergeRequests (20090310141045) SQL (19.4ms) ALTER TABLE `merge_requests` ADD `reason` text SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090310141045') Migrating to MakeRepositoryHashUniqueIndex (20090311152733) SQL (5.5ms) DROP INDEX `index_repositories_on_hashed_path` ON repositories SQL (18.6ms) CREATE UNIQUE INDEX `index_repositories_on_hashed_path` ON `repositories` (`hashed_path`) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090311152733') Migrating to AddLastPushedAtToRepositories (20090316143009) SQL (6.0ms) ALTER TABLE `repositories` ADD `last_pushed_at` datetime SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090316143009') Migrating to AddingProtocolToCloners (20090319111629) SQL (13.3ms) ALTER TABLE `cloners` ADD `protocol` varchar(255) Cloner Update (0.3ms) UPDATE `cloners` SET `protocol` = 'git'  SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090319111629') Migrating to AddingMergeRequestSignoffFields (20090324124032) SQL (5.2ms) ALTER TABLE `projects` ADD `oauth_signoff_key` varchar(255) SQL (17.1ms) ALTER TABLE `projects` ADD `oauth_signoff_secret` varchar(255) SQL (4.8ms) ALTER TABLE `projects` ADD `oauth_signoff_site` varchar(255) SQL (26.9ms) ALTER TABLE `merge_requests` ADD `oauth_token` varchar(255) SQL (7.0ms) ALTER TABLE `merge_requests` ADD `oauth_secret` varchar(255) SQL (8.4ms) ALTER TABLE `merge_requests` ADD `contribution_agreement_version` varchar(255) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090324124032') Migrating to AddingDescriptionToGroups (20090326094902) SQL (4.3ms) ALTER TABLE `groups` ADD `description` text SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090326094902') Migrating to AddIndicesOnMessages (20090326151432) SQL (4.1ms) CREATE INDEX `index_messages_on_sender_id` ON `messages` (`sender_id`) SQL (10.9ms) CREATE INDEX `index_messages_on_recipient_id` ON `messages` (`recipient_id`) SQL (4.8ms) CREATE INDEX `index_messages_on_notifiable_type_and_notifiable_id` ON `messages` (`notifiable_type`, `notifiable_id`) SQL (12.4ms) CREATE INDEX `index_messages_on_aasm_state` ON `messages` (`aasm_state`) SQL (4.8ms) CREATE INDEX `index_messages_on_in_reply_to_id` ON `messages` (`in_reply_to_id`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090326151432') Migrating to HookingCommitEventsToRepository (20090330091652) Event Columns (0.7ms) SHOW FIELDS FROM `events` Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`action` = 12)  SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090330091652') Migrating to AddPasswordKeyToUsers (20090331143046) SQL (20.5ms) ALTER TABLE `users` ADD `password_key` varchar(255) SQL (5.2ms) CREATE INDEX `index_users_on_password_key` ON `users` (`password_key`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090331143046') Migrating to AddingOauthPrefixToProject (20090401115721) SQL (9.1ms) ALTER TABLE `projects` ADD `oauth_path_prefix` varchar(255) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090401115721') Migrating to AddWikiPermissionsToRepository (20090420083319) SQL (15.5ms) ALTER TABLE `repositories` ADD `wiki_permissions` int(11) DEFAULT 0 SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090420083319') Migrating to StorePermanentHashedPathShard (20090423122949) SQL (0.0ms) BEGIN Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (repositories.id >= 0) ORDER BY repositories.id ASC LIMIT 1000 SQL (0.0ms) COMMIT SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090423122949') Migrating to AddingAvatarToUsers (20090428125038) SQL (4.8ms) ALTER TABLE `users` ADD `avatar_file_name` varchar(255) SQL (7.7ms) ALTER TABLE `users` ADD `avatar_content_type` varchar(255) SQL (5.4ms) ALTER TABLE `users` ADD `avatar_file_size` int(11) SQL (5.5ms) ALTER TABLE `users` ADD `avatar_updated_at` datetime SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090428125038') Migrating to AddingAvatarsToTeams (20090429083317) SQL (18.5ms) ALTER TABLE `groups` ADD `avatar_file_name` varchar(255) SQL (3.8ms) ALTER TABLE `groups` ADD `avatar_content_type` varchar(255) SQL (4.4ms) ALTER TABLE `groups` ADD `avatar_file_size` int(11) SQL (4.6ms) ALTER TABLE `groups` ADD `avatar_updated_at` datetime SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090429083317') Migrating to RenameLicenseAgreementVersionToTosAccepted (20090430122009) SQL (1.0ms) SHOW FIELDS FROM `users` SQL (0.4ms) SHOW COLUMNS FROM `users` LIKE 'accepted_license_agreement_version' SQL (16.4ms) ALTER TABLE `users` CHANGE `accepted_license_agreement_version` `terms_of_use` varchar(255) DEFAULT NULL SQL (1.0ms) SHOW FIELDS FROM `users` SQL (5.6ms) ALTER TABLE `users` CHANGE `terms_of_use` `terms_of_use` tinyint(1) DEFAULT NULL User Update (0.2ms) UPDATE `users` SET terms_of_use = 0  SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090430122009') Migrating to RemoveTosAttributeFromUsers (20090504071242) SQL (13.5ms) ALTER TABLE `users` DROP `terms_of_use` SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090504071242') Migrating to RemovingStartingCommitFromMergeRequests (20090504121513) SQL (4.4ms) ALTER TABLE `merge_requests` DROP `starting_commit` SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20090504121513') Migrating to CreateSessions (20090511090754) SQL (1.8ms) CREATE TABLE `sessions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `session_id` varchar(255) NOT NULL, `data` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (4.5ms) CREATE INDEX `index_sessions_on_session_id` ON `sessions` (`session_id`) SQL (5.6ms) CREATE INDEX `index_sessions_on_updated_at` ON `sessions` (`updated_at`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090511090754') Migrating to MakeUsersWantEmailByDefault (20090512093916) SQL (1.1ms) SHOW FIELDS FROM `users` SQL (2.4ms) ALTER TABLE `users` CHANGE `wants_email_notifications` `wants_email_notifications` tinyint(1) DEFAULT 1 SQL (8.6ms) INSERT INTO schema_migrations (version) VALUES ('20090512093916') Migrating to AddingUpdatedByToMergeRequests (20090514102747) SQL (8.5ms) ALTER TABLE `merge_requests` ADD `updated_by_user_id` int(11) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090514102747') Migrating to RemovingTasks (20090520132754) SQL (1.0ms) DROP TABLE `tasks` SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090520132754') Migrating to FlaggingMessagesWithUnreadStatus (20090603113810) SQL (5.3ms) ALTER TABLE `messages` ADD `root_message_id` int(11) SQL (14.7ms) ALTER TABLE `messages` ADD `has_unread_replies` tinyint(1) DEFAULT 0 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090603113810') Migrating to AddingArchivedStateToMessages (20090604111146) SQL (4.5ms) ALTER TABLE `messages` ADD `archived_by_sender` tinyint(1) DEFAULT 0 SQL (10.0ms) ALTER TABLE `messages` ADD `archived_by_recipient` tinyint(1) DEFAULT 0 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090604111146') Migrating to RejiggingMergeRequests (20090610072747) SQL (4.3ms) ALTER TABLE `merge_requests` ADD `version` int(11) DEFAULT 0 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090610072747') Migrating to AddingStateChangeToComments (20090611124949) SQL (7.1ms) ALTER TABLE `comments` ADD `state_change` varchar(255) SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20090611124949') Migrating to AddingStatusTagToMergeRequests (20090611125528) SQL (13.4ms) ALTER TABLE `merge_requests` ADD `status_tag` varchar(255) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090611125528') Migrating to CreateMergeRequestVersions (20090617131148) SQL (5.1ms) CREATE TABLE `merge_request_versions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `merge_request_id` int(11), `version` int(11), `merge_base_sha` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20090617131148') Migrating to RemoveVersionFromMergeRequests (20090624091346) SQL (6.0ms) ALTER TABLE `merge_requests` DROP `version` SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090624091346') Migrating to AddProjectsCreatedAtIndexOnEvents (20090624134847) SQL (16.9ms) CREATE INDEX `index_events_on_created_at_and_project_id` ON `events` (`created_at`, `project_id`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090624134847') Migrating to AddingMergeRequestStatusToProject (20090701111251) SQL (5.3ms) ALTER TABLE `projects` ADD `merge_request_custom_states` text SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090701111251') Migrating to AddDenyforcePushingToRepositories (20090710094759) SQL (6.5ms) ALTER TABLE `repositories` ADD `deny_force_pushing` tinyint(1) DEFAULT 0 SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090710094759') Migrating to MigrateMergeRequestsToStatusTag (20090713102352) MergeRequest Load (0.3ms) SELECT * FROM `merge_requests`  SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090713102352') Migrating to AddNotifyCommittersOnNewMergeRequestToRepositories (20090724082150) SQL (5.2ms) ALTER TABLE `repositories` ADD `notify_committers_on_new_merge_request` tinyint(1) DEFAULT 1 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090724082150') Migrating to CreateMergeRequestStatuses (20090729080026) SQL (8.9ms) CREATE TABLE `merge_request_statuses` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `project_id` int(11), `name` varchar(255), `color` varchar(255), `state` int(11), `description` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (3.5ms) CREATE INDEX `index_merge_request_statuses_on_project_id` ON `merge_request_statuses` (`project_id`) SQL (5.5ms) CREATE INDEX `index_merge_request_statuses_on_project_id_and_name` ON `merge_request_statuses` (`project_id`, `name`) SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('20090729080026') Migrating to MigrateCustomMergeRequestStatuses (20090730103419) SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects`  SQL (0.0ms) COMMIT SQL (11.5ms) INSERT INTO schema_migrations (version) VALUES ('20090730103419') Migrating to AddSummaryToMergeRequests (20090806191259) SQL (4.7ms) ALTER TABLE `merge_requests` ADD `summary` varchar(255) NOT NULL SQL (10.7ms) INSERT INTO schema_migrations (version) VALUES ('20090806191259') Migrating to AddDefaultToMergeRequestStatuses (20090825091107) SQL (4.0ms) ALTER TABLE `merge_request_statuses` ADD `default` tinyint(1) DEFAULT 0 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090825091107') Migrating to MigrationMergeRequestProposalsToSummery (20090827081458) SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests`  SQL (0.0ms) COMMIT SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20090827081458') Migrating to AddLastGcAtToRepositories (20090914075300) SQL (7.3ms) ALTER TABLE `repositories` ADD `last_gc_at` datetime SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20090914075300') Migrating to MakeMergeRequestsCommentable (20091006082442) SQL (11.1ms) ALTER TABLE `comments` ADD `path` varchar(255) SQL (5.8ms) ALTER TABLE `comments` ADD `first_line_number` int(11) SQL (19.2ms) ALTER TABLE `comments` ADD `number_of_lines` int(11) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20091006082442') Migrating to AddLegacyTagToMergeRequests (20091026142733) SQL (0.0ms) BEGIN SQL (6.7ms) ALTER TABLE `merge_requests` ADD `legacy` tinyint(1) DEFAULT 0 MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (status != 0 and created_at < '2010-06-08 11:42:57')  SQL (0.0ms) COMMIT SQL (0.6ms) INSERT INTO schema_migrations (version) VALUES ('20091026142733') Migrating to AddContextToComments (20091029114444) SQL (7.2ms) ALTER TABLE `comments` ADD `context` text SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20091029114444') Migrating to ChangeCommentLineNumberToString (20091102114936) SQL (0.8ms) SHOW FIELDS FROM `comments` SQL (31.3ms) ALTER TABLE `comments` CHANGE `first_line_number` `first_line_number` varchar(255) DEFAULT NULL SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20091102114936') Migrating to AddLastLineNumberToComments (20091102125159) SQL (14.4ms) ALTER TABLE `comments` ADD `last_line_number` varchar(255) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20091102125159') Migrating to AddPermissionsToCommitterships (20091116140126) SQL (0.1ms) BEGIN SQL (6.3ms) ALTER TABLE `committerships` ADD `permissions` int(11) Committership Load (0.3ms) SELECT * FROM `committerships`  SQL (0.0ms) COMMIT SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20091116140126') Migrating to AddingMergeRequestOptionToMergeRequests (20091116143337) SQL (21.6ms) ALTER TABLE `repositories` ADD `merge_requests_enabled` tinyint(1) DEFAULT 1 SQL (0.7ms) INSERT INTO schema_migrations (version) VALUES ('20091116143337') Migrating to AddingSequenceNumberToMergeRequests (20091117101216) SQL (4.4ms) ALTER TABLE `merge_requests` ADD `sequence_number` int(11) SQL (0.2ms) UPDATE merge_requests SET sequence_number=id SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20091117101216') Migrating to AddingIndexToSequenceNumbers (20091119090036) SQL (4.8ms) CREATE UNIQUE INDEX `index_merge_requests_on_sequence_number_and_target_repository_id` ON `merge_requests` (`sequence_number`, `target_repository_id`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20091119090036') Migrating to CreateFavorites (20091125143413) SQL (2.2ms) CREATE TABLE `favorites` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `watchable_type` varchar(255), `watchable_id` int(11), `action` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20091125143413') Migrating to AddIndicesToFavorites (20091207133046) SQL (18.9ms) CREATE INDEX `index_favorites_on_watchable_type_and_watchable_id_and_user_id` ON `favorites` (`watchable_type`, `watchable_id`, `user_id`) SQL (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20091207133046') Migrating to CreateFeedItems (20091209140335) SQL (4.1ms) CREATE TABLE `feed_items` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `event_id` int(11), `watcher_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (3.3ms) CREATE INDEX `index_feed_items_on_watcher_id_and_created_at` ON `feed_items` (`watcher_id`, `created_at`) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20091209140335') Migrating to AddObjectOwnersAsWatchers (20091210095437) SQL (0.1ms) BEGIN Repository Columns (0.8ms) SHOW FIELDS FROM `repositories` SQL (0.4ms) SELECT count(*) AS count_all FROM `repositories` WHERE (kind in (2,3,0))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (kind in (2,3,0))  SQL (0.0ms) COMMIT SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20091210095437') Migrating to AddingLastActivityAtToMessages (20091210132746) SQL (5.5ms) ALTER TABLE `messages` ADD `last_activity_at` datetime SQL (0.2ms) UPDATE messages SET last_activity_at=updated_at SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20091210132746') Migrating to AddMailFlagToFavorites (20091217110558) SQL (3.6ms) ALTER TABLE `favorites` ADD `notify_by_email` tinyint(1) DEFAULT 0 SQL (25.6ms) INSERT INTO schema_migrations (version) VALUES ('20091217110558') Migrating to AddingDefaultFavoriteNotificationToUsers (20100126094829) SQL (7.4ms) ALTER TABLE `users` ADD `default_favorite_notifications` tinyint(1) DEFAULT 0 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20100126094829') Migrating to AddingDiskSizeAndPushCountToRepositories (20100203132425) SQL (21.4ms) ALTER TABLE `repositories` ADD `disk_usage` int(11) SQL (5.7ms) ALTER TABLE `repositories` ADD `push_count_since_gc` int(11) SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20100203132425') Migrating to CreateHooks (20100216133829) SQL (2.4ms) CREATE TABLE `hooks` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `repository_id` int(11), `url` varchar(255), `last_response` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (3.2ms) CREATE INDEX `index_hooks_on_repository_id` ON `hooks` (`repository_id`) SQL (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20100216133829') Migrating to AddingRequestCountersToHooks (20100224153358) SQL (5.0ms) ALTER TABLE `hooks` ADD `failed_request_count` int(11) DEFAULT 0 SQL (3.9ms) ALTER TABLE `hooks` ADD `successful_request_count` int(11) DEFAULT 0 SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20100224153358') Migrating to CreateArchivedEvents (20100316124803) SQL (1.9ms) CREATE TABLE `archived_events` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `project_id` int(11), `action` int(11), `data` varchar(255), `body` text, `target_id` int(11), `target_type` varchar(255), `user_email` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.3ms) INSERT INTO schema_migrations (version) VALUES ('20100316124803') SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.5ms) SHOW FIELDS FROM `archived_events` SQL (0.5ms) describe `archived_events` SQL (0.2ms) SHOW KEYS FROM `archived_events` SQL (0.3ms) SHOW FIELDS FROM `cloners` SQL (0.4ms) describe `cloners` SQL (0.5ms) SHOW KEYS FROM `cloners` SQL (0.7ms) SHOW FIELDS FROM `comments` SQL (0.6ms) describe `comments` SQL (0.2ms) SHOW KEYS FROM `comments` SQL (0.5ms) SHOW FIELDS FROM `committerships` SQL (0.4ms) describe `committerships` SQL (0.2ms) SHOW KEYS FROM `committerships` SQL (0.5ms) SHOW FIELDS FROM `emails` SQL (0.4ms) describe `emails` SQL (0.1ms) SHOW KEYS FROM `emails` SQL (0.5ms) SHOW FIELDS FROM `events` SQL (0.4ms) describe `events` SQL (0.2ms) SHOW KEYS FROM `events` SQL (0.5ms) SHOW FIELDS FROM `favorites` SQL (0.4ms) describe `favorites` SQL (0.1ms) SHOW KEYS FROM `favorites` SQL (0.5ms) SHOW FIELDS FROM `feed_items` SQL (0.4ms) describe `feed_items` SQL (0.1ms) SHOW KEYS FROM `feed_items` SQL (0.5ms) SHOW FIELDS FROM `groups` SQL (0.4ms) describe `groups` SQL (0.1ms) SHOW KEYS FROM `groups` SQL (0.5ms) SHOW FIELDS FROM `hooks` SQL (0.4ms) describe `hooks` SQL (0.1ms) SHOW KEYS FROM `hooks` SQL (0.5ms) SHOW FIELDS FROM `memberships` SQL (0.4ms) describe `memberships` SQL (0.1ms) SHOW KEYS FROM `memberships` SQL (0.5ms) SHOW FIELDS FROM `merge_request_statuses` SQL (0.4ms) describe `merge_request_statuses` SQL (0.2ms) SHOW KEYS FROM `merge_request_statuses` SQL (0.4ms) SHOW FIELDS FROM `merge_request_versions` SQL (0.4ms) describe `merge_request_versions` SQL (0.1ms) SHOW KEYS FROM `merge_request_versions` SQL (0.8ms) SHOW FIELDS FROM `merge_requests` SQL (0.7ms) describe `merge_requests` SQL (0.2ms) SHOW KEYS FROM `merge_requests` SQL (0.6ms) SHOW FIELDS FROM `messages` SQL (0.6ms) describe `messages` SQL (0.2ms) SHOW KEYS FROM `messages` SQL (0.5ms) SHOW FIELDS FROM `open_id_authentication_associations` SQL (0.4ms) describe `open_id_authentication_associations` SQL (0.1ms) SHOW KEYS FROM `open_id_authentication_associations` SQL (0.4ms) SHOW FIELDS FROM `open_id_authentication_nonces` SQL (0.3ms) describe `open_id_authentication_nonces` SQL (0.1ms) SHOW KEYS FROM `open_id_authentication_nonces` SQL (0.7ms) SHOW FIELDS FROM `projects` SQL (0.7ms) describe `projects` SQL (0.2ms) SHOW KEYS FROM `projects` SQL (0.8ms) SHOW FIELDS FROM `repositories` SQL (0.7ms) describe `repositories` SQL (0.3ms) SHOW KEYS FROM `repositories` SQL (0.4ms) SHOW FIELDS FROM `roles` SQL (0.3ms) describe `roles` SQL (0.1ms) SHOW KEYS FROM `roles` SQL (0.4ms) SHOW FIELDS FROM `sessions` SQL (0.3ms) describe `sessions` SQL (0.1ms) SHOW KEYS FROM `sessions` SQL (0.4ms) SHOW FIELDS FROM `sites` SQL (0.3ms) describe `sites` SQL (0.1ms) SHOW KEYS FROM `sites` SQL (0.4ms) SHOW FIELDS FROM `ssh_keys` SQL (0.4ms) describe `ssh_keys` SQL (0.1ms) SHOW KEYS FROM `ssh_keys` SQL (0.4ms) SHOW FIELDS FROM `taggings` SQL (0.3ms) describe `taggings` SQL (0.1ms) SHOW KEYS FROM `taggings` SQL (0.4ms) SHOW FIELDS FROM `tags` SQL (0.3ms) describe `tags` SQL (0.1ms) SHOW KEYS FROM `tags` SQL (0.9ms) SHOW FIELDS FROM `users` SQL (0.8ms) describe `users` SQL (0.2ms) SHOW KEYS FROM `users` ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq ActiveMessaging: adapter reliable_msg not loaded: no such file to load -- reliable-msg ActiveMessaging: Loading /home/maanpelt/yousource/gitorious/app/processors/application.rb ** [localized_dates] localized_dates plugin loaded. ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/pt-BR.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/es.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.yml ** [localized_dates] locales loaded from config/locales. SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 ** ultrasphinx: configuration file not found for "test" environment ** ultrasphinx: please run 'rake ultrasphinx:configure' ** ultrasphinx: spelling support not available (raspell configuration raised "uninitialized constant Ultrasphinx::Spell::Aspell") MergeRequest Columns (1.0ms) SHOW FIELDS FROM `merge_requests` User Columns (1.0ms) SHOW FIELDS FROM `users` Comment Columns (0.9ms) SHOW FIELDS FROM `comments` Project Columns (0.7ms) SHOW FIELDS FROM `projects` Repository Columns (0.9ms) SHOW FIELDS FROM `repositories` SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing Admin::OauthSettingsController#edit (for 0.0.0.0 at 2010-06-15 14:43:08) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "controller"=>"admin/oauth_settings"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Redirected to http://test.host/ Filter chain halted as [:require_site_admin] rendered_or_redirected. Completed in 8ms (DB: 26) | 302 Found [http://test.host/admin/projects/johans-project/oauth_settings/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing Admin::OauthSettingsController#edit (for 0.0.0.0 at 2010-06-15 14:43:08) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "controller"=>"admin/oauth_settings"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering admin/oauth_settings/edit WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (8.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (17.2ms) Rendered searches/_search_box_global (3.6ms) Rendered layouts/_common_footer (2.1ms) Completed in 79ms (View: 62, DB: 1) | 200 OK [http://test.host/admin/projects/johans-project/oauth_settings/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::OauthSettingsController#show (for 0.0.0.0 at 2010-06-15 14:43:08) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"admin/oauth_settings"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/admin/projects/johans-project/oauth_settings/edit Completed in 4ms (DB: 1) | 302 Found [http://test.host/admin/projects/johans-project/oauth_settings] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::OauthSettingsController#update (for 0.0.0.0 at 2010-06-15 14:43:08) [PUT] Parameters: {"project_id"=>"johans-project", "action"=>"update", "oauth_settings"=>{"path_prefix"=>"/foo", "signoff_secret"=>"secret", "site"=>"http://oauth.example.com/", "signoff_key"=>"kee"}, "controller"=>"admin/oauth_settings"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.4ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `oauth_signoff_key` = 'kee', `oauth_signoff_secret` = 'secret', `oauth_path_prefix` = '/foo', `merge_request_custom_states` = NULL, `oauth_signoff_site` = 'http://oauth.example.com/', `updated_at` = '2010-06-15 11:43:08' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/projects/johans-project/oauth_settings/edit Completed in 312ms (DB: 2) | 302 Found [http://test.host/admin/projects/johans-project/oauth_settings?oauth_settings%5Bpath_prefix%5D=%2Ffoo&oauth_settings%5Bsignoff_key%5D=kee&oauth_settings%5Bsignoff_secret%5D=secret&oauth_settings%5Bsite%5D=http%3A%2F%2Foauth.example.com%2F] Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#reset_password (for 0.0.0.0 at 2010-06-15 14:43:08) [POST] Parameters: {"action"=>"reset_password", "id"=>"invalid_user", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'invalid_user') LIMIT 1 Redirected to http://test.host/admin/users Completed in 17ms (DB: 1) | 302 Found [http://test.host/admin/users/invalid_user/reset_password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#reset_password (for 0.0.0.0 at 2010-06-15 14:43:08) [POST] Parameters: {"action"=>"reset_password", "id"=>"johan", "controller"=>"admin/users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = '5c51c01ebdf4e4e9315737e7a7a10b8fb5ebd07f', `updated_at` = '2010-06-15 11:43:08' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/users Completed in 12ms (DB: 1) | 302 Found [http://test.host/admin/users/johan/reset_password] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing Admin::UsersController#index (for 0.0.0.0 at 2010-06-15 14:43:08) [GET] Parameters: {"action"=>"index", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Redirected to http://test.host/ Filter chain halted as [:require_site_admin] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/admin/users] Processing Admin::UsersController#new (for 0.0.0.0 at 2010-06-15 14:43:08) [GET] Parameters: {"action"=>"new", "controller"=>"admin/users"} Redirected to http://test.host/ Filter chain halted as [:require_site_admin] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/admin/users] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#index (for 0.0.0.0 at 2010-06-15 14:43:08) [GET] Parameters: {"action"=>"index", "controller"=>"admin/users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` ORDER BY suspended_at, login LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering admin/users/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 55ms (View: 51, DB: 2) | 200 OK [http://test.host/admin/users] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#new (for 0.0.0.0 at 2010-06-15 14:43:08) [GET] Parameters: {"action"=>"new", "controller"=>"admin/users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering admin/users/new Rendered admin/users/_form (6.5ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.6ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 33ms (View: 30, DB: 1) | 200 OK [http://test.host/admin/users/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing Admin::UsersController#create (for 0.0.0.0 at 2010-06-15 14:43:09) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "is_admin"=>"1", "login"=>"johndoe", "password"=>"[FILTERED]", "email"=>"foo@foo.com"}, "action"=>"create", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: is_admin, login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johndoe') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'foo@foo.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('416d3594cd571d9bb23a6588aae57a029816564a', NULL, '2010-06-15 11:43:09', NULL, NULL, NULL, '8bdbad51f1328b850eea1665c8699d7655f8e4f2', 1, 0, NULL, 'bb45a8764e48eeb8d0d58cd527d88b2b81af78ba', NULL, NULL, 1, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'johndoe', NULL, 'foo@foo.com', '2010-06-15 11:43:09') Sent mail to foo@foo.com Date: Tue, 15 Jun 2010 14:43:09 +0300 From: Gitorious To: foo@foo.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is johndoe Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/bb45a8764e48eeb8d0d58cd527d88b2b81af78ba Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/users Completed in 27ms (DB: 1) | 302 Found [http://test.host/admin/users?user%5Bemail%5D=foo%40foo.com&user%5Bis_admin%5D=1&user%5Blogin%5D=johndoe&user%5Bpassword%5D=johndoe&user%5Bpassword_confirmation%5D=johndoe&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#suspend (for 0.0.0.0 at 2010-06-15 14:43:09) [PUT] Parameters: {"action"=>"suspend", "id"=>"johan", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `suspended_at` = '2010-06-15 11:43:09', `updated_at` = '2010-06-15 11:43:09' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/users Completed in 12ms (DB: 3) | 302 Found [http://test.host/admin/users/johan/suspend] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `suspended_at` = '2010-06-15 11:43:09', `updated_at` = '2010-06-15 11:43:09' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.2ms) RELEASE SAVEPOINT active_record_1 Processing Admin::UsersController#unsuspend (for 0.0.0.0 at 2010-06-15 14:43:09) [PUT] Parameters: {"action"=>"unsuspend", "id"=>"johan", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `suspended_at` = NULL, `updated_at` = '2010-06-15 11:43:09' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/users Completed in 12ms (DB: 3) | 302 Found [http://test.host/admin/users/johan/unsuspend] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  Processing AliasesController#destroy (for 0.0.0.0 at 2010-06-15 14:43:09) [DELETE] Parameters: {"action"=>"destroy", "id"=>"911544726", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = '911544726') AND (`emails`.user_id = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Email Destroy (0.1ms) DELETE FROM `emails` WHERE `id` = 911544726 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/aliases Completed in 16ms (DB: 3) | 302 Found [http://test.host/~johan/aliases/911544726] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#destroy (for 0.0.0.0 at 2010-06-15 14:43:09) [DELETE] Parameters: {"action"=>"destroy", "id"=>"911544726", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/~johan/aliases/911544726] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#destroy (for 0.0.0.0 at 2010-06-15 14:43:09) [DELETE] Parameters: {"action"=>"destroy", "id"=>"911544726", "controller"=>"aliases", "user_id"=>"johan"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 6ms (DB: 0) | 302 Found [http://test.host/~johan/aliases/911544726] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.1ms) SAVEPOINT active_record_1 Email Load (0.3ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.2ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('d617b645b9446e7b8bd52759efcd2aa975bb760c', '2010-06-15 11:43:09', 'pending', 1, 'foo@bar.com', '2010-06-15 11:43:09') Sent mail to foo@bar.com Date: Tue, 15 Jun 2010 14:43:09 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/d617b645b9446e7b8bd52759efcd2aa975bb760c/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing AliasesController#confirm (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"action"=>"confirm", "id"=>"d617b645b9446e7b8bd52759efcd2aa975bb760c", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Email Load (0.3ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1 AND (`emails`.`confirmation_code` = 'd617b645b9446e7b8bd52759efcd2aa975bb760c')) AND ((`emails`.`aasm_state` IN ('pending')) AND (`emails`.user_id = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1 AND `emails`.id <> 911544727) LIMIT 1 Email Update (0.2ms) UPDATE `emails` SET `aasm_state` = 'confirmed', `updated_at` = '2010-06-15 11:43:09' WHERE `id` = 911544727 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/aliases Completed in 13ms (DB: 3) | 302 Found [http://test.host/~johan/aliases/d617b645b9446e7b8bd52759efcd2aa975bb760c/confirm] Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544727)  SQL (3.9ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.1ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.2ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('cf95807e1bf1954bee361fb13d4b96ed8f56bc09', '2010-06-15 11:43:09', 'pending', 1, 'foo@bar.com', '2010-06-15 11:43:09') Sent mail to foo@bar.com Date: Tue, 15 Jun 2010 14:43:09 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/cf95807e1bf1954bee361fb13d4b96ed8f56bc09/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing AliasesController#confirm (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"action"=>"confirm", "id"=>"wrongcode", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Email Load (0.5ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1 AND (`emails`.`confirmation_code` = 'wrongcode')) AND ((`emails`.`aasm_state` IN ('pending')) AND (`emails`.user_id = 1)) LIMIT 1 Redirected to http://test.host/~johan Completed in 6ms (DB: 6) | 302 Found [http://test.host/~johan/aliases/wrongcode/confirm] Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544728)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.0ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.2ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('aaa9e2a529f217769d06c9ad1b811f86d586057a', '2010-06-15 11:43:09', 'pending', 1, 'foo@bar.com', '2010-06-15 11:43:09') Sent mail to foo@bar.com Date: Tue, 15 Jun 2010 14:43:09 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/aaa9e2a529f217769d06c9ad1b811f86d586057a/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#confirm (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"action"=>"confirm", "id"=>"aaa9e2a529f217769d06c9ad1b811f86d586057a", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/~johan/aliases/aaa9e2a529f217769d06c9ad1b811f86d586057a/confirm] Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544729)  SQL (0.4ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#new (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"action"=>"new", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/~johan/aliases/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#new (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"action"=>"new", "controller"=>"aliases", "user_id"=>"johan"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/~johan/aliases/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#new (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"action"=>"new", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering aliases/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.0ms) Completed in 32ms (View: 28, DB: 2) | 200 OK [http://test.host/~johan/aliases/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#index (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"action"=>"index", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering aliases/index Email Load (0.3ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 34ms (View: 30, DB: 2) | 200 OK [http://test.host/~johan/aliases] Email Load (0.3ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#index (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"action"=>"index", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/~johan/aliases] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#index (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"action"=>"index", "controller"=>"aliases", "user_id"=>"johan"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/~johan/aliases] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.1ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  Processing AliasesController#create (for 0.0.0.0 at 2010-06-15 14:43:09) [POST] Parameters: {"action"=>"create", "controller"=>"aliases", "user_id"=>"johan", "email"=>{"address"=>"bob@example.com"}} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'bob@example.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.2ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('919b7b4a6bc85d009e5f1a72a51e1c9c6614b56e', '2010-06-15 11:43:09', 'pending', 1, 'bob@example.com', '2010-06-15 11:43:09') Sent mail to bob@example.com Date: Tue, 15 Jun 2010 14:43:09 +0300 From: Gitorious To: bob@example.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/919b7b4a6bc85d009e5f1a72a51e1c9c6614b56e/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/aliases Completed in 14ms (DB: 2) | 302 Found [http://test.host/~johan/aliases?email%5Baddress%5D=bob%40example.com] SQL (0.2ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.1ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  Processing AliasesController#create (for 0.0.0.0 at 2010-06-15 14:43:09) [POST] Parameters: {"action"=>"create", "controller"=>"aliases", "user_id"=>"johan", "email"=>{"address"=>"bob"}} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'bob' AND `emails`.user_id = 1) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering aliases/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.1ms) Completed in 37ms (View: 30, DB: 3) | 200 OK [http://test.host/~johan/aliases?email%5Baddress%5D=bob] SQL (0.3ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#create (for 0.0.0.0 at 2010-06-15 14:43:09) [POST] Parameters: {"action"=>"create", "controller"=>"aliases", "user_id"=>"johan", "email"=>{"address"=>"bob@example.com"}} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://test.host/~johan/aliases?email%5Baddress%5D=bob%40example.com] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#create (for 0.0.0.0 at 2010-06-15 14:43:09) [POST] Parameters: {"action"=>"create", "controller"=>"aliases", "user_id"=>"johan", "email"=>{"address"=>"bob@example.com"}} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/~johan/aliases?email%5Baddress%5D=bob%40example.com] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#history to json (for 0.0.0.0 at 2010-06-15 14:43:09) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"json", "action"=>"history", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["master", "README.txt"]} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.37): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.34): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' 'master' -- 'README.txt' Completed in 761ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/blobs/history/master/README.txt?format=json] SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#history (for 0.0.0.0 at 2010-06-15 14:43:10) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"history", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["master", "README.txt"]} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.34): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.34): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' 'master' -- 'README.txt' Rendering template within layouts/application Rendering blobs/history Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered blobs/_menu (5.5ms) User Load (0.3ms) SELECT * FROM `users` WHERE (email in ('tom@mojombo.com','tom@taco.(none)'))  Cache miss: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'tom@mojombo.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'tom@mojombo.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 2.35ms): avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb Cache miss: avatar_for_f3d1145fe3649a49f5a125f9a81665bf207a7765_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'tom@taco.(none)') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'tom@taco.(none)') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.95ms): avatar_for_f3d1145fe3649a49f5a125f9a81665bf207a7765_thumb Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Rendered commits/_log (31.1ms) Rendered layouts/_common_head (6.7ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 752ms (View: 63, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/blobs/history/master/README.txt] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#raw (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"raw", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "README"]} WARNING: Can't mass-assign these protected attributes: subdomain Completed in 3ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/blobs/raw/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/README] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#raw (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"raw", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "README"]} WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/blobs/raw/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/README] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#raw (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"raw", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "foo.rb"]} WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/blobs/raw/HEAD/foo.rb Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/blobs/raw/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/foo.rb] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#show (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "README"]} WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering blobs/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered blobs/_menu (3.5ms) Rendered layouts/_common_head (6.8ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 33ms (View: 31, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/blobs/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/README] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#show (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "foo.rb"]} WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/blobs/HEAD/foo.rb Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/blobs/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/foo.rb] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{"body"=>"blabla"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:11', 1, 1, 'blabla', NULL, NULL, 1, 'Repository', NULL, NULL, NULL, NULL, '2010-06-15 11:43:11') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Columns (0.7ms) SHOW FIELDS FROM `events` SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:11', NULL, 'Repository', 1, 12, 1, 'Repository', '5', '2010-06-15 11:43:11') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/comments Completed in 42ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments?comment%5Bbody%5D=blabla] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `comments`  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{"body"=>"moo"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:11', 1, 1, 'moo', NULL, NULL, 1, 'Repository', NULL, NULL, NULL, NULL, '2010-06-15 11:43:11') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:11', NULL, 'Repository', 1, 12, 1, 'Repository', '6', '2010-06-15 11:43:11') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/comments Completed in 23ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments?comment%5Bbody%5D=moo] SQL (0.2ms) SELECT count(*) AS count_all FROM `comments`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{"body"=>nil}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/application Rendering comments/new Rendered site/_markdown_help (2.4ms) Rendered comments/_form (14.2ms) Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 43ms (View: 35, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments?comment%5Bbody%5D=] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{}, "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{"body"=>"blabla"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:11', 1, 1, 'blabla', NULL, NULL, 1, 'Repository', NULL, NULL, NULL, NULL, '2010-06-15 11:43:11') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:11', NULL, 'Repository', 1, 12, 1, 'Repository', '7', '2010-06-15 11:43:11') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/comments Completed in 22ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments?comment%5Bbody%5D=blabla] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommentsController#index (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"comments", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.`status` = 1) AND (`merge_requests`.target_repository_id = 1)  Rendering template within layouts/application Rendering comments/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered layouts/_common_head (6.7ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (154.0ms) Rendered layouts/_common_footer (1.2ms) Completed in 228ms (View: 221, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments] Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#new (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"comments", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering comments/new Rendered site/_markdown_help (0.3ms) Rendered comments/_form (3.9ms) Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.5ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.1ms) Completed in 31ms (View: 25, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments/new] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommentsController#new (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"comments", "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:11', 2, 3, 'Looks like progress', NULL, NULL, 2, 'Repository', NULL, NULL, NULL, NULL, '2010-06-15 11:43:11') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing CommentsController#edit (for 0.0.0.0 at 2010-06-15 14:43:11) [GET] Parameters: {"project_id"=>"moes-project", "action"=>"edit", "id"=>"8", "controller"=>"comments", "repository_id"=>"moesprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'moesprojectrepos') LIMIT 1 Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 8)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered comments/_edit_body (5.2ms) Completed in 12ms (View: 6, DB: 2) | 200 OK [http://test.host/moes-project/moesprojectrepos/comments/8/edit] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:11', 2, 3, 'Looks like progress', NULL, NULL, 2, 'Repository', NULL, NULL, NULL, NULL, '2010-06-15 11:43:11') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing CommentsController#edit (for 0.0.0.0 at 2010-06-15 14:43:12) [GET] Parameters: {"project_id"=>"moes-project", "action"=>"edit", "id"=>"9", "controller"=>"comments", "repository_id"=>"moesprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'moesprojectrepos') LIMIT 1 Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 9)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Filter chain halted as [:comment_should_be_editable] rendered_or_redirected. Completed in 6ms (View: 0, DB: 3) | 401 Unauthorized [http://test.host/moes-project/moesprojectrepos/comments/9/edit] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:12', 2, 3, 'Looks like progress', NULL, NULL, 2, 'Repository', NULL, NULL, NULL, NULL, '2010-06-15 11:43:12') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing CommentsController#update (for 0.0.0.0 at 2010-06-15 14:43:12) [PUT] Parameters: {"project_id"=>"moes-project", "action"=>"update", "id"=>"10", "controller"=>"comments", "comment"=>{"body"=>"I take that back. This sucks"}, "repository_id"=>"moesprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'moesprojectrepos') LIMIT 1 Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 10)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Comment Update (0.2ms) UPDATE `comments` SET `body` = 'I take that back. This sucks', `state_change` = NULL, `updated_at` = '2010-06-15 11:43:12' WHERE `id` = 10 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered comments/_comment (10.1ms) Completed in 21ms (View: 11, DB: 4) | 200 OK [http://test.host/moes-project/moesprojectrepos/comments/10?comment%5Bbody%5D=I+take+that+back.+This+sucks] Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 10)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing CommentsController#create to js (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "comment"=>{"lines"=>"135-135:135-138+3", "body"=>"Now this is a useful feature", "target_id"=>1, "sha1"=>"ffca00", "target_type"=>"Repository", "path"=>"test/functional/comments_controller_test.rb"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('135-138', '2010-06-15 11:43:12', 1, 1, 'Now this is a useful feature', 3, 'ffca00', 2, 'Repository', NULL, NULL, 'test/functional/comments_controller_test.rb', '135-135', '2010-06-15 11:43:12') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'Repository', 1, 12, 2, 'Repository', '11', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (1, 4, '2010-06-15 11:43:12', '2010-06-15 11:43:12') Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 2))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = 'ffca00') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Rendered commits/_diffs (1.3ms) Rendered comments/_comment (6.4ms) Completed in 35ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Now+this+is+a+useful+feature&comment%5Blines%5D=135-135%3A135-138%2B3&comment%5Bpath%5D=test%2Ffunctional%2Fcomments_controller_test.rb&comment%5Bsha1%5D=ffca00&comment%5Btarget_id%5D=1&comment%5Btarget_type%5D=Repository] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:12', 1, 449844885, 'ffac0', '2010-06-15 11:43:12') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"2", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos", "add_to_favorites"=>"1"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 2)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-06-15 11:43:12', 1, 2, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-06-15 11:43:12') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '12', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 1, '2010-06-15 11:43:12', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (1.3ms) Rendered comments/_comment (6.2ms) Completed in 41ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?add_to_favorites=1&comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=2] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:12', 1, 449844885, 'ffac0', '2010-06-15 11:43:12') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Processing CommentsController#create to js (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"3", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 3)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-06-15 11:43:12', 1, 3, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-06-15 11:43:12') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '13', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.3ms) Completed in 32ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=3] SQL (0.2ms) SELECT count(*) AS count_all FROM `events`  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.`id` = '13') LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:12', 1, 449844885, 'ffac0', '2010-06-15 11:43:12') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"4", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 4)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 4)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-06-15 11:43:12', 1, 4, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-06-15 11:43:12') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '14', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.6ms) Completed in 33ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=4] SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:12', 1, 449844885, 'ffac0', '2010-06-15 11:43:12') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"5", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 5)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 5)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-06-15 11:43:12', 1, 5, 'Needs more cowbell', 14, 'ffac01-ffab99', 3, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-06-15 11:43:12') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:38:12') AND (`messages`.sender_id = 3)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(5, 0, 0, '2010-06-15 11:43:12', 'mike commented:\n\nNeeds more cowbell', '2010-06-15 11:43:12', 1, 'mike commented on your merge request', 'unread', NULL, 'MergeRequestVersion', 0, 3, NULL, '2010-06-15 11:43:12') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 12, 3, 'MergeRequest', '15', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (7.0ms) Completed in 54ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=5] User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 1) ORDER BY created_at ASC LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 5)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:12', 1, 449844885, 'ffac0', '2010-06-15 11:43:12') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"6", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 6)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 6)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-06-15 11:43:12', 1, 6, 'Needs more cowbell', 14, 'ffac01-ffab99', 3, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-06-15 11:43:12') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:38:12') AND (`messages`.sender_id = 3)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(6, 0, 0, '2010-06-15 11:43:12', 'mike commented:\n\nNeeds more cowbell', '2010-06-15 11:43:12', 1, 'mike commented on your merge request', 'unread', NULL, 'MergeRequestVersion', 0, 3, NULL, '2010-06-15 11:43:12') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 12, 3, 'MergeRequest', '16', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.9ms) Completed in 44ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=6] SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:12', 1, 449844885, 'ffac0', '2010-06-15 11:43:12') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"7", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (1.8ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 7)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 7)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-06-15 11:43:12', 1, 7, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-06-15 11:43:12') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '17', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.9ms) Completed in 36ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=7] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:12', 1, 449844885, 'ffac0', '2010-06-15 11:43:12') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"8", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 8)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 8)  Comment Create (0.3ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-06-15 11:43:12', 1, 8, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-06-15 11:43:12') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '18', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.6ms) Completed in 33ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=8] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 2)  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"This feature is highly anticipated!"}, "repository_id"=>"johansprojectrepos", "add_to_favorites"=>"1"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:12', 1, 449844885, 'This feature is highly anticipated!', NULL, NULL, 2, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-06-15 11:43:12') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:38:12') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-06-15 11:43:12', 'moe commented:\n\nThis feature is highly anticipated!', '2010-06-15 11:43:12', 1, 'moe commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-06-15 11:43:12') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 12, 2, 'MergeRequest', '19', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 2))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 2, '2010-06-15 11:43:12', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 40ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?add_to_favorites=1&comment%5Bbody%5D=This+feature+is+highly+anticipated%21] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 2)  SQL (8.7ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"This feature is highly anticipated!"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:12', 1, 449844885, 'This feature is highly anticipated!', NULL, NULL, 2, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-06-15 11:43:12') User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:38:12') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-06-15 11:43:12', 'moe commented:\n\nThis feature is highly anticipated!', '2010-06-15 11:43:12', 1, 'moe commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-06-15 11:43:12') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:12', NULL, 'MergeRequest', 449844885, 12, 2, 'MergeRequest', '20', '2010-06-15 11:43:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 2))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 34ms (DB: 13) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=This+feature+is+highly+anticipated%21] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `events`  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:12) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"awesome"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:13', 1, 449844885, 'awesome', NULL, NULL, 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-06-15 11:43:13') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:13', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '21', '2010-06-15 11:43:13') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 27ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=awesome] SQL (0.2ms) SELECT count(*) AS count_all FROM `events`  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:13) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"awesome", "state"=>"merged"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:13', 1, 449844885, 'awesome', NULL, NULL, 1, 'MergeRequest', '--- \n- \n- merged\n', NULL, NULL, NULL, '2010-06-15 11:43:13') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'merged', `status` = 1, `updated_at` = '2010-06-15 11:43:13' WHERE `id` = 449844885 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:13', NULL, 'awesome', 449844885, 15, 1, 'MergeRequest', 'State changed to merged', '2010-06-15 11:43:13') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 35ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=awesome&comment%5Bstate%5D=merged] SQL (0.2ms) SELECT count(*) AS count_all FROM `events`  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#new (for 0.0.0.0 at 2010-06-15 14:43:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"comments", "merge_request_id"=>"11", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering comments/new Rendered site/_markdown_help (0.2ms) Rendered comments/_form (3.5ms) Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.6ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 31ms (View: 24, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments/new] MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#new (for 0.0.0.0 at 2010-06-15 14:43:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"comments", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering comments/new Rendered site/_markdown_help (0.2ms) Rendered comments/_form (3.5ms) Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 30ms (View: 24, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments/new] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:13) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"Yeah, right", "state"=>"Resolved"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:13', 1, 449844885, 'Yeah, right', NULL, NULL, 3, 'MergeRequest', '--- \n- \n- Resolved\n', NULL, NULL, NULL, '2010-06-15 11:43:13') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:38:13') AND (`messages`.sender_id = 3)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-06-15 11:43:13', 'mike commented:\n\nYeah, right\n\nThe status of your merge request is now Resolved', '2010-06-15 11:43:13', 1, 'mike commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 3, NULL, '2010-06-15 11:43:13') Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 29ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=Yeah%2C+right&comment%5Bstate%5D=Resolved] MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:13) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"Yeah, right", "state"=>""}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:13', 1, 449844885, 'Yeah, right', NULL, NULL, 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-06-15 11:43:13') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:13', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '24', '2010-06-15 11:43:13') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 23ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=Yeah%2C+right&comment%5Bstate%5D=] MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:13) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"awesome"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:13', 1, 449844885, 'awesome', NULL, NULL, 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-06-15 11:43:13') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:13', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '25', '2010-06-15 11:43:13') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 23ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=awesome] SQL (11.2ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#create (for 0.0.0.0 at 2010-06-15 14:43:13) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"Yeah, right", "state"=>"Resolved"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:13', 1, 449844885, 'Yeah, right', NULL, NULL, 1, 'MergeRequest', '--- \n- \n- Resolved\n', NULL, NULL, NULL, '2010-06-15 11:43:13') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'resolved')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'resolved')) ORDER BY id asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Resolved', `status` = 1, `updated_at` = '2010-06-15 11:43:13' WHERE `id` = 449844885 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:13', NULL, 'Yeah, right', 449844885, 15, 1, 'MergeRequest', 'State changed to Resolved', '2010-06-15 11:43:13') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 32ms (DB: 16) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=Yeah%2C+right&comment%5Bstate%5D=Resolved] MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#preview (for 0.0.0.0 at 2010-06-15 14:43:13) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"preview", "controller"=>"comments", "comment"=>{"body"=>"Foo"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering comments/preview Completed in 7ms (View: 2, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments/preview?comment%5Bbody%5D=Foo] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:13' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:13' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:13' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:13' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:13' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-06-15 14:43:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["test", "master"], "page"=>nil, "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.31): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Cache miss: paglogtotal:1:2d3acf90f35989df8f262dc50beadc4ee3ae1560:test/master ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Cache write (will save 471.09ms): paglogtotal:1:2d3acf90f35989df8f262dc50beadc4ee3ae1560:test/master Cache miss: paglog:1:1:2d3acf90f35989df8f262dc50beadc4ee3ae1560:test/master ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Cache write (will save 599.98ms): paglog:1:1:2d3acf90f35989df8f262dc50beadc4ee3ae1560:test/master Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (email in ('tom@mojombo.com','dustin@spy.net','chris@ozmm.org','tim@spork.in','evil@che.lu','kamal.fariz@gmail.com','wayne@larsen.st'))  Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache miss: avatar_for_227372f54b3a8795271bf774cb4299f439d0525b_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'dustin@spy.net') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'dustin@spy.net') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 2.00ms): avatar_for_227372f54b3a8795271bf774cb4299f439d0525b_thumb Cache miss: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'chris@ozmm.org') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'chris@ozmm.org') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.94ms): avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache miss: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'tim@spork.in') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'tim@spork.in') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.87ms): avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache miss: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'evil@che.lu') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'evil@che.lu') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.81ms): avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache miss: avatar_for_bf44e74684c0ee0a5128bdb080f34e6722bed96e_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'kamal.fariz@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'kamal.fariz@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.76ms): avatar_for_bf44e74684c0ee0a5128bdb080f34e6722bed96e_thumb Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache miss: avatar_for_a22a9b1652636a6d1962b640a143bfbc92d70bc6_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'wayne@larsen.st') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'wayne@larsen.st') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.81ms): avatar_for_a22a9b1652636a6d1962b640a143bfbc92d70bc6_thumb Rendered commits/_log (125.8ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.62): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.5ms) Rendered layouts/_login_logout (1.3ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.2ms) Completed in 2216ms (View: 806, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/test/master] Grit::Git (0.46): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' SQL (2.3ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:16' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-06-15 14:43:16) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["master"], "page"=>nil, "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.45): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache miss: paglogtotal:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Grit::Git (0.45): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache write (will save 492.59ms): paglogtotal:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master Cache miss: paglog:1:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache write (will save 624.68ms): paglog:1:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (email in ('schacon@gmail.com','tom@mojombo.com','dustin@spy.net','chris@ozmm.org','tim@spork.in','evil@che.lu','kamal.fariz@gmail.com'))  Cache miss: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 2.08ms): avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_227372f54b3a8795271bf774cb4299f439d0525b_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_bf44e74684c0ee0a5128bdb080f34e6722bed96e_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Rendered commits/_log (107.0ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.47): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.1ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 2195ms (View: 620, DB: 5) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/master] Grit::Git (0.50): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.5ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:19' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-06-15 14:43:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["master"], "page"=>"3", "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.45): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache hit: paglogtotal:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Cache miss: paglog:3:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-list --pretty='raw' --max-count='30' --skip='60' 'master' Cache write (will save 434.35ms): paglog:3:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (email in ('chris@ozmm.org','tom@mojombo.com','tom@taco.(none)'))  Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_f3d1145fe3649a49f5a125f9a81665bf207a7765_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Rendered commits/_log (250.5ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.32): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.1ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.4ms) Completed in 1516ms (View: 622, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/master?page=3] Grit::Git (0.48): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-list --pretty='raw' --max-count='30' --skip='60' 'master' SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:21' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-06-15 14:43:21) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["master"], "page"=>nil, "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache hit: paglogtotal:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Cache hit: paglog:1:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.5ms) SELECT * FROM `users` WHERE (email in ('schacon@gmail.com','tom@mojombo.com','dustin@spy.net','chris@ozmm.org','tim@spork.in','evil@che.lu','kamal.fariz@gmail.com'))  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_227372f54b3a8795271bf774cb4299f439d0525b_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_bf44e74684c0ee0a5128bdb080f34e6722bed96e_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Rendered commits/_log (250.8ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.32): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.2ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 1063ms (View: 616, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/master] Grit::Git (0.45): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' SQL (1.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:22' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-06-15 14:43:22) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["master"], "page"=>nil, "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/commits/nonpack Completed in 4ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos/commits/master] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.7ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:22' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#feed to atom (for 0.0.0.0 at 2010-06-15 14:43:22) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"atom", "action"=>"feed", "id"=>"master", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Rendering commits/feed Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 22ms (View: 19, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits//feed.atom?id=master] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:22' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#feed to atom (for 0.0.0.0 at 2010-06-15 14:43:22) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"atom", "action"=>"feed", "id"=>"master", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Rendering commits/feed Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 8ms (View: 5, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits//feed.atom?id=master] SQL (1.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:22' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Processing CommitsController#index (for 0.0.0.0 at 2010-06-15 14:43:23) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["ticket-%2342"], "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.56): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'ticket-\#42' Cache miss: paglogtotal:1::ticket-#42 ({}) Grit::Git (0.59): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'ticket-\#42' Cache write (will save 633.26ms): paglogtotal:1::ticket-#42 Cache miss: paglog:1:1::ticket-#42 ({}) Grit::Git (0.57): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'ticket-\#42' Cache write (will save 572.76ms): paglog:1:1::ticket-#42 Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (email in (NULL))  Rendered commits/_log (1.1ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (8.1ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 2270ms (View: 495, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/ticket-%252342] SQL (1.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:25' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-06-15 14:43:25) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (11.9ms) Rendered commits/_diffs (1324.7ms) Rendered comments/_form (6.0ms) Rendered comments/_inline_comment_form (3.5ms) Rendered layouts/_common_head (6.4ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 2928ms (View: 1370, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:28' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show to diff (for 0.0.0.0 at 2010-06-15 14:43:28) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"diff", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Completed in 1097ms (View: 0, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157.diff] SQL (1.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:30' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show to patch (for 0.0.0.0 at 2010-06-15 14:43:30) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"patch", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Grit::Git (0.54): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' format-patch -1 --stdout '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' Completed in 1640ms (View: 0, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157.patch] Grit::Git (0.52): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' format-patch -1 --stdout '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:32' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-06-15 14:43:32) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (6.3ms) Rendered commits/_diffs (1218.1ms) Rendered comments/_form (1.5ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (6.6ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 2362ms (View: 1248, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:35' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-06-15 14:43:35) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (6.3ms) Rendered commits/_diffs (1208.5ms) Rendered comments/_form (1.5ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.4ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.2ms) Completed in 2346ms (View: 1241, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:37' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-06-15 14:43:37) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (6.7ms) Rendered commits/_diffs (1073.3ms) Rendered comments/_form (3.2ms) Rendered comments/_inline_comment_form (0.6ms) Rendered layouts/_common_head (6.7ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 2347ms (View: 1253, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (2.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:40' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-06-15 11:43:40', 1, 1, 'foo', NULL, '3fa4e130fa18c92e3030d4accb5d3e0cadd40157', 1, 'Repository', NULL, NULL, NULL, NULL, '2010-06-15 11:43:40') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-06-15 14:43:40) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.4ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (6.4ms) Rendered commits/_diffs (1236.9ms) Rendered comments/_comment (8.8ms) Rendered comments/_form (1.4ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (6.6ms) Rendered layouts/_login_logout (1.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.4ms) Completed in 2243ms (View: 1278, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:42' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-06-15 14:43:42) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (4.1ms) Rendered comments/_form (1.2ms) Rendered comments/_inline_comment_form (0.7ms) Rendered layouts/_common_head (6.1ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 36ms (View: 26, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:42' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-06-15 14:43:42) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"123", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/commits Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/commit/123] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:43:42' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-06-15 14:43:42) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "diffmode"=>"sidebyside", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (159.2ms) Grit::Git (0.34): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --max-count='1' --skip='0' --numstat '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' Rendered commits/_diffs (2259.2ms) Rendered comments/_form (1.4ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (6.2ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (2.8ms) Completed in 3946ms (View: 2964, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157?diffmode=sidebyside] SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:46', 2, 1, 'Group', NULL, 369376230, 1, '2010-06-15 11:43:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:38:46') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405955, 0, 0, '2010-06-15 11:43:46', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-06-15 11:43:46', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-06-15 11:43:46') Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:46', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-06-15 11:43:46') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  Processing CommittershipsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:46) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"1011405955", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405955 AND (`committerships`.repository_id = 1))  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.3ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405955 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405955 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:46', NULL, NULL, 1, 11, 1, 'Repository', 'team-thunderbird', '2010-06-15 11:43:46') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 36ms (DB: 9) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/1011405955] SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Committership Load (0.1ms) SELECT * FROM `committerships` LIMIT 1 Processing CommittershipsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:46) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"347082427", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:require_adminship] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/347082427] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:46', 2, NULL, 'User', NULL, 3, 1, '2010-06-15 11:43:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#edit (for 0.0.0.0 at 2010-06-15 14:43:46) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"1011405956", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405956 AND (`committerships`.repository_id = 1))  Rendering template within layouts/application Rendering committerships/edit Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (1.9ms) Rendered layouts/_common_head (6.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 44ms (View: 34, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships/1011405956/edit] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:46', 2, NULL, 'User', NULL, 3, 1, '2010-06-15 11:43:46') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#edit (for 0.0.0.0 at 2010-06-15 14:43:46) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"1011405957", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405957 AND (`committerships`.repository_id = 1))  Rendering template within layouts/application Rendering committerships/edit Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Rendered layouts/_common_head (5.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 38ms (View: 29, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships/1011405957/edit] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:46', 2, NULL, 'User', NULL, 3, 1, '2010-06-15 11:43:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#edit (for 0.0.0.0 at 2010-06-15 14:43:46) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"1011405958", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405958 AND (`committerships`.repository_id = 1))  Rendering template within layouts/application Rendering committerships/edit Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Rendered layouts/_common_head (5.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 38ms (View: 29, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships/1011405958/edit] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-06-15 11:43:46' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:43:46', 135138680, 369376230, 1, '2010-06-15 11:43:46') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#index (for 0.0.0.0 at 2010-06-15 14:43:46) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache miss: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@johansorensen.com') LIMIT 1 Cache write (will save 0.89ms): avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 73ms (View: 61, DB: 7) | 200 OK [http://test.host/+team-thunderbird/johansprojectrepos/committerships] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#index (for 0.0.0.0 at 2010-06-15 14:43:46) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) LIMIT 0, 30 Rendering template within layouts/application Rendering committerships/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (7.0ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 239ms (View: 227, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#index (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"action"=>"index", "controller"=>"committerships", "user_id"=>"johan", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 71ms (View: 58, DB: 6) | 200 OK [http://test.host/~johan/johansprojectrepos/committerships] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3 AND `committerships`.id <> 1011405954) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 112, `updated_at` = '2010-06-15 11:43:47' WHERE `id` = 1011405954 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'moesprojectrepos' AND `repositories`.project_id = 2 AND `repositories`.id <> 3) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b13/de7/574a4a04fb250257dcb5a7d6ef01dcf290' AND `repositories`.id <> 3) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-06-15 11:43:47' WHERE `id` = 3 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:43:47', 135138680, 369376230, 1, '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 64)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Processing CommittershipsController#index (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"committerships", "repository_id"=>"moesprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'moesprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 64)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Cache miss: avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'mike@example.com') LIMIT 1 Cache write (will save 1.05ms): avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 32)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Cache hit: avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 32)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 64)) AND (`committerships`.repository_id = 3))  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Cache hit: avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 64)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 75ms (View: 61, DB: 9) | 200 OK [http://test.host/+team-thunderbird/moesprojectrepos/committerships] Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3 AND (`committerships`.`committer_id` = 369376230 AND `committerships`.`committer_type` = 'Group'))  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-06-15 11:43:47' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommittershipsController#index (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/+team-thunderbird/johansprojectrepos Filter chain halted as [:require_adminship] rendered_or_redirected. Completed in 8ms (DB: 4) | 302 Found [http://test.host/+team-thunderbird/johansprojectrepos/committerships] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#index (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:require_adminship] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#new (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/new Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Rendered layouts/_common_head (5.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 55ms (View: 46, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:47', 2, NULL, 'User', 64, 3, 2, '2010-06-15 11:43:47') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing CommittershipsController#new (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "group_id"=>"team-thunderbird", "controller"=>"committerships", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/new Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (176.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 214ms (View: 204, DB: 4) | 200 OK [http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone/committerships/new] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  Processing CommittershipsController#create (for 0.0.0.0 at 2010-06-15 14:43:47) [POST] Parameters: {"user"=>{}, "project_id"=>"johans-project", "action"=>"create", "controller"=>"committerships", "permissions"=>["review"], "group"=>{"name"=>"team-thunderbird"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:47', 2, 1, 'Group', 16, 369376230, 1, '2010-06-15 11:43:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:38:47') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405960, 0, 0, '2010-06-15 11:43:47', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-06-15 11:43:47', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-06-15 11:43:47') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-06-15 11:43:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 39ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships?&group%5Bname%5D=team-thunderbird&permissions%5B%5D=review] SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing CommittershipsController#create (for 0.0.0.0 at 2010-06-15 14:43:47) [POST] Parameters: {"user"=>{"login"=>"moe"}, "project_id"=>"johans-project", "action"=>"create", "controller"=>"committerships", "permissions"=>["review", "commit"], "group"=>{}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'moe') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:47', 2, 1, 'User', 48, 2, 1, '2010-06-15 11:43:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:38:47') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405961, 0, 0, '2010-06-15 11:43:47', 'johan added moe as a committer to the johansprojectrepos in the johans project project', '2010-06-15 11:43:47', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-06-15 11:43:47') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', NULL, NULL, 1, 10, 1, 'Repository', 'moe', '2010-06-15 11:43:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 37ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships?&permissions%5B%5D=review&permissions%5B%5D=commit&user%5Blogin%5D=moe] SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:47', 2, NULL, 'User', NULL, 3, 1, '2010-06-15 11:43:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#update (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"update", "id"=>"1011405962", "controller"=>"committerships", "permissions"=>["review"], "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405962 AND (`committerships`.repository_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011405962) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-06-15 11:43:47' WHERE `id` = 1011405962 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 13ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/1011405962?permissions%5B%5D=review] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:47', 2, NULL, 'User', NULL, 3, 1, '2010-06-15 11:43:47') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#update (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"update", "id"=>"1011405963", "controller"=>"committerships", "permissions"=>["review"], "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405963 AND (`committerships`.repository_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011405963) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-06-15 11:43:47' WHERE `id` = 1011405963 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 13ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/1011405963?permissions%5B%5D=review] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:47', 2, NULL, 'User', NULL, 3, 1, '2010-06-15 11:43:47') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#update (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"update", "id"=>"1011405964", "controller"=>"committerships", "permissions"=>["review"], "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405964 AND (`committerships`.repository_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011405964) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-06-15 11:43:47' WHERE `id` = 1011405964 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 13ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/1011405964?permissions%5B%5D=review] Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405964)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#auto_complete_for_group_name to js (for 0.0.0.0 at 2010-06-15 14:43:47) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_group_name", "controller"=>"committerships", "q"=>"thunder"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (LOWER(name) LIKE '%thunder%') LIMIT 10 Completed in 3ms (View: 0, DB: 2) | 200 OK [http://test.host/committerships/auto_complete_for_group_name?format=js&q=thunder] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'dr_awesome@example.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `email` = 'dr_awesome@example.com', `updated_at` = '2010-06-15 11:43:47' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#auto_complete_for_user_login to js (for 0.0.0.0 at 2010-06-15 14:43:47) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_user_login", "controller"=>"committerships", "q"=>"dr_aw"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (lower(login) like '%dr_aw%' or lower(email) like '%dr_aw%') LIMIT 10 Completed in 3ms (View: 0, DB: 2) | 200 OK [http://test.host/committerships/auto_complete_for_user_login?format=js&q=dr_aw] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#auto_complete_for_user_login to js (for 0.0.0.0 at 2010-06-15 14:43:47) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_user_login", "controller"=>"committerships", "q"=>"joha"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (lower(login) like '%joha%' or lower(email) like '%joha%') LIMIT 10 Completed in 3ms (View: 0, DB: 1) | 200 OK [http://test.host/committerships/auto_complete_for_user_login?format=js&q=joha] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `public_email` = 0, `updated_at` = '2010-06-15 11:43:47' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#auto_complete_for_user_login to js (for 0.0.0.0 at 2010-06-15 14:43:47) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_user_login", "controller"=>"committerships", "q"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (lower(login) like '%johan%' or lower(email) like '%johan%') LIMIT 10 Completed in 3ms (View: 0, DB: 1) | 200 OK [http://test.host/committerships/auto_complete_for_user_login?format=js&q=johan] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', NULL, 'A push event', 1, 18, 1, 'Repository', '', '2010-06-05 11:43:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 0', 23, 5, NULL, 'Event', 'ffc00', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 1', 23, 5, NULL, 'Event', 'ffc01', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 2', 23, 5, NULL, 'Event', 'ffc02', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 3', 23, 5, NULL, 'Event', 'ffc03', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 4', 23, 5, NULL, 'Event', 'ffc04', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 5', 23, 5, NULL, 'Event', 'ffc05', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 6', 23, 5, NULL, 'Event', 'ffc06', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 7', 23, 5, NULL, 'Event', 'ffc07', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 8', 23, 5, NULL, 'Event', 'ffc08', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:47', 'John Doe ', 'Commit number 9', 23, 5, NULL, 'Event', 'ffc09', '2010-06-15 11:43:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing EventsController#commits to js (for 0.0.0.0 at 2010-06-15 14:43:47) [GET] Parameters: {"format"=>"js", "action"=>"commits", "id"=>"23", "controller"=>"events"} Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 23 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering events/commits Cache miss: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@doe.org') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@doe.org') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.80ms): avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 23)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 70ms (View: 52, DB: 12) | 200 OK [http://test.host/events/23/commits.js] SQL (6.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', NULL, 'A push event', 1, 18, 1, 'Repository', '', '2010-06-05 11:43:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 0', 34, 5, NULL, 'Event', 'ffc00', '2010-06-15 11:43:48') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 1', 34, 5, NULL, 'Event', 'ffc01', '2010-06-15 11:43:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 2', 34, 5, NULL, 'Event', 'ffc02', '2010-06-15 11:43:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 3', 34, 5, NULL, 'Event', 'ffc03', '2010-06-15 11:43:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 4', 34, 5, NULL, 'Event', 'ffc04', '2010-06-15 11:43:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 5', 34, 5, NULL, 'Event', 'ffc05', '2010-06-15 11:43:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 6', 34, 5, NULL, 'Event', 'ffc06', '2010-06-15 11:43:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 7', 34, 5, NULL, 'Event', 'ffc07', '2010-06-15 11:43:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 8', 34, 5, NULL, 'Event', 'ffc08', '2010-06-15 11:43:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', 'John Doe ', 'Commit number 9', 34, 5, NULL, 'Event', 'ffc09', '2010-06-15 11:43:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing EventsController#commits to js (for 0.0.0.0 at 2010-06-15 14:43:48) [GET] Parameters: {"format"=>"js", "action"=>"commits", "id"=>"34", "controller"=>"events"} Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 34 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering events/commits Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 34)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 61ms (View: 53, DB: 19) | 200 OK [http://test.host/events/34/commits.js] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', NULL, '', 1, 0, 1, 'Project', '', '2010-06-15 11:43:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing EventsController#index (for 0.0.0.0 at 2010-06-15 14:43:48) [GET] Parameters: {"action"=>"index", "controller"=>"events"} Event Load (0.3ms) SELECT * FROM `events` ORDER BY events.created_at desc LIMIT 0, 30 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering events/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Rendered events/_event (8.5ms) Event rendering (9.6ms) Rendered events/_events (11.8ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 34ms (View: 31, DB: 3) | 200 OK [http://test.host/events] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create to js (for 0.0.0.0 at 2010-06-15 14:43:48) [POST] Parameters: {"format"=>"js", "action"=>"create", "watchable_type"=>"Repository", "watchable_id"=>"2", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-06-15 11:43:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 31ms (View: 0, DB: 3) | 201 Created [http://test.host/favorites.js?watchable_id=2&watchable_type=Repository] SQL (9.7ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-06-15 14:43:48) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Rrepository", "watchable_id"=>"2", "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create to js (for 0.0.0.0 at 2010-06-15 14:43:48) [POST] Parameters: {"format"=>"js", "action"=>"create", "watchable_type"=>"Repository", "watchable_id"=>"2", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.4ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-06-15 11:43:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 20ms (View: 0, DB: 3) | 201 Created [http://test.host/favorites.js?watchable_id=2&watchable_type=Repository] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-06-15 14:43:48) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Repository", "watchable_id"=>"2", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-06-15 11:43:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 21ms (DB: 3) | 302 Found [http://test.host/favorites?watchable_id=2&watchable_type=Repository] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-06-15 14:43:48) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Repository", "watchable_id"=>"2", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-06-15 11:43:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 22ms (DB: 3) | 302 Found [http://test.host/favorites?watchable_id=2&watchable_type=Repository] SQL (4.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-06-15 14:43:48) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Repository", "watchable_id"=>"2", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:48', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-06-15 11:43:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 22ms (DB: 7) | 302 Found [http://test.host/favorites?watchable_id=2&watchable_type=Repository] Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-06-15 14:43:48) [POST] Parameters: {"action"=>"create", "watchable_type"=>"RRepository", "watchable_id"=>"2", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.5ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-06-15 14:43:48) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Repository", "watchable_id"=>"999", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 999)  Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-06-15 14:43:48) [POST] Parameters: {"action"=>"create", "controller"=>"favorites"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/favorites] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy (for 0.0.0.0 at 2010-06-15 14:43:48) [DELETE] Parameters: {"action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916943 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916943 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 10ms (DB: 2) | 302 Found [http://test.host/favorites/153916943] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy (for 0.0.0.0 at 2010-06-15 14:43:48) [DELETE] Parameters: {"action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916944 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916944 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 9ms (DB: 2) | 302 Found [http://test.host/favorites/153916944] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916944)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy (for 0.0.0.0 at 2010-06-15 14:43:48) [DELETE] Parameters: {"action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916945 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916945 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 9ms (DB: 3) | 302 Found [http://test.host/favorites/153916945] Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy to js (for 0.0.0.0 at 2010-06-15 14:43:48) [DELETE] Parameters: {"format"=>"js", "action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916946 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916946 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 8ms (View: 0, DB: 3) | 200 OK [http://test.host/favorites/153916946.js] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:48', NULL, 'Repository', 2, 1, '2010-06-15 11:43:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy to js (for 0.0.0.0 at 2010-06-15 14:43:48) [DELETE] Parameters: {"format"=>"js", "action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916947 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916947 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 181ms (View: 0, DB: 2) | 200 OK [http://test.host/favorites/153916947.js] SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Processing FavoritesController#create to js (for 0.0.0.0 at 2010-06-15 14:43:49) [POST] Parameters: {"format"=>"js", "action"=>"create", "watchable_type"=>"MergeRequest", "watchable_id"=>"449844885", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'MergeRequest', 449844885, 1, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 449844885 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'MergeRequest' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:49', NULL, 'MergeRequest', 1, 22, 1, 'User', 449844885, '2010-06-15 11:43:49') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 23ms (View: 0, DB: 4) | 201 Created [http://test.host/favorites.js?watchable_id=449844885&watchable_type=MergeRequest] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'MergeRequest', 449844885, 1, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy to js (for 0.0.0.0 at 2010-06-15 14:43:49) [DELETE] Parameters: {"format"=>"js", "action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916949 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 449844885 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'MergeRequest' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916949 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 9ms (View: 0, DB: 3) | 200 OK [http://test.host/favorites/153916949.js] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'Repository', 757051622, 3, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#update (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"update", "id"=>"153916950", "controller"=>"favorites", "favorite"=>{"notify_by_email"=>true}} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916950 AND (`favorites`.user_id = 3))  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository' AND `favorites`.id <> 153916950) LIMIT 1 Favorite Update (0.2ms) UPDATE `favorites` SET `notify_by_email` = 1, `updated_at` = '2010-06-15 11:43:49' WHERE `id` = 153916950 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/favorites Completed in 8ms (DB: 2) | 302 Found [http://test.host/favorites/153916950?favorite%5Bnotify_by_email%5D=true] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916950)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'Repository', 757051622, 3, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing FavoritesController#update (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"update", "id"=>"153916951", "controller"=>"favorites", "favorite"=>{"user_id"=>1}} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916951 AND (`favorites`.user_id = 3))  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository' AND `favorites`.id <> 153916951) LIMIT 1 Favorite Update (0.2ms) UPDATE `favorites` SET `notify_by_email` = NULL, `updated_at` = '2010-06-15 11:43:49' WHERE `id` = 153916951 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/favorites Completed in 7ms (DB: 2) | 302 Found [http://test.host/favorites/153916951?favorite%5Buser_id%5D=1] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916951)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'Repository', 757051622, 3, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'Repository', 757051622, 1, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#update (for 0.0.0.0 at 2010-06-15 14:43:49) [PUT] Parameters: {"action"=>"update", "id"=>"153916953", "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153916953 AND (`favorites`.user_id = 3))  Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'Repository', 1, 3, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#index (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"index", "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering favorites/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 34ms (View: 29, DB: 3) | 200 OK [http://test.host/favorites] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'Repository', 1, 3, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#index (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"index", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering favorites/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.6ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.2ms) Completed in 31ms (View: 26, DB: 3) | 200 OK [http://test.host/favorites] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'Repository', 1, 3, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'Repository', 757051622, 1, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#index (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"index", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering favorites/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.6ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 30ms (View: 25, DB: 3) | 200 OK [http://test.host/favorites] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:49', NULL, 'Repository', 1, 3, '2010-06-15 11:43:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#index (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"index", "controller"=>"favorites"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/favorites] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing GroupsController#index (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"index", "controller"=>"groups"} Group Load (0.2ms) SELECT * FROM `groups` LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/index SQL (0.3ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))  SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238917))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.owner_id = 764238917 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 29ms (View: 26, DB: 2) | 200 OK [http://test.host/teams] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing GroupsController#show (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"show", "id"=>"team-thunderbird", "controller"=>"groups"} Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT `memberships`.* FROM `memberships` WHERE (`memberships`.group_id = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.2ms) SELECT `projects`.* FROM `projects` WHERE (`projects`.`owner_id` = 369376230 and `projects`.`owner_type` = 'Group')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.`owner_id` = 369376230 and `repositories`.`owner_type` = 'Group' AND (kind NOT IN (1,4)))  Committership Load (0.2ms) SELECT `committerships`.* FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 and `committerships`.`committer_type` = 'Group')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Event Load (0.2ms) SELECT * FROM `events` WHERE (events.user_id in (3) and events.project_id in (3,1,2)) AND (target_type != 'Event') ORDER BY events.created_at desc, created_at desc LIMIT 0, 30 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/show SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 0) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) AND ((`repositories`.`kind` = 0) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event rendering (0.1ms) Rendered events/_events (2.3ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.2ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 60ms (View: 44, DB: 4) | 200 OK [http://test.host/+team-thunderbird] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (2.5ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#edit (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"edit", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/edit Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 369376230 AND `projects`.owner_type = 'Group')  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 44ms (View: 37, DB: 5) | 200 OK [http://test.host/+team-thunderbird/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#edit (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"edit", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/edit Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 369376230 AND `projects`.owner_type = 'Group')  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.0ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 38ms (View: 31, DB: 3) | 200 OK [http://test.host/+team-thunderbird/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#update (for 0.0.0.0 at 2010-06-15 14:43:49) [PUT] Parameters: {"action"=>"update", "id"=>"team-thunderbird", "controller"=>"groups", "group"=>{"name"=>"hackers"}} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'team-thunderbird' AND `groups`.id <> 369376230) LIMIT 1 Group Update (0.2ms) UPDATE `groups` SET `description` = NULL, `updated_at` = '2010-06-15 11:43:49' WHERE `id` = 369376230 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird Completed in 11ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird?group%5Bname%5D=hackers] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing GroupsController#update (for 0.0.0.0 at 2010-06-15 14:43:49) [PUT] Parameters: {"action"=>"update", "id"=>"team-thunderbird", "controller"=>"groups", "group"=>{"description"=>"Unskilled and unprofessional"}} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/+team-thunderbird?group%5Bdescription%5D=Unskilled+and+unprofessional] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#update (for 0.0.0.0 at 2010-06-15 14:43:49) [PUT] Parameters: {"action"=>"update", "id"=>"team-thunderbird", "controller"=>"groups", "group"=>{"description"=>"We save lives"}} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'team-thunderbird' AND `groups`.id <> 369376230) LIMIT 1 Group Update (0.2ms) UPDATE `groups` SET `description` = 'We save lives', `updated_at` = '2010-06-15 11:43:49' WHERE `id` = 369376230 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird Completed in 11ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird?group%5Bdescription%5D=We+save+lives] Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#new (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"new", "controller"=>"groups"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.0ms) Completed in 29ms (View: 26, DB: 2) | 200 OK [http://test.host/teams/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing GroupsController#create (for 0.0.0.0 at 2010-06-15 14:43:49) [POST] Parameters: {"project"=>{"slug"=>"johans-project"}, "action"=>"create", "controller"=>"groups", "group"=>{"name"=>"foo-hackers", "description"=>"Hacking the foos for your bars"}} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo-hackers') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('foo-hackers', NULL, '2010-06-15 11:43:49', NULL, NULL, 'Hacking the foos for your bars', NULL, 3, '2010-06-15 11:43:49') [paperclip] Saving attachments. Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 764238918) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:43:49', 135138680, 764238918, 3, '2010-06-15 11:43:49') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+foo-hackers Completed in 15ms (DB: 2) | 302 Found [http://test.host/teams?group%5Bdescription%5D=Hacking+the+foos+for+your+bars&group%5Bname%5D=foo-hackers&project%5Bslug%5D=johans-project] SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238918))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing GroupsController#new (for 0.0.0.0 at 2010-06-15 14:43:49) [GET] Parameters: {"action"=>"new", "controller"=>"groups"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/teams/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Group Update (0.2ms) UPDATE `groups` SET `avatar_file_name` = 'foo.png', `updated_at` = '2010-06-15 11:43:49' WHERE `id` = 369376230 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing GroupsController#avatar (for 0.0.0.0 at 2010-06-15 14:43:49) [DELETE] Parameters: {"action"=>"avatar", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'team-thunderbird' AND `groups`.id <> 369376230) LIMIT 1 Group Update (0.2ms) UPDATE `groups` SET `avatar_file_name` = NULL, `updated_at` = '2010-06-15 11:43:49' WHERE `id` = 369376230 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird Completed in 12ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/avatar] Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:43:49', 820312697, 369376230, 1, '2010-06-15 11:43:49') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  Processing GroupsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:50) [DELETE] Parameters: {"action"=>"destroy", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.committer_id = 369376230 AND `committerships`.committer_type = 'Group')  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:50', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-06-15 11:43:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405954 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405954 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-06-15 11:43:50', NULL, NULL, 3, 11, 1, 'Repository', 'team-thunderbird', '2010-06-15 11:43:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 621556429 AND `messages`.notifiable_type = 'Membership')  Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 621556429 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:38:50') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-06-15 11:43:50', 0, 4, 1, NULL, '22f/41b/0f22f975b35f3d4c27d0850a6e97815f46', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-06-15 11:43:50', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051623) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:50', 2, NULL, 'Group', 112, 369376230, 757051623, '2010-06-15 11:43:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051623)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Cloner Load (0.3ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 52)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 52 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 [paperclip] Deleting attachments. Group Destroy (0.2ms) DELETE FROM `groups` WHERE `id` = 369376230 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/teams Completed in 315ms (DB: 18) | 302 Found [http://test.host/+team-thunderbird] SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  SQL (1.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 369376230 AND `projects`.owner_type = 'Group')  SQL (0.0ms) SAVEPOINT active_record_1 Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 3 AND `taggings`.taggable_type = 'Project')  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Project')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.project_id = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind != 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind = 1)) LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.project_id = 3) ORDER BY created_at asc Project Destroy (0.1ms) DELETE FROM `projects` WHERE `id` = 3 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  Processing GroupsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:50) [DELETE] Parameters: {"action"=>"destroy", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 369376230 AND `projects`.owner_type = 'Group')  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.committer_id = 369376230 AND `committerships`.committer_type = 'Group')  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:50', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-06-15 11:43:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405954 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405954 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-06-15 11:43:50', NULL, NULL, 3, 11, 1, 'Repository', 'team-thunderbird', '2010-06-15 11:43:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 621556429 AND `messages`.notifiable_type = 'Membership')  Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 621556429 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:38:50') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-06-15 11:43:50', 0, 4, 1, NULL, '730/7e8/e627b2ef56f7fc872a2d95b2c953ae31e8', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-06-15 11:43:50', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051624) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:50', 2, NULL, 'Group', 112, 369376230, 757051624, '2010-06-15 11:43:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051624)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Cloner Load (0.3ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 54)  Event Destroy (0.2ms) DELETE FROM `events` WHERE `id` = 54 Hook Load (0.2ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 [paperclip] Deleting attachments. Group Destroy (0.2ms) DELETE FROM `groups` WHERE `id` = 369376230 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/teams Completed in 122ms (DB: 21) | 302 Found [http://test.host/+team-thunderbird] SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:43:50', 820312697, 369376230, 1, '2010-06-15 11:43:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  Processing GroupsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:50) [DELETE] Parameters: {"action"=>"destroy", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Redirected to http://test.host/+team-thunderbird Completed in 7ms (DB: 4) | 302 Found [http://test.host/+team-thunderbird] SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create (for 0.0.0.0 at 2010-06-15 14:43:50) [POST] Parameters: {"action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}} Redirected to https://test.host:80/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [https://test.host/keys/create?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create (for 0.0.0.0 at 2010-06-15 14:43:50) [POST] Parameters: {"action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-06-15 11:43:50', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-06-15 11:43:50') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan/keys Completed in 22ms (DB: 1) | 302 Found [https://test.host/~johan/keys?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#create (for 0.0.0.0 at 2010-06-15 14:43:50) [POST] Parameters: {"action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [https://test.host/~johan/keys?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create (for 0.0.0.0 at 2010-06-15 14:43:50) [POST] Parameters: {"action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-06-15 11:43:50', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-06-15 11:43:50') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan/keys Completed in 10ms (DB: 1) | 302 Found [https://test.host/~johan/keys?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create to xml (for 0.0.0.0 at 2010-06-15 14:43:50) [POST] Parameters: {"format"=>"xml", "action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (View: 0, DB: 1) | 401 Unauthorized [https://test.host/~johan/keys.xml?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create to xml (for 0.0.0.0 at 2010-06-15 14:43:50) [POST] Parameters: {"format"=>"xml", "action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-06-15 11:43:50', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-06-15 11:43:50') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 14ms (View: 4, DB: 1) | 201 Created [https://test.host/~johan/keys.xml?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#create to xml (for 0.0.0.0 at 2010-06-15 14:43:50) [POST] Parameters: {"format"=>"xml", "action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [https://test.host/~johan/keys.xml?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create to xml (for 0.0.0.0 at 2010-06-15 14:43:50) [POST] Parameters: {"format"=>"xml", "action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-06-15 11:43:50', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-06-15 11:43:50') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 14ms (View: 4, DB: 1) | 201 Created [https://test.host/~johan/keys.xml?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index (for 0.0.0.0 at 2010-06-15 14:43:50) [GET] Parameters: {"action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering keys/index SshKey Load (0.3ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 34ms (View: 29, DB: 2) | 200 OK [https://test.host/~johan/keys] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#index (for 0.0.0.0 at 2010-06-15 14:43:50) [GET] Parameters: {"action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [https://test.host/~johan/keys] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index (for 0.0.0.0 at 2010-06-15 14:43:50) [GET] Parameters: {"action"=>"index", "controller"=>"keys", "user_id"=>"johan"} Redirected to https://test.host:80/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [https://test.host/~johan/keys] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index (for 0.0.0.0 at 2010-06-15 14:43:50) [GET] Parameters: {"action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering keys/index SshKey Load (0.3ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.8ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 35ms (View: 30, DB: 2) | 200 OK [https://test.host/~johan/keys] SshKey Load (0.3ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index to xml (for 0.0.0.0 at 2010-06-15 14:43:50) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc Completed in 9ms (View: 5, DB: 1) | 200 OK [https://test.host/~johan/keys.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#index to xml (for 0.0.0.0 at 2010-06-15 14:43:50) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [https://test.host/~johan/keys.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index to xml (for 0.0.0.0 at 2010-06-15 14:43:50) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"keys", "user_id"=>"johan"} Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (View: 0, DB: 0) | 401 Unauthorized [https://test.host/~johan/keys.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index to xml (for 0.0.0.0 at 2010-06-15 14:43:50) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc Completed in 9ms (View: 5, DB: 1) | 200 OK [https://test.host/~johan/keys.xml] SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#new (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"new", "controller"=>"keys"} Redirected to https://test.host:80/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [https://test.host/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#new (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"new", "controller"=>"keys", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering keys/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 31ms (View: 27, DB: 1) | 200 OK [https://test.host/~johan/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#new (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"new", "controller"=>"keys", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [https://test.host/~johan/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#new (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"new", "controller"=>"keys", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering keys/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.2ms) Completed in 30ms (View: 25, DB: 1) | 200 OK [https://test.host/~johan/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#destroy (for 0.0.0.0 at 2010-06-15 14:43:51) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"keys"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys/destroy Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys/destroy] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"index", "controller"=>"keys"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#new (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"new", "controller"=>"keys"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys/new Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#show (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"show", "controller"=>"keys"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys/show Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys/show] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create (for 0.0.0.0 at 2010-06-15 14:43:51) [POST] Parameters: {"action"=>"create", "controller"=>"keys"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys/create Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys/create] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#show (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"show", "controller"=>"licenses"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 Redirected to http://test.host/licenses/edit Completed in 17ms (DB: 1) | 302 Found [http://test.host/licenses/show] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#edit (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"edit", "controller"=>"licenses"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering licenses/edit Rendered licenses/_tos_link (0.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 4)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 4)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 4)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 28ms (View: 25, DB: 1) | 200 OK [http://test.host/licenses/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#update (for 0.0.0.0 at 2010-06-15 14:43:51) [PUT] Parameters: {"user"=>{"terms_of_use"=>"1"}, "action"=>"update", "controller"=>"licenses"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'old-timer' AND `users`.id <> 4) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'old_timer@obsolete.com' AND `users`.id <> 4) LIMIT 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'old-timer' AND `users`.id <> 4) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'old_timer@obsolete.com' AND `users`.id <> 4) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-06-15 11:43:51' WHERE `id` = 4 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/licenses/show Completed in 16ms (DB: 2) | 302 Found [http://test.host/licenses/update?user%5Bterms_of_use%5D=1] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#update (for 0.0.0.0 at 2010-06-15 14:43:51) [PUT] Parameters: {"user"=>{"terms_of_use"=>""}, "action"=>"update", "controller"=>"licenses"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 Redirected to http://test.host/licenses/edit Completed in 2ms (DB: 1) | 302 Found [http://test.host/licenses/update?user%5Bterms_of_use%5D=] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'old-timer' AND `users`.id <> 4) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'old_timer@obsolete.com' AND `users`.id <> 4) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-06-15 11:43:51' WHERE `id` = 4 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing LicensesController#edit (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"edit", "controller"=>"licenses"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 Redirected to http://test.host/licenses/show Completed in 3ms (DB: 1) | 302 Found [http://test.host/licenses/edit] SQL (9.5ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#update (for 0.0.0.0 at 2010-06-15 14:43:51) [PUT] Parameters: {"user"=>{}, "action"=>"update", "controller"=>"licenses"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 Redirected to http://test.host/licenses/edit Completed in 3ms (DB: 10) | 302 Found [http://test.host/licenses/update?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 2) AND ((`memberships`.group_id = 369376230)) LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Processing MembershipsController#create (for 0.0.0.0 at 2010-06-15 14:43:51) [POST] Parameters: {"membership"=>{"role_id"=>135138680}, "user"=>{"login"=>"moe"}, "action"=>"create", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'moe') LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 2 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:43:51', 135138680, 369376230, 2, '2010-06-15 11:43:51') SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:38:51') AND (`messages`.sender_id = 3)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(621556435, 0, 0, '2010-06-15 11:43:51', 'mike added you to the \"team-thunderbird\" team, as a administrator', '2010-06-15 11:43:51', 2, 'You have been added to a team', 'unread', NULL, 'Membership', 0, 3, NULL, '2010-06-15 11:43:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird/memberships Completed in 30ms (DB: 3) | 302 Found [http://test.host/+team-thunderbird/memberships?membership%5Brole_id%5D=135138680&user%5Blogin%5D=moe] SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing MembershipsController#new (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"new", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/new Role Load (0.2ms) SELECT * FROM `roles` ORDER BY kind desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (182.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.1ms) Completed in 213ms (View: 206, DB: 3) | 200 OK [http://test.host/+team-thunderbird/memberships/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Processing MembershipsController#create (for 0.0.0.0 at 2010-06-15 14:43:51) [POST] Parameters: {"membership"=>{"role_id"=>135138680}, "user"=>{"login"=>"no-such-user"}, "action"=>"create", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'no-such-user') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/new Role Load (0.2ms) SELECT * FROM `roles` ORDER BY kind desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 34ms (View: 26, DB: 3) | 200 OK [http://test.host/+team-thunderbird/memberships?membership%5Brole_id%5D=135138680&user%5Blogin%5D=no-such-user] SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` IS NULL AND `memberships`.group_id = 369376230) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Processing MembershipsController#create (for 0.0.0.0 at 2010-06-15 14:43:51) [POST] Parameters: {"membership"=>{"role_id"=>135138680}, "user"=>{"login"=>"mike"}, "action"=>"create", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 5ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/memberships?membership%5Brole_id%5D=135138680&user%5Blogin%5D=mike] SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MembershipsController#new (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"new", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 5ms (DB: 1) | 302 Found [http://test.host/+team-thunderbird/memberships/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:51) [DELETE] Parameters: {"action"=>"destroy", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556429 AND (`memberships`.group_id = 369376230))  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 621556429 AND `messages`.notifiable_type = 'Membership')  Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 621556429 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird/memberships Completed in 10ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429] SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:51) [DELETE] Parameters: {"action"=>"destroy", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 6ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429] SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MembershipsController#index (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/index User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.0ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 37ms (View: 32, DB: 3) | 200 OK [http://test.host/+team-thunderbird/memberships] SQL (0.2ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing MembershipsController#index (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/index User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 38ms (View: 32, DB: 3) | 200 OK [http://test.host/+team-thunderbird/memberships] Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing MembershipsController#auto_complete_for_user_login to js (for 0.0.0.0 at 2010-06-15 14:43:51) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_user_login", "group_id"=>"team-thunderbird", "controller"=>"memberships", "q"=>"mik"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (LOWER(login) LIKE '%mik%') LIMIT 10 Completed in 4ms (View: 0, DB: 1) | 200 OK [http://test.host/+team-thunderbird/memberships/auto_complete_for_user_login.js?q=mik] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.2ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#edit (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"edit", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556429 AND (`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/edit Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.2ms) SELECT * FROM `roles` ORDER BY kind desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 36ms (View: 28, DB: 3) | 200 OK [http://test.host/+team-thunderbird/memberships/621556429/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 Processing MembershipsController#update (for 0.0.0.0 at 2010-06-15 14:43:51) [PUT] Parameters: {"membership"=>{"role_id"=>820312697}, "action"=>"update", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556429 AND (`memberships`.group_id = 369376230))  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 369376230 AND `memberships`.id <> 621556429) LIMIT 1 Membership Update (0.1ms) UPDATE `memberships` SET `role_id` = 820312697, `updated_at` = '2010-06-15 11:43:51' WHERE `id` = 621556429 SQL (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird/memberships Completed in 13ms (DB: 3) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429?membership%5Brole_id%5D=820312697] Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556429)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#edit (for 0.0.0.0 at 2010-06-15 14:43:51) [GET] Parameters: {"action"=>"edit", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 5ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#update (for 0.0.0.0 at 2010-06-15 14:43:51) [PUT] Parameters: {"membership"=>{}, "action"=>"update", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 5ms (DB: 1) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 449844885, 'ffac0', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-06-15 14:43:52) [GET] Parameters: {"action"=>"show", "commit_shas"=>"ffcab-bacff", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.6ms) Rendered merge_request_versions/_merge_request_version (6.5ms) Completed in 20ms (View: 8, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/9?commit_shas=ffcab-bacff] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 449844885, 'ffac0', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-06-15 14:43:52) [GET] Parameters: {"action"=>"show", "commit_shas"=>"ffcab-bacff", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.6ms) Rendered merge_request_versions/_merge_request_version (2.6ms) Completed in 6ms (View: 3, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/10?commit_shas=ffcab-bacff] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 449844885, 'ffac0', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-06-15 14:43:52) [GET] Parameters: {"action"=>"show", "commit_shas"=>"ffcab", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.6ms) Rendered merge_request_versions/_merge_request_version (4.6ms) Completed in 8ms (View: 5, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/11?commit_shas=ffcab] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 449844885, 'ffac0', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-06-15 14:43:52) [GET] Parameters: {"action"=>"show", "commit_shas"=>"ffcab", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.6ms) Rendered merge_request_versions/_merge_request_version (4.6ms) Completed in 8ms (View: 5, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/12?commit_shas=ffcab] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 449844885, 'ffac0', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-06-15 14:43:52) [GET] Parameters: {"action"=>"show", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.8ms) Rendered merge_request_versions/_merge_request_version (3.0ms) Completed in 7ms (View: 4, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/13] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Columns (0.6ms) SHOW FIELDS FROM `merge_request_statuses` SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:52', 1, NULL, '#408000', 1, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:52', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 677747833, 'ff', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-06-15 14:43:52) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>2, "summary"=>"some changes", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2) AND (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-06-15 11:43:52', 2, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 'some changes', NULL, 2, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-06-15 11:43:52') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193753 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:52', NULL, 'MergeRequest', 1000193753, 1, '2010-06-15 11:43:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:52', NULL, NULL, 1000193753, 13, 1, 'MergeRequest', NULL, '2010-06-15 11:43:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 1000193753))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193753 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2 AND `merge_requests`.id <> 1000193753) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-06-15 11:43:52' WHERE `id` = 1000193753 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2 AND `merge_requests`.id <> 1000193753) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 16)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1000193753 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:52', NULL, 'MergeRequest', 1000193753, 3, '2010-06-15 11:43:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`action` = 13 AND `events`.`target_id` = 1000193753) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 16)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (3, 56, '2010-06-15 11:43:52', '2010-06-15 11:43:52') MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193753)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone/merge_requests/2 Completed in 75ms (DB: 13) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes&merge_request%5Btarget_repository_id%5D=2] SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  SQL (7.6ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:52', 1, NULL, '#408000', 1, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:52', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 677747833, 'ff', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests`  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-06-15 14:43:52) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-06-15 11:43:52', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'some changes to be merged', NULL, 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-06-15 11:43:52') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193754 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:52', NULL, 'MergeRequest', 1000193754, 1, '2010-06-15 11:43:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193754) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `oauth_secret` = 'secret', `oauth_token` = 'key', `updated_at` = '2010-06-15 11:43:52' WHERE `id` = 1000193754 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://oauth.example/authorize?key=123 Completed in 28ms (DB: 16) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository_id%5D=1] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:52', 1, NULL, '#408000', 1, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:52', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 677747833, 'ff', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-06-15 14:43:52) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "target_repository"=>nil, "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` IS NULL AND `merge_requests`.target_repository_id IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2)) ORDER BY repositories.created_at asc Rendering template within layouts/application Rendering merge_requests/new Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (2.2ms) Rendered merge_requests/_commit_list (4.4ms) Rendered merge_requests/_form (14.3ms) Rendered merge_requests/_commit_list_js (3.3ms) Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 62ms (View: 50, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository%5D=&merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:52', 1, NULL, '#408000', 1, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:52', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 677747833, 'ff', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-06-15 14:43:52) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>2, "summary"=>"some changes", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2) AND (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-06-15 11:43:52', 2, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 'some changes', NULL, 2, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-06-15 11:43:52') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193755 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:52', NULL, 'MergeRequest', 1000193755, 1, '2010-06-15 11:43:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:43:52', NULL, NULL, 1000193755, 13, 1, 'MergeRequest', NULL, '2010-06-15 11:43:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 1000193755))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193755 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2 AND `merge_requests`.id <> 1000193755) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-06-15 11:43:52' WHERE `id` = 1000193755 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2 AND `merge_requests`.id <> 1000193755) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 16)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1000193755 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:52', NULL, 'MergeRequest', 1000193755, 3, '2010-06-15 11:43:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`action` = 13 AND `events`.`target_id` = 1000193755) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 16)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (3, 57, '2010-06-15 11:43:52', '2010-06-15 11:43:52') MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193755)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone/merge_requests/2 Completed in 245ms (DB: 12) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes&merge_request%5Btarget_repository_id%5D=2] SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:52', 1, NULL, '#408000', 1, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:52', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:52', 1, 677747833, 'ff', '2010-06-15 11:43:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#create (for 0.0.0.0 at 2010-06-15 14:43:53) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 2ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository_id%5D=1] SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:53', 1, NULL, '#408000', 1, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:53', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:53', 1, 677747833, 'ff', '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-06-15 14:43:53) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-06-15 11:43:53', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'some changes to be merged', NULL, 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-06-15 11:43:53') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193756 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:53', NULL, 'MergeRequest', 1000193756, 1, '2010-06-15 11:43:53', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193756) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://no.host/authorize Completed in 28ms (DB: 8) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:53', 1, NULL, '#408000', 1, '2010-06-15 11:43:53') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:53', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:53', 1, 677747833, 'ff', '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-06-15 14:43:53) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-06-15 11:43:53', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'some changes to be merged', NULL, 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-06-15 11:43:53') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193757 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:53', NULL, 'MergeRequest', 1000193757, 1, '2010-06-15 11:43:53', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193757) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://no.host/authorize Completed in 26ms (DB: 8) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:53', 1, NULL, '#408000', 1, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:53', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:53', 1, 677747833, 'ff', '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MergeRequestsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:53) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:assert_merge_request_ownership] rendered_or_redirected. Completed in 9ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:53', 1, NULL, '#408000', 1, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:53', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:53', 1, 677747833, 'ff', '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:53) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:53', 1, NULL, '#408000', 1, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:53', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:53', 1, 677747833, 'ff', '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:53) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_1' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:38:53') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_1', NULL, 1, '2010-06-15 11:43:53', 0, 4, 1, NULL, 'd78/8af/8cebf40b3b75e619b06fbd986330d23af5', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-06-15 11:43:53', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051625) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:53', 2, NULL, 'User', 112, 1, 757051625, '2010-06-15 11:43:53') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051625)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 23 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos Completed in 45ms (DB: 10) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:53', 1, NULL, '#408000', 1, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:53', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:53', 1, 677747833, 'ff', '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Processing MergeRequestsController#destroy (for 0.0.0.0 at 2010-06-15 14:43:53) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.3ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_1' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:38:53') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_1', NULL, 1, '2010-06-15 11:43:53', 0, 4, 1, NULL, 'eab/550/025390a52df8ac5fae1cf42e4156438b6b', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-06-15 11:43:53', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051626) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:53', 2, NULL, 'User', 112, 1, 757051626, '2010-06-15 11:43:53') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051626)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 24 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos Completed in 50ms (DB: 11) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:53', 1, NULL, '#408000', 1, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:53', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:53', 1, 677747833, 'ff', '2010-06-15 11:43:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#edit (for 0.0.0.0 at 2010-06-15 14:43:53) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.23): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.35): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/edit Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_commit_list_js (2.5ms) Rendered layouts/_common_head (10.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.6ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 675ms (View: 46, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12/edit] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:54', 1, NULL, '#408000', 1, '2010-06-15 11:43:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:54', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:54', 1, 677747833, 'ff', '2010-06-15 11:43:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#edit (for 0.0.0.0 at 2010-06-15 14:43:54) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.38): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.20): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/edit Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_commit_list_js (2.1ms) Rendered layouts/_common_head (10.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.7ms) Rendered searches/_search_box_global (2.0ms) Rendered layouts/_common_footer (1.3ms) Completed in 838ms (View: 198, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12/edit] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:55', 1, NULL, '#408000', 1, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:55', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:55', 1, 677747833, 'ff', '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#edit (for 0.0.0.0 at 2010-06-15 14:43:55) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12/edit] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:55', 1, NULL, '#408000', 1, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:55', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:55', 1, 677747833, 'ff', '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MergeRequestsController#edit (for 0.0.0.0 at 2010-06-15 14:43:55) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:assert_merge_request_ownership] rendered_or_redirected. Completed in 9ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12/edit] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:55', 1, NULL, '#408000', 1, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:55', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:55', 1, 677747833, 'ff', '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#commit_list (for 0.0.0.0 at 2010-06-15 14:43:55) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{}, "action"=>"commit_list", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered merge_requests/_commit_list (4.0ms) Completed in 11ms (View: 4, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/commit_list?] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:55', 1, NULL, '#408000', 1, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:55', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:55', 1, 677747833, 'ff', '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#index (for 0.0.0.0 at 2010-06-15 14:43:55) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (6.6ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 59ms (View: 43, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:55', 1, NULL, '#408000', 1, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:55', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:55', 1, 677747833, 'ff', '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'merged', `updated_at` = '2010-06-15 11:43:55' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#index (for 0.0.0.0 at 2010-06-15 14:43:55) [GET] Parameters: {"status"=>"merged", "project_id"=>"johans-project", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((LOWER(status_tag) = 'merged' AND status != 0) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (6.5ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 44ms (View: 30, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests?status=merged] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:55', 1, NULL, '#408000', 1, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:55', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:55', 1, 677747833, 'ff', '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#index (for 0.0.0.0 at 2010-06-15 14:43:55) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (7.6ms) Rendered layouts/_login_logout (1.3ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.3ms) Completed in 237ms (View: 226, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests] SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:55', 1, NULL, '#408000', 1, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:55', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:55', 1, 677747833, 'ff', '2010-06-15 11:43:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#index to html (for 0.0.0.0 at 2010-06-15 14:43:55) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"html", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (6.8ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 51ms (View: 40, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests.html] MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) AND ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc Processing MergeRequestsController#index to xml (for 0.0.0.0 at 2010-06-15 14:43:55) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"xml", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Completed in 22ms (View: 0, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests.html] MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) AND ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:56', 1, NULL, '#408000', 1, '2010-06-15 11:43:56') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:56', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:56') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:56', 1, 677747833, 'ff', '2010-06-15 11:43:56') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#index (for 0.0.0.0 at 2010-06-15 14:43:56) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (6.7ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 49ms (View: 39, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:56', 1, NULL, '#408000', 1, '2010-06-15 11:43:56') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:56', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:56') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:56', 1, 677747833, 'ff', '2010-06-15 11:43:56') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos-clone' AND `repositories`.project_id = 1 AND `repositories`.id <> 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b0c/554/5de8afee2a86064d372c17a113f2984c6b' AND `repositories`.id <> 2) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 1, `owner_type` = 'User', `updated_at` = '2010-06-15 11:43:56' WHERE `id` = 2 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#new (for 0.0.0.0 at 2010-06-15 14:43:56) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "user_id"=>"johan", "repository_id"=>"johansprojectrepos-clone"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.39): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.20): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered merge_requests/_target_branches (2.0ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (10.0ms) Rendered merge_requests/_commit_list_js (1.9ms) Rendered layouts/_common_head (9.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.7ms) Rendered searches/_search_box_global (2.0ms) Rendered layouts/_common_footer (1.2ms) Completed in 847ms (View: 203, DB: 8) | 200 OK [http://test.host/~johan/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (7.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:57', 1, NULL, '#408000', 1, '2010-06-15 11:43:57') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:57', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:57') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:57', 1, 677747833, 'ff', '2010-06-15 11:43:57') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#new (for 0.0.0.0 at 2010-06-15 14:43:57) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.23): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.35): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (1.9ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (9.7ms) Rendered merge_requests/_commit_list_js (2.1ms) Rendered layouts/_common_head (10.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 689ms (View: 50, DB: 15) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:57', 1, NULL, '#408000', 1, '2010-06-15 11:43:57') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:57', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:57') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:57', 1, 677747833, 'ff', '2010-06-15 11:43:57') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#new (for 0.0.0.0 at 2010-06-15 14:43:57) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.38): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.22): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (1.9ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (10.3ms) Rendered merge_requests/_commit_list_js (1.9ms) Rendered layouts/_common_head (9.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.5ms) Rendered searches/_search_box_global (2.0ms) Rendered layouts/_common_footer (1.4ms) Completed in 853ms (View: 203, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:58', 1, NULL, '#408000', 1, '2010-06-15 11:43:58') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:58', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:58') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:58', 1, 677747833, 'ff', '2010-06-15 11:43:58') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#new (for 0.0.0.0 at 2010-06-15 14:43:58) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.23): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.36): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (1.8ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (9.6ms) Rendered merge_requests/_commit_list_js (2.1ms) Rendered layouts/_common_head (9.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (7.1ms) Rendered searches/_search_box_global (1.9ms) Rendered layouts/_common_footer (1.2ms) Completed in 696ms (View: 49, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:43:59', 1, NULL, '#408000', 1, '2010-06-15 11:43:59') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:43:59', 0, NULL, '#AA0000', 5, '2010-06-15 11:43:59') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:43:59', 1, 677747833, 'ff', '2010-06-15 11:43:59') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'a-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:38:59') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('a-clone', NULL, 1, '2010-06-15 11:43:59', 0, 3, 0, NULL, '40a/761/20b9fd868678e0629288222ebdec00b41f', NULL, NULL, NULL, 0, 1, 1, 2, 1, '2010-06-15 11:43:59', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051627) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:43:59', 2, NULL, 'User', 112, 1, 757051627, '2010-06-15 11:43:59') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051627)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051627 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:43:59', NULL, 'Repository', 757051627, 1, '2010-06-15 11:43:59', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#new (for 0.0.0.0 at 2010-06-15 14:43:59) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.39): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.21): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (1.9ms) Rendered merge_requests/_commit_list (0.6ms) Rendered merge_requests/_form (9.7ms) Rendered merge_requests/_commit_list_js (2.1ms) Rendered layouts/_common_head (9.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.4ms) Rendered searches/_search_box_global (1.9ms) Rendered layouts/_common_footer (1.5ms) Completed in 853ms (View: 204, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:00', 1, NULL, '#408000', 1, '2010-06-15 11:44:00') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:00', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:00') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:00', 1, 677747833, 'ff', '2010-06-15 11:44:00') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#new (for 0.0.0.0 at 2010-06-15 14:44:00) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:00', 1, NULL, '#408000', 1, '2010-06-15 11:44:00') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:00', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:00') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:00', 1, 677747833, 'ff', '2010-06-15 11:44:00') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#new (for 0.0.0.0 at 2010-06-15 14:44:00) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.36): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.5ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (1.8ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (9.3ms) Rendered merge_requests/_commit_list_js (2.4ms) Rendered layouts/_common_head (12.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.8ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.2ms) Completed in 701ms (View: 52, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:01', 1, NULL, '#408000', 1, '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:01', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:01', 1, 677747833, 'ff', '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#show (for 0.0.0.0 at 2010-06-15 14:44:01) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (42))) ORDER BY comments.created_at Rendered comments/_form (6.2ms) Rendered layouts/_common_head (6.4ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 65ms (View: 53, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:01', 1, NULL, '#408000', 1, '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:01', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:01', 1, 677747833, 'ff', '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `legacy` = 1, `updated_at` = '2010-06-15 11:44:01' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#show (for 0.0.0.0 at 2010-06-15 14:44:01) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/legacy Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered merge_requests/_merge_request (13.9ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  Rendered comments/_form (1.5ms) Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.3ms) Completed in 239ms (View: 227, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:01', 1, NULL, '#408000', 1, '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:01', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:01', 1, 677747833, 'ff', '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing MergeRequestsController#show (for 0.0.0.0 at 2010-06-15 14:44:01) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (8.4ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (44))) ORDER BY comments.created_at Rendered comments/_form (1.3ms) Rendered layouts/_common_head (6.2ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 56ms (View: 47, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:01', 1, NULL, '#408000', 1, '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:01', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:01', 1, 677747833, 'ff', '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing MergeRequestsController#show (for 0.0.0.0 at 2010-06-15 14:44:01) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"677747833", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (2.6ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (45))) ORDER BY comments.created_at Rendered site/_markdown_help (0.2ms) MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE (`users`.`id` = 1) AND ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833)) LIMIT 1 Rendered comments/_form (7.6ms) Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.3ms) Completed in 74ms (View: 63, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/677747833] SQL (10.4ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.3ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:01', 1, NULL, '#408000', 1, '2010-06-15 11:44:01') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:01', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:01', 1, 677747833, 'ff', '2010-06-15 11:44:01') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#show (for 0.0.0.0 at 2010-06-15 14:44:01) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (3.1ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (46))) ORDER BY comments.created_at Rendered site/_markdown_help (0.2ms) MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE (`users`.`id` = 1) AND ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833)) LIMIT 1 Rendered comments/_form (8.0ms) Rendered layouts/_common_head (7.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.8ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.3ms) Completed in 271ms (View: 257, DB: 20) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:02', 1, NULL, '#408000', 1, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.3ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:02', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:02') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:02', 1, 677747833, 'ff', '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#show to html (for 0.0.0.0 at 2010-06-15 14:44:02) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"html", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Rendering template within layouts/application Rendering merge_requests/show Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (2.6ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (47))) ORDER BY comments.created_at Rendered comments/_form (1.4ms) Rendered layouts/_common_head (6.3ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.0ms) Completed in 52ms (View: 42, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12.html] Processing MergeRequestsController#show to patch (for 0.0.0.0 at 2010-06-15 14:44:02) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"patch", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 7ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12.html] Processing MergeRequestsController#show to xml (for 0.0.0.0 at 2010-06-15 14:44:02) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"xml", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 11ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12.html] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:02', 1, NULL, '#408000', 1, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:02', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:02', 1, 677747833, 'ff', '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#show (for 0.0.0.0 at 2010-06-15 14:44:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 2)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (2.7ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (48))) ORDER BY comments.created_at Rendered site/_markdown_help (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered comments/_form (9.8ms) Rendered layouts/_common_head (6.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 67ms (View: 52, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:02', 1, NULL, '#408000', 1, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:02', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:02', 1, 677747833, 'ff', '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-06-15 14:44:02) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "target_repository"=>nil}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id IS NULL AND `merge_requests`.id <> 677747833) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 1)) ORDER BY repositories.created_at asc Rendering template within layouts/application Rendering merge_requests/edit Rendered merge_requests/_commit_list (0.3ms) Rendered merge_requests/_commit_list_js (1.5ms) Rendered layouts/_common_head (7.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.1ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 51ms (View: 36, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository%5D=&merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:02', 1, NULL, '#408000', 1, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:02', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:02', 1, 677747833, 'ff', '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-06-15 14:44:02) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:assert_merge_request_ownership] rendered_or_redirected. Completed in 9ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:02', 1, NULL, '#408000', 1, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:02', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:02', 1, 677747833, 'ff', '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#update (for 0.0.0.0 at 2010-06-15 14:44:02) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:02', 1, NULL, '#408000', 1, '2010-06-15 11:44:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-06-15 14:44:03) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:assert_merge_request_ownership] rendered_or_redirected. Completed in 9ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-06-15 14:44:03) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:03', NULL, NULL, 677747833, 15, 1, 'MergeRequest', NULL, '2010-06-15 11:44:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/12 Completed in 24ms (DB: 8) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-06-15 14:44:03) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 SQL (1.7ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:03', NULL, NULL, 677747833, 15, 1, 'MergeRequest', NULL, '2010-06-15 11:44:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/12 Completed in 29ms (DB: 9) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-06-15 14:44:03) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "proposal"=>"hai, plz merge kthnkxbye"}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `proposal` = 'hai, plz merge kthnkxbye', `updated_at` = '2010-06-15 11:44:03' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:03', NULL, NULL, 677747833, 15, 1, 'MergeRequest', NULL, '2010-06-15 11:44:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/12 Completed in 26ms (DB: 8) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Bproposal%5D=hai%2C+plz+merge+kthnkxbye&merge_request%5Btarget_repository_id%5D=1] MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#target_branches (for 0.0.0.0 at 2010-06-15 14:44:03) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"target_branches", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered merge_requests/_target_branches (1.9ms) Completed in 9ms (View: 2, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/target_branches?merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version LIMIT 1 Processing MergeRequestsController#version (for 0.0.0.0 at 2010-06-15 14:44:03) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"version", "id"=>"12", "version"=>"1", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered merge_requests/_version (4.9ms) Completed in 14ms (View: 5, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12/version?version=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#oauth_return (for 0.0.0.0 at 2010-06-15 14:44:03) [GET] Parameters: {"action"=>"oauth_return", "controller"=>"merge_requests"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/foo/bar Completed in 3ms (DB: 5) | 302 Found [http://test.host/merge_request_landing_page] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Processing MergeRequestsController#direct_access (for 0.0.0.0 at 2010-06-15 14:44:03) [GET] Parameters: {"action"=>"direct_access", "id"=>"449844885", "controller"=>"merge_requests"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 4ms (DB: 20) | 302 Found [http://test.host/merge_requests/449844885] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-06-15 11:44:03', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'foo', 'Would like this to be merged', 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-06-15 11:44:03') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193758 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:03', NULL, 'MergeRequest', 1000193758, 1, '2010-06-15 11:44:03', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#terms_accepted (for 0.0.0.0 at 2010-06-15 14:44:03) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"terms_accepted", "id"=>"4", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/4 Completed in 7ms (DB: 7) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/4/terms_accepted] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:03', 1, NULL, '#408000', 1, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:03', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:03', 1, 677747833, 'ff', '2010-06-15 11:44:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-06-15 11:44:03', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'foo', 'Would like this to be merged', 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-06-15 11:44:03') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193759 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:03', NULL, 'MergeRequest', 1000193759, 1, '2010-06-15 11:44:03', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#terms_accepted (for 0.0.0.0 at 2010-06-15 14:44:03) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"terms_accepted", "id"=>"4", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193759) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-06-15 11:44:04' WHERE `id` = 1000193759 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193759) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`action` = 13 AND `events`.`target_id` = 1000193759) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193759) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `contribution_agreement_version` = 'valid_version_sha', `updated_at` = '2010-06-15 11:44:04' WHERE `id` = 1000193759 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:04', NULL, NULL, 1000193759, 13, 1, 'MergeRequest', NULL, '2010-06-15 11:44:04') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 1000193759))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193759 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/4 Completed in 239ms (DB: 11) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/4/terms_accepted] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:04', 1, NULL, '#408000', 1, '2010-06-15 11:44:04') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.3ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:04', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:04') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.3ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:04', 1, 677747833, 'ff', '2010-06-15 11:44:04') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.3ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#commit_status (for 0.0.0.0 at 2010-06-15 14:44:04) [GET] Parameters: {"project_id"=>"johans-project", "commit_id"=>"ff0", "action"=>"commit_status", "id"=>"677747833", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Completed in 10ms (View: 0, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/677747833/commit_status?commit_id=ff0] SQL (0.5ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.3ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:04', 1, NULL, '#408000', 1, '2010-06-15 11:44:04') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.5ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:04', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:04') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:04', 1, 677747833, 'ff', '2010-06-15 11:44:04') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#commit_status (for 0.0.0.0 at 2010-06-15 14:44:04) [GET] Parameters: {"project_id"=>"johans-project", "commit_id"=>"ffc", "action"=>"commit_status", "id"=>"677747833", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Completed in 7ms (View: 0, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/677747833/commit_status?commit_id=ffc] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:04', 1, NULL, '#408000', 1, '2010-06-15 11:44:04') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:04', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:04') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:04', 1, 677747833, 'ff', '2010-06-15 11:44:04') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-06-15 11:44:04', 1, NULL, '#408000', 1, '2010-06-15 11:44:04') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-06-15 11:44:04', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:04') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-06-15 11:44:04', 1, 677747833, 'ff', '2010-06-15 11:44:04') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing MessagesController#new (for 0.0.0.0 at 2010-06-15 14:44:04) [GET] Parameters: {"action"=>"new", "to"=>"mike", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (6.6ms) Rendered messages/_sidebar (4.8ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (8.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 52ms (View: 39, DB: 12) | 200 OK [https://test.host/messages/new?to=mike] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#all (for 0.0.0.0 at 2010-06-15 14:44:04) [GET] Parameters: {"action"=>"all", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Message Load (0.3ms) SELECT * FROM messages WHERE (has_unread_replies=1 AND sender_id=1) OR recipient_id=1 AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/all Rendered messages/_messages (2.9ms) Rendered messages/_sidebar (2.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 33ms (View: 30, DB: 2) | 200 OK [https://test.host/messages/all] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#all (for 0.0.0.0 at 2010-06-15 14:44:04) [GET] Parameters: {"action"=>"all", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Message Load (0.2ms) SELECT * FROM messages WHERE (has_unread_replies=1 AND sender_id=1) OR recipient_id=1 AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/all Rendered messages/_messages (0.8ms) Rendered messages/_sidebar (3.0ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.6ms) Rendered searches/_search_box_global (201.0ms) Rendered layouts/_common_footer (1.3ms) Completed in 231ms (View: 227, DB: 1) | 200 OK [https://test.host/messages/all] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#all (for 0.0.0.0 at 2010-06-15 14:44:04) [GET] Parameters: {"action"=>"all", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Message Load (0.2ms) SELECT * FROM messages WHERE (has_unread_replies=1 AND sender_id=1) OR recipient_id=1 AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/all Rendered messages/_messages (0.9ms) Rendered messages/_sidebar (3.5ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.0ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.3ms) Completed in 34ms (View: 30, DB: 1) | 200 OK [https://test.host/messages/all] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index (for 0.0.0.0 at 2010-06-15 14:44:04) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/index Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_message (7.6ms) Rendered messages/_messages (8.7ms) Rendered messages/_sidebar (3.6ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.0ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 42ms (View: 37, DB: 2) | 200 OK [https://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index (for 0.0.0.0 at 2010-06-15 14:44:04) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/index Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_message (4.9ms) Rendered messages/_messages (5.9ms) Rendered messages/_sidebar (3.0ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.1ms) Completed in 35ms (View: 31, DB: 2) | 200 OK [https://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index (for 0.0.0.0 at 2010-06-15 14:44:04) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/index Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_message (5.1ms) Rendered messages/_messages (6.1ms) Rendered messages/_sidebar (2.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.0ms) Completed in 35ms (View: 31, DB: 2) | 200 OK [https://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index to xml (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 7ms (View: 4, DB: 1) | 200 OK [https://test.host/messages.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index to xml (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 8ms (View: 4, DB: 1) | 200 OK [https://test.host/messages.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#new (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"new", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (3.7ms) Rendered messages/_sidebar (2.8ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 34ms (View: 30, DB: 1) | 200 OK [https://test.host/messages/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#new (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"new", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (3.6ms) Rendered messages/_sidebar (2.8ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 33ms (View: 30, DB: 1) | 200 OK [https://test.host/messages/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#new (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"new", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (3.5ms) Rendered messages/_sidebar (2.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.6ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 34ms (View: 30, DB: 1) | 200 OK [https://test.host/messages/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#new (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"new", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (3.7ms) Rendered messages/_sidebar (3.0ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (207.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.8ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 242ms (View: 235, DB: 2) | 200 OK [https://test.host/messages/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#sent (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"sent", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.sender_id = 2) ORDER BY created_at DESC LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/sent Rendered messages/_messages (1.0ms) Rendered messages/_sidebar (3.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 36ms (View: 32, DB: 1) | 200 OK [https://test.host/messages/sent] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#sent (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"sent", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.sender_id = 2) ORDER BY created_at DESC LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/sent Rendered messages/_messages (0.8ms) Rendered messages/_sidebar (3.1ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 31ms (View: 27, DB: 1) | 200 OK [https://test.host/messages/sent] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#sent (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"sent", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.sender_id = 2) ORDER BY created_at DESC LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/sent Rendered messages/_messages (0.8ms) Rendered messages/_sidebar (3.2ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 31ms (View: 27, DB: 1) | 200 OK [https://test.host/messages/sent] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-06-15 11:44:05', `updated_at` = '2010-06-15 11:44:05' WHERE `id` = 337189977 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:05') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:05', 'indeed', '2010-06-15 11:44:05', 2, 'Re: Hello', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-06-15 11:44:05') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-06-15 11:44:05', `updated_at` = '2010-06-15 11:44:05' WHERE `id` = 337189977 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:05') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:05', 'quite', '2010-06-15 11:44:05', 2, 'Re: Hello', 'unread', 337189977, NULL, 0, 1, 337189977, '2010-06-15 11:44:05') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189987)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189988)  Processing MessagesController#show (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189987)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189988)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:05' WHERE `id` = 337189977 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:05' WHERE `id` = 337189987 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.3ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:05' WHERE `id` = 337189988 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/show Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Cache miss: avatar_for_30a2f11c50e299fb673ed10ff651887443b52ee0_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'moe@example.com') LIMIT 1 Cache write (will save 1.14ms): avatar_for_30a2f11c50e299fb673ed10ff651887443b52ee0_thumb Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Rendered messages/_sidebar (2.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.2ms) Completed in 70ms (View: 48, DB: 7) | 200 OK [https://test.host/messages/337189977] Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189987)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189988)  SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show to xml (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"format"=>"xml", "action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:05' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 11ms (View: 2, DB: 3) | 200 OK [https://test.host/messages/337189977.xml] SQL (4.3ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show to xml (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"format"=>"xml", "action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:05' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 11ms (View: 2, DB: 6) | 200 OK [https://test.host/messages/337189977.xml] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:05' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/show Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Rendered messages/_sidebar (2.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 40ms (View: 31, DB: 3) | 200 OK [https://test.host/messages/337189977] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show (for 0.0.0.0 at 2010-06-15 14:44:05) [GET] Parameters: {"action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:05' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/show Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Rendered messages/_sidebar (204.0ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 245ms (View: 235, DB: 3) | 200 OK [https://test.host/messages/337189977] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#auto_complete_for_message_recipients to js (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_message_recipients", "controller"=>"messages", "q"=>"mik"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (LOWER(login) LIKE '%mik%') LIMIT 10 Completed in 3ms (View: 0, DB: 2) | 200 OK [https://test.host/messages/auto_complete_for_message_recipients.js?q=mik] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#auto_complete_for_message_recipients to js (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_message_recipients", "controller"=>"messages", "q"=>"joh"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (LOWER(login) LIKE '%joh%') LIMIT 10 Completed in 3ms (View: 0, DB: 1) | 200 OK [https://test.host/messages/auto_complete_for_message_recipients.js?q=joh] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#create (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", "recipients"=>"johan", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 MessageThread for johan User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '2010-06-15 11:44:06', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 15ms (DB: 1) | 302 Found [https://test.host/messages?message%5Bbody%5D=Lorem+ipsum+dolor+sit+amet%2C+consectetur+adipisicing+elit%2C+sed+do+eiusmod+tempor+incididunt+ut+labore+et+dolore+magna+aliqua.+Ut+enim+ad+minim+veniam%2C+quis+nostrud+exercitation+ullamco+laboris+nisi+ut+aliquip+ex+ea+commodo+consequat.+Duis+aute+irure+dolor+in+reprehenderit+in+voluptate+velit+esse+cillum+dolore+eu+fugiat+nulla+pariatur.+Excepteur+sint+occaecat+cupidatat+non+proident%2C+sunt+in+culpa+qui+officia+deserunt+mollit+anim+id+est+laborum.&message%5Brecipients%5D=johan&message%5Bsubject%5D=Hello] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#create (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", "recipients"=>"johan", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 MessageThread for johan User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '2010-06-15 11:44:06', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 14ms (DB: 2) | 302 Found [https://test.host/messages?message%5Bbody%5D=Lorem+ipsum+dolor+sit+amet%2C+consectetur+adipisicing+elit%2C+sed+do+eiusmod+tempor+incididunt+ut+labore+et+dolore+magna+aliqua.+Ut+enim+ad+minim+veniam%2C+quis+nostrud+exercitation+ullamco+laboris+nisi+ut+aliquip+ex+ea+commodo+consequat.+Duis+aute+irure+dolor+in+reprehenderit+in+voluptate+velit+esse+cillum+dolore+eu+fugiat+nulla+pariatur.+Excepteur+sint+occaecat+cupidatat+non+proident%2C+sunt+in+culpa+qui+officia+deserunt+mollit+anim+id+est+laborum.&message%5Brecipients%5D=johan&message%5Bsubject%5D=Hello] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#create (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", "recipients"=>"johan", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 MessageThread for johan User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '2010-06-15 11:44:06', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 14ms (DB: 2) | 302 Found [https://test.host/messages?message%5Bbody%5D=Lorem+ipsum+dolor+sit+amet%2C+consectetur+adipisicing+elit%2C+sed+do+eiusmod+tempor+incididunt+ut+labore+et+dolore+magna+aliqua.+Ut+enim+ad+minim+veniam%2C+quis+nostrud+exercitation+ullamco+laboris+nisi+ut+aliquip+ex+ea+commodo+consequat.+Duis+aute+irure+dolor+in+reprehenderit+in+voluptate+velit+esse+cillum+dolore+eu+fugiat+nulla+pariatur.+Excepteur+sint+occaecat+cupidatat+non+proident%2C+sunt+in+culpa+qui+officia+deserunt+mollit+anim+id+est+laborum.&message%5Brecipients%5D=johan&message%5Bsubject%5D=Hello] SQL (7.3ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  Processing MessagesController#create (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"This is for several recipients", "recipients"=>"johan,mike", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 MessageThread for johan,mike User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'This is for several recipients', '2010-06-15 11:44:06', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'This is for several recipients', '2010-06-15 11:44:06', 3, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 26ms (DB: 10) | 302 Found [https://test.host/messages?message%5Bbody%5D=This+is+for+several+recipients&message%5Brecipients%5D=johan%2Cmike&message%5Bsubject%5D=Hello] SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  Processing MessagesController#create (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"This is for several recipients", "recipients"=>"johan mike", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} MessageThread for johan,mike User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'This is for several recipients', '2010-06-15 11:44:06', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'This is for several recipients', '2010-06-15 11:44:06', 3, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 22ms (DB: 2) | 302 Found [https://test.host/messages?message%5Bbody%5D=This+is+for+several+recipients&message%5Brecipients%5D=johan%2Cmike&message%5Bsubject%5D=Hello] SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  Processing MessagesController#create (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"This is for several recipients", "recipients"=>"johan.mike", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} MessageThread for johan,mike User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'This is for several recipients', '2010-06-15 11:44:06', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'This is for several recipients', '2010-06-15 11:44:06', 3, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 22ms (DB: 2) | 302 Found [https://test.host/messages?message%5Bbody%5D=This+is+for+several+recipients&message%5Brecipients%5D=johan%2Cmike&message%5Bsubject%5D=Hello] SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#reply (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"Yeah, great idea", "subject"=>"Well"}, "action"=>"reply", "id"=>"337189977", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-06-15 11:44:06', `has_unread_replies` = 1, `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'Yeah, great idea', '2010-06-15 11:44:06', 1, 'Well', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages/337189977 Completed in 26ms (DB: 3) | 302 Found [https://test.host/messages/337189977/reply?message%5Bbody%5D=Yeah%2C+great+idea&message%5Bsubject%5D=Well] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#reply (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"Yeah, great idea", "subject"=>"Well"}, "action"=>"reply", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.3ms) UPDATE `messages` SET `last_activity_at` = '2010-06-15 11:44:06', `has_unread_replies` = 1, `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'Yeah, great idea', '2010-06-15 11:44:06', 1, 'Well', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages/337189977 Completed in 26ms (DB: 3) | 302 Found [https://test.host/messages/337189977/reply?message%5Bbody%5D=Yeah%2C+great+idea&message%5Bsubject%5D=Well] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#reply (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"Yeah, great idea", "subject"=>"Well"}, "action"=>"reply", "id"=>"337189977", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.3ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-06-15 11:44:06', `has_unread_replies` = 1, `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'Yeah, great idea', '2010-06-15 11:44:06', 1, 'Well', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages/337189977 Completed in 26ms (DB: 3) | 302 Found [https://test.host/messages/337189977/reply?message%5Bbody%5D=Yeah%2C+great+idea&message%5Bsubject%5D=Well] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#reply (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"message"=>{"body"=>"Yeah, great idea", "subject"=>"Well"}, "action"=>"reply", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.4ms) UPDATE `messages` SET `last_activity_at` = '2010-06-15 11:44:06', `has_unread_replies` = 1, `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:06') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-06-15 11:44:06', 'Yeah, great idea', '2010-06-15 11:44:06', 1, 'Well', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-06-15 11:44:06') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages/337189977 Completed in 26ms (DB: 3) | 302 Found [https://test.host/messages/337189977/reply?message%5Bbody%5D=Yeah%2C+great+idea&message%5Bsubject%5D=Well] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user1') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john1@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-06-15 11:44:06', '2010-06-15 14:43:05', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'a7f48a05e9482ef54e610d9ea834f2d8653dbb7f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user1', NULL, 'john1@example.com', '2010-06-15 14:43:04') Sent mail to john1@example.com Date: Tue, 15 Jun 2010 14:44:06 +0300 From: Gitorious To: john1@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user1 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/a7f48a05e9482ef54e610d9ea834f2d8653dbb7f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user2') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john2@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-06-15 11:44:06', '2010-06-15 14:43:05', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '4d4b165e009a1f288a269297585abd04180e8cbe', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user2', NULL, 'john2@example.com', '2010-06-15 14:43:04') Sent mail to john2@example.com Date: Tue, 15 Jun 2010 14:44:06 +0300 From: Gitorious To: john2@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user2 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/4d4b165e009a1f288a269297585abd04180e8cbe Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user3') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john3@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-06-15 11:44:06', '2010-06-15 14:43:05', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'f44d299769cbc7b881c8e941f3dff9fe49d3593b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user3', NULL, 'john3@example.com', '2010-06-15 14:43:04') Sent mail to john3@example.com Date: Tue, 15 Jun 2010 14:44:06 +0300 From: Gitorious To: john3@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user3 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/f44d299769cbc7b881c8e941f3dff9fe49d3593b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user4') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john4@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-06-15 11:44:06', '2010-06-15 14:43:05', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '15c870e4564f566053d41c7869e61375d96a046b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user4', NULL, 'john4@example.com', '2010-06-15 14:43:04') Sent mail to john4@example.com Date: Tue, 15 Jun 2010 14:44:06 +0300 From: Gitorious To: john4@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user4 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/15c870e4564f566053d41c7869e61375d96a046b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#read to js (for 0.0.0.0 at 2010-06-15 14:44:06) [PUT] Parameters: {"format"=>"js", "action"=>"read", "id"=>"337189977", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.3ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 10ms (View: 0, DB: 6) | 200 OK [https://test.host/messages/337189977/read.js] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#read to js (for 0.0.0.0 at 2010-06-15 14:44:06) [PUT] Parameters: {"format"=>"js", "action"=>"read", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 10ms (View: 0, DB: 2) | 200 OK [https://test.host/messages/337189977/read.js] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing MessagesController#show (for 0.0.0.0 at 2010-06-15 14:44:06) [GET] Parameters: {"action"=>"show", "id"=>nil, "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.1ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing MessagesController#index (for 0.0.0.0 at 2010-06-15 14:44:06) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} Redirected to https://test.host:80/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [https://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index (for 0.0.0.0 at 2010-06-15 14:44:06) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#read (for 0.0.0.0 at 2010-06-15 14:44:06) [GET] Parameters: {"action"=>"read", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/read Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/read] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#sent (for 0.0.0.0 at 2010-06-15 14:44:06) [GET] Parameters: {"action"=>"sent", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/sent Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/sent] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show (for 0.0.0.0 at 2010-06-15 14:44:06) [GET] Parameters: {"action"=>"show", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/show Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/show] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#create (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"action"=>"create", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#reply (for 0.0.0.0 at 2010-06-15 14:44:06) [GET] Parameters: {"action"=>"reply", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/reply Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/reply] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#auto_complete_for_message_recipients (for 0.0.0.0 at 2010-06-15 14:44:06) [POST] Parameters: {"action"=>"auto_complete_for_message_recipients", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/auto_complete_for_message_recipients Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/auto_complete_for_message_recipients] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing PagesController#preview to js (for 0.0.0.0 at 2010-06-15 14:44:06) [PUT] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"preview", "id"=>"Sandbox", "controller"=>"pages", "page"=>{"content"=>"Foo"}} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering pages/preview Completed in 16ms (View: 2, DB: 2) | 200 OK [http://test.host/johans-project/pages/Sandbox/preview.js?page%5Bcontent%5D=Foo] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Update (0.3ms) UPDATE `projects` SET `wiki_enabled` = 0, `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:06' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing PagesController#index (for 0.0.0.0 at 2010-06-15 14:44:06) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/johans-project Filter chain halted as [:check_if_wiki_enabled] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/pages] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#index to atom (for 0.0.0.0 at 2010-06-15 14:44:06) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"atom", "action"=>"index", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering pages/index Completed in 13144ms (View: 12672, DB: 1) | 200 OK [http://test.host/johans-project/pages.atom] Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' SQL (0.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#index (for 0.0.0.0 at 2010-06-15 14:44:20) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering pages/index Rendered layouts/_common_head (8.0ms) Rendered layouts/_login_logout (1.4ms) Rendered searches/_search_box_global (1.9ms) Rendered layouts/_common_footer (1.4ms) Completed in 28ms (View: 23, DB: 1) | 200 OK [http://test.host/johans-project/pages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#index (for 0.0.0.0 at 2010-06-15 14:44:20) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Redirected to http://test.host/johans-project Filter chain halted as [:assert_readyness] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://test.host/johans-project/pages] SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#show (for 0.0.0.0 at 2010-06-15 14:44:20) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"Home", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Redirected to http://test.host/johans-project Filter chain halted as [:assert_readyness] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://test.host/johans-project/pages/Home] SQL (0.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#show (for 0.0.0.0 at 2010-06-15 14:44:20) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"Home", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering pages/no_page Rendered layouts/_common_head (7.1ms) Rendered layouts/_login_logout (1.4ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 28ms (View: 24, DB: 1) | 200 OK [http://test.host/johans-project/pages/Home] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Project Update (0.3ms) UPDATE `projects` SET `wiki_enabled` = 0, `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:20' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing PagesController#show (for 0.0.0.0 at 2010-06-15 14:44:20) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"Foo", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/johans-project Filter chain halted as [:check_if_wiki_enabled] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/pages/Foo] SQL (1.8ms) ROLLBACK SQL (0.2ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `wiki_permissions` = 1, `updated_at` = '2010-06-15 11:44:20' WHERE `id` = 757051622 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing PagesController#edit (for 0.0.0.0 at 2010-06-15 14:44:20) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"NotHere", "controller"=>"pages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/pages Filter chain halted as [:require_write_permissions] rendered_or_redirected. Completed in 8ms (DB: 5) | 302 Found [http://test.host/johans-project/pages/NotHere/edit] SQL (0.5ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.4ms) UPDATE `projects` SET `owner_id` = 3, `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:20' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3)) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.3ms) UPDATE `projects` SET `owner_id` = 369376230, `owner_type` = 'Group', `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:20' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'temp') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('temp', NULL, '2010-06-15 11:44:20', NULL, NULL, NULL, NULL, NULL, '2010-06-15 11:44:20') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 764238919) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:20', 135138680, 764238919, 3, '2010-06-15 11:44:20') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#update (for 0.0.0.0 at 2010-06-15 14:44:20) [PUT] Parameters: {"project"=>{"owner_id"=>764238919}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238919) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Group Load (0.1ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 764238919 AND ((`memberships`.user_id = 3)))  WARNING: Can't mass-assign these protected attributes: owner_id SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.1ms) UPDATE `projects` SET `merge_request_custom_states` = NULL WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 26ms (DB: 7) | 302 Found [http://test.host/johans-project?project%5Bowner_id%5D=764238919] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 3, `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:20' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3)) LIMIT 1 Processing ProjectsController#update (for 0.0.0.0 at 2010-06-15 14:44:20) [PUT] Parameters: {"project"=>{"owner_id"=>369376230}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Group Load (0.1ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 369376230 AND ((`memberships`.user_id = 3)))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:20', 2, 3, 'Group', NULL, 369376230, 1, '2010-06-15 11:44:20') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-06-15 11:39:20') AND (`messages`.sender_id = 3)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405970, 0, 0, '2010-06-15 11:44:20', 'mike added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-06-15 11:44:20', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 3, NULL, '2010-06-15 11:44:20') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:20', NULL, NULL, 1, 10, 3, 'Repository', 'team-thunderbird', '2010-06-15 11:44:20') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (1, 62, '2010-06-15 11:44:20', '2010-06-15 11:44:20') Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 3))  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.4ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011405970) LIMIT 1 Committership Update (0.3ms) UPDATE `committerships` SET `permissions` = 112, `updated_at` = '2010-06-15 11:44:20' WHERE `id` = 1011405970 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: owner_id SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.3ms) UPDATE `projects` SET `owner_id` = 369376230, `owner_type` = 'Group', `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:21' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-06-15 11:44:21' WHERE `id` = 757051622 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:21', NULL, NULL, 1, 2, 3, 'Project', NULL, '2010-06-15 11:44:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 285ms (DB: 10) | 302 Found [http://test.host/johans-project?project%5Bowner_id%5D=369376230] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (9.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 3, `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:21' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3)) LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 764238917)  User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 3) AND ((`memberships`.group_id = 764238917)) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 764238917) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:21', 820312697, 764238917, 3, '2010-06-15 11:44:21') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#edit (for 0.0.0.0 at 2010-06-15 14:44:21) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendering template within layouts/application Rendering projects/edit Tagging Columns (0.6ms) SHOW FIELDS FROM `taggings` Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Rendered projects/_form (34.0ms) MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Rendered projects/_merge_request_status_form (5.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 94ms (View: 79, DB: 17) | 200 OK [http://test.host/johans-project/edit] Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 3, `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:21' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3)) LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 764238917)  User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 3) AND ((`memberships`.group_id = 764238917)) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 764238917) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:21', 820312697, 764238917, 3, '2010-06-15 11:44:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#update (for 0.0.0.0 at 2010-06-15 14:44:21) [PUT] Parameters: {"project"=>{"title"=>"foo"}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `title` = 'foo', `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:21' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:21', NULL, NULL, 1, 2, 3, 'Project', NULL, '2010-06-15 11:44:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 34ms (DB: 7) | 302 Found [http://test.host/johans-project?project%5Btitle%5D=foo] Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:21) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_type"=>"User"}, "action"=>"create", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.4ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'projectx') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-06-15 11:39:21') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('projectx', 0, '2010-06-15 11:44:21', NULL, NULL, 'project x', NULL, NULL, NULL, 'projectx\'s description', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-06-15 11:44:21', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 4) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:21') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('projectx-gitorious-wiki', NULL, 4, '2010-06-15 11:44:21', 0, 1, 1, NULL, '93b/80e/60d7979156b4360693917aa7563aeecd1a', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-06-15 11:44:21', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051628) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:21', 2, NULL, 'User', 112, 1, 757051628, '2010-06-15 11:44:21') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051628)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 4 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 4 AND `repositories`.id <> 757051628) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '93b/80e/60d7979156b4360693917aa7563aeecd1a' AND `repositories`.id <> 757051628) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 4 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 4 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 4, '2010-06-15 11:44:21', 1, NULL, '#408000', 1, '2010-06-15 11:44:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 4 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 4 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 4, '2010-06-15 11:44:21', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:21') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 4 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:21', NULL, 'Project', 4, 1, '2010-06-15 11:44:21', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(4, '2010-06-15 11:44:21', NULL, NULL, 4, 0, 1, 'Project', NULL, '2010-06-15 11:44:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 4))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 4))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 4 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 4 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projectx/repositories/new Completed in 72ms (DB: 8) | 302 Found [http://test.host/projects?project%5Bdescription%5D=projectx%27s+description&project%5Bowner_type%5D=User&project%5Bslug%5D=projectx&project%5Btitle%5D=project+x] SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  SQL (0.1ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 4)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.project_id = 4) ORDER BY created_at asc LIMIT 1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:21', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-06-15 11:44:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:21') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-06-15 11:44:21', 0, 4, 1, NULL, 'd1e/519/dde89a7130a2fcc9d01ec11960eb0dde22', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-06-15 11:44:21', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051629) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:21', 2, NULL, 'Group', 112, 369376230, 757051629, '2010-06-15 11:44:21') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051629)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 66)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 66 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#destroy (for 0.0.0.0 at 2010-06-15 14:44:21) [DELETE] Parameters: {"action"=>"destroy", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.0ms) SAVEPOINT active_record_1 Tagging Load (0.1ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'Project')  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.project_id = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Comment')  Comment Destroy (0.3ms) DELETE FROM `comments` WHERE `id` = 2 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 4 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 4 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 1 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916935 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:21', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-06-15 11:44:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 1))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 1) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  FeedItem Load (0.2ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 67)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 67 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 1 Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051629 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051629)  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405972 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405972 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051629)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 757051629))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 757051629 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 757051629) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 757051629) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 757051629)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051629 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 757051629)  Repository Destroy (0.2ms) DELETE FROM `repositories` WHERE `id` = 757051629 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051622)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 757051622))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 757051622 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 757051622) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 757051622) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 757051622)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051622 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 757051622)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 757051622 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.project_id = 1) ORDER BY created_at asc Project Destroy (0.1ms) DELETE FROM `projects` WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projects Completed in 270ms (DB: 25) | 302 Found [http://test.host/johans-project] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1) LIMIT 1 SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#destroy (for 0.0.0.0 at 2010-06-15 14:44:21) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 2) | 302 Found [http://test.host/projects/destroy] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing ProjectsController#destroy (for 0.0.0.0 at 2010-06-15 14:44:21) [DELETE] Parameters: {"action"=>"destroy", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/projects Completed in 6ms (DB: 2) | 302 Found [http://test.host/johans-project] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#destroy (for 0.0.0.0 at 2010-06-15 14:44:21) [DELETE] Parameters: {"action"=>"destroy", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Redirected to http://test.host/projects Completed in 8ms (DB: 2) | 302 Found [http://test.host/johans-project] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#index (for 0.0.0.0 at 2010-06-15 14:44:21) [GET] Parameters: {"action"=>"index", "controller"=>"projects"} Project Load (0.4ms) SELECT * FROM `projects` ORDER BY projects.created_at desc LIMIT 0, 20 Tagging Load (0.3ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` IN (1,2,3) and `taggings`.`taggable_type` = 'Project')  Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id IN (1,2,3) AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` IN (1,2))  Cache miss: projects:most_active_recently:10:3 ({:expires_in=>1800 seconds}) Project Load (0.7ms) SELECT distinct projects.*, count(events.id) as event_count FROM `projects` INNER JOIN `events` ON events.project_id = projects.id WHERE (events.created_at > '2010-06-12 11:44:21') GROUP BY projects.id ORDER BY event_count desc LIMIT 10 Cache write (will save 2.71ms): projects:most_active_recently:10:3 Tag Load (0.5ms) SELECT tags.id, tags.name, COUNT(*) AS count FROM `tags` INNER JOIN taggings ON tags.id = taggings.tag_id INNER JOIN projects ON projects.id = taggings.taggable_id WHERE (taggings.taggable_type = 'Project') GROUP BY tags.id, tags.name HAVING COUNT(*) > 0 ORDER BY count desc LIMIT 10 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/index Rendered projects/_project (2.9ms) Rendered projects/_project (1.1ms) Rendered projects/_project (1.2ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.6ms) Rendered layouts/_login_logout (1.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 42ms (View: 28, DB: 3) | 200 OK [http://test.host/projects] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-06-15 14:44:21) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project Filter chain halted as [:assure_adminship] rendered_or_redirected. Completed in 7ms (DB: 2) | 302 Found [http://test.host/johans-project/edit] SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#new (for 0.0.0.0 at 2010-06-15 14:44:21) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/new Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendered projects/_form (13.2ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 47ms (View: 41, DB: 2) | 200 OK [http://test.host/projects/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SshKey Load (0.1ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.0ms) SAVEPOINT active_record_1 SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#new (for 0.0.0.0 at 2010-06-15 14:44:21) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Redirected to http://test.host/~johan/keys/new Filter chain halted as [:require_user_has_ssh_keys] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/projects/new] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#new (for 0.0.0.0 at 2010-06-15 14:44:21) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/projects/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#show (for 0.0.0.0 at 2010-06-15 14:44:21) [GET] Parameters: {"action"=>"show", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc WARNING: Can't mass-assign these protected attributes: subdomain Cache miss: paginated-project-events:1:1 ({:expires_in=>600 seconds}) Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.project_id = 1 AND (target_type != 'Event')) ORDER BY created_at desc, created_at asc LIMIT 0, 30 Cache write (will save 1.42ms): paginated-project-events:1:1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Rendering template within layouts/application Rendering projects/show Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (7.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (22.3ms) Event rendering (0.1ms) Rendered events/_events (0.3ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Tag Load (0.2ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  SQL (0.4ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (19.7ms) Repositories (sidebar) (20.7ms) Rendered layouts/_common_head (7.1ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.0ms) Completed in 89ms (View: 75, DB: 5) | 200 OK [http://test.host/johans-project] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-06-15 14:44:22) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendering template within layouts/application Rendering projects/edit Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Rendered projects/_form (9.7ms) MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Rendered projects/_merge_request_status_form (3.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered layouts/_common_head (6.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 59ms (View: 48, DB: 4) | 200 OK [http://test.host/johans-project/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#confirm_delete (for 0.0.0.0 at 2010-06-15 14:44:22) [GET] Parameters: {"action"=>"confirm_delete", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/projects/confirm_delete] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-06-15 14:44:22) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendering template within layouts/application Rendering projects/edit Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Rendered projects/_form (9.6ms) MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Rendered projects/_merge_request_status_form (3.6ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 60ms (View: 48, DB: 4) | 200 OK [http://test.host/johans-project/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-06-15 14:44:22) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/johans-project/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#show (for 0.0.0.0 at 2010-06-15 14:44:22) [GET] Parameters: {"action"=>"show", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc WARNING: Can't mass-assign these protected attributes: subdomain Cache hit: paginated-project-events:1:1 ({:expires_in=>600 seconds}) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Rendering template within layouts/application Rendering projects/show Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (0.7ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (217.6ms) Event rendering (0.1ms) Rendered events/_events (0.3ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Tag Load (0.2ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (5.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (16.4ms) Repositories (sidebar) (17.4ms) Rendered layouts/_common_head (7.3ms) Rendered layouts/_login_logout (1.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 272ms (View: 261, DB: 4) | 200 OK [http://test.host/johans-project] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing ProjectsController#edit_slug (for 0.0.0.0 at 2010-06-15 14:44:22) [GET] Parameters: {"action"=>"edit_slug", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project Filter chain halted as [:assure_adminship] rendered_or_redirected. Completed in 7ms (DB: 1) | 302 Found [http://test.host/johans-project/edit_slug] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.3ms) UPDATE `users` SET `aasm_state` = 'pending', `updated_at` = '2010-06-15 11:44:22' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:22) [POST] Parameters: {"action"=>"create", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to http://test.host/~johan/license Filter chain halted as [:require_current_eula] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/projects] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SshKey Load (0.1ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.0ms) SAVEPOINT active_record_1 SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:22) [POST] Parameters: {"action"=>"create", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Redirected to http://test.host/~johan/keys/new Filter chain halted as [:require_user_has_ssh_keys] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/projects] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:22) [POST] Parameters: {"project"=>{}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (`projects`.`slug` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/new Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendered projects/_form (19.2ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.1ms) Completed in 55ms (View: 48, DB: 3) | 200 OK [http://test.host/projects?] SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (`projects`.`slug` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:22', 135138680, 369376230, 1, '2010-06-15 11:44:22') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:22) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_id"=>369376230, "owner_type"=>"Group"}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: owner_id Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 369376230 AND ((`memberships`.user_id = 1)))  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'projectx') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-06-15 11:39:22') AND (`projects`.user_id = 1)  Project Create (0.3ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('projectx', 0, '2010-06-15 11:44:22', NULL, NULL, 'project x', NULL, NULL, NULL, 'projectx\'s description', 369376230, 1, 1, NULL, NULL, NULL, NULL, '2010-06-15 11:44:22', 'Group', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 5) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:22') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('projectx-gitorious-wiki', NULL, 5, '2010-06-15 11:44:22', 0, 1, 1, NULL, 'eb4/97b/284aa638f0569cd9fa542de3a3300246e0', NULL, NULL, NULL, 0, 369376230, 1, NULL, 1, '2010-06-15 11:44:22', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051630) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:22', 2, NULL, 'Group', 112, 369376230, 757051630, '2010-06-15 11:44:22') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051630)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 5 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 5 AND `repositories`.id <> 757051630) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'eb4/97b/284aa638f0569cd9fa542de3a3300246e0' AND `repositories`.id <> 757051630) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 5 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 5 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 5, '2010-06-15 11:44:22', 1, NULL, '#408000', 1, '2010-06-15 11:44:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 5 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 5 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 5, '2010-06-15 11:44:22', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:22') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 5 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:22', NULL, 'Project', 5, 1, '2010-06-15 11:44:22', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(5, '2010-06-15 11:44:22', NULL, NULL, 5, 0, 1, 'Project', NULL, '2010-06-15 11:44:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 5))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 5))  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 5 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 5 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projectx/repositories/new Completed in 73ms (DB: 8) | 302 Found [http://test.host/projects?project%5Bdescription%5D=projectx%27s+description&project%5Bowner_id%5D=369376230&project%5Bowner_type%5D=Group&project%5Bslug%5D=projectx&project%5Btitle%5D=project+x] SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:22) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_type"=>"User"}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'projectx') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-06-15 11:39:22') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('projectx', 0, '2010-06-15 11:44:22', NULL, NULL, 'project x', NULL, NULL, NULL, 'projectx\'s description', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-06-15 11:44:22', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 6) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:22') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('projectx-gitorious-wiki', NULL, 6, '2010-06-15 11:44:22', 0, 1, 1, NULL, '7cc/cbf/e5d19da69358d5bb58460faadef0ec51fc', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-06-15 11:44:22', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051631) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:22', 2, NULL, 'User', 112, 1, 757051631, '2010-06-15 11:44:22') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051631)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 6 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 6 AND `repositories`.id <> 757051631) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '7cc/cbf/e5d19da69358d5bb58460faadef0ec51fc' AND `repositories`.id <> 757051631) LIMIT 1 Project Load (0.5ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 6 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 6 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 6, '2010-06-15 11:44:22', 1, NULL, '#408000', 1, '2010-06-15 11:44:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 6 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 6 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 6, '2010-06-15 11:44:22', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:22') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 6 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:22', NULL, 'Project', 6, 1, '2010-06-15 11:44:22', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(6, '2010-06-15 11:44:22', NULL, NULL, 6, 0, 1, 'Project', NULL, '2010-06-15 11:44:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 6))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 6))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 6 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 6 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projectx/repositories/new Completed in 74ms (DB: 8) | 302 Found [http://test.host/projects?project%5Bdescription%5D=projectx%27s+description&project%5Bowner_type%5D=User&project%5Bslug%5D=projectx&project%5Btitle%5D=project+x] SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#preview to js (for 0.0.0.0 at 2010-06-15 14:44:22) [PUT] Parameters: {"format"=>"js", "project"=>{"title"=>"something new", "description"=>"This is a long description"}, "action"=>"preview", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering projects/preview Completed in 5ms (View: 2, DB: 2) | 200 OK [http://test.host/johans-project/preview.js?project%5Bdescription%5D=This+is+a+long+description&project%5Btitle%5D=something+new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.3ms) UPDATE `projects` SET `owner_id` = 369376230, `owner_type` = 'Group', `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:22' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing ProjectsController#update (for 0.0.0.0 at 2010-06-15 14:44:22) [PUT] Parameters: {"project"=>{"description"=>"bar"}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `merge_request_custom_states` = NULL, `description` = 'bar', `updated_at` = '2010-06-15 11:44:22' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:22', NULL, NULL, 1, 2, 3, 'Project', NULL, '2010-06-15 11:44:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 34ms (DB: 5) | 302 Found [http://test.host/johans-project?project%5Bdescription%5D=bar] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.3ms) UPDATE `projects` SET `owner_id` = 369376230, `owner_type` = 'Group', `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:23' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendering template within layouts/application Rendering projects/edit Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Rendered projects/_form (11.0ms) MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Rendered projects/_merge_request_status_form (4.2ms) Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 68ms (View: 54, DB: 6) | 200 OK [http://test.host/johans-project/edit] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#update (for 0.0.0.0 at 2010-06-15 14:44:23) [PUT] Parameters: {"action"=>"update", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/projects/update] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#update (for 0.0.0.0 at 2010-06-15 14:44:23) [PUT] Parameters: {"project"=>{"slug"=>"foo", "title"=>"new name", "description"=>"bar"}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'foo' AND `projects`.id <> 1) LIMIT 1 Project Update (0.3ms) UPDATE `projects` SET `title` = 'new name', `slug` = 'foo', `merge_request_custom_states` = NULL, `description` = 'bar', `updated_at` = '2010-06-15 11:44:23' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:23', NULL, NULL, 1, 2, 1, 'Project', NULL, '2010-06-15 11:44:23') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/foo Completed in 32ms (DB: 4) | 302 Found [http://test.host/johans-project?project%5Bdescription%5D=bar&project%5Bslug%5D=foo&project%5Btitle%5D=new+name] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#edit_slug (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"action"=>"edit_slug", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/edit_slug WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.5ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 33ms (View: 27, DB: 3) | 200 OK [http://test.host/johans-project/edit_slug] Processing ProjectsController#edit_slug (for 0.0.0.0 at 2010-06-15 14:44:23) [PUT] Parameters: {"project"=>{"slug"=>"another_one"}, "action"=>"edit_slug", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'another_one' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `slug` = 'another_one', `merge_request_custom_states` = NULL, `updated_at` = '2010-06-15 11:44:23' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:23', NULL, NULL, 1, 2, 1, 'Project', NULL, '2010-06-15 11:44:23') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/another_one Completed in 20ms (View: 27, DB: 6) | 302 Found [http://test.host/johans-project/edit_slug] Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:23) [POST] Parameters: {"action"=>"create", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/projects] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#clones to js (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"format"=>"js", "action"=>"clones", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.6ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (17.5ms) Completed in 22ms (View: 17, DB: 3) | 200 OK [http://test.host/johans-project/clones.js] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:23) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_type"=>"User"}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Rendering template within layouts/application Rendered shared/_throttled_record (1.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#index (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"action"=>"index", "controller"=>"projects"} Redirected to http://test.host/ Filter chain halted as [:public_and_logged_in] rendered_or_redirected. Completed in 1ms (DB: 2) | 302 Found [http://test.host/projects] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#new (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/new Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendered projects/_form (11.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 39ms (View: 34, DB: 2) | 200 OK [http://test.host/projects/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:23) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_type"=>"User"}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'projectx') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-06-15 11:39:23') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('projectx', 0, '2010-06-15 11:44:23', NULL, NULL, 'project x', NULL, NULL, NULL, 'projectx\'s description', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-06-15 11:44:23', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 7) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:23') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('projectx-gitorious-wiki', NULL, 7, '2010-06-15 11:44:23', 0, 1, 1, NULL, '4e6/dce/b48f7da544e70b7ed2309615c4b2544629', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-06-15 11:44:23', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051632) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:23', 2, NULL, 'User', 112, 1, 757051632, '2010-06-15 11:44:23') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051632)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 7 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 7 AND `repositories`.id <> 757051632) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '4e6/dce/b48f7da544e70b7ed2309615c4b2544629' AND `repositories`.id <> 757051632) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 7 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 7 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 7, '2010-06-15 11:44:23', 1, NULL, '#408000', 1, '2010-06-15 11:44:23') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 7 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 7 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 7, '2010-06-15 11:44:23', 0, NULL, '#AA0000', 5, '2010-06-15 11:44:23') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 7 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:23', NULL, 'Project', 7, 1, '2010-06-15 11:44:23', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(7, '2010-06-15 11:44:23', NULL, NULL, 7, 0, 1, 'Project', NULL, '2010-06-15 11:44:23') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 7))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 7))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 7 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 7 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projectx/repositories/new Completed in 287ms (DB: 7) | 302 Found [http://test.host/projects?project%5Bdescription%5D=projectx%27s+description&project%5Bowner_type%5D=User&project%5Bslug%5D=projectx&project%5Btitle%5D=project+x] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#new (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to http://test.host/projects Filter chain halted as [:check_if_only_site_admins_can_create] rendered_or_redirected. Completed in 3ms (DB: 2) | 302 Found [http://test.host/projects/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#create (for 0.0.0.0 at 2010-06-15 14:44:23) [POST] Parameters: {"project"=>{}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to http://test.host/projects Filter chain halted as [:check_if_only_site_admins_can_create] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/projects?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#show (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"action"=>"show", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc WARNING: Can't mass-assign these protected attributes: subdomain Cache hit: paginated-project-events:1:1 ({:expires_in=>600 seconds}) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Rendering template within layouts/application Rendering projects/show Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (0.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (10.6ms) Event rendering (0.1ms) Rendered events/_events (0.3ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Tag Load (0.2ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (5.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (14.9ms) Repositories (sidebar) (15.9ms) Rendered layouts/_common_head (7.1ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 63ms (View: 51, DB: 4) | 200 OK [http://qt.gitorious.test/johans-project] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 3)  Processing ProjectsController#show (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"action"=>"show", "id"=>"thunderbird-project", "controller"=>"projects"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'thunderbird-project') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind != 1)) ORDER BY repositories.created_at asc Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  Redirected to http://qt.tiuht.it.jyu.fi/thunderbird-project Filter chain halted as [:redirect_to_current_site_subdomain] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://www.gitorious.test/thunderbird-project] Site Load (0.2ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 3)  Processing ProjectsController#show (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"action"=>"show", "id"=>"thunderbird-project", "controller"=>"projects"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'thunderbird-project') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind != 1)) ORDER BY repositories.created_at asc Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  Redirected to http://qt.tiuht.it.jyu.fi/thunderbird-project Filter chain halted as [:redirect_to_current_site_subdomain] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://gitorious.test/thunderbird-project] Site Load (0.2ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#show (for 0.0.0.0 at 2010-06-15 14:44:23) [GET] Parameters: {"action"=>"show", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc WARNING: Can't mass-assign these protected attributes: subdomain Cache hit: paginated-project-events:1:1 ({:expires_in=>600 seconds}) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Rendering template within layouts/application Rendering projects/show Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (0.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (9.6ms) Event rendering (0.1ms) Rendered events/_events (0.3ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Tag Load (0.2ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (14.2ms) Repositories (sidebar) (15.1ms) Rendered layouts/_common_head (6.8ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 59ms (View: 49, DB: 4) | 200 OK [http://test.host/johans-project] WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#clone (for 0.0.0.0 at 2010-06-15 14:44:24) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/clone] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#clone (for 0.0.0.0 at 2010-06-15 14:44:24) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/clone Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 39ms (View: 33, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/clone] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SshKey Load (0.1ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.0ms) SAVEPOINT active_record_1 SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#clone (for 0.0.0.0 at 2010-06-15 14:44:24) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Redirected to http://test.host/~johan/keys/new Filter chain halted as [:require_user_has_ssh_keys] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/clone] SQL (4.9ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#clone (for 0.0.0.0 at 2010-06-15 14:44:24) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos Completed in 5ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/clone] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#config (for 0.0.0.0 at 2010-06-15 14:44:24) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"config", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Completed in 3ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/config] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#config (for 0.0.0.0 at 2010-06-15 14:44:24) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"config", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Completed in 5ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/config] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-06-15 14:44:24) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (View: 0, DB: 1) | 401 Unauthorized [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo&repository%5Bowner_type%5D=User] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-06-15 14:44:24) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo-clone", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:24') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-clone', NULL, 1, '2010-06-15 11:44:24', 0, 3, 1, NULL, '6d9/67c/9a6e6326778a740e4cbb467f452b8ccaa3', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-06-15 11:44:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051633) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:24', 2, NULL, 'User', 112, 1, 757051633, '2010-06-15 11:44:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051633)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051633 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:24', NULL, 'Repository', 757051633, 1, '2010-06-15 11:44:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:24', NULL, NULL, 757051633, 3, 1, 'Repository', 1, '2010-06-15 11:44:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051633))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051633 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 257ms (View: 5, DB: 5) | 201 Created [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo-clone&repository%5Bowner_type%5D=User] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-06-15 14:44:24) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foobar", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Completed in 6ms (View: 1, DB: 2) | 422 Unprocessable Entity [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foobar&repository%5Bowner_type%5D=User] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-06-15 14:44:24) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bowner_type%5D=User] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:24', 135138680, 369376230, 1, '2010-06-15 11:44:24') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-06-15 14:44:24) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo-clone", "owner_id"=>369376230, "owner_type"=>"Group"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 369376230 AND ((`memberships`.user_id = 1)))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:24') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-clone', NULL, 1, '2010-06-15 11:44:24', 0, 2, 1, NULL, 'e9b/616/82ba30cdb53737b8fe51c37ce83aa1a1a3', NULL, NULL, NULL, 0, 369376230, 1, 1, 1, '2010-06-15 11:44:24', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051634) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:24', 2, NULL, 'Group', 112, 369376230, 757051634, '2010-06-15 11:44:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051634)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051634 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:24', NULL, 'Repository', 757051634, 1, '2010-06-15 11:44:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:24', NULL, NULL, 757051634, 3, 1, 'Repository', 1, '2010-06-15 11:44:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051634))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051634 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird/johans-project/foo-clone Completed in 46ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo-clone&repository%5Bowner_id%5D=369376230&repository%5Bowner_type%5D=Group] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-06-15 14:44:24) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo-clone", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:24') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-clone', NULL, 1, '2010-06-15 11:44:24', 0, 3, 1, NULL, '5b6/00d/61f1f6c67a99ba3e3ef1567ede647d1a34', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-06-15 11:44:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051635) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:24', 2, NULL, 'User', 112, 1, 757051635, '2010-06-15 11:44:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051635)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051635 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:24', NULL, 'Repository', 757051635, 1, '2010-06-15 11:44:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:24', NULL, NULL, 757051635, 3, 1, 'Repository', 1, '2010-06-15 11:44:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051635))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051635 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/johans-project/foo-clone Completed in 43ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo-clone&repository%5Bowner_type%5D=User] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-06-15 14:44:24) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo-clone", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:24') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-clone', NULL, 1, '2010-06-15 11:44:24', 0, 3, 1, NULL, '22e/8a7/8df789925bfc8147b89a0ff7edfd2ecbad', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-06-15 11:44:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051636) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:24', 2, NULL, 'User', 112, 1, 757051636, '2010-06-15 11:44:24') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051636)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051636 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:24', NULL, 'Repository', 757051636, 1, '2010-06-15 11:44:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:24', NULL, NULL, 757051636, 3, 1, 'Repository', 1, '2010-06-15 11:44:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051636))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051636 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/johans-project/foo-clone Completed in 42ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo-clone&repository%5Bowner_type%5D=User] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SshKey Load (0.1ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.0ms) SAVEPOINT active_record_1 SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-06-15 14:44:24) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Redirected to http://test.host/~johan/keys/new Filter chain halted as [:require_user_has_ssh_keys] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bowner_type%5D=User] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-06-15 14:44:24) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foobar", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos Completed in 5ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foobar&repository%5Bowner_type%5D=User] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#destroy (for 0.0.0.0 at 2010-06-15 14:44:24) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:find_and_require_repository_adminship] rendered_or_redirected. Completed in 8ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  Processing RepositoriesController#destroy (for 0.0.0.0 at 2010-06-15 14:44:24) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 1 AND `events`.`target_type` = 'User' AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916935 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:24', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-06-15 11:44:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.3ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 1))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 2 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.2ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.2ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 1) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:24') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-06-15 11:44:24', 0, 4, 1, NULL, 'd24/2e6/48f3a170d64bb114a65f210797dadddefa', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-06-15 11:44:24', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051637) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:24', 2, NULL, 'Group', 112, 369376230, 757051637, '2010-06-15 11:44:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051637)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 78)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 78 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:24', NULL, NULL, 1, 4, 1, 'Project', 'johansprojectrepos', '2010-06-15 11:44:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 110ms (DB: 17) | 302 Found [http://test.host/johans-project/johansprojectrepos] SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#destroy (for 0.0.0.0 at 2010-06-15 14:44:24) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (183.7ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos-clone' AND `repositories`.project_id = 1 AND `repositories`.id <> 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b0c/554/5de8afee2a86064d372c17a113f2984c6b' AND `repositories`.id <> 2) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `user_id` = 1, `updated_at` = '2010-06-15 11:44:25' WHERE `id` = 2 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:25', 2, NULL, 'User', 96, 1, 2, '2010-06-15 11:44:25') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing RepositoriesController#destroy (for 0.0.0.0 at 2010-06-15 14:44:25) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:25', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-06-15 11:44:25') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405981 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405981 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.2ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:25') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-06-15 11:44:25', 0, 4, 1, NULL, 'd49/d44/2e442b50a0828439ca670c1bbd7315198f', NULL, NULL, NULL, 0, 369376230, 1, 2, 1, '2010-06-15 11:44:25', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051638) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:25', 2, NULL, 'Group', 112, 369376230, 757051638, '2010-06-15 11:44:25') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051638)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 80)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 80 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:25', NULL, NULL, 369376230, 4, 1, 'Group', 'johansprojectrepos-clone', '2010-06-15 11:44:25') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird Completed in 120ms (DB: 204) | 302 Found [http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone] SQL (11.3ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:25', 2, NULL, 'User', 96, 3, 2, '2010-06-15 11:44:25') Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos-clone' AND `repositories`.project_id = 1 AND `repositories`.id <> 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b0c/554/5de8afee2a86064d372c17a113f2984c6b' AND `repositories`.id <> 2) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `user_id` = 3, `updated_at` = '2010-06-15 11:44:25' WHERE `id` = 2 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#confirm_delete (for 0.0.0.0 at 2010-06-15 14:44:25) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"confirm_delete", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/confirm_delete Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 41ms (View: 28, DB: 17) | 200 OK [http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone/confirm_delete] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing RepositoriesController#index (for 0.0.0.0 at 2010-06-15 14:44:25) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` IN (1,2))  Event Load (0.2ms) SELECT `events`.* FROM `events` WHERE (`events`.`target_id` IN (1,2) and `events`.`target_type` = 'Repository')  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/index Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (0.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (9.7ms) Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered repositories/_clone_urls (0.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 2)) AND (`merge_requests`.target_repository_id = 2))  Rendered repositories/_overview (11.5ms) Rendered projects/_repositories (0.3ms) Rendered layouts/_common_head (6.2ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 48ms (View: 40, DB: 3) | 200 OK [http://test.host/johans-project/repositories] Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing RepositoriesController#index to xml (for 0.0.0.0 at 2010-06-15 14:44:25) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"xml", "action"=>"index", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` IN (1,2))  Event Load (0.2ms) SELECT `events`.* FROM `events` WHERE (`events`.`target_id` IN (1,2) and `events`.`target_type` = 'Repository')  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Completed in 20ms (View: 0, DB: 3) | 200 OK [http://test.host/johans-project/repositories.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#show to xml (for 0.0.0.0 at 2010-06-15 14:44:25) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"xml", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 13ms (View: 5, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos.xml] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:25) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (10.3ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.8ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (23.0ms) Rendered layouts/_common_head (6.3ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 69ms (View: 59, DB: 5) | 200 OK [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:25) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (9.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (5.0ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (23.5ms) Rendered layouts/_common_head (7.4ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 66ms (View: 55, DB: 5) | 200 OK [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:25) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"moesprojectrepos", "controller"=>"repositories"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'moesprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) Rendered layouts/_common_head (6.4ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.3ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:25) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 7ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:25) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Completed in 9ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 2 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:26) [POST] Parameters: {"project_id"=>"moes-project", "username"=>"johan", "action"=>"writable_by", "id"=>"moesprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'moesprojectrepos') AND (`repositories`.project_id = 2 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 32)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Completed in 9ms (View: 0, DB: 2) | 200 OK [http://test.host/moes-project/moesprojectrepos/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:26) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"nonexistinguser", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'nonexistinguser') LIMIT 1 Completed in 5ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?username=nonexistinguser] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:26) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 8ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:26) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"mike", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "git_path"=>"refs/merge-requests/13"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '13') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Completed in 7ms (View: 0, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?git_path=refs%2Fmerge-requests%2F13&username=mike] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:26) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "git_path"=>"refs/merge-requests/13"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '13') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Completed in 7ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?git_path=refs%2Fmerge-requests%2F13&username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:26) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "git_path"=>"refs/merge-requests/42"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '42') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Completed in 7ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?git_path=refs%2Fmerge-requests%2F42&username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:26) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "git_path"=>"refs/heads/master"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 8ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?git_path=refs%2Fheads%2Fmaster&username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:26) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 8ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:26') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('johansprojectrepos', NULL, 2, '2010-06-15 11:44:26', 0, 0, 1, NULL, 'd15/8ed/9b037e0c71186fe60193b38d2c9c9be237', NULL, NULL, NULL, 0, 1, 1, 3, 1, '2010-06-15 11:44:26', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051639) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:26', 2, NULL, 'User', 112, 1, 757051639, '2010-06-15 11:44:26') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051639)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-06-15 11:44:26', NULL, NULL, 757051639, 19, 1, 'Repository', NULL, '2010-06-15 11:44:26') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051639))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051639 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051639 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:26', NULL, 'Repository', 757051639, 1, '2010-06-15 11:44:26', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-06-15 14:44:26) [POST] Parameters: {"project_id"=>"moes-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051639) AND (((permissions & 32)) AND (`committerships`.repository_id = 757051639))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 9ms (View: 0, DB: 6) | 200 OK [http://test.host/~johan/moes-project/johansprojectrepos/writable_by?username=johan] SQL (1.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.2ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing RepositoriesController#index to json (for 0.0.0.0 at 2010-06-15 14:44:26) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"json", "action"=>"index", "controller"=>"repositories", "filter"=>"clone"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (1.2ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.project_id=1 AND (repositories.name LIKE '%clone%' OR repositories.description LIKE '%clone%' OR groups.name LIKE '%clone%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.project_id=1 AND (repositories.name LIKE '%clone%' OR repositories.description LIKE '%clone%' OR owners.login LIKE '%clone%') AND repositories.owner_type='User' AND kind in (2,3,0) Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Completed in 8ms (View: 0, DB: 15) | 200 OK [http://test.host/johans-project/repositories.json?filter=clone] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:26) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"head"=>"test/master"}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Grit::Git (0.26): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-06-15 11:44:27', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 283ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bhead%5D=test%2Fmaster] SQL (2.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-06-15 14:44:27) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/edit Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (8.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.0ms) Rendered searches/_search_box_global (1.9ms) Rendered layouts/_common_footer (1.2ms) Completed in 488ms (View: 476, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:27) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"description"=>"blablabla"}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `description` = 'blablabla', `updated_at` = '2010-06-15 11:44:27', `deny_force_pushing` = NULL WHERE `id` = 1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:27', NULL, 'Changed the repository description', 1, 20, 1, 'Repository', NULL, '2010-06-15 11:44:27') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 35ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdescription%5D=blablabla] Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:27) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"deny_force_pushing"=>true}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-06-15 11:44:27', `deny_force_pushing` = 1 WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 18ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdeny_force_pushing%5D=true] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:27) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-06-15 11:44:27', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 18ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos?] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:27) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"merge_requests_enabled"=>1}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = 1, `updated_at` = '2010-06-15 11:44:27' WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 15ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos?] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `description` = 'blabla bla', `updated_at` = '2010-06-15 11:44:27' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:27) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"description"=>""}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `description` = '', `updated_at` = '2010-06-15 11:44:27', `deny_force_pushing` = NULL WHERE `id` = 1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:27', NULL, 'Changed the repository description', 1, 20, 1, 'Repository', NULL, '2010-06-15 11:44:27') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 32ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdescription%5D=] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:27) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"notify_committers_on_new_merge_request"=>false}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = 0, `updated_at` = '2010-06-15 11:44:27', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 18ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bnotify_committers_on_new_merge_request%5D=false] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:27', 135138680, 369376230, 1, '2010-06-15 11:44:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `kind` = 2, `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-06-15 11:44:27' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'temp') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('temp', NULL, '2010-06-15 11:44:27', NULL, NULL, NULL, NULL, NULL, '2010-06-15 11:44:27') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 764238920) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:27', 135138680, 764238920, 1, '2010-06-15 11:44:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:27) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"owner_id"=>764238920}, "action"=>"update", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 764238920 AND ((`memberships`.user_id = 1)))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-06-15 11:44:27', `deny_force_pushing` = NULL WHERE `id` = 1 Redirected to http://test.host/+team-thunderbird/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 224ms (DB: 6) | 302 Found [http://test.host/+team-thunderbird/johans-project/johansprojectrepos?repository%5Bowner_id%5D=764238920] Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:28', 135138680, 369376230, 1, '2010-06-15 11:44:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:28) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"owner_id"=>369376230}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 369376230 AND ((`memberships`.user_id = 1)))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1) LIMIT 1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:28', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-06-15 11:44:28') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:28', 2, NULL, 'Group', 112, 369376230, 1, '2010-06-15 11:44:28') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.4ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-06-15 11:44:28' WHERE `id` = 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-06-15 11:44:28', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 55ms (DB: 9) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bowner_id%5D=369376230] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:28', 135138680, 369376230, 1, '2010-06-15 11:44:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#edit (for 0.0.0.0 at 2010-06-15 14:44:28) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/edit Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Grit::Git (0.26): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (7.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.0ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 312ms (View: 301, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/edit] Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:28', 135138680, 369376230, 1, '2010-06-15 11:44:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:28) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"description"=>"foo"}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.4ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `description` = 'foo', `updated_at` = '2010-06-15 11:44:28', `deny_force_pushing` = NULL WHERE `id` = 1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:28', NULL, 'Changed the repository description', 1, 20, 1, 'Repository', NULL, '2010-06-15 11:44:28') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 226ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdescription%5D=foo] Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:28) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"description"=>nil}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-06-15 11:44:28', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 19ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdescription%5D=] Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-06-15 14:44:28) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:find_and_require_repository_adminship] rendered_or_redirected. Completed in 9ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:28', 2, NULL, 'Group', 64, 369376230, 1, '2010-06-15 11:44:28') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `kind` = 2, `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-06-15 11:44:28' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-06-15 14:44:28) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/edit Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Grit::Git (0.26): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 318ms (View: 304, DB: 7) | 200 OK [http://test.host/+team-thunderbird/johans-project/johansprojectrepos/edit] SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:29', 2, NULL, 'User', 64, 2, 1, '2010-06-15 11:44:29') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `kind` = 3, `owner_id` = 2, `updated_at` = '2010-06-15 11:44:29' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-06-15 14:44:29) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"moe"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'moe') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/edit User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Grit::Git (0.47): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 2))  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 522ms (View: 509, DB: 7) | 200 OK [http://test.host/~moe/johans-project/johansprojectrepos/edit] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-06-15 14:44:29) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/edit] Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:29) [PUT] Parameters: {"project_id"=>"johans-project", "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/johans-project/johansprojectrepos/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Processing RepositoriesController#update (for 0.0.0.0 at 2010-06-15 14:44:29) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"new_name"}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'new_name' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'new_name' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-06-15 11:44:29', `deny_force_pushing` = NULL, `name` = 'new_name' WHERE `id` = 1 Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:29', NULL, 'Changed the repository name', 1, 20, 1, 'Repository', NULL, '2010-06-15 11:44:29') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Redirected to http://test.host/johans-project/new_name SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 36ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bname%5D=new_name] Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:29', 135138680, 369376230, 1, '2010-06-15 11:44:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#new (for 0.0.0.0 at 2010-06-15 14:44:29) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"repositories"} User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendering template within layouts/application Rendering repositories/new Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 43ms (View: 34, DB: 5) | 200 OK [http://test.host/johans-project/repositories/new] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.3ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:29', 135138680, 369376230, 1, '2010-06-15 11:44:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#new (for 0.0.0.0 at 2010-06-15 14:44:29) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 2) | 302 Found [http://test.host/johans-project/repositories/new] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:29', 135138680, 369376230, 1, '2010-06-15 11:44:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories`  Processing RepositoriesController#create (for 0.0.0.0 at 2010-06-15 14:44:29) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"my-new-repo"}, "action"=>"create", "controller"=>"repositories"} User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'my-new-repo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:29') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('my-new-repo', NULL, 1, '2010-06-15 11:44:29', 0, 0, NULL, NULL, '976/367/df042c1b0fd33ac20bad6dbb1ac620a558', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-06-15 11:44:29', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051640) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:29', 2, NULL, 'User', 112, 1, 757051640, '2010-06-15 11:44:29') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051640)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:29', NULL, NULL, 757051640, 19, 1, 'Repository', NULL, '2010-06-15 11:44:29') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051640))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051640 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051640 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:29', NULL, 'Repository', 757051640, 1, '2010-06-15 11:44:29', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/my-new-repo Completed in 43ms (DB: 6) | 302 Found [http://test.host/johans-project/repositories?repository%5Bname%5D=my-new-repo] SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories`  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:29', 135138680, 369376230, 1, '2010-06-15 11:44:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#new (for 0.0.0.0 at 2010-06-15 14:44:29) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "group_id"=>"team-thunderbird", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/+team-thunderbird Filter chain halted as [:only_projects_can_add_new_repositories] rendered_or_redirected. Completed in 7ms (DB: 3) | 302 Found [http://test.host/+team-thunderbird/johans-project/new] Processing RepositoriesController#new (for 0.0.0.0 at 2010-06-15 14:44:29) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/~johan Filter chain halted as [:only_projects_can_add_new_repositories] rendered_or_redirected. Completed in 3ms (DB: 0) | 302 Found [http://test.host/+team-thunderbird/johans-project/new] Processing RepositoriesController#create (for 0.0.0.0 at 2010-06-15 14:44:29) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{}, "action"=>"create", "group_id"=>"team-thunderbird", "controller"=>"repositories"} Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/+team-thunderbird Filter chain halted as [:only_projects_can_add_new_repositories] rendered_or_redirected. Completed in 6ms (DB: 1) | 302 Found [http://test.host/+team-thunderbird/johans-project/new] Processing RepositoriesController#create (for 0.0.0.0 at 2010-06-15 14:44:29) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{}, "action"=>"create", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/~johan Filter chain halted as [:only_projects_can_add_new_repositories] rendered_or_redirected. Completed in 3ms (DB: 0) | 302 Found [http://test.host/+team-thunderbird/johans-project/new] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:30', 135138680, 369376230, 1, '2010-06-15 11:44:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing RepositoriesController#new (for 0.0.0.0 at 2010-06-15 14:44:30) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project Filter chain halted as [:require_owner_adminship] rendered_or_redirected. Completed in 5ms (DB: 3) | 302 Found [http://test.host/johans-project/repositories/new] Processing RepositoriesController#create (for 0.0.0.0 at 2010-06-15 14:44:30) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{}, "action"=>"create", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project Filter chain halted as [:require_owner_adminship] rendered_or_redirected. Completed in 4ms (DB: 0) | 302 Found [http://test.host/johans-project/repositories/new] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-06-15 11:44:30', 135138680, 369376230, 1, '2010-06-15 11:44:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#create (for 0.0.0.0 at 2010-06-15 14:44:30) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"mine"}, "action"=>"create", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mine' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:30') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('mine', NULL, 1, '2010-06-15 11:44:30', 0, 0, NULL, NULL, '5e4/01a/bb4cdb16706091d0cd98a2ff221f9d291d', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-06-15 11:44:30', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051641) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:30', 2, NULL, 'User', 112, 1, 757051641, '2010-06-15 11:44:30') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051641)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-06-15 11:44:30', NULL, NULL, 757051641, 19, 1, 'Repository', NULL, '2010-06-15 11:44:30') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051641))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051641 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051641 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:30', NULL, 'Repository', 757051641, 1, '2010-06-15 11:44:30', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/mine Completed in 46ms (DB: 6) | 302 Found [http://test.host/johans-project/repositories?repository%5Bname%5D=mine] Processing RepositoriesController#create (for 0.0.0.0 at 2010-06-15 14:44:30) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"mine", "merge_requests_enabled"=>"1"}, "action"=>"create", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mine' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/application Rendering repositories/new Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 39ms (View: 32, DB: 1) | 200 OK [http://test.host/johans-project/repositories?repository%5Bname%5D=mine] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#search_clones to json (for 0.0.0.0 at 2010-06-15 14:44:30) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"json", "action"=>"search_clones", "id"=>"johansprojectrepos", "controller"=>"repositories", "filter"=>"projectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.7ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%projectrepos%' OR repositories.description LIKE '%projectrepos%' OR groups.name LIKE '%projectrepos%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%projectrepos%' OR repositories.description LIKE '%projectrepos%' OR owners.login LIKE '%projectrepos%') AND repositories.owner_type='User' AND kind in (2,3,0) Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Completed in 8ms (View: 0, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/search_clones.json?filter=projectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:30) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 2 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 2))  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered repositories/_committers_sidebar (7.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Rendered repositories/_clone_list (13.8ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.3ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 59ms (View: 46, DB: 5) | 200 OK [http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:30) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.5ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (8.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (5.1ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (22.1ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.0ms) Completed in 64ms (View: 52, DB: 6) | 200 OK [http://test.host/~johan/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos-clone' AND `repositories`.project_id = 1 AND `repositories`.id <> 2) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b0c/554/5de8afee2a86064d372c17a113f2984c6b' AND `repositories`.id <> 2) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `owner_id` = 2, `owner_type` = 'User', `updated_at` = '2010-06-15 11:44:30' WHERE `id` = 2 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:30) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos-clone", "controller"=>"repositories", "user_id"=>"moe"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'moe') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 2 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 2))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered repositories/_committers_sidebar (6.5ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Rendered repositories/_clone_list (12.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 54ms (View: 43, DB: 6) | 200 OK [http://test.host/~moe/johans-project/johansprojectrepos-clone] SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-06-15 11:39:30') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.4ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('johansprojectrepos', NULL, 2, '2010-06-15 11:44:30', 0, 0, 1, NULL, '83e/747/e0dd36a6040961a340d9ccbf7c0bfce011', NULL, NULL, NULL, 0, 1, 1, 3, 1, '2010-06-15 11:44:30', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051642) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:30', 2, NULL, 'User', 112, 1, 757051642, '2010-06-15 11:44:30') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051642)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-06-15 11:44:30', NULL, NULL, 757051642, 19, 1, 'Repository', NULL, '2010-06-15 11:44:30') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051642))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051642 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051642 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:30', NULL, 'Repository', 757051642, 1, '2010-06-15 11:44:30', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:30) [GET] Parameters: {"project_id"=>"moes-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051642 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 757051642 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051642) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 757051642))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051642) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 757051642))  Rendered repositories/_committers_sidebar (9.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 757051642)) AND (`repositories`.parent_id = 757051642))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 757051642)) AND (`repositories`.parent_id = 757051642))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 757051642) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 757051642))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 757051642) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 757051642))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 757051642) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 757051642))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 757051642) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 757051642))  Rendered repositories/_clone_list (14.6ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.7ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 64ms (View: 50, DB: 9) | 200 OK [http://test.host/~johan/moes-project/johansprojectrepos] SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:30) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/show User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (8.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.7ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (20.9ms) Rendered layouts/_common_head (6.6ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 60ms (View: 50, DB: 5) | 200 OK [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `kind` = 3, `updated_at` = '2010-06-15 11:44:31' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (8.0ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.7ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (20.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 60ms (View: 49, DB: 6) | 200 OK [http://test.host/~johan/johans-project/johansprojectrepos] SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 WARNING: Can't mass-assign these protected attributes: permissions SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-06-15 11:44:31', 2, NULL, 'User', NULL, 3, 2, '2010-06-15 11:44:31') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#show (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 2 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendering template within layouts/application Rendering repositories/show User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Committership Load (0.4ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Cache hit: avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered repositories/_committers_sidebar (8.7ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Rendered repositories/_clone_list (12.2ms) Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 68ms (View: 55, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Processing SearchesController#show (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"show", "controller"=>"searches", "q"=>""} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering searches/show Rendered searches/_search_box (225.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.5ms) Rendered layouts/_login_logout (1.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 260ms (View: 250, DB: 1) | 200 OK [http://test.host/search?q=] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing SearchesController#show (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"show", "controller"=>"searches", "q"=>"foo"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering searches/show Rendered searches/_search_box (1.8ms) Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Rendered projects/_project (2.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.2ms) Rendered layouts/_login_logout (1.4ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.1ms) Completed in 25ms (View: 24, DB: 1) | 200 OK [http://test.host/search?q=foo] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 13ms (DB: 1) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] Processing SessionsController#destroy (for 0.0.0.0 at 2010-06-15 14:44:31) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"sessions"} SQL (0.1ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 4ms (DB: 0) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 2ms (DB: 0) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#destroy (for 0.0.0.0 at 2010-06-15 14:44:31) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"sessions"} Redirected to https://test.host:80/ Completed in 1ms (DB: 0) | 302 Found [https://test.host/sessions] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.3ms) Completed in 31ms (View: 30, DB: 0) | 200 OK [https://test.host/sessions?email=johan%40johansorensen.com&password=lulz] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-06-29 11:44:31', `remember_token` = '6300865505743860c97909e9286eb7f336f4ed89', `updated_at` = '2010-06-15 11:44:31' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing SessionsController#new (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '6300865505743860c97909e9286eb7f336f4ed89') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-06-29 11:44:31', `updated_at` = '2010-06-15 11:44:31' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 26ms (View: 17, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SessionsController#destroy (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"destroy", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 6ms (DB: 1) | 302 Found [https://test.host/sessions] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-06-29 11:44:31', `remember_token` = '6300865505743860c97909e9286eb7f336f4ed89', `updated_at` = '2010-06-15 11:44:31' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing SessionsController#new (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = 'invalid_auth_token') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 18ms (View: 17, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 19ms (View: 17, DB: 1) | 200 OK [https://test.host/sessions?email=johan%40johansorensen.com&password=bad+password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-06-29 11:44:31', `remember_token` = '6300865505743860c97909e9286eb7f336f4ed89', `updated_at` = '2010-06-15 11:44:31' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-06-15 11:39:31', `updated_at` = '2010-06-15 11:44:31' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing SessionsController#new (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '6300865505743860c97909e9286eb7f336f4ed89') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 18ms (View: 17, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 2ms (DB: 1) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-06-29 11:44:31', `remember_token` = '6300865505743860c97909e9286eb7f336f4ed89', `updated_at` = '2010-06-15 11:44:31' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing SessionsController#new (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '6300865505743860c97909e9286eb7f336f4ed89') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-06-29 11:44:31', `updated_at` = '2010-06-15 11:44:31' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 25ms (View: 16, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SessionsController#destroy (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"destroy", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 6ms (DB: 1) | 302 Found [https://test.host/sessions] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "remember_me"=>"1", "email"=>"johan@johansorensen.com"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-06-29 11:44:31', `remember_token` = '6300865505743860c97909e9286eb7f336f4ed89', `updated_at` = '2010-06-15 11:44:31' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 8ms (DB: 1) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test&remember_me=1] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SessionsController#new (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 19ms (View: 16, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "remember_me"=>"0", "email"=>"johan@johansorensen.com"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 2ms (DB: 0) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test&remember_me=0] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"invalid"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'invalid' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 17ms (View: 16, DB: 0) | 200 OK [https://test.host/sessions?email=invalid&password=also+invalid] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"openid_url"=>"http://patcito.myopenid.com", "action"=>"create", "controller"=>"sessions"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`identity_url` = 'http://patcito.myopenid.com') LIMIT 1 Redirected to https://test.host:80/users/openid_build Completed in 8ms (DB: 0) | 302 Found [https://test.host/sessions?openid_url=http%3A%2F%2Fpatcito.myopenid.com] SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 2ms (DB: 0) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#destroy (for 0.0.0.0 at 2010-06-15 14:44:31) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"sessions"} Redirected to https://test.host/sessions Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/sessions] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#new (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} Redirected to https://test.host/sessions/new Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/sessions/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#new (for 0.0.0.0 at 2010-06-15 14:44:31) [POST] Parameters: {"action"=>"new", "controller"=>"sessions"} Redirected to https://test.host/sessions/new Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/sessions/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SiteController#public_timeline (for 0.0.0.0 at 2010-06-15 14:44:31) [GET] Parameters: {"action"=>"public_timeline", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache miss: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Repository Load (1.3ms) SELECT distinct repositories.id, repositories.*, count(events.id) as event_count FROM `repositories` INNER JOIN `events` ON `events`.target_id = `repositories`.id AND `events`.target_type = 'Repository' WHERE (events.created_at > '2010-06-08 11:44:31' and kind in (3,2)) GROUP BY repositories.id ORDER BY event_count desc LIMIT 10 Cache write (will save 3.45ms): repository:most_active_clones:10 Cache miss: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Project Load (0.5ms) SELECT distinct projects.*, count(events.id) as event_count FROM `projects` INNER JOIN `events` ON events.project_id = projects.id WHERE (events.created_at > '2010-06-12 11:44:31') GROUP BY projects.id ORDER BY event_count desc LIMIT 15 Cache write (will save 2.12ms): projects:most_active_recently:15:3 Cache miss: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) User Load (0.5ms) SELECT users.*, events.action, count(events.id) as event_count FROM `users` INNER JOIN `events` ON events.user_id = users.id WHERE (events.action = 5 and events.created_at > '2010-06-12 11:44:31') GROUP BY users.id ORDER BY event_count desc LIMIT 10 Cache write (will save 2.03ms): users:most_active_pushers:10:3 Cache miss: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Group Load (0.5ms) SELECT groups.*, committerships.repository_id, repositories.id, events.id, events.target_id, events.target_type, count(events.id) as event_count FROM `groups` INNER JOIN `committerships` ON `committerships`.committer_id = `groups`.id AND `committerships`.committer_type = 'Group' INNER JOIN `repositories` ON `repositories`.id = `committerships`.repository_id INNER JOIN `events` ON `events`.target_id = `repositories`.id AND `events`.target_type = 'Repository' WHERE (committerships.repository_id = events.target_id and events.target_type = 'Repository' AND events.created_at > '2010-06-10 11:44:31') GROUP BY groups.id ORDER BY event_count desc LIMIT 10 Cache write (will save 2.39ms): groups:most_active:10:5 Cache miss: events:latest_25 ({:expires_in=>600 seconds}) Event Load (0.3ms) select id,action,created_at from events use index (index_events_on_created_at) where (action != 5) order by created_at desc limit 25 Cache write (will save 0.62ms): events:latest_25 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) Rendered layouts/_login_logout (1.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 51ms (View: 27, DB: 4) | 200 OK [http://test.host/activities] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SiteController#dashboard (for 0.0.0.0 at 2010-06-15 14:44:32) [GET] Parameters: {"action"=>"dashboard", "controller"=>"site"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/~johan Completed in 4ms (DB: 1) | 302 Found [http://test.host/dashboard] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SiteController#dashboard (for 0.0.0.0 at 2010-06-15 14:44:32) [GET] Parameters: {"action"=>"dashboard", "controller"=>"site"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/dashboard] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SiteController#index (for 0.0.0.0 at 2010-06-15 14:44:32) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache hit: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Cache hit: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Cache hit: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) Cache hit: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Cache hit: events:latest_25 ({:expires_in=>600 seconds}) WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.5ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.2ms) Completed in 26ms (View: 22, DB: 0) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SiteController#index (for 0.0.0.0 at 2010-06-15 14:44:32) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Cache miss: blog_feed:feed_items ({:expires_in=>3600 seconds}) Cache write (will save 816.92ms): blog_feed:feed_items Rendering template within layouts/second_generation/application Rendering site/public_index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.2ms) Completed in 844ms (View: 25, DB: 0) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SiteController#index (for 0.0.0.0 at 2010-06-15 14:44:33) [GET] Parameters: {"action"=>"index", "controller"=>"site"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.3ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: paginated_events_in_watchlist:1:1 ({:expires_in=>1200 seconds}) FeedItem Load (0.2ms) SELECT * FROM `feed_items` WHERE (`feed_items`.watcher_id = 1) ORDER BY created_at desc LIMIT 0, 30 Cache write (will save 1.26ms): paginated_events_in_watchlist:1:1 Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 1 AND archived_by_recipient = 0 AND recipient_id = 1) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 1)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 3 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1) ORDER BY id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/dashboard Committership Load (0.3ms) SELECT repository_id FROM `committerships` WHERE (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User') AND (((permissions & 16)) AND (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User'))  Repository Load (0.3ms) SELECT repositories.*, count(merge_requests.id) as open_merge_request_count FROM `repositories` INNER JOIN `merge_requests` ON merge_requests.target_repository_id = repositories.id WHERE (repositories.id in (1) and merge_requests.status = 1) GROUP BY repositories.id LIMIT 5 Committership Load (0.2ms) SELECT repository_id FROM `committerships` WHERE (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User') AND (((permissions & 16)) AND (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User'))  Repository Load (0.2ms) SELECT repositories.*, count(merge_requests.id) as open_merge_request_count FROM `repositories` INNER JOIN `merge_requests` ON merge_requests.target_repository_id = repositories.id WHERE (repositories.id in (1) and merge_requests.status = 1) GROUP BY repositories.id LIMIT 5 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.7ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 71ms (View: 56, DB: 5) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SiteController#index (for 0.0.0.0 at 2010-06-15 14:44:33) [GET] Parameters: {"action"=>"index", "controller"=>"site"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: paginated_events_in_watchlist:1:1 ({:expires_in=>1200 seconds}) Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 1 AND archived_by_recipient = 0 AND recipient_id = 1) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 1)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 3 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1) ORDER BY id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/dashboard Committership Load (0.3ms) SELECT repository_id FROM `committerships` WHERE (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User') AND (((permissions & 16)) AND (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User'))  Repository Load (0.3ms) SELECT repositories.*, count(merge_requests.id) as open_merge_request_count FROM `repositories` INNER JOIN `merge_requests` ON merge_requests.target_repository_id = repositories.id WHERE (repositories.id in (1) and merge_requests.status = 1) GROUP BY repositories.id LIMIT 5 Committership Load (0.2ms) SELECT repository_id FROM `committerships` WHERE (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User') AND (((permissions & 16)) AND (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User'))  Repository Load (0.2ms) SELECT repositories.*, count(merge_requests.id) as open_merge_request_count FROM `repositories` INNER JOIN `merge_requests` ON merge_requests.target_repository_id = repositories.id WHERE (repositories.id in (1) and merge_requests.status = 1) GROUP BY repositories.id LIMIT 5 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.2ms) Completed in 57ms (View: 43, DB: 4) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Site Load (0.2ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  Processing SiteController#index (for 0.0.0.0 at 2010-06-15 14:44:33) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache hit: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Cache hit: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Cache hit: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) Cache hit: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Cache hit: events:latest_25 ({:expires_in=>600 seconds}) WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.2ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 27ms (View: 21, DB: 1) | 200 OK [http://qt.gitorious.test/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Site Load (0.2ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  Processing SiteController#index (for 0.0.0.0 at 2010-06-15 14:44:33) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache hit: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Cache hit: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Cache hit: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) Cache hit: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Cache hit: events:latest_25 ({:expires_in=>600 seconds}) WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.7ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 27ms (View: 23, DB: 1) | 200 OK [http://qt.gitorious.test/] Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.site_id = 546697069)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Processing SiteController#index (for 0.0.0.0 at 2010-06-15 14:44:33) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache hit: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Cache hit: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Cache hit: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) Cache hit: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Cache hit: events:latest_25 ({:expires_in=>600 seconds}) WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.3ms) Rendered layouts/_login_logout (0.7ms) Rendered layouts/_common_footer (1.1ms) Completed in 18ms (View: 15, DB: 1) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:33' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#index (for 0.0.0.0 at 2010-06-15 14:44:33) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"trees", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.26): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Redirected to http://test.host/johans-project/johansprojectrepos/trees/master Completed in 278ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/trees] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:33' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-06-15 14:44:33) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["master", "lib", "grit"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering trees/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:71bdf614a206b5a814f66bc4cd38b166fffa5f76 ({}) Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/actor.rb' Cache write (will save 249.86ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:71bdf614a206b5a814f66bc4cd38b166fffa5f76 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:eae61c1581a0833a8566b3433ce356ffd7ba4c38 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/blob.rb' Cache write (will save 425.77ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:eae61c1581a0833a8566b3433ce356ffd7ba4c38 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:c01c87e22d6aeef9fc98e9f3f79301bcc72a9cfe ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/commit.rb' Cache write (will save 242.38ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:c01c87e22d6aeef9fc98e9f3f79301bcc72a9cfe Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:3cbe815175c85b4138a582f2806cba4900f2345c ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/config.rb' Cache write (will save 425.77ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:3cbe815175c85b4138a582f2806cba4900f2345c Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:4806fed1e97eb14df0fc9f729f4c68e9f112ae46 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/diff.rb' Cache write (will save 241.95ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:4806fed1e97eb14df0fc9f729f4c68e9f112ae46 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:f6ddadfc18437e7196c27c1ae9f953db9fce6888 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/errors.rb' Cache write (will save 423.27ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:f6ddadfc18437e7196c27c1ae9f953db9fce6888 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:898afe6120325eceab9c13a2b8a6fc8f016a57a3 ({}) Grit::Git (0.26): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/git-ruby' Cache write (will save 260.50ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:898afe6120325eceab9c13a2b8a6fc8f016a57a3 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:b39735f442f951837168cf6c784fd3d5e731ddb1 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/git-ruby.rb' Cache write (will save 422.83ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:b39735f442f951837168cf6c784fd3d5e731ddb1 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:bdf546279644772ae5ee92207a2e8de7b41db5bf ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/git.rb' Cache write (will save 241.95ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:bdf546279644772ae5ee92207a2e8de7b41db5bf Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:6c0b7586ae0ff9ea8095f13acdb1af8881b0cb61 ({}) Grit::Git (0.47): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/head.rb' Cache write (will save 473.01ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:6c0b7586ae0ff9ea8095f13acdb1af8881b0cb61 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:f7d6d17f31b12db39e6eea2f441601bbda7df8fe ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/lazy.rb' Cache write (will save 244.53ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:f7d6d17f31b12db39e6eea2f441601bbda7df8fe Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:a04c2545f08ece1befa3faa12c972e51652b64cb ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/repo.rb' Cache write (will save 425.97ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:a04c2545f08ece1befa3faa12c972e51652b64cb Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:1d3069f614ff16a2f4e44325041b69a4359479b4 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/tag.rb' Cache write (will save 244.09ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:1d3069f614ff16a2f4e44325041b69a4359479b4 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:edc64b9ec19b612fbab7cc2e256f4d79ceb503bd ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/tree.rb' Cache write (will save 427.33ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:edc64b9ec19b612fbab7cc2e256f4d79ceb503bd User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (9.7ms) Rendered layouts/_login_logout (1.7ms) Rendered searches/_search_box_global (1.9ms) Rendered layouts/_common_footer (1.2ms) Completed in 5599ms (View: 5142, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/master/lib/grit] SQL (2.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:39' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-06-15 14:44:39) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["test", "master", "lib"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Rendering template within layouts/application Rendering trees/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:090c92c2c7954f94d9709510aa8fb39daf6cf92b ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'test/master' -- 'lib/grit' Cache write (will save 244.32ms): treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:090c92c2c7954f94d9709510aa8fb39daf6cf92b Cache miss: treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:498a6384a3ca11db9a1f7642f39950bab2af5e4a ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'test/master' -- 'lib/grit.rb' Cache write (will save 426.33ms): treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:498a6384a3ca11db9a1f7642f39950bab2af5e4a User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (9.4ms) Rendered layouts/_login_logout (1.5ms) Rendered searches/_search_box_global (1.9ms) Rendered layouts/_common_footer (1.2ms) Completed in 1452ms (View: 998, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/test/master/lib] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:41' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-06-15 14:44:41) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["master", "lib"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/trees/HEAD/lib Completed in 5ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/trees/master/lib] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:41' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-06-15 14:44:41) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "foo"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/trees/HEAD/foo Completed in 9ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/trees/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/foo] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:41' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-06-15 14:44:41) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["3fa4e130fa18c92e3030d4accb5d3e0cadd40157"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering trees/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:d7f94495b90949d1bda39d0c7a7e7e37e52e7410 ({}) Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- '.gitignore' Cache write (will save 254.78ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:d7f94495b90949d1bda39d0c7a7e7e37e52e7410 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:c89ab0d3e1b916209ade1e0fe18c8477b48fceba ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'History.txt' Cache write (will save 243.91ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:c89ab0d3e1b916209ade1e0fe18c8477b48fceba Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:bafbc69b72fbb0d272c9947e91036f75a07443b9 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'lib' Cache write (will save 422.01ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:bafbc69b72fbb0d272c9947e91036f75a07443b9 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:ba1bf950a4d000831523fc4c4aa30d1aad6b0b37 ({}) Grit::Git (0.26): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'Manifest.txt' Cache write (will save 261.53ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:ba1bf950a4d000831523fc4c4aa30d1aad6b0b37 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:acc4f38cb54b855a75a59da934d8fdf6067fba72 ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'Rakefile' Cache write (will save 427.52ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:acc4f38cb54b855a75a59da934d8fdf6067fba72 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:2af81802b317f2fb7779bd2c1426398c41212a31 ({}) Grit::Git (0.26): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'README.txt' Cache write (will save 257.37ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:2af81802b317f2fb7779bd2c1426398c41212a31 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:aecbe185f02c0e25cf98818355fef6341c058e10 ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'test' Cache write (will save 427.29ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:aecbe185f02c0e25cf98818355fef6341c058e10 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (9.6ms) Rendered layouts/_login_logout (1.4ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.2ms) Completed in 2650ms (View: 2641, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:43' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-06-15 14:44:43) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["test", "master", "lib"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Rendering template within layouts/application Rendering trees/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:090c92c2c7954f94d9709510aa8fb39daf6cf92b ({}) Cache hit: treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:498a6384a3ca11db9a1f7642f39950bab2af5e4a ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.6ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 768ms (View: 314, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/test/master/lib] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:44' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#archive (for 0.0.0.0 at 2010-06-15 14:44:44) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"archive", "controller"=>"trees", "branch"=>["master"], "repository_id"=>"johansprojectrepos", "archive_format"=>"tar.gz"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 450ms (View: 0, DB: 2) | 202 Accepted [http://test.host/johans-project/johansprojectrepos/archive-tarball/master] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:45' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#archive (for 0.0.0.0 at 2010-06-15 14:44:45) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"archive", "controller"=>"trees", "branch"=>["test", "master"], "repository_id"=>"johansprojectrepos", "archive_format"=>"tar.gz"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 259ms (View: 1, DB: 3) | 202 Accepted [http://test.host/johans-project/johansprojectrepos/archive-tarball/test/master] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:45' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#archive (for 0.0.0.0 at 2010-06-15 14:44:45) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"archive", "controller"=>"trees", "branch"=>["foo"], "repository_id"=>"johansprojectrepos", "archive_format"=>"tar.gz"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'foo' Redirected to http://test.host/johans-project/johansprojectrepos/trees/HEAD Completed in 442ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/archive-tarball/foo] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:45' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#archive (for 0.0.0.0 at 2010-06-15 14:44:45) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"archive", "controller"=>"trees", "branch"=>["master"], "repository_id"=>"johansprojectrepos", "archive_format"=>"tar.gz"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 435ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/archive-tarball/master] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:46' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Processing TreesController#show (for 0.0.0.0 at 2010-06-15 14:44:46) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["ticket-%2342"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering trees/show Project Load (0.5ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:d5fb2f49f8a40ad5c6d1b562fa1575efb52c6daf ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- '.gitignore' Cache write (will save 431.25ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:d5fb2f49f8a40ad5c6d1b562fa1575efb52c6daf Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:e2649a460f973c2de902b32233a1089bf8a534ba ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'History.txt' Cache write (will save 240.38ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:e2649a460f973c2de902b32233a1089bf8a534ba Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:6e2eba172b080a57d45059a2fbecad372819b66b ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'lib' Cache write (will save 426.65ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:6e2eba172b080a57d45059a2fbecad372819b66b Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:03f7c4e57f55351d8371a0080601cc638ab9f01c ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'Manifest.txt' Cache write (will save 240.64ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:03f7c4e57f55351d8371a0080601cc638ab9f01c Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:174e0a46a6be790d8129f086342f6666abd0601c ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'PURE_TODO' Cache write (will save 423.57ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:174e0a46a6be790d8129f086342f6666abd0601c Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:71708197d2332d9e503a70ebf2ef335ec5685f97 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'Rakefile' Cache write (will save 240.25ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:71708197d2332d9e503a70ebf2ef335ec5685f97 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:e0470c0a5d7b081b75f3ddcdc00638a9b2a7f909 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'README.txt' Cache write (will save 424.85ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:e0470c0a5d7b081b75f3ddcdc00638a9b2a7f909 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:16fd2d308bf48e76d21b412bfa5fb90f2d38272f ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'test' Cache write (will save 240.12ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:16fd2d308bf48e76d21b412bfa5fb90f2d38272f User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.47): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (9.7ms) Rendered layouts/_login_logout (1.5ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 3233ms (View: 3224, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/ticket-%252342] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:49' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#index (for 0.0.0.0 at 2010-06-15 14:44:49) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"trees", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/trees/ticket-%2342 Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/trees] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-06-15 11:44:49' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#openid_build (for 0.0.0.0 at 2010-06-15 14:44:49) [GET] Parameters: {"action"=>"openid_build", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login Rendering template within layouts/application Rendering users/openid_build WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.1ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 30ms (View: 29, DB: 2) | 200 OK [http://test.host/users/openid_build] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#openid_create (for 0.0.0.0 at 2010-06-15 14:44:49) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "fullname"=>"Moe Schmoe", "login"=>"schmoe", "email"=>"moe@schmoe.example"}, "action"=>"openid_create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'schmoe') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'moe@schmoe.example') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES(NULL, NULL, '2010-06-15 11:44:49', NULL, NULL, NULL, NULL, 1, 0, NULL, '354f65774153d3453dbed868b7a9ed1ebbac37c4', 'Moe Schmoe', NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, 'http://moe.example/', 'schmoe', NULL, 'moe@schmoe.example', '2010-06-15 11:44:49') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'schmoe' AND `users`.id <> 10) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'moe@schmoe.example' AND `users`.id <> 10) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-06-15 11:44:49' WHERE `id` = 10 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `activated_at` = '2010-06-15 11:44:49', `activation_code` = NULL, `updated_at` = '2010-06-15 11:44:49' WHERE `id` = 10 [paperclip] Saving attachments. Sent mail to moe@schmoe.example Date: Tue, 15 Jun 2010 14:44:49 +0300 From: Gitorious To: moe@schmoe.example Subject: [Gitorious] Your account has been activated! Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello schmoe, your account has been activated. You can add your public SSH key here http://tiuht.it.jyu.fi/~schmoe as well as change your details. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/ Completed in 30ms (DB: 2) | 302 Found [http://test.host/users/openid_create?user%5Bemail%5D=moe%40schmoe.example&user%5Bfullname%5D=Moe+Schmoe&user%5Blogin%5D=schmoe&user%5Bterms_of_use%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#openid_build (for 0.0.0.0 at 2010-06-15 14:44:49) [GET] Parameters: {"action"=>"openid_build", "controller"=>"users"} Redirected to http://test.host/users/new Filter chain halted as [:require_identity_url_in_session] rendered_or_redirected. Completed in 6ms (DB: 1) | 302 Found [http://test.host/users/openid_build] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#openid_create (for 0.0.0.0 at 2010-06-15 14:44:50) [POST] Parameters: {"user"=>{}, "action"=>"openid_create", "controller"=>"users"} SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/application Rendering users/openid_build WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 39ms (View: 33, DB: 1) | 200 OK [http://test.host/users/openid_create?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#show (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 52ms (View: 38, DB: 3) | 200 OK [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `activation_code` = '123', `updated_at` = '2010-06-15 11:44:50' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#show (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/ Filter chain halted as [:require_public_user] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/~johan] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#show (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 1 AND archived_by_recipient = 0 AND recipient_id = 1) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 1)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 3 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 56ms (View: 39, DB: 5) | 200 OK [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#show (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.3ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.5ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 51ms (View: 35, DB: 4) | 200 OK [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#activate (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"activation_code"=>"8f24789ae988411ccf33ab0c30fe9106fab32e9a", "action"=>"activate", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = '8f24789ae988411ccf33ab0c30fe9106fab32e9a') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `activated_at` = '2010-06-15 11:44:50', `activation_code` = NULL, `updated_at` = '2010-06-15 11:44:50' WHERE `id` = 2 [paperclip] Saving attachments. Sent mail to moe@example.com Date: Tue, 15 Jun 2010 14:44:50 +0300 From: Gitorious To: moe@example.com Subject: [Gitorious] Your account has been activated! Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello moe, your account has been activated. You can add your public SSH key here http://tiuht.it.jyu.fi/~moe as well as change your details. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/ Completed in 12ms (DB: 2) | 302 Found [http://test.host/users/activate/8f24789ae988411ccf33ab0c30fe9106fab32e9a] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#activate (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"activation_code"=>"fubar", "action"=>"activate", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = 'fubar') LIMIT 1 Redirected to http://test.host/ Completed in 2ms (DB: 1) | 302 Found [http://test.host/users/activate/fubar] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#feed to atom (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"format"=>"atom", "action"=>"feed", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) ORDER BY events.created_at desc, events.created_at asc LIMIT 30 Rendering users/feed Completed in 7ms (View: 4, DB: 1) | 200 OK [http://test.host/~johan/feed.atom] Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) ORDER BY created_at desc, events.created_at asc LIMIT 30 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `public_email` = 0, `updated_at` = '2010-06-15 11:44:50' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#show (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (8.6ms) Rendered layouts/_login_logout (1.4ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 44ms (View: 31, DB: 3) | 200 OK [http://test.host/~johan] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#pending_activation (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"pending_activation", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to http://test.host/ Filter chain halted as [:require_not_logged_in] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/users/pending_activation] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#pending_activation (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"pending_activation", "controller"=>"users"} Rendering template within layouts/second_generation/application Rendering users/pending_activation WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 15ms (View: 15, DB: 0) | 200 OK [http://test.host/users/pending_activation] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#show (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 43ms (View: 30, DB: 3) | 200 OK [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:50', NULL, 'MergeRequest', 449844885, 1, '2010-06-15 11:44:50', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-06-15 11:44:50', NULL, 'Project', 1, 1, '2010-06-15 11:44:50', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#show (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 1 AND archived_by_recipient = 0 AND recipient_id = 1) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 1)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 3 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.2ms) Completed in 57ms (View: 39, DB: 6) | 200 OK [http://test.host/~johan] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#watchlist to atom (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"format"=>"atom", "action"=>"watchlist", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Cache hit: paginated_events_in_watchlist:1:1 ({:expires_in=>1200 seconds}) Rendering users/feed Completed in 6ms (View: 4, DB: 1) | 200 OK [http://test.host/~johan/watchlist.atom] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `identity_url` = 'http://johan.someprovider.com/', `updated_at` = '2010-06-15 11:44:50' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#update_password (for 0.0.0.0 at 2010-06-15 14:44:50) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = '6ad9975bddc52117c30c24d002f981691b44409f', `updated_at` = '2010-06-15 11:44:50' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 12ms (DB: 2) | 302 Found [https://test.host/~johan/update_password?user%5Bcurrent_password%5D=test&user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#edit (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"edit", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Rendering template within layouts/application Rendering users/edit WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 40ms (View: 36, DB: 2) | 200 OK [https://test.host/~johan/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#password (for 0.0.0.0 at 2010-06-15 14:44:50) [GET] Parameters: {"action"=>"password", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Rendering template within layouts/application Rendering users/password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (7.4ms) Rendered searches/_search_box_global (2.0ms) Rendered layouts/_common_footer (1.5ms) Completed in 277ms (View: 273, DB: 2) | 200 OK [https://test.host/~johan/password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#password (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"action"=>"password", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [https://test.host/~johan/password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#update (for 0.0.0.0 at 2010-06-15 14:44:51) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.3ms) UPDATE `users` SET `crypted_password` = '6ad9975bddc52117c30c24d002f981691b44409f', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 14ms (DB: 2) | 302 Found [https://test.host/~johan?user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] SQL (1.2ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#update_password (for 0.0.0.0 at 2010-06-15 14:44:51) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.3ms) UPDATE `users` SET `crypted_password` = '6ad9975bddc52117c30c24d002f981691b44409f', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 13ms (DB: 3) | 302 Found [https://test.host/~johan/update_password?user%5Bcurrent_password%5D=test&user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#update_password (for 0.0.0.0 at 2010-06-15 14:44:51) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Rendering template within layouts/application Rendering users/password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`aasm_state` = 'unread' AND `messages`.`archived_by_recipient` = 0) AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (7.7ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 36ms (View: 30, DB: 3) | 200 OK [https://test.host/~johan/update_password?user%5Bcurrent_password%5D=notthecurrentpassword&user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] User Load (0.4ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#update_password (for 0.0.0.0 at 2010-06-15 14:44:51) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 5ms (DB: 2) | 302 Found [https://test.host/~johan/update_password?user%5Bcurrent_password%5D=test&user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.3ms) UPDATE `users` SET `avatar_file_name` = 'foo.png', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#avatar (for 0.0.0.0 at 2010-06-15 14:44:51) [DELETE] Parameters: {"action"=>"avatar", "id"=>"johan", "controller"=>"users"} User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = NULL, `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 14ms (DB: 2) | 302 Found [https://test.host/~johan/avatar] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = NULL, `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#update_password (for 0.0.0.0 at 2010-06-15 14:44:51) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = '6ad9975bddc52117c30c24d002f981691b44409f', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 14ms (DB: 3) | 302 Found [https://test.host/~johan/update_password?user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] User Load (0.4ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#edit (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"action"=>"edit", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [https://test.host/~johan/edit] SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Processing UsersController#forgot_password (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"action"=>"forgot_password", "controller"=>"users"} Rendering template within layouts/second_generation/application Rendering users/forgot_password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.2ms) Completed in 20ms (View: 20, DB: 0) | 200 OK [https://test.host/users/forgot_password] SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#show (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} Redirected to http://test.host/ Filter chain halted as [:public_and_logged_in] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#new (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"action"=>"new", "controller"=>"users"} Redirected to https://test.host:80/ Filter chain halted as [:public_and_logged_in] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [https://test.host/users/new] SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#activate (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"activation_code"=>"8f24789ae988411ccf33ab0c30fe9106fab32e9a", "action"=>"activate", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = '8f24789ae988411ccf33ab0c30fe9106fab32e9a') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.3ms) UPDATE `users` SET `activated_at` = '2010-06-15 11:44:51', `activation_code` = NULL, `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 2 [paperclip] Saving attachments. Sent mail to moe@example.com Date: Tue, 15 Jun 2010 14:44:51 +0300 From: Gitorious To: moe@example.com Subject: [Gitorious] Your account has been activated! Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello moe, your account has been activated. You can add your public SSH key here http://tiuht.it.jyu.fi/~moe as well as change your details. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/ Completed in 12ms (DB: 1) | 302 Found [http://test.host/users/activate/8f24789ae988411ccf33ab0c30fe9106fab32e9a] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#activate (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"activation_code"=>"fubar", "action"=>"activate", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = 'fubar') LIMIT 1 Redirected to http://test.host/ Completed in 2ms (DB: 1) | 302 Found [http://test.host/users/activate/fubar] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#forgot_password (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"action"=>"forgot_password", "controller"=>"users"} Rendering template within layouts/second_generation/application Rendering users/forgot_password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 16ms (View: 16, DB: 0) | 200 OK [https://test.host/users/forgot_password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#forgot_password_create (for 0.0.0.0 at 2010-06-15 14:44:51) [POST] Parameters: {"user"=>{"email"=>"johan@johansorensen.com"}, "action"=>"forgot_password_create", "controller"=>"users"} Redirected to https://test.host:80/users/forgot_password Completed in 1ms (DB: 0) | 302 Found [https://test.host/users/forgot_password_create?user%5Bemail%5D=johan%40johansorensen.com] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#forgot_password_create (for 0.0.0.0 at 2010-06-15 14:44:51) [POST] Parameters: {"user"=>{"email"=>"xxx"}, "action"=>"forgot_password_create", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'xxx') LIMIT 1 Redirected to https://test.host:80/users/forgot_password Completed in 2ms (DB: 1) | 302 Found [https://test.host/users/forgot_password_create?user%5Bemail%5D=xxx] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#forgot_password_create (for 0.0.0.0 at 2010-06-15 14:44:51) [POST] Parameters: {"user"=>{"email"=>"johan@johansorensen.com"}, "action"=>"forgot_password_create", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@johansorensen.com') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `password_key` = 'secret', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 9ms (DB: 1) | 302 Found [https://test.host/users/forgot_password_create?user%5Bemail%5D=johan%40johansorensen.com] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `password_key` = 's3kr1t', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#reset_password (for 0.0.0.0 at 2010-06-15 14:44:51) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "password"=>"[FILTERED]"}, "token"=>"s3kr1t", "action"=>"reset_password", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`password_key` = 's3kr1t') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/reset_password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 28ms (View: 22, DB: 2) | 200 OK [https://test.host/users/reset_password/s3kr1t?user%5Bpassword%5D=qwertyasdf&user%5Bpassword_confirmation%5D=asdf] User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `password_key` = 's3kr1t', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#reset_password (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"token"=>"invalid", "action"=>"reset_password", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`password_key` = 'invalid') LIMIT 1 Redirected to https://test.host:80/users/forgot_password Completed in 2ms (DB: 2) | 302 Found [https://test.host/users/reset_password/invalid] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `password_key` = 's3kr1t', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#reset_password (for 0.0.0.0 at 2010-06-15 14:44:51) [GET] Parameters: {"token"=>"s3kr1t", "action"=>"reset_password", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`password_key` = 's3kr1t') LIMIT 1 Rendering template within layouts/second_generation/application Rendering users/reset_password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 17ms (View: 16, DB: 1) | 200 OK [https://test.host/users/reset_password/s3kr1t] SQL (7.6ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.3ms) UPDATE `users` SET `password_key` = 's3kr1t', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#reset_password (for 0.0.0.0 at 2010-06-15 14:44:51) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "password"=>"[FILTERED]"}, "token"=>"s3kr1t", "action"=>"reset_password", "controller"=>"users"} User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`password_key` = 's3kr1t') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = '8b80416afbeecd596f1e9ad5b37853f291338960', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/sessions/new Completed in 9ms (DB: 10) | 302 Found [https://test.host/users/reset_password/s3kr1t?user%5Bpassword%5D=qwertyasdf&user%5Bpassword_confirmation%5D=qwertyasdf] User Load (0.4ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-06-15 14:44:51) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('c164e39bf6d3643407e3150cb07997ef3192c26e', NULL, '2010-06-15 11:44:51', NULL, NULL, NULL, '039a27950a693f4d2deb7144088daea53293c0c2', 1, 0, NULL, '53c585f4cab03b6e875cfbe86a723d29d76fb0f5', NULL, NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'quire', NULL, 'quire@example.com', '2010-06-15 11:44:51') Sent mail to quire@example.com Date: Tue, 15 Jun 2010 14:44:51 +0300 From: Gitorious To: quire@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is quire Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/53c585f4cab03b6e875cfbe86a723d29d76fb0f5 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire' AND `users`.id <> 11) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com' AND `users`.id <> 11) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 11 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/users/pending_activation Completed in 24ms (DB: 3) | 302 Found [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-06-15 14:44:51) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('c164e39bf6d3643407e3150cb07997ef3192c26e', NULL, '2010-06-15 11:44:51', NULL, NULL, NULL, '039a27950a693f4d2deb7144088daea53293c0c2', 1, 0, NULL, '6693b899ef3aa3f07a5b7664a5af219d4eea9207', NULL, NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'quire', NULL, 'quire@example.com', '2010-06-15 11:44:51') Sent mail to quire@example.com Date: Tue, 15 Jun 2010 14:44:51 +0300 From: Gitorious To: quire@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is quire Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/6693b899ef3aa3f07a5b7664a5af219d4eea9207 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire' AND `users`.id <> 12) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com' AND `users`.id <> 12) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-06-15 11:44:51' WHERE `id` = 12 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/users/pending_activation Completed in 24ms (DB: 2) | 302 Found [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-06-15 14:44:51) [POST] Parameters: {"user"=>{"terms_of_use"=>nil, "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.1ms) Rendered users/_form (12.1ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.2ms) Completed in 263ms (View: 30, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-06-15 14:44:52) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>nil}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.1ms) Rendered users/_form (10.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 38ms (View: 29, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-06-15 14:44:52) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>nil, "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.1ms) Rendered users/_form (9.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 36ms (View: 27, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-06-15 14:44:52) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.1ms) Rendered users/_form (7.1ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 30ms (View: 22, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-06-15 14:44:52) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.1ms) Rendered users/_form (9.6ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 36ms (View: 27, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#create (for 0.0.0.0 at 2010-06-15 14:44:52) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('0001afe0e3dfe3bceecf41594916130bc38a5593', NULL, '2010-06-15 11:44:52', NULL, NULL, NULL, '8c62e0a0f82616b2fa19f39500a826b0ca0a3dbc', 1, 0, NULL, '86ed641da2c989ffbd2da0be29559763c78fc5ff', NULL, NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'quire', NULL, 'quire@example.com', '2010-06-15 11:44:52') Sent mail to quire@example.com Date: Tue, 15 Jun 2010 14:44:52 +0300 From: Gitorious To: quire@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is quire Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/86ed641da2c989ffbd2da0be29559763c78fc5ff Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire' AND `users`.id <> 13) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com' AND `users`.id <> 13) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-06-15 11:44:52' WHERE `id` = 13 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/users/pending_activation Completed in 24ms (DB: 2) | 302 Found [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'quire@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#edit (for 0.0.0.0 at 2010-06-15 14:44:52) [GET] Parameters: {"action"=>"edit", "controller"=>"users"} Redirected to https://test.host/users/edit Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 1) | 302 Found [http://test.host/users/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#forgot_password (for 0.0.0.0 at 2010-06-15 14:44:52) [GET] Parameters: {"action"=>"forgot_password", "controller"=>"users"} Redirected to https://test.host/users/forgot_password Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/forgot_password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#new (for 0.0.0.0 at 2010-06-15 14:44:52) [GET] Parameters: {"action"=>"new", "controller"=>"users"} Redirected to https://test.host/users/new Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#password (for 0.0.0.0 at 2010-06-15 14:44:52) [GET] Parameters: {"action"=>"password", "controller"=>"users"} Redirected to https://test.host/users/password Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#reset_password (for 0.0.0.0 at 2010-06-15 14:44:52) [GET] Parameters: {"action"=>"reset_password", "controller"=>"users"} Redirected to https://test.host/users/reset_password Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/reset_password] SQL (0.2ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#create (for 0.0.0.0 at 2010-06-15 14:44:52) [POST] Parameters: {"action"=>"create", "controller"=>"users"} Redirected to https://test.host/users Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#forgot_password_create (for 0.0.0.0 at 2010-06-15 14:44:52) [POST] Parameters: {"action"=>"forgot_password_create", "controller"=>"users"} Redirected to https://test.host/users/forgot_password_create Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/forgot_password_create] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#update (for 0.0.0.0 at 2010-06-15 14:44:52) [PUT] Parameters: {"action"=>"update", "controller"=>"users"} Redirected to https://test.host/users/update Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/update] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#update_password (for 0.0.0.0 at 2010-06-15 14:44:52) [PUT] Parameters: {"action"=>"update_password", "controller"=>"users"} Redirected to https://test.host/users/update_password Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/update_password] SQL (0.1ms) ROLLBACK ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq ActiveMessaging: adapter reliable_msg not loaded: no such file to load -- reliable-msg ActiveMessaging: Loading /home/maanpelt/yousource/gitorious/app/processors/application.rb ** [localized_dates] localized_dates plugin loaded. ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/pt-BR.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/es.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.yml ** [localized_dates] locales loaded from config/locales. SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 ** ultrasphinx: configuration file not found for "test" environment ** ultrasphinx: please run 'rake ultrasphinx:configure' ** ultrasphinx: spelling support not available (raspell configuration raised "uninitialized constant Ultrasphinx::Spell::Aspell") MergeRequest Columns (1.1ms) SHOW FIELDS FROM `merge_requests` User Columns (1.2ms) SHOW FIELDS FROM `users` Comment Columns (0.8ms) SHOW FIELDS FROM `comments` Project Columns (0.7ms) SHOW FIELDS FROM `projects` Repository Columns (1.0ms) SHOW FIELDS FROM `repositories` SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing ApplicationController#index (for 127.0.0.1 at 2010-06-15 14:44:57) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"git.gitorious.org", :method=>:get, :subdomain=>"git", :host=>"git.gitorious.org", :domain=>"gitorious.org", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:47:in `__bind_1276602296_959745' /test/integration/git_http_cloning_test.rb:46:in `each' /test/integration/git_http_cloning_test.rb:46:in `__bind_1276602296_959745' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone disabling of http cloning should not allow http cloning if denied by configuration. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) Processing ApplicationController#index (for 127.0.0.1 at 2010-06-15 14:44:57) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"git.gitorious.local", :method=>:get, :subdomain=>"git", :host=>"git.gitorious.local", :domain=>"gitorious.local", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:47:in `__bind_1276602296_959745' /test/integration/git_http_cloning_test.rb:46:in `each' /test/integration/git_http_cloning_test.rb:46:in `__bind_1276602296_959745' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone disabling of http cloning should not allow http cloning if denied by configuration. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) Processing ApplicationController#index (for 127.0.0.1 at 2010-06-15 14:44:57) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"git.foo.com", :method=>:get, :subdomain=>"git", :host=>"git.foo.com", :domain=>"foo.com", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:47:in `__bind_1276602296_959745' /test/integration/git_http_cloning_test.rb:46:in `each' /test/integration/git_http_cloning_test.rb:46:in `__bind_1276602296_959745' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone disabling of http cloning should not allow http cloning if denied by configuration. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing ApplicationController#index (for 127.0.0.1 at 2010-06-15 14:44:57) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"gitorious.local", :method=>:get, :subdomain=>nil, :host=>"gitorious.local", :domain=>"gitorious.local", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:56:in `__bind_1276602297_241000' /test/integration/git_http_cloning_test.rb:55:in `each' /test/integration/git_http_cloning_test.rb:55:in `__bind_1276602297_241000' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone should not set X-Sendfile for hosts that do not allow HTTP cloning. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) Processing ApplicationController#index (for 127.0.0.1 at 2010-06-15 14:44:57) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"foo.local", :method=>:get, :subdomain=>nil, :host=>"foo.local", :domain=>"foo.local", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:56:in `__bind_1276602297_241000' /test/integration/git_http_cloning_test.rb:55:in `each' /test/integration/git_http_cloning_test.rb:55:in `__bind_1276602297_241000' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone should not set X-Sendfile for hosts that do not allow HTTP cloning. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos' AND `repositories`.`project_id` = 1) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Cloner Create (0.2ms) INSERT INTO `cloners` (`country_code`, `protocol`, `date`, `country`, `ip`, `repository_id`) VALUES(NULL, 'http', '2010-06-15 11:44:57', NULL, '192.71.1.2', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1) ORDER BY cloners.id DESC LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos' AND `repositories`.`project_id` = 1) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Cloner Create (0.2ms) INSERT INTO `cloners` (`country_code`, `protocol`, `date`, `country`, `ip`, `repository_id`) VALUES(NULL, 'http', '2010-06-15 11:44:57', NULL, '192.71.1.2', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos' AND `repositories`.`project_id` = 1) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Cloner Create (0.2ms) INSERT INTO `cloners` (`country_code`, `protocol`, `date`, `country`, `ip`, `repository_id`) VALUES(NULL, 'http', '2010-06-15 11:44:57', NULL, '192.71.1.2', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Processing ProjectsController#show to txt (for 127.0.0.1 at 2010-06-15 14:44:57) [GET] Parameters: {"format"=>"txt", "action"=>"show", "id"=>"robots", "controller"=>"projects"} Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'robots') LIMIT 1 Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) SQL (0.4ms) ROLLBACK ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq ActiveMessaging: adapter reliable_msg not loaded: no such file to load -- reliable-msg ActiveMessaging: Loading /home/maanpelt/yousource/gitorious/app/processors/application.rb ** [localized_dates] localized_dates plugin loaded. ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/pt-BR.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/es.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.yml ** [localized_dates] locales loaded from config/locales. SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 ** ultrasphinx: configuration file not found for "test" environment ** ultrasphinx: please run 'rake ultrasphinx:configure' ** ultrasphinx: spelling support not available (raspell configuration raised "uninitialized constant Ultrasphinx::Spell::Aspell") MergeRequest Columns (19.8ms) SHOW FIELDS FROM `merge_requests` User Columns (13.0ms) SHOW FIELDS FROM `users` Comment Columns (0.9ms) SHOW FIELDS FROM `comments` Project Columns (12.5ms) SHOW FIELDS FROM `projects` Repository Columns (1.5ms) SHOW FIELDS FROM `repositories` SQL (44.4ms) SHOW TABLES SQL (0.5ms) SELECT version FROM schema_migrations Migrating to CreateUsers (1) Migrating to CreateProjects (2) Migrating to RenameProjectNameToTitle (3) Migrating to CreateRepositories (4) Migrating to AddSshKeyToUsers (5) Migrating to AddSlugToProjects (6) Migrating to AddMainlineToProjects (7) Migrating to CreatePermissions (8) Migrating to AddMoreInfoToProjects (9) Migrating to CreateSshKeys (10) Migrating to AddReadyStatusToRepositories (11) Migrating to ActsAsTaggableMigration (12) Migrating to AddFullnameToUsers (13) Migrating to RenamePermissionsToCommitterships (14) Migrating to AddReadyToSshKey (15) Migrating to CreateTasks (16) Migrating to AddTargetIdToTasks (17) Migrating to AddUrlToUsers (18) Migrating to CreateComments (19) Migrating to AddProjectIdToComments (20) Migrating to CreateMergeRequests (21) Migrating to AddBranchesToMergeRequests (22) Migrating to CreateCloners (23) Migrating to CreateEvents (24) Migrating to AddIndicesToEvents (25) Migrating to AddIndexesToCloners (26) Migrating to AddIdentityUrlToUsers (27) Migrating to AddOpenIdAuthenticationTables (28) Migrating to AddNewFlagsToUser (20090109005102) Migrating to AddKindToRepository (20090112123845) Migrating to AddKindIndexesOnRepositories (20090115112423) Migrating to CreateGroups (20090126121750) Migrating to AddRepositoryToGroup (20090126140246) Migrating to AddingStateToUser (20090126141704) Migrating to NukeCommitterships (20090127102507) Migrating to AddingRangeOfCommitsToMergeRequest (20090129144706) Migrating to MoveProjectRepositoriesToOwner (20090203090855) Migrating to AddHashedPathToRepositories (20090203101718) Migrating to AddOwnerToProjects (20090204131336) Migrating to AddDescriptionToRepositories (20090204150126) Migrating to RemovePublicFromGroups (20090205140618) Migrating to CreateParticipations (20090209095321) Migrating to RemoveProjectIdFromGroups (20090209100248) Migrating to MakeUserIdOptionalInEvents (20090210134131) Migrating to AddWikiEnabledToProjects (20090212155914) Migrating to RenameParticipationsToCommittersAndMakeItPolymorphic (20090218111119) Migrating to AddingEulaVersionToUsers (20090218113100) Migrating to SetProperKindOnRepositoryClones (20090219100307) Migrating to RemoveMainlineFromRepositories (20090219120008) Migrating to RenameCommitterRoleToMember (20090219131022) Migrating to MakeCommentsPolymorphic (20090219140050) Migrating to CreateEmails (20090225124504) Migrating to AddEmailToggleToUsers (20090226134536) Migrating to MigratingStatusOfMergeRequests (20090226141804) Migrating to CreateSites (20090303084023) Migrating to AddingMergeRequestsNeedSignoffToProjects (20090303114736) Migrating to CreateMessages (20090304120852) Migrating to AddingMailInterestToUsers (20090305125531) Migrating to AddingDecisionToMergeRequests (20090310141045) Migrating to MakeRepositoryHashUniqueIndex (20090311152733) Migrating to AddLastPushedAtToRepositories (20090316143009) Migrating to AddingProtocolToCloners (20090319111629) Migrating to AddingMergeRequestSignoffFields (20090324124032) Migrating to AddingDescriptionToGroups (20090326094902) Migrating to AddIndicesOnMessages (20090326151432) Migrating to HookingCommitEventsToRepository (20090330091652) Migrating to AddPasswordKeyToUsers (20090331143046) Migrating to AddingOauthPrefixToProject (20090401115721) Migrating to AddWikiPermissionsToRepository (20090420083319) Migrating to StorePermanentHashedPathShard (20090423122949) Migrating to AddingAvatarToUsers (20090428125038) Migrating to AddingAvatarsToTeams (20090429083317) Migrating to RenameLicenseAgreementVersionToTosAccepted (20090430122009) Migrating to RemoveTosAttributeFromUsers (20090504071242) Migrating to RemovingStartingCommitFromMergeRequests (20090504121513) Migrating to CreateSessions (20090511090754) Migrating to MakeUsersWantEmailByDefault (20090512093916) Migrating to AddingUpdatedByToMergeRequests (20090514102747) Migrating to RemovingTasks (20090520132754) Migrating to FlaggingMessagesWithUnreadStatus (20090603113810) Migrating to AddingArchivedStateToMessages (20090604111146) Migrating to RejiggingMergeRequests (20090610072747) Migrating to AddingStateChangeToComments (20090611124949) Migrating to AddingStatusTagToMergeRequests (20090611125528) Migrating to CreateMergeRequestVersions (20090617131148) Migrating to RemoveVersionFromMergeRequests (20090624091346) Migrating to AddProjectsCreatedAtIndexOnEvents (20090624134847) Migrating to AddingMergeRequestStatusToProject (20090701111251) Migrating to AddDenyforcePushingToRepositories (20090710094759) Migrating to MigrateMergeRequestsToStatusTag (20090713102352) Migrating to AddNotifyCommittersOnNewMergeRequestToRepositories (20090724082150) Migrating to CreateMergeRequestStatuses (20090729080026) Migrating to MigrateCustomMergeRequestStatuses (20090730103419) Migrating to AddSummaryToMergeRequests (20090806191259) Migrating to AddDefaultToMergeRequestStatuses (20090825091107) Migrating to MigrationMergeRequestProposalsToSummery (20090827081458) Migrating to AddLastGcAtToRepositories (20090914075300) Migrating to MakeMergeRequestsCommentable (20091006082442) Migrating to AddLegacyTagToMergeRequests (20091026142733) Migrating to AddContextToComments (20091029114444) Migrating to ChangeCommentLineNumberToString (20091102114936) Migrating to AddLastLineNumberToComments (20091102125159) Migrating to AddPermissionsToCommitterships (20091116140126) Migrating to AddingMergeRequestOptionToMergeRequests (20091116143337) Migrating to AddingSequenceNumberToMergeRequests (20091117101216) Migrating to AddingIndexToSequenceNumbers (20091119090036) Migrating to CreateFavorites (20091125143413) Migrating to AddIndicesToFavorites (20091207133046) Migrating to CreateFeedItems (20091209140335) Migrating to AddObjectOwnersAsWatchers (20091210095437) Migrating to AddingLastActivityAtToMessages (20091210132746) Migrating to AddMailFlagToFavorites (20091217110558) Migrating to AddingDefaultFavoriteNotificationToUsers (20100126094829) Migrating to AddingDiskSizeAndPushCountToRepositories (20100203132425) Migrating to CreateHooks (20100216133829) Migrating to AddingRequestCountersToHooks (20100224153358) Migrating to CreateArchivedEvents (20100316124803) SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.3ms) SHOW TABLES SQL (0.6ms) SHOW FIELDS FROM `archived_events` SQL (0.5ms) describe `archived_events` SQL (4.0ms) SHOW KEYS FROM `archived_events` SQL (0.5ms) SHOW FIELDS FROM `cloners` SQL (0.4ms) describe `cloners` SQL (5.5ms) SHOW KEYS FROM `cloners` SQL (0.9ms) SHOW FIELDS FROM `comments` SQL (0.9ms) describe `comments` SQL (13.4ms) SHOW KEYS FROM `comments` SQL (0.9ms) SHOW FIELDS FROM `committerships` SQL (0.8ms) describe `committerships` SQL (2.1ms) SHOW KEYS FROM `committerships` SQL (0.5ms) SHOW FIELDS FROM `emails` SQL (0.4ms) describe `emails` SQL (0.7ms) SHOW KEYS FROM `emails` SQL (0.6ms) SHOW FIELDS FROM `events` SQL (0.5ms) describe `events` SQL (11.8ms) SHOW KEYS FROM `events` SQL (0.8ms) SHOW FIELDS FROM `favorites` SQL (0.7ms) describe `favorites` SQL (15.2ms) SHOW KEYS FROM `favorites` SQL (0.8ms) SHOW FIELDS FROM `feed_items` SQL (0.6ms) describe `feed_items` SQL (0.9ms) SHOW KEYS FROM `feed_items` SQL (0.9ms) SHOW FIELDS FROM `groups` SQL (0.8ms) describe `groups` SQL (4.9ms) SHOW KEYS FROM `groups` SQL (0.9ms) SHOW FIELDS FROM `hooks` SQL (0.8ms) describe `hooks` SQL (0.8ms) SHOW KEYS FROM `hooks` SQL (0.8ms) SHOW FIELDS FROM `memberships` SQL (0.6ms) describe `memberships` SQL (0.6ms) SHOW KEYS FROM `memberships` SQL (0.8ms) SHOW FIELDS FROM `merge_request_statuses` SQL (0.7ms) describe `merge_request_statuses` SQL (8.9ms) SHOW KEYS FROM `merge_request_statuses` SQL (0.7ms) SHOW FIELDS FROM `merge_request_versions` SQL (0.6ms) describe `merge_request_versions` SQL (0.3ms) SHOW KEYS FROM `merge_request_versions` SQL (1.2ms) SHOW FIELDS FROM `merge_requests` SQL (1.1ms) describe `merge_requests` SQL (22.2ms) SHOW KEYS FROM `merge_requests` SQL (6.1ms) SHOW FIELDS FROM `messages` SQL (1.0ms) describe `messages` SQL (21.8ms) SHOW KEYS FROM `messages` SQL (0.9ms) SHOW FIELDS FROM `open_id_authentication_associations` SQL (0.7ms) describe `open_id_authentication_associations` SQL (8.4ms) SHOW KEYS FROM `open_id_authentication_associations` SQL (0.7ms) SHOW FIELDS FROM `open_id_authentication_nonces` SQL (0.6ms) describe `open_id_authentication_nonces` SQL (1.9ms) SHOW KEYS FROM `open_id_authentication_nonces` SQL (1.2ms) SHOW FIELDS FROM `projects` SQL (1.1ms) describe `projects` SQL (7.5ms) SHOW KEYS FROM `projects` SQL (1.2ms) SHOW FIELDS FROM `repositories` SQL (1.1ms) describe `repositories` SQL (1.7ms) SHOW KEYS FROM `repositories` SQL (0.6ms) SHOW FIELDS FROM `roles` SQL (0.6ms) describe `roles` SQL (0.4ms) SHOW KEYS FROM `roles` SQL (0.6ms) SHOW FIELDS FROM `sessions` SQL (0.6ms) describe `sessions` SQL (11.3ms) SHOW KEYS FROM `sessions` SQL (0.7ms) SHOW FIELDS FROM `sites` SQL (0.6ms) describe `sites` SQL (0.5ms) SHOW KEYS FROM `sites` SQL (0.6ms) SHOW FIELDS FROM `ssh_keys` SQL (0.6ms) describe `ssh_keys` SQL (0.9ms) SHOW KEYS FROM `ssh_keys` SQL (0.6ms) SHOW FIELDS FROM `taggings` SQL (0.6ms) describe `taggings` SQL (1.1ms) SHOW KEYS FROM `taggings` SQL (0.5ms) SHOW FIELDS FROM `tags` SQL (0.5ms) describe `tags` SQL (0.5ms) SHOW KEYS FROM `tags` SQL (1.2ms) SHOW FIELDS FROM `users` SQL (1.3ms) describe `users` SQL (9.6ms) SHOW KEYS FROM `users` ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq ActiveMessaging: adapter reliable_msg not loaded: no such file to load -- reliable-msg ActiveMessaging: Loading /home/maanpelt/yousource/gitorious/app/processors/application.rb ** [localized_dates] localized_dates plugin loaded. ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/pt-BR.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/es.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.yml ** [localized_dates] locales loaded from config/locales. SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 ** ultrasphinx: configuration file not found for "test" environment ** ultrasphinx: please run 'rake ultrasphinx:configure' ** ultrasphinx: spelling support not available (raspell configuration raised "uninitialized constant Ultrasphinx::Spell::Aspell") MergeRequest Columns (1.0ms) SHOW FIELDS FROM `merge_requests` User Columns (1.0ms) SHOW FIELDS FROM `users` Comment Columns (0.8ms) SHOW FIELDS FROM `comments` Project Columns (0.7ms) SHOW FIELDS FROM `projects` Repository Columns (0.9ms) SHOW FIELDS FROM `repositories` SQL (0.5ms) SHOW TABLES SQL (0.2ms) SELECT version FROM schema_migrations SQL (0.0ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 SQL (66.5ms) DROP DATABASE IF EXISTS `gitorious_test2` SQL (0.2ms) CREATE DATABASE `gitorious_test2` DEFAULT CHARACTER SET `utf8` SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.2ms) SHOW TABLES SQL (2.8ms) CREATE TABLE `archived_events` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `project_id` int(11), `action` int(11), `data` varchar(255), `body` text, `target_id` int(11), `target_type` varchar(255), `user_email` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.2ms) SHOW TABLES SQL (2.0ms) CREATE TABLE `cloners` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `ip` varchar(255), `country_code` varchar(255), `country` varchar(255), `date` datetime, `repository_id` int(11), `protocol` varchar(255)) ENGINE=InnoDB SQL (5.0ms) CREATE INDEX `index_cloners_on_date` ON `cloners` (`date`) SQL (8.6ms) CREATE INDEX `index_cloners_on_ip` ON `cloners` (`ip`) SQL (5.7ms) CREATE INDEX `index_cloners_on_repository_id` ON `cloners` (`repository_id`) SQL (0.3ms) SHOW TABLES SQL (3.1ms) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) NOT NULL, `target_id` int(11) NOT NULL, `sha1` varchar(255), `body` text, `created_at` datetime, `updated_at` datetime, `project_id` int(11), `target_type` varchar(255), `state_change` varchar(255), `path` varchar(255), `first_line_number` varchar(255), `number_of_lines` int(11), `context` text, `last_line_number` varchar(255)) ENGINE=InnoDB SQL (5.5ms) CREATE INDEX `index_comments_on_project_id` ON `comments` (`project_id`) SQL (5.4ms) CREATE INDEX `index_comments_on_sha1` ON `comments` (`sha1`) SQL (16.7ms) CREATE INDEX `index_comments_on_target_id_and_target_type` ON `comments` (`target_id`, `target_type`) SQL (17.6ms) CREATE INDEX `index_comments_on_repository_id` ON `comments` (`target_id`) SQL (7.7ms) CREATE INDEX `index_comments_on_user_id` ON `comments` (`user_id`) SQL (0.3ms) SHOW TABLES SQL (2.6ms) CREATE TABLE `committerships` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `committer_id` int(11), `repository_id` int(11), `kind` int(11) DEFAULT 2, `created_at` datetime, `updated_at` datetime, `committer_type` varchar(255) NOT NULL, `creator_id` int(11), `permissions` int(11)) ENGINE=InnoDB SQL (6.9ms) CREATE INDEX `index_committerships_on_committer_id_and_committer_type` ON `committerships` (`committer_id`, `committer_type`) SQL (15.4ms) CREATE INDEX `index_permissions_on_user_id` ON `committerships` (`committer_id`) SQL (8.0ms) CREATE INDEX `index_committerships_on_repository_id` ON `committerships` (`repository_id`) SQL (23.1ms) CREATE INDEX `index_permissions_on_repository_id` ON `committerships` (`repository_id`) SQL (0.3ms) SHOW TABLES SQL (2.3ms) CREATE TABLE `emails` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `address` varchar(255), `aasm_state` varchar(255), `confirmation_code` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (5.5ms) CREATE INDEX `index_emails_on_address` ON `emails` (`address`) SQL (5.2ms) CREATE INDEX `index_emails_on_user_id` ON `emails` (`user_id`) SQL (0.3ms) SHOW TABLES SQL (2.4ms) CREATE TABLE `events` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `project_id` int(11) NOT NULL, `action` int(11) NOT NULL, `data` varchar(255), `body` text, `target_id` int(11), `target_type` varchar(255), `created_at` datetime, `updated_at` datetime, `user_email` varchar(255)) ENGINE=InnoDB SQL (14.0ms) CREATE INDEX `index_events_on_action` ON `events` (`action`) SQL (13.9ms) CREATE INDEX `index_events_on_created_at_and_project_id` ON `events` (`created_at`, `project_id`) SQL (4.9ms) CREATE INDEX `index_events_on_created_at` ON `events` (`created_at`) SQL (5.2ms) CREATE INDEX `index_events_on_project_id` ON `events` (`project_id`) SQL (26.0ms) CREATE INDEX `index_events_on_target_type_and_target_id` ON `events` (`target_type`, `target_id`) SQL (12.5ms) CREATE INDEX `index_events_on_user_id` ON `events` (`user_id`) SQL (0.3ms) SHOW TABLES SQL (2.2ms) CREATE TABLE `favorites` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `watchable_type` varchar(255), `watchable_id` int(11), `action` varchar(255), `created_at` datetime, `updated_at` datetime, `notify_by_email` tinyint(1) DEFAULT 0) ENGINE=InnoDB SQL (14.1ms) CREATE INDEX `index_favorites_on_watchable_type_and_watchable_id_and_user_id` ON `favorites` (`watchable_type`, `watchable_id`, `user_id`) SQL (0.3ms) SHOW TABLES SQL (2.2ms) CREATE TABLE `feed_items` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `event_id` int(11), `watcher_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (4.5ms) CREATE INDEX `index_feed_items_on_watcher_id_and_created_at` ON `feed_items` (`watcher_id`, `created_at`) SQL (0.3ms) SHOW TABLES SQL (2.2ms) CREATE TABLE `groups` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `user_id` int(11), `created_at` datetime, `updated_at` datetime, `description` text, `avatar_file_name` varchar(255), `avatar_content_type` varchar(255), `avatar_file_size` int(11), `avatar_updated_at` datetime) ENGINE=InnoDB SQL (21.9ms) CREATE INDEX `index_groups_on_name_and_public` ON `groups` (`name`) SQL (9.8ms) CREATE INDEX `index_groups_on_user_id` ON `groups` (`user_id`) SQL (0.4ms) SHOW TABLES SQL (4.7ms) CREATE TABLE `hooks` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `repository_id` int(11), `url` varchar(255), `last_response` varchar(255), `created_at` datetime, `updated_at` datetime, `failed_request_count` int(11) DEFAULT 0, `successful_request_count` int(11) DEFAULT 0) ENGINE=InnoDB SQL (4.5ms) CREATE INDEX `index_hooks_on_repository_id` ON `hooks` (`repository_id`) SQL (0.4ms) SHOW TABLES SQL (1.9ms) CREATE TABLE `memberships` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `group_id` int(11), `user_id` int(11), `role_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (4.5ms) CREATE INDEX `index_memberships_on_group_id_and_user_id` ON `memberships` (`group_id`, `user_id`) SQL (0.4ms) SHOW TABLES SQL (10.4ms) CREATE TABLE `merge_request_statuses` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `project_id` int(11), `name` varchar(255), `color` varchar(255), `state` int(11), `description` varchar(255), `created_at` datetime, `updated_at` datetime, `default` tinyint(1) DEFAULT 0) ENGINE=InnoDB SQL (9.7ms) CREATE INDEX `index_merge_request_statuses_on_project_id_and_name` ON `merge_request_statuses` (`project_id`, `name`) SQL (9.0ms) CREATE INDEX `index_merge_request_statuses_on_project_id` ON `merge_request_statuses` (`project_id`) SQL (0.4ms) SHOW TABLES SQL (2.2ms) CREATE TABLE `merge_request_versions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `merge_request_id` int(11), `version` int(11), `merge_base_sha` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.4ms) SHOW TABLES SQL (2.8ms) CREATE TABLE `merge_requests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `source_repository_id` int(11), `target_repository_id` int(11), `proposal` text, `sha_snapshot` varchar(255), `status` int(11) DEFAULT 0, `created_at` datetime, `updated_at` datetime, `source_branch` varchar(255), `target_branch` varchar(255), `ending_commit` varchar(255), `reason` text, `oauth_token` varchar(255), `oauth_secret` varchar(255), `contribution_agreement_version` varchar(255), `updated_by_user_id` int(11), `status_tag` varchar(255), `summary` varchar(255) NOT NULL, `legacy` tinyint(1) DEFAULT 0, `sequence_number` int(11)) ENGINE=InnoDB SQL (6.5ms) CREATE UNIQUE INDEX `index_merge_requests_on_sequence_number_and_target_repository_id` ON `merge_requests` (`sequence_number`, `target_repository_id`) SQL (17.2ms) CREATE INDEX `index_merge_requests_on_source_repository_id` ON `merge_requests` (`source_repository_id`) SQL (9.0ms) CREATE INDEX `index_merge_requests_on_status` ON `merge_requests` (`status`) SQL (9.7ms) CREATE INDEX `index_merge_requests_on_target_repository_id` ON `merge_requests` (`target_repository_id`) SQL (17.2ms) CREATE INDEX `index_merge_requests_on_user_id` ON `merge_requests` (`user_id`) SQL (0.5ms) SHOW TABLES SQL (2.7ms) CREATE TABLE `messages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `sender_id` int(11), `recipient_id` int(11), `subject` varchar(255), `body` text, `notifiable_type` varchar(255), `notifiable_id` int(11), `aasm_state` varchar(255), `in_reply_to_id` int(11), `created_at` datetime, `updated_at` datetime, `root_message_id` int(11), `has_unread_replies` tinyint(1) DEFAULT 0, `archived_by_sender` tinyint(1) DEFAULT 0, `archived_by_recipient` tinyint(1) DEFAULT 0, `last_activity_at` datetime) ENGINE=InnoDB SQL (13.6ms) CREATE INDEX `index_messages_on_aasm_state` ON `messages` (`aasm_state`) SQL (8.9ms) CREATE INDEX `index_messages_on_in_reply_to_id` ON `messages` (`in_reply_to_id`) SQL (5.7ms) CREATE INDEX `index_messages_on_notifiable_type_and_notifiable_id` ON `messages` (`notifiable_type`, `notifiable_id`) SQL (15.7ms) CREATE INDEX `index_messages_on_recipient_id` ON `messages` (`recipient_id`) SQL (5.7ms) CREATE INDEX `index_messages_on_sender_id` ON `messages` (`sender_id`) SQL (0.4ms) SHOW TABLES SQL (2.9ms) CREATE TABLE `open_id_authentication_associations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `issued` int(11), `lifetime` int(11), `handle` varchar(255), `assoc_type` varchar(255), `server_url` blob, `secret` blob) ENGINE=InnoDB SQL (0.7ms) SHOW TABLES SQL (9.8ms) CREATE TABLE `open_id_authentication_nonces` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `timestamp` int(11) NOT NULL, `server_url` varchar(255), `salt` varchar(255) NOT NULL) ENGINE=InnoDB SQL (0.4ms) SHOW TABLES SQL (7.1ms) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `description` text, `user_id` int(11), `created_at` datetime, `updated_at` datetime, `slug` varchar(255), `license` varchar(255), `home_url` varchar(255), `mailinglist_url` varchar(255), `bugtracker_url` varchar(255), `owner_id` int(11), `owner_type` varchar(255), `wiki_enabled` tinyint(1) DEFAULT 1, `site_id` int(11), `merge_requests_need_signoff` tinyint(1) DEFAULT 0, `oauth_signoff_key` varchar(255), `oauth_signoff_secret` varchar(255), `oauth_signoff_site` varchar(255), `oauth_path_prefix` varchar(255), `merge_request_custom_states` text) ENGINE=InnoDB SQL (9.9ms) CREATE INDEX `index_projects_on_owner_type_and_owner_id` ON `projects` (`owner_type`, `owner_id`) SQL (5.1ms) CREATE INDEX `index_projects_on_site_id` ON `projects` (`site_id`) SQL (20.4ms) CREATE UNIQUE INDEX `index_projects_on_slug` ON `projects` (`slug`) SQL (5.6ms) CREATE INDEX `index_projects_on_name` ON `projects` (`title`) SQL (14.5ms) CREATE INDEX `index_projects_on_user_id` ON `projects` (`user_id`) SQL (0.6ms) SHOW TABLES SQL (3.0ms) CREATE TABLE `repositories` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `project_id` int(11), `user_id` int(11), `created_at` datetime, `updated_at` datetime, `parent_id` int(11), `ready` tinyint(1) DEFAULT 0, `kind` int(11) DEFAULT 0, `owner_type` varchar(255), `owner_id` int(11), `hashed_path` varchar(255), `description` text, `last_pushed_at` datetime, `wiki_permissions` int(11) DEFAULT 0, `deny_force_pushing` tinyint(1) DEFAULT 0, `notify_committers_on_new_merge_request` tinyint(1) DEFAULT 1, `last_gc_at` datetime, `merge_requests_enabled` tinyint(1) DEFAULT 1, `disk_usage` int(11), `push_count_since_gc` int(11)) ENGINE=InnoDB SQL (5.3ms) CREATE UNIQUE INDEX `index_repositories_on_hashed_path` ON `repositories` (`hashed_path`) SQL (14.3ms) CREATE INDEX `index_repositories_on_kind` ON `repositories` (`kind`) SQL (16.3ms) CREATE INDEX `index_repositories_on_name` ON `repositories` (`name`) SQL (5.7ms) CREATE INDEX `index_repositories_on_owner_type_and_owner_id` ON `repositories` (`owner_type`, `owner_id`) SQL (18.5ms) CREATE INDEX `index_repositories_on_parent_id` ON `repositories` (`parent_id`) SQL (5.9ms) CREATE INDEX `index_repositories_on_project_id_and_kind` ON `repositories` (`project_id`, `kind`) SQL (12.3ms) CREATE INDEX `index_repositories_on_project_id` ON `repositories` (`project_id`) SQL (19.7ms) CREATE INDEX `index_repositories_on_ready` ON `repositories` (`ready`) SQL (15.2ms) CREATE INDEX `index_repositories_on_user_id` ON `repositories` (`user_id`) SQL (0.5ms) SHOW TABLES SQL (7.3ms) CREATE TABLE `roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `kind` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (0.5ms) SHOW TABLES SQL (5.0ms) CREATE TABLE `sessions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `session_id` varchar(255) NOT NULL, `data` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (4.3ms) CREATE INDEX `index_sessions_on_session_id` ON `sessions` (`session_id`) SQL (4.9ms) CREATE INDEX `index_sessions_on_updated_at` ON `sessions` (`updated_at`) SQL (0.5ms) SHOW TABLES SQL (2.7ms) CREATE TABLE `sites` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `subdomain` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB SQL (4.6ms) CREATE INDEX `index_sites_on_subdomain` ON `sites` (`subdomain`) SQL (0.5ms) SHOW TABLES SQL (4.9ms) CREATE TABLE `ssh_keys` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `key` text, `created_at` datetime, `updated_at` datetime, `ready` tinyint(1) DEFAULT 0) ENGINE=InnoDB SQL (9.6ms) CREATE INDEX `index_ssh_keys_on_user_id` ON `ssh_keys` (`user_id`) SQL (0.6ms) SHOW TABLES SQL (2.4ms) CREATE TABLE `taggings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `tag_id` int(11), `taggable_id` int(11), `taggable_type` varchar(255), `created_at` datetime) ENGINE=InnoDB SQL (4.4ms) CREATE INDEX `index_taggings_on_tag_id` ON `taggings` (`tag_id`) SQL (14.7ms) CREATE INDEX `index_taggings_on_taggable_id_and_taggable_type` ON `taggings` (`taggable_id`, `taggable_type`) SQL (0.6ms) SHOW TABLES SQL (7.5ms) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB SQL (9.6ms) CREATE UNIQUE INDEX `index_tags_on_name` ON `tags` (`name`) SQL (0.6ms) SHOW TABLES SQL (3.2ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `login` varchar(255), `email` varchar(255), `crypted_password` varchar(40), `salt` varchar(40), `created_at` datetime, `updated_at` datetime, `remember_token` varchar(255), `remember_token_expires_at` datetime, `activation_code` varchar(40), `activated_at` datetime, `ssh_key_id` int(11), `fullname` varchar(255), `url` text, `identity_url` text, `is_admin` tinyint(1) DEFAULT 0, `suspended_at` datetime, `aasm_state` varchar(255), `public_email` tinyint(1) DEFAULT 1, `wants_email_notifications` tinyint(1) DEFAULT 1, `password_key` varchar(255), `avatar_file_name` varchar(255), `avatar_content_type` varchar(255), `avatar_file_size` int(11), `avatar_updated_at` datetime, `default_favorite_notifications` tinyint(1) DEFAULT 0) ENGINE=InnoDB SQL (5.2ms) CREATE INDEX `index_users_on_email` ON `users` (`email`) SQL (15.3ms) CREATE INDEX `index_users_on_login` ON `users` (`login`) SQL (12.3ms) CREATE INDEX `index_users_on_password_key` ON `users` (`password_key`) SQL (10.0ms) CREATE INDEX `index_users_on_ssh_key_id` ON `users` (`ssh_key_id`) SQL (0.6ms) SHOW TABLES SQL (2.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB SQL (3.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) SQL (0.6ms) SHOW TABLES SQL (0.2ms) SELECT version FROM `schema_migrations` SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('20100316124803') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090729080026') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090326094902') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091207133046') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('6') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091210132746') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('14') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090430122009') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091006082442') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091119090036') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('12') SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('3') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('19') SQL (0.8ms) INSERT INTO `schema_migrations` (version) VALUES ('20090428125038') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090204131336') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('10') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090203101718') SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20090209100248') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('22') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090226134536') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090204150126') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('4') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090701111251') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091102114936') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090219100307') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('16') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091116140126') SQL (1.1ms) INSERT INTO `schema_migrations` (version) VALUES ('9') SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20090218111119') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090205140618') SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20090126141704') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090226141804') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090126140246') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090219140050') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('2') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090624091346') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('21') SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('26') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20100126094829') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090311152733') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090126121750') SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20090914075300') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090401115721') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('28') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090303114736') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20100216133829') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('11') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090316143009') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090610072747') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090324124032') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('5') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090310141045') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090724082150') SQL (5.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20090827081458') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090512093916') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090617131148') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090520132754') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090423122949') SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20091102125159') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090504121513') SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20091125143413') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090203090855') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091217110558') SQL (1.2ms) INSERT INTO `schema_migrations` (version) VALUES ('23') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20100224153358') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090806191259') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090730103419') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090710094759') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090209095321') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090331143046') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090603113810') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091029114444') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090218113100') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('25') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090624134847') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090504071242') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090219131022') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('15') SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20090420083319') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090303084023') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090115112423') SQL (0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('27') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090429083317') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091026142733') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090212155914') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090210134131') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090225124504') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091117101216') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('8') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090109005102') SQL (0.4ms) INSERT INTO `schema_migrations` (version) VALUES ('20090330091652') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('24') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090713102352') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('7') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090604111146') SQL (7.1ms) INSERT INTO `schema_migrations` (version) VALUES ('20090825091107') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090611125528') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090304120852') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20100203132425') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090514102747') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090219120008') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('18') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090112123845') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('13') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('17') SQL (0.6ms) INSERT INTO `schema_migrations` (version) VALUES ('20090611124949') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090305125531') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091209140335') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090319111629') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090127102507') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090326151432') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090129144706') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091116143337') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('1') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20090511090754') SQL (0.3ms) INSERT INTO `schema_migrations` (version) VALUES ('20091210095437') ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq ActiveMessaging: adapter reliable_msg not loaded: no such file to load -- reliable-msg ActiveMessaging: Loading /home/maanpelt/yousource/gitorious/app/processors/application.rb ** [localized_dates] localized_dates plugin loaded. ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/pt-BR.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/es.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.yml ** [localized_dates] locales loaded from config/locales. SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 ** ultrasphinx: configuration file not found for "test" environment ** ultrasphinx: please run 'rake ultrasphinx:configure' ** ultrasphinx: spelling support not available (raspell configuration raised "uninitialized constant Ultrasphinx::Spell::Aspell") MergeRequest Columns (1.1ms) SHOW FIELDS FROM `merge_requests` User Columns (1.1ms) SHOW FIELDS FROM `users` Comment Columns (0.9ms) SHOW FIELDS FROM `comments` Project Columns (0.8ms) SHOW FIELDS FROM `projects` Repository Columns (1.0ms) SHOW FIELDS FROM `repositories` SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.`id` = 299819657)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` LIMIT 1 User Load (0.2ms) SELECT * FROM `users` LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` LIMIT 1 User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.1ms) SELECT * FROM `users` LIMIT 1 User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` LIMIT 1 User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 2, 3, 'Nice try', NULL, NULL, 2, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 2, 3, 'Nice try', NULL, NULL, 2, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 2, 3, 'Nice try', NULL, NULL, 2, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('31-32', '2010-07-15 08:33:21', 1, 1, 'This is awesome', 32, NULL, 2, 'Repository', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:21', 1, 449844885, 'ffc00', '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 2)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('31-31', '2010-07-15 08:33:21', 1, 2, 'Needs more cowbell', 32, 'ffac-aafc', 1, 'MergeRequestVersion', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:21') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:21', 1, 449844885, 'ffc00', '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 3)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('31-31', '2010-07-15 08:33:21', 1, 3, 'Needs more cowbell', 32, 'ffac-aafc', 1, 'MergeRequestVersion', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:21') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:21', 1, 449844885, 'ffc00', '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 4)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('31-31', '2010-07-15 08:33:21', 1, 4, 'Needs more cowbell', 32, 'ffac-aafc', 1, 'MergeRequestVersion', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:21') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:21', 1, 449844885, 'ffc00', '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 5)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('31-31', '2010-07-15 08:33:21', 1, 5, 'Needs more cowbell', 32, 'ffac-aafc', 1, 'MergeRequestVersion', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:21') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 1, 677747833, 'PDI', NULL, NULL, 1, 'MergeRequest', '--- \n- Before\n- After\n', NULL, NULL, NULL, '2010-07-15 08:33:21') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.4ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'after')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (1.5ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'after')) ORDER BY id asc LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'After', `updated_at` = '2010-07-15 08:33:21' WHERE `id` = 677747833 Event Columns (0.7ms) SHOW FIELDS FROM `events` Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:21', NULL, 'PDI', 677747833, 15, 1, 'MergeRequest', 'State changed from open to After', '2010-07-15 08:33:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 1, 677747833, 'PDI', NULL, NULL, 1, 'MergeRequest', '--- \n- open\n- After\n', NULL, NULL, NULL, '2010-07-15 08:33:21') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'after')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'after')) ORDER BY id asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'After', `updated_at` = '2010-07-15 08:33:21' WHERE `id` = 677747833 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:21', NULL, 'PDI', 677747833, 15, 1, 'MergeRequest', 'State changed from open to After', '2010-07-15 08:33:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'before')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'before')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Before', `updated_at` = '2010-07-15 08:33:21' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 1, 677747833, 'PDI', NULL, NULL, 2, 'MergeRequest', '--- \n- Before\n- After\n', NULL, NULL, NULL, '2010-07-15 08:33:21') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:21') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(677747833, 0, 0, '2010-07-15 08:33:21', 'moe commented:\n\nPDI\n\nThe status of your merge request is now After', '2010-07-15 08:33:21', 1, 'moe commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-07-15 08:33:21') Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (8.1ms) ROLLBACK SQL (0.1ms) BEGIN MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 1, 677747833, NULL, NULL, NULL, 2, 'MergeRequest', '--- \n- open\n- Foo\n', NULL, NULL, NULL, '2010-07-15 08:33:21') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:21') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(677747833, 0, 0, '2010-07-15 08:33:21', 'moe commented:\n\n\n\nThe status of your merge request is now Foo', '2010-07-15 08:33:21', 1, 'moe commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-07-15 08:33:21') Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Foo', `updated_at` = '2010-07-15 08:33:21' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 1, 677747833, 'just a comment', NULL, NULL, 2, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:33:21') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:21') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(677747833, 0, 0, '2010-07-15 08:33:21', 'moe commented:\n\njust a comment', '2010-07-15 08:33:21', 1, 'moe commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-07-15 08:33:21') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 17)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `user_id` = 2, `updated_at` = '2010-07-15 08:33:21' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT * FROM `messages`  SQL (0.0ms) SAVEPOINT active_record_1 Message Destroy (0.1ms) DELETE FROM `messages` WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 2)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 1, 677747833, 'need more cowbell', NULL, NULL, 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:33:21') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:21') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(677747833, 0, 0, '2010-07-15 08:33:21', 'johan commented:\n\nneed more cowbell', '2010-07-15 08:33:21', 2, 'johan commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 1, NULL, '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 2)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 2) ORDER BY created_at DESC LIMIT 1 SQL (7.5ms) ROLLBACK SQL (0.1ms) BEGIN MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `user_id` = 2, `updated_at` = '2010-07-15 08:33:21' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT * FROM `messages`  SQL (0.0ms) SAVEPOINT active_record_1 Message Destroy (0.1ms) DELETE FROM `messages` WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 2)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Comment Create (0.3ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 1, 677747833, 'need more cowbell', NULL, NULL, 2, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:33:21') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 2)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `user_id` = 2, `updated_at` = '2010-07-15 08:33:21' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT * FROM `messages`  SQL (0.0ms) SAVEPOINT active_record_1 Message Destroy (0.1ms) DELETE FROM `messages` WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:21', 1, 677747833, NULL, '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 2)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 6)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 1, 6, 'off by one', NULL, NULL, 1, 'MergeRequestVersion', NULL, NULL, NULL, NULL, '2010-07-15 08:33:21') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:21') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(6, 0, 0, '2010-07-15 08:33:21', 'johan commented:\n\noff by one', '2010-07-15 08:33:21', 2, 'johan commented on your merge request', 'unread', NULL, 'MergeRequestVersion', 0, 1, NULL, '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 2)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 2) ORDER BY created_at DESC LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `user_id` = 2, `updated_at` = '2010-07-15 08:33:21' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages`  SQL (0.0ms) SAVEPOINT active_record_1 Message Destroy (0.1ms) DELETE FROM `messages` WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:21', 1, 677747833, NULL, '2010-07-15 08:33:21') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 7)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:21', 1, 7, 'off by one', NULL, NULL, 1, 'MergeRequestVersion', '--- \n- Huzzah\n', NULL, NULL, NULL, '2010-07-15 08:33:21') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:21') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(7, 0, 0, '2010-07-15 08:33:21', 'johan commented:\n\noff by one\n\nThe status of your merge request is now Huzzah', '2010-07-15 08:33:21', 2, 'johan commented on your merge request', 'unread', NULL, 'MergeRequestVersion', 0, 1, NULL, '2010-07-15 08:33:21') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 2)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 2) ORDER BY created_at DESC LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:21', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:21') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:21') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405955, 0, 0, '2010-07-15 08:33:21', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:21', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:21') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:21', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 764238917)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository')  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 1 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 1 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916935 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:21', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405955 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405955 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:21', NULL, NULL, 1, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:21') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 1))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 2 MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 1) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:22') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:22', 0, 4, 1, NULL, '326/2e4/6ab116e68ec10d2f23daa6b84bfdd9667b', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:22', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051623) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, NULL, 'Group', 112, 369376230, 757051623, '2010-07-15 08:33:22') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051623)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.3ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Cloner Load (0.3ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 3)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 3 FeedItem Load (0.2ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 4)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 4 FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 5)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 5 Hook Load (0.2ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 1 Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 4 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 4)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 4))  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 4 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 4) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 4) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 4)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 4 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 4)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 4 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User')  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 502416223 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 502416223 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 5)  SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.3ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1)  Email Destroy (0.1ms) DELETE FROM `emails` WHERE `id` = 911544726 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) ORDER BY events.created_at asc Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  [paperclip] Deleting attachments. User Destroy (0.1ms) DELETE FROM `users` WHERE `id` = 1 Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_medium Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_medium Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_tiny Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_tiny Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_thumb Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (1.7ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Committership Delete all (0.2ms) DELETE FROM `committerships`  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:22') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:22') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405957, 0, 0, '2010-07-15 08:33:22', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:22', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:22') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, 1, 'User', NULL, 1, 1, '2010-07-15 08:33:22') SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:22') AND (`messages`.sender_id = 1)  Message Create (0.3ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405958, 0, 0, '2010-07-15 08:33:22', 'johan added johan as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:22', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:22') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 10, 1, 'Repository', 'johan', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:22') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:22') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405959, 0, 0, '2010-07-15 08:33:22', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:22', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:22') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 1) ORDER BY created_at DESC SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:22') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:22') AND (`messages`.sender_id = 1)  Message Create (0.3ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405960, 0, 0, '2010-07-15 08:33:22', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:22', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:22') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 1) ORDER BY created_at ASC LIMIT 1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405960)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.3ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405960 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.2ms) DELETE FROM `committerships` WHERE `id` = 1011405960 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189988)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` IS NULL AND `committerships`.committer_type IS NULL AND `committerships`.repository_id IS NULL) LIMIT 1 SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Committership Load (0.1ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` IS NULL AND `committerships`.committer_type IS NULL AND `committerships`.repository_id IS NULL) LIMIT 1 SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Committership Load (0.1ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` IS NULL AND `committerships`.committer_type IS NULL AND `committerships`.repository_id IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_type` = 'User' AND `committerships`.`committer_id` = 1) AND (`committerships`.repository_id = 1) LIMIT 1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, NULL, 'Group', 112, 369376230, 1, '2010-07-15 08:33:22') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:22' WHERE `id` = 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (6.3ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.2ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, NULL, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:22') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, NULL, 'User', NULL, 2, 1, '2010-07-15 08:33:22') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:22') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:22') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405964, 0, 0, '2010-07-15 08:33:22', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:22', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:22') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405964 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405964 Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 SQL (8.4ms) ROLLBACK SQL (0.1ms) BEGIN Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:22') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:22') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011405965, 0, 0, '2010-07-15 08:33:22', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:22', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:22') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:22', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:22') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:22') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.1ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:22') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:22') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, NULL, 'Group', 112, 369376230, 1, '2010-07-15 08:33:22') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:22', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:22') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011405970) LIMIT 1 Committership Update (0.3ms) UPDATE `committerships` SET `permissions` = 64, `updated_at` = '2010-07-15 08:33:22' WHERE `id` = 1011405970 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE ((permissions & 64))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.3ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011405971) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 32, `updated_at` = '2010-07-15 08:33:23' WHERE `id` = 1011405971 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE ((permissions & 32))  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011405972) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-07-15 08:33:23' WHERE `id` = 1011405972 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE ((permissions & 16))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:23', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:33:23') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'johan@example.com' AND `emails`.user_id IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'ker+nel.w-t-f@foo-bar.co.uk' AND `emails`.user_id IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.2ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('8ee1205cb45dc4d3839d03b1cd62697506defb86', '2010-07-15 08:33:23', 'pending', 1, 'foo@bar.com', '2010-07-15 08:33:23') Sent mail to foo@bar.com Date: Thu, 15 Jul 2010 11:33:23 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/8ee1205cb45dc4d3839d03b1cd62697506defb86/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Email Load (0.3ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1 AND `emails`.id <> 911544727) LIMIT 1 Email Update (0.2ms) UPDATE `emails` SET `aasm_state` = 'confirmed', `updated_at` = '2010-07-15 08:33:23' WHERE `id` = 911544727 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.1ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('b2942170db1bd4efad4b903f3bf3e023eb8f916a', '2010-07-15 08:33:23', 'pending', 1, 'foo@bar.com', '2010-07-15 08:33:23') Sent mail to foo@bar.com Date: Thu, 15 Jul 2010 11:33:23 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/b2942170db1bd4efad4b903f3bf3e023eb8f916a/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Email Load (0.3ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1 AND `emails`.id <> 911544728) LIMIT 1 Email Update (0.2ms) UPDATE `emails` SET `aasm_state` = 'confirmed', `updated_at` = '2010-07-15 08:33:23' WHERE `id` = 911544728 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'xxxx' AND `emails`.user_id IS NULL) LIMIT 1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'xxxxx' AND `emails`.user_id IS NULL) LIMIT 1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' AND `emails`.user_id IS NULL) LIMIT 1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' AND `emails`.user_id IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.1ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('4814f2bd467b9ac8e4739ab72196db1b2aa98583', '2010-07-15 08:33:23', 'pending', 1, 'foo@bar.com', '2010-07-15 08:33:23') Sent mail to foo@bar.com Date: Thu, 15 Jul 2010 11:33:23 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/4814f2bd467b9ac8e4739ab72196db1b2aa98583/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Email Load (0.3ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'foo@bar.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1 AND `emails`.id <> 911544729) LIMIT 1 Email Update (0.2ms) UPDATE `emails` SET `aasm_state` = 'confirmed', `updated_at` = '2010-07-15 08:33:23' WHERE `id` = 911544729 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544729)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'foo@bar.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Email Load (0.3ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'kernel.wtf' AND `emails`.user_id IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'you@host' AND `emails`.user_id IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (`emails`.`address` IS NULL AND `emails`.user_id IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Email Load (0.1ms) SELECT * FROM `emails` LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'johan@shortcut.no' AND `emails`.user_id = 1) LIMIT 1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'johan@shortcut.no' AND `emails`.user_id = 2) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.1ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('b3586f3d828880e759d6998e90bb73ac74cad634', '2010-07-15 08:33:23', 'pending', 1, 'foo@bar.com', '2010-07-15 08:33:23') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.1ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('6040ceaf9295e44a77cb11d96afd93f3f620e843', '2010-07-15 08:33:23', 'pending', 1, 'foo@bar.com', '2010-07-15 08:33:23') Sent mail to foo@bar.com Date: Thu, 15 Jul 2010 11:33:23 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/6040ceaf9295e44a77cb11d96afd93f3f620e843/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.1ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', NULL, 'blabla', 1, 18, 1, 'Repository', NULL, '2010-07-15 08:33:23') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Linus Torvalds ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'Linus Torvalds ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', 'Linus Torvalds ', 'Adding README', 17, 5, NULL, 'Event', 'ffc0fa98', '2010-07-15 08:33:23') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 17 AND `events`.target_type = 'Event')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 17 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 17 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', NULL, 'blabla', 1, 18, 1, 'Repository', NULL, '2010-07-15 08:33:23') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Linus Torvalds ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'Linus Torvalds ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', 'Linus Torvalds ', 'Adding README', 19, 5, NULL, 'Event', 'ffc0fa98', '2010-07-15 08:33:23') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 19 AND `events`.target_type = 'Event')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 19 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 19 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Linus Torvalds ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'Linus Torvalds ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', 'Linus Torvalds ', 'Removing README', 19, 5, NULL, 'Event', 'ffc1fa98', '2010-07-15 08:33:23') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 19)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 19 AND `events`.target_type = 'Event')  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 19 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 19 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', NULL, 'blabla', 1, 18, 1, 'Repository', NULL, '2010-07-15 08:33:23') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Linus Torvalds ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'Linus Torvalds ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', 'Linus Torvalds ', 'Adding README', 22, 5, NULL, 'Event', 'ffc0fa98', '2010-07-15 08:33:23') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Linus Torvalds = 0) AND (created_at < '2010-06-15 08:33:23' AND target_type != 'event') ORDER BY events.id ASC LIMIT 1000 Event archiving: archived one batch of events SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Linus Torvalds = 0) AND (created_at < '2010-06-15 08:33:23' AND target_type != 'event') ORDER BY events.id ASC LIMIT 1000 Event archiving: archived one batch of events SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Linus Torvalds = 0) AND (created_at < '2010-06-11 08:33:23' AND target_type != 'event') ORDER BY events.id ASC LIMIT 1000 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Linus Torvalds = 0) AND (created_at < '2010-07-05 08:33:23' AND target_type != 'event') ORDER BY events.id ASC LIMIT 1000 Event archiving: archived one batch of events SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'foo@bar.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'foo@bar.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@shortcut.no') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'johan@shortcut.no') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'marius@stones.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'marius@stones.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Marius Mathiesen ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'Marius Mathiesen ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:23', NULL, 'Project', 1, 2, '2010-07-15 08:33:23', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:23', NULL, 'Repository', 1, 3, '2010-07-15 08:33:23', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `feed_items`  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', NULL, 'blabla', 1, 18, 1, 'Repository', NULL, '2010-07-15 08:33:23') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.3ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  SQL (0.2ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (2, 43, '2010-07-15 08:33:23', '2010-07-15 08:33:23'),(3, 43, '2010-07-15 08:33:23', '2010-07-15 08:33:23') Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `feed_items`  FeedItem Load (0.2ms) SELECT * FROM `feed_items` WHERE (`feed_items`.watcher_id = 2) ORDER BY feed_items.id DESC LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 43)  FeedItem Load (0.2ms) SELECT * FROM `feed_items` WHERE (`feed_items`.watcher_id = 3) ORDER BY feed_items.id DESC LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 43)  SQL (3.0ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:23', NULL, 'Project', 1, 3, '2010-07-15 08:33:23', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `feed_items` WHERE (`feed_items`.watcher_id = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', NULL, 'blabla', 1, 5, 1, 'Repository', NULL, '2010-07-15 08:33:23') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `feed_items` WHERE (`feed_items`.watcher_id = 3)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:23', NULL, 'Project', 1, 1, '2010-07-15 08:33:23', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `feed_items` WHERE (`feed_items`.watcher_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', NULL, 'blabla', 1, 18, 1, 'Repository', NULL, '2010-07-15 08:33:23') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `feed_items` WHERE (`feed_items`.watcher_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:23', NULL, 'Repository', 1, 3, '2010-07-15 08:33:23', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = NULL AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = NULL AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:23', NULL, 'Repository', 1, 3, '2010-07-15 08:33:23', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND `favorites`.id <> 153916941) LIMIT 1 Favorite Update (0.1ms) UPDATE `favorites` SET `notify_by_email` = 0, `updated_at` = '2010-07-15 08:33:23' WHERE `id` = 153916941 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:23', NULL, 'Repository', 1, 3, '2010-07-15 08:33:23', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:23', NULL, 'Repository', 1, 3, '2010-07-15 08:33:23', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:23', NULL, 'Repository', 1, 3, '2010-07-15 08:33:23', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:23', NULL, 'blabla', 1, 18, 1, 'Repository', NULL, '2010-07-15 08:33:23') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (3, 46, '2010-07-15 08:33:23', '2010-07-15 08:33:23') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user1') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john1@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:23', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '3437df653d7b6c51fda7542377b15bf82f246355', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user1', NULL, 'john1@example.com', '2010-07-15 11:33:17') Sent mail to john1@example.com Date: Thu, 15 Jul 2010 11:33:24 +0300 From: Gitorious To: john1@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user1 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/3437df653d7b6c51fda7542377b15bf82f246355 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:24') AND (`projects`.user_id = 5)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:24', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 5, 1, 5, NULL, NULL, NULL, NULL, '2010-07-15 08:33:24', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 4) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:24') AND (`repositories`.owner_id = 5 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 4, '2010-07-15 08:33:24', 0, 1, 1, NULL, '8c4/0f9/b81c28ff51b9df830fcc955f52fc97648f', NULL, NULL, NULL, 0, 5, 5, NULL, 1, '2010-07-15 08:33:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 5 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051624) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:24', 2, NULL, 'User', 112, 5, 757051624, '2010-07-15 08:33:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051624)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 4 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 4 AND `repositories`.id <> 757051624) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '8c4/0f9/b81c28ff51b9df830fcc955f52fc97648f' AND `repositories`.id <> 757051624) LIMIT 1 MergeRequestStatus Columns (0.6ms) SHOW FIELDS FROM `merge_request_statuses` Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 4 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 4 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 4, '2010-07-15 08:33:24', 1, NULL, '#408000', 1, '2010-07-15 08:33:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 4 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 4 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 4, '2010-07-15 08:33:24', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:24') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 5 AND `favorites`.watchable_id = 4 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Project', 4, 5, '2010-07-15 08:33:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_1' AND `repositories`.project_id = 4) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:24') AND (`repositories`.owner_id = 5 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_1', NULL, 4, '2010-07-15 08:33:24', 0, 0, 1, NULL, 'd71/9e2/c27a37761c7aead064e4321548907e75d0', NULL, NULL, NULL, 0, 5, 5, NULL, 1, '2010-07-15 08:33:24', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 5 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051625) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:24', 2, NULL, 'User', 112, 5, 757051625, '2010-07-15 08:33:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051625)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(4, '2010-07-15 08:33:24', NULL, NULL, 757051625, 19, 5, 'Repository', NULL, '2010-07-15 08:33:24') Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 4)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 4))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051625))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 4 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 5))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051625 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 5))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 5 AND `favorites`.watchable_id = 757051625 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Repository', 757051625, 5, '2010-07-15 08:33:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 5 AND `favorites`.watchable_id = 757051625 AND `favorites`.watchable_type = 'Repository') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user2') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john2@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:24', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '75149cf25f2af14d5d862224dac8261c8941de72', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user2', NULL, 'john2@example.com', '2010-07-15 11:33:17') Sent mail to john2@example.com Date: Thu, 15 Jul 2010 11:33:24 +0300 From: Gitorious To: john2@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user2 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/75149cf25f2af14d5d862224dac8261c8941de72 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:24') AND (`projects`.user_id = 6)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:24', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 6, 1, 6, NULL, NULL, NULL, NULL, '2010-07-15 08:33:24', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 5) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:24') AND (`repositories`.owner_id = 6 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 5, '2010-07-15 08:33:24', 0, 1, 1, NULL, 'b47/395/6a9a9e4e9bc8053a143b5bcae6325e9156', NULL, NULL, NULL, 0, 6, 6, NULL, 1, '2010-07-15 08:33:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 6 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051626) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:24', 2, NULL, 'User', 112, 6, 757051626, '2010-07-15 08:33:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051626)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 5 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 5 AND `repositories`.id <> 757051626) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b47/395/6a9a9e4e9bc8053a143b5bcae6325e9156' AND `repositories`.id <> 757051626) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 5 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 5 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 5, '2010-07-15 08:33:24', 1, NULL, '#408000', 1, '2010-07-15 08:33:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  Repository Load (1.7ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 5 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 5 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (3.6ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 5, '2010-07-15 08:33:24', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:24') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 6 AND `favorites`.watchable_id = 5 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Project', 5, 6, '2010-07-15 08:33:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_2' AND `repositories`.project_id = 5) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:24') AND (`repositories`.owner_id = 6 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_2', NULL, 5, '2010-07-15 08:33:24', 0, 0, 1, NULL, 'cff/baa/9bfee3116b493d2241c5d51fa8f69e1d22', NULL, NULL, NULL, 0, 6, 6, NULL, 1, '2010-07-15 08:33:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 6 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051627) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:24', 2, NULL, 'User', 112, 6, 757051627, '2010-07-15 08:33:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051627)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(5, '2010-07-15 08:33:24', NULL, NULL, 757051627, 19, 6, 'Repository', NULL, '2010-07-15 08:33:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 5))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051627))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 5 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 6))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051627 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 6))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 6 AND `favorites`.watchable_id = 757051627 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Repository', 757051627, 6, '2010-07-15 08:33:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 6 AND `favorites`.watchable_id = 757051627 AND `favorites`.watchable_type = 'Repository') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`project_id` = 5 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 6 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 757051627)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(5, '2010-07-15 08:33:24', NULL, 'Repository', 6, 22, 6, 'User', 757051627, '2010-07-15 08:33:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 5)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 5))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 5 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 6))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 5 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 6 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 757051627) LIMIT 1 FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 49)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 49 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 49)  SQL (5.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Repository', 1, 2, '2010-07-15 08:33:24', 1) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Repository', 1, 2, '2010-07-15 08:33:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user3') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john3@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:24', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '742185f7172436d9e5a60e431b3d750f3d2e694b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user3', NULL, 'john3@example.com', '2010-07-15 11:33:17') Sent mail to john3@example.com Date: Thu, 15 Jul 2010 11:33:24 +0300 From: Gitorious To: john3@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user3 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/742185f7172436d9e5a60e431b3d750f3d2e694b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:24') AND (`projects`.user_id = 7)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:24', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 7, 1, 7, NULL, NULL, NULL, NULL, '2010-07-15 08:33:24', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 6) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:24') AND (`repositories`.owner_id = 7 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 6, '2010-07-15 08:33:24', 0, 1, 1, NULL, 'b71/e1b/62c51f267bc79f69bf0c1b1c539a55044e', NULL, NULL, NULL, 0, 7, 7, NULL, 1, '2010-07-15 08:33:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 7 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051628) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:24', 2, NULL, 'User', 112, 7, 757051628, '2010-07-15 08:33:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051628)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 6 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 6 AND `repositories`.id <> 757051628) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b71/e1b/62c51f267bc79f69bf0c1b1c539a55044e' AND `repositories`.id <> 757051628) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 6 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 6 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 6, '2010-07-15 08:33:24', 1, NULL, '#408000', 1, '2010-07-15 08:33:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 6 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 6 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 6, '2010-07-15 08:33:24', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:24') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 7 AND `favorites`.watchable_id = 6 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Project', 6, 7, '2010-07-15 08:33:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_3' AND `repositories`.project_id = 6) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:24') AND (`repositories`.owner_id = 7 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_3', NULL, 6, '2010-07-15 08:33:24', 0, 0, 1, NULL, 'a77/c18/dd17e87b66031dda661f3bcd71b4a47dd9', NULL, NULL, NULL, 0, 7, 7, NULL, 1, '2010-07-15 08:33:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 7 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051629) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:24', 2, NULL, 'User', 112, 7, 757051629, '2010-07-15 08:33:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051629)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(6, '2010-07-15 08:33:24', NULL, NULL, 757051629, 19, 7, 'Repository', NULL, '2010-07-15 08:33:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 6))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051629))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 6 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 7))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051629 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 7))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 7 AND `favorites`.watchable_id = 757051629 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Repository', 757051629, 7, '2010-07-15 08:33:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 7)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`project_id` = 6 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 7 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 757051629)  SQL (0.1ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`project_id` = 6 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 7 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 757051629)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(6, '2010-07-15 08:33:24', NULL, 'Repository', 7, 22, 7, 'User', 757051629, '2010-07-15 08:33:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 6)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 6))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 7)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 6 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 7))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 7 AND `events`.target_type = 'User') ORDER BY events.id DESC LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`project_id` = 6 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 7 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 757051629)  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Favorite Load (0.1ms) SELECT * FROM `favorites` LIMIT 1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Load (0.1ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repositorz') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` IS NULL AND `favorites`.watchable_id IS NULL AND `favorites`.watchable_type IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` IS NULL AND `favorites`.watchable_id IS NULL AND `favorites`.watchable_type IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` IS NULL AND `favorites`.watchable_id IS NULL AND `favorites`.watchable_type IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user4') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john4@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:24', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '272145069a9719ae6dfab094b3e2e3018d8591cf', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user4', NULL, 'john4@example.com', '2010-07-15 11:33:17') Sent mail to john4@example.com Date: Thu, 15 Jul 2010 11:33:24 +0300 From: Gitorious To: john4@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user4 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/272145069a9719ae6dfab094b3e2e3018d8591cf Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:24') AND (`projects`.user_id = 8)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:24', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 8, 1, 8, NULL, NULL, NULL, NULL, '2010-07-15 08:33:24', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 7) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:24') AND (`repositories`.owner_id = 8 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 7, '2010-07-15 08:33:24', 0, 1, 1, NULL, '8f0/c41/ff592c95236156da3bdc6915d9f3ad5a92', NULL, NULL, NULL, 0, 8, 8, NULL, 1, '2010-07-15 08:33:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 8 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051630) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:24', 2, NULL, 'User', 112, 8, 757051630, '2010-07-15 08:33:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051630)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 7 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 7 AND `repositories`.id <> 757051630) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '8f0/c41/ff592c95236156da3bdc6915d9f3ad5a92' AND `repositories`.id <> 757051630) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 7 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 7 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 7, '2010-07-15 08:33:24', 1, NULL, '#408000', 1, '2010-07-15 08:33:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 7 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 7 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 7, '2010-07-15 08:33:24', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:24') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 8 AND `favorites`.watchable_id = 7 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Project', 7, 8, '2010-07-15 08:33:24', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_4' AND `repositories`.project_id = 7) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:24') AND (`repositories`.owner_id = 8 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_4', NULL, 7, '2010-07-15 08:33:24', 0, 0, 1, NULL, 'ea7/2e6/e317d420eb93ed63168ddb0a9e44642018', NULL, NULL, NULL, 0, 8, 8, NULL, 1, '2010-07-15 08:33:24', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 8 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051631) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:24', 2, NULL, 'User', 112, 8, 757051631, '2010-07-15 08:33:24') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051631)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(7, '2010-07-15 08:33:24', NULL, NULL, 757051631, 19, 8, 'Repository', NULL, '2010-07-15 08:33:24') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 7))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051631))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 7 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 8))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051631 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 8))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 8 AND `favorites`.watchable_id = 757051631 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Repository', 757051631, 8, '2010-07-15 08:33:24', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 8)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 7 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 8 AND `events`.`action` = 22 AND `events`.`body` = 'Project' AND `events`.`data` = 7) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916953 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051631)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 7)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 7 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 8 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 757051631) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916954 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 8 AND `favorites`.watchable_id = 757051631 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:24', NULL, 'Repository', 757051631, 8, '2010-07-15 08:33:24', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user5') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john5@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:24', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'e740f75ebd3eae30194bcee9437abdc66caedf92', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user5', NULL, 'john5@example.com', '2010-07-15 11:33:17') Sent mail to john5@example.com Date: Thu, 15 Jul 2010 11:33:24 +0300 From: Gitorious To: john5@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user5 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/e740f75ebd3eae30194bcee9437abdc66caedf92 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:25') AND (`projects`.user_id = 9)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:25', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 9, 1, 9, NULL, NULL, NULL, NULL, '2010-07-15 08:33:25', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 8) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:25') AND (`repositories`.owner_id = 9 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 8, '2010-07-15 08:33:25', 0, 1, 1, NULL, '53f/484/dab1fbd376fad9e1f2bbca0e0fc4de8aca', NULL, NULL, NULL, 0, 9, 9, NULL, 1, '2010-07-15 08:33:25', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 9 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051632) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:25', 2, NULL, 'User', 112, 9, 757051632, '2010-07-15 08:33:25') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051632)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 8)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 8 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 8 AND `repositories`.id <> 757051632) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '53f/484/dab1fbd376fad9e1f2bbca0e0fc4de8aca' AND `repositories`.id <> 757051632) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 8)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 8 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 8 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 8, '2010-07-15 08:33:25', 1, NULL, '#408000', 1, '2010-07-15 08:33:25') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 8)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 8 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 8 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 8, '2010-07-15 08:33:25', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:25') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 9 AND `favorites`.watchable_id = 8 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'Project', 8, 9, '2010-07-15 08:33:25', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_5' AND `repositories`.project_id = 8) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:25') AND (`repositories`.owner_id = 9 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_5', NULL, 8, '2010-07-15 08:33:25', 0, 0, 1, NULL, '412/e45/580bdc04365cf5f915822b935257db7ab4', NULL, NULL, NULL, 0, 9, 9, NULL, 1, '2010-07-15 08:33:25', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 9 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051633) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:25', 2, NULL, 'User', 112, 9, 757051633, '2010-07-15 08:33:25') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051633)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 8)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(8, '2010-07-15 08:33:25', NULL, NULL, 757051633, 19, 9, 'Repository', NULL, '2010-07-15 08:33:25') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 8)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 8))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051633))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 8 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 9))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051633 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 9))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 9 AND `favorites`.watchable_id = 757051633 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'Repository', 757051633, 9, '2010-07-15 08:33:25', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 9)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 8)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 9)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 8 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 9 AND `events`.`action` = 22 AND `events`.`body` = 'Project' AND `events`.`data` = 8) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916956 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051633)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 8)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 9)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 8 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 9 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 757051633) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916957 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 9 AND `favorites`.watchable_id = 757051633 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'Repository', 757051633, 9, '2010-07-15 08:33:25', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 9) ORDER BY id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051633)  SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user6') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john6@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:25', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'f88a6d1db6d6f059a300ec21ee6b9bb0e5bc1ffc', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user6', NULL, 'john6@example.com', '2010-07-15 11:33:17') Sent mail to john6@example.com Date: Thu, 15 Jul 2010 11:33:25 +0300 From: Gitorious To: john6@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user6 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/f88a6d1db6d6f059a300ec21ee6b9bb0e5bc1ffc Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:25') AND (`projects`.user_id = 10)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:25', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 10, 1, 10, NULL, NULL, NULL, NULL, '2010-07-15 08:33:25', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 9) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:25') AND (`repositories`.owner_id = 10 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 9, '2010-07-15 08:33:25', 0, 1, 1, NULL, '168/913/bc39a493dc72c648b184ebaa66441b0eb9', NULL, NULL, NULL, 0, 10, 10, NULL, 1, '2010-07-15 08:33:25', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 10 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051634) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:25', 2, NULL, 'User', 112, 10, 757051634, '2010-07-15 08:33:25') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051634)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 9)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 9 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 9 AND `repositories`.id <> 757051634) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '168/913/bc39a493dc72c648b184ebaa66441b0eb9' AND `repositories`.id <> 757051634) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 9)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 9 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 9 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 9, '2010-07-15 08:33:25', 1, NULL, '#408000', 1, '2010-07-15 08:33:25') Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 9)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 9 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 9 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 9, '2010-07-15 08:33:25', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:25') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 10 AND `favorites`.watchable_id = 9 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'Project', 9, 10, '2010-07-15 08:33:25', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_6' AND `repositories`.project_id = 9) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:25') AND (`repositories`.owner_id = 10 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_6', NULL, 9, '2010-07-15 08:33:25', 0, 0, 1, NULL, 'fee/135/5756a2d528103e66a0d513682e39d9fac9', NULL, NULL, NULL, 0, 10, 10, NULL, 1, '2010-07-15 08:33:25', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 10 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051635) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:25', 2, NULL, 'User', 112, 10, 757051635, '2010-07-15 08:33:25') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051635)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 9)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(9, '2010-07-15 08:33:25', NULL, NULL, 757051635, 19, 10, 'Repository', NULL, '2010-07-15 08:33:25') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 9)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 9))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051635))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 9 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 10))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051635 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 10))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 10 AND `favorites`.watchable_id = 757051635 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'Repository', 757051635, 10, '2010-07-15 08:33:25', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 10)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 9)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 10)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 9 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 10 AND `events`.`action` = 22 AND `events`.`body` = 'Project' AND `events`.`data` = 9) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916959 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051635)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 9)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 10)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 9 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 10 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 757051635) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916960 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE (`users`.`id` = 10) AND ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051635)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 10 AND `favorites`.watchable_id = 757051635 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'Repository', 757051635, 10, '2010-07-15 08:33:25', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051635 AND `favorites`.watchable_type = 'Repository')  User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE (`users`.`id` = 10) AND ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051635)) LIMIT 1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'MergeRequest', 449844885, 3, '2010-07-15 08:33:25', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'Project', 1, 2, '2010-07-15 08:33:25', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'MergeRequest', 449844885, 2, '2010-07-15 08:33:25', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:25', NULL, 'blabla', 1, 18, 1, 'Repository', NULL, '2010-07-15 08:33:25') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Sent mail to moe@example.com Date: Thu, 15 Jul 2010 11:33:25 +0300 From: Gitorious To: moe@example.com Subject: [Gitorious] Activity: some rendered event... Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello moe, One of your favorites has a new activity: ------------------------------------------------------------------------ some rendered event ------------------------------------------------------------------------ You're receiving this email because you've chosen to be notified by email whenever this favorite has new activity. You can manage your favorite subscriptions at http://tiuht.it.jyu.fi/favorites SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:25', NULL, 'MergeRequest', 449844885, 2, '2010-07-15 08:33:25', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:25', NULL, 'blabla', 1, 18, 1, 'Repository', NULL, '2010-07-15 08:33:25') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 56 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 56 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.44): /usr/bin/env git --git-dir='/tmp/repos/3f5/b75/1c6b65f41928887a842f46b45ec9625d42.git' init --template='/home/maanpelt/yousource/gitorious/data/git-template' SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user7') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john7@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:25', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '72614c76c6f7c85f1ce590a5849ff973fada0561', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user7', NULL, 'john7@example.com', '2010-07-15 11:33:17') Sent mail to john7@example.com Date: Thu, 15 Jul 2010 11:33:25 +0300 From: Gitorious To: john7@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user7 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/72614c76c6f7c85f1ce590a5849ff973fada0561 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.3ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:25', NULL, NULL, NULL, NULL, 11, '2010-07-15 08:33:25') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user8') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john8@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:25', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'fdf92185ba9cd0fe3cac7f7f4d7f2ad63ff4dea6', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user8', NULL, 'john8@example.com', '2010-07-15 11:33:17') Sent mail to john8@example.com Date: Thu, 15 Jul 2010 11:33:25 +0300 From: Gitorious To: john8@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user8 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/fdf92185ba9cd0fe3cac7f7f4d7f2ad63ff4dea6 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:25', NULL, NULL, NULL, NULL, 12, '2010-07-15 08:33:25') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011405954)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE (`repositories`.`id` = 3) AND ((`committerships`.committer_type = 'Group') AND (`committerships`.committer_id = 369376230)) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user9') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john9@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:25', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'd3eb2740396a1f5ec6bb699547a851800bcd5dfd', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user9', NULL, 'john9@example.com', '2010-07-15 11:33:17') Sent mail to john9@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john9@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user9 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/d3eb2740396a1f5ec6bb699547a851800bcd5dfd Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:26', NULL, NULL, NULL, NULL, 13, '2010-07-15 08:33:26') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user10') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john10@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '59f244a1a2c991f96c584feb78e58444f3cec02b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user10', NULL, 'john10@example.com', '2010-07-15 11:33:17') Sent mail to john10@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john10@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user10 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/59f244a1a2c991f96c584feb78e58444f3cec02b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 14 AND `memberships`.group_id = 764238920) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:26', 1, 764238920, 14, '2010-07-15 08:33:26') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238920))  SQL (0.1ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238920))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 764238920 AND `projects`.owner_type = 'Group')  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user11') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john11@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '82f61265a39998b314baee811582f433e895a2b8', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user11', NULL, 'john11@example.com', '2010-07-15 11:33:17') Sent mail to john11@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john11@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user11 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/82f61265a39998b314baee811582f433e895a2b8 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 15 AND `memberships`.group_id = 764238920) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:26', 1, 764238920, 15, '2010-07-15 08:33:26') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238920))  SQL (3.9ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user12') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john12@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '6291ff4637bb63f3cafa96249cdd96b2e7ff85a8', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user12', NULL, 'john12@example.com', '2010-07-15 11:33:17') Sent mail to john12@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john12@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user12 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/6291ff4637bb63f3cafa96249cdd96b2e7ff85a8 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:26', NULL, NULL, NULL, NULL, 16, '2010-07-15 08:33:26') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 764238921 AND `projects`.owner_type = 'Group')  SQL (0.1ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238921))  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:26') AND (`projects`.user_id = 16)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:26', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 764238921, 1, 16, NULL, NULL, NULL, NULL, '2010-07-15 08:33:26', 'Group', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 10) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:26') AND (`repositories`.owner_id = 16 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 10, '2010-07-15 08:33:26', 0, 1, 1, NULL, 'd98/d9f/124619ac02b76a2e0e1e37f73225a6160a', NULL, NULL, NULL, 0, 764238921, 16, NULL, 1, '2010-07-15 08:33:26', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 764238921 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051636) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:26', 2, NULL, 'Group', 112, 764238921, 757051636, '2010-07-15 08:33:26') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051636)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 10)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 10 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 10 AND `repositories`.id <> 757051636) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'd98/d9f/124619ac02b76a2e0e1e37f73225a6160a' AND `repositories`.id <> 757051636) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 10)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 10 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 10 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 10, '2010-07-15 08:33:26', 1, NULL, '#408000', 1, '2010-07-15 08:33:26') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 10)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 10 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 10 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 10, '2010-07-15 08:33:26', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:26') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 16 AND `favorites`.watchable_id = 10 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:26', NULL, 'Project', 10, 16, '2010-07-15 08:33:26', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 764238921 AND `projects`.owner_type = 'Group')  SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238921))  SQL (11.7ms) ROLLBACK SQL (0.1ms) BEGIN Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 369376230 AND `projects`.owner_type = 'Group')  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.committer_id = 369376230 AND `committerships`.committer_type = 'Group')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user13') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john13@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '94734835f61f99dda1e54c4ca6af030b391d1c76', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user13', NULL, 'john13@example.com', '2010-07-15 11:33:17') Sent mail to john13@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john13@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user13 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/94734835f61f99dda1e54c4ca6af030b391d1c76 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user14') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john14@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '61b623aa8eae3e299373263de9999064fe94608b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user14', NULL, 'john14@example.com', '2010-07-15 11:33:17') Sent mail to john14@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john14@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user14 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/61b623aa8eae3e299373263de9999064fe94608b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:26' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline2' AND `repositories`.project_id = 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:26') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('mainline2', NULL, 2, '2010-07-15 08:33:26', 0, 0, 1, NULL, '312/744/85b72921fcd375f83b2c080dfa9b7951df', NULL, NULL, NULL, 0, 369376230, 1, NULL, 1, '2010-07-15 08:33:26', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051637) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:26', 2, NULL, 'Group', 112, 369376230, 757051637, '2010-07-15 08:33:26') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051637)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:33:26', NULL, NULL, 757051637, 19, 1, 'Repository', NULL, '2010-07-15 08:33:26') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051637))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051637 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.4ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051637 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:26', NULL, 'Repository', 757051637, 1, '2010-07-15 08:33:26', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 2 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 2 AND (kind != 1))) ORDER BY repositories.created_at asc Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`repository_id` IN (1,3,757051637)) AND (`committerships`.`committer_type` = 'Group')  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user15') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john15@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '277321d05c49464a302cec1883243ae7afdee56e', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user15', NULL, 'john15@example.com', '2010-07-15 11:33:17') Sent mail to john15@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john15@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user15 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/277321d05c49464a302cec1883243ae7afdee56e Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (3.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user16') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john16@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'beba07d577c2a00935b22049935f929092ae426f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user16', NULL, 'john16@example.com', '2010-07-15 11:33:17') Sent mail to john16@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john16@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user16 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/beba07d577c2a00935b22049935f929092ae426f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user17') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john17@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '8d19acc631e16309c8443b050a1d85f7ee381445', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user17', NULL, 'john17@example.com', '2010-07-15 11:33:17') Sent mail to john17@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john17@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user17 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/8d19acc631e16309c8443b050a1d85f7ee381445 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 21 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:26', 135138680, 369376230, 21, '2010-07-15 08:33:26') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 20) AND ((`memberships`.group_id = 369376230)) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 20 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:26', 820312697, 369376230, 20, '2010-07-15 08:33:26') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 20) AND ((`memberships`.group_id = 369376230)) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user18') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john18@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '0ddd87fcf281be753c408cd600044f08197dbb5f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user18', NULL, 'john18@example.com', '2010-07-15 11:33:17') Sent mail to john18@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john18@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user18 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/0ddd87fcf281be753c408cd600044f08197dbb5f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user19') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john19@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'cbad87c518413c40cda392bc202b38129d98d9ca', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user19', NULL, 'john19@example.com', '2010-07-15 11:33:17') Sent mail to john19@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john19@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user19 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/cbad87c518413c40cda392bc202b38129d98d9ca Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 23 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:26', 135138680, 369376230, 23, '2010-07-15 08:33:26') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 22) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 23) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 22) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 23) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 22) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 23) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user20') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john20@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '665b9afdc8e60f9ca5cd84ad8b95b4d0faf6565f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user20', NULL, 'john20@example.com', '2010-07-15 11:33:17') Sent mail to john20@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john20@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user20 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/665b9afdc8e60f9ca5cd84ad8b95b4d0faf6565f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user21') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john21@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '3f49ebcee198fdddf46ab90a2c4059dc82520674', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user21', NULL, 'john21@example.com', '2010-07-15 11:33:17') Sent mail to john21@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john21@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user21 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/3f49ebcee198fdddf46ab90a2c4059dc82520674 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 25 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:26', 135138680, 369376230, 25, '2010-07-15 08:33:26') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 24) AND ((`memberships`.group_id = 369376230)) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 25) AND ((`memberships`.group_id = 369376230)) LIMIT 1 SQL (10.2ms) ROLLBACK SQL (0.1ms) BEGIN Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`id` = 2) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051622)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:26' WHERE `id` = 757051622 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`id` = 757051622) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user22') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john22@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'f1b1faa758ef990ad00c731a4665e938620a63d4', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user22', NULL, 'john22@example.com', '2010-07-15 11:33:17') Sent mail to john22@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john22@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user22 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/f1b1faa758ef990ad00c731a4665e938620a63d4 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:26', NULL, NULL, NULL, NULL, 26, '2010-07-15 08:33:26') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user23') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john23@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'f108a7b82731e1a206d8399c94a084bbd035ddd3', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user23', NULL, 'john23@example.com', '2010-07-15 11:33:17') Sent mail to john23@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john23@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user23 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/f108a7b82731e1a206d8399c94a084bbd035ddd3 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'fu bar') LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user24') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john24@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'a5db2420c6ed7201c24aa54bdfd38db142235514', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user24', NULL, 'john24@example.com', '2010-07-15 11:33:17') Sent mail to john24@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john24@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user24 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/a5db2420c6ed7201c24aa54bdfd38db142235514 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:26', NULL, NULL, NULL, NULL, 28, '2010-07-15 08:33:26') [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user25') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john25@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'f6f8d0b6978bc1593c8e9659224af83a288ed2d9', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user25', NULL, 'john25@example.com', '2010-07-15 11:33:17') Sent mail to john25@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john25@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user25 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/f6f8d0b6978bc1593c8e9659224af83a288ed2d9 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:26', NULL, NULL, NULL, NULL, 29, '2010-07-15 08:33:26') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user26') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john26@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '8caf5a9c613ce2f8a7597ea819b8e491dc1a0d00', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user26', NULL, 'john26@example.com', '2010-07-15 11:33:17') Sent mail to john26@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john26@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user26 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/8caf5a9c613ce2f8a7597ea819b8e491dc1a0d00 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'fooworkers') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('fooworkers', NULL, '2010-07-15 08:33:26', NULL, NULL, NULL, NULL, 30, '2010-07-15 08:33:26') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user27') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john27@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:26', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '4652e8311460e84730cba8f5935f97bf41a7749b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user27', NULL, 'john27@example.com', '2010-07-15 11:33:17') Sent mail to john27@example.com Date: Thu, 15 Jul 2010 11:33:26 +0300 From: Gitorious To: john27@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user27 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/4652e8311460e84730cba8f5935f97bf41a7749b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.1ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:26', NULL, NULL, NULL, NULL, 31, '2010-07-15 08:33:26') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo_bar') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo.bar') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo bar') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Hook Columns (0.6ms) SHOW FIELDS FROM `hooks` SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Sent mail to Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: johan@johansorensen.com Subject: [Gitorious] Your account has been activated! Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, your account has been activated. You can add your public SSH key here http://tiuht.it.jyu.fi/~johan as well as change your details. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Sent mail to Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: johan@johansorensen.com Subject: [Gitorious] Your new password Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, Someone, most likely you, requested a new password for your Gitorious.org account. If you did not request a new password for your account then please ignore this email. Follow this link to reset your password: http://tiuht.it.jyu.fi/users/reset_password/secret If you believe you've received this email in error, then please do report it to us via http://tiuht.it.jyu.fi/contact Thank you http://tiuht.it.jyu.fi SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.0ms) SAVEPOINT active_record_1 Email Update (0.2ms) UPDATE `emails` SET `confirmation_code` = '9bbbf64ba008e0153c4fc963e1cce1983d33dc46', `updated_at` = '2010-07-15 08:33:27' WHERE `id` = 911544726 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Sent mail to Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: johan@shortcut.no Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/9bbbf64ba008e0153c4fc963e1cce1983d33dc46/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Sent mail to Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: johan@johansorensen.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is johan Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/8f24789ae988411ccf33ab0c30fe9106fab32e9b Thank you http://tiuht.it.jyu.fi SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user28') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john28@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '3789bed111c7de52d8653a0bcb4c61ac0dab313a', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user28', NULL, 'john28@example.com', '2010-07-15 11:33:17') Sent mail to john28@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john28@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user28 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/3789bed111c7de52d8653a0bcb4c61ac0dab313a Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:27', NULL, NULL, NULL, NULL, 32, '2010-07-15 08:33:27') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 32 AND `memberships`.group_id = 764238927) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:27', 1, 764238927, 32, '2010-07-15 08:33:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 32 AND `memberships`.group_id = 764238927) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user29') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john29@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'ad7742707d3c52c8400c3882c4aadc5fb586f2b0', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user29', NULL, 'john29@example.com', '2010-07-15 11:33:17') Sent mail to john29@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john29@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user29 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/ad7742707d3c52c8400c3882c4aadc5fb586f2b0 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:27', NULL, NULL, NULL, NULL, 33, '2010-07-15 08:33:27') [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user30') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john30@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '0891f8701af0493014096be6519165590844a84f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user30', NULL, 'john30@example.com', '2010-07-15 11:33:17') Sent mail to john30@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john30@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user30 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/0891f8701af0493014096be6519165590844a84f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 33 AND `memberships`.group_id = 764238928) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:27', 820312697, 764238928, 33, '2010-07-15 08:33:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user31') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john31@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '1510ad95239d510a8f50d72453ff56b3539ec31a', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user31', NULL, 'john31@example.com', '2010-07-15 11:33:17') Sent mail to john31@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john31@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user31 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/1510ad95239d510a8f50d72453ff56b3539ec31a Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:27', NULL, NULL, NULL, NULL, 35, '2010-07-15 08:33:27') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user32') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john32@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '45c2a92798d9eaab8ef641eaf646dc9f91667987', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user32', NULL, 'john32@example.com', '2010-07-15 11:33:17') Sent mail to john32@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john32@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user32 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/45c2a92798d9eaab8ef641eaf646dc9f91667987 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user33') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john33@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'bac3184b3ddf4b206efca34caa65616b0e623247', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user33', NULL, 'john33@example.com', '2010-07-15 11:33:17') Sent mail to john33@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john33@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user33 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/bac3184b3ddf4b206efca34caa65616b0e623247 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 35) ORDER BY created_at DESC SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 37 AND `memberships`.group_id = 764238929) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:27', 820312697, 764238929, 37, '2010-07-15 08:33:27') SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:27') AND (`messages`.sender_id = 36)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(621556438, 0, 0, '2010-07-15 08:33:27', 'user32 added you to the \"b-team\" team, as a member', '2010-07-15 08:33:27', 37, 'You have been added to a team', 'unread', NULL, 'Membership', 0, 36, NULL, '2010-07-15 08:33:27') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.notifiable_id = 621556438 AND `messages`.notifiable_type = 'Membership') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 621556438 AND `messages`.notifiable_type = 'Membership')  Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 621556438 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189991)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user34') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john34@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'b6b8c2040454c127fe9423040b778c9c2443ba1f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user34', NULL, 'john34@example.com', '2010-07-15 11:33:17') Sent mail to john34@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john34@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user34 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/b6b8c2040454c127fe9423040b778c9c2443ba1f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:27', NULL, NULL, NULL, NULL, 38, '2010-07-15 08:33:27') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user35') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john35@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '9e6aa8285959de0e32363b1b94fd6ba8b3c1dd76', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user35', NULL, 'john35@example.com', '2010-07-15 11:33:17') Sent mail to john35@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john35@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user35 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/9e6aa8285959de0e32363b1b94fd6ba8b3c1dd76 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 38) ORDER BY created_at DESC SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 38 AND `memberships`.group_id = 764238930) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:27', 820312697, 764238930, 38, '2010-07-15 08:33:27') SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:27') AND (`messages`.sender_id = 39)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(621556439, 0, 0, '2010-07-15 08:33:27', 'user35 added you to the \"b-team\" team, as a member', '2010-07-15 08:33:27', 38, 'You have been added to a team', 'unread', NULL, 'Membership', 0, 39, NULL, '2010-07-15 08:33:27') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 38 AND (`messages`.`notifiable_type` = 'Membership' AND `messages`.`notifiable_id` = 621556439)) ORDER BY created_at DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 39)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556439)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556429)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user36') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john36@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'a272c845d9e1b09ff3a3f893e1391a27d5f55341', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user36', NULL, 'john36@example.com', '2010-07-15 11:33:17') Sent mail to john36@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john36@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user36 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/a272c845d9e1b09ff3a3f893e1391a27d5f55341 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:27', NULL, NULL, NULL, NULL, 40, '2010-07-15 08:33:27') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 40 AND `memberships`.group_id = 764238931) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:27', 1, 764238931, 40, '2010-07-15 08:33:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user37') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john37@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:27', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '1de87b6181e88f280d963d34da3e42ae282a5fd5', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user37', NULL, 'john37@example.com', '2010-07-15 11:33:17') Sent mail to john37@example.com Date: Thu, 15 Jul 2010 11:33:27 +0300 From: Gitorious To: john37@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user37 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/1de87b6181e88f280d963d34da3e42ae282a5fd5 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:27', NULL, NULL, NULL, NULL, 41, '2010-07-15 08:33:27') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 41 AND `memberships`.group_id = 764238932) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:27', 1, 764238932, 41, '2010-07-15 08:33:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (1.8ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.1ms) SELECT * FROM `projects` LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.1ms) SELECT * FROM `projects` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:27', 1, NULL, '#408000', 1, '2010-07-15 08:33:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:27', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id DESC LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id DESC LIMIT 1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('foo', 1, '2010-07-15 08:33:27', 0, NULL, NULL, 1, '2010-07-15 08:33:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'foo', `updated_at` = '2010-07-15 08:33:27' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `status` = 5, `updated_at` = '2010-07-15 08:33:27' WHERE `id` = 677747833 MergeRequestStatus Update (0.1ms) UPDATE `merge_request_statuses` SET `state` = 5, `updated_at` = '2010-07-15 08:33:27' WHERE `id` = 17 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('foo', 1, '2010-07-15 08:33:27', 0, NULL, NULL, 1, '2010-07-15 08:33:27') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'foo', `updated_at` = '2010-07-15 08:33:27' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'somethingelse')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'somethingelse')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `status_tag` = 'SomethingElse', `updated_at` = '2010-07-15 08:33:27' WHERE `id` = 677747833 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequestStatus Update (0.2ms) UPDATE `merge_request_statuses` SET `updated_at` = '2010-07-15 08:33:27', `name` = 'SomethingElse' WHERE `id` = 18 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:27', 1, 657435920, 'Looks good', NULL, 'ffac', 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:33:27') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:27', 1, 657435920, 'On the other hand...', NULL, 'ffac', 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:33:27') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT `merge_request_versions`.id FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version Comment Load (0.2ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 657435920) OR (target_type = 'MergeRequestVersion' AND target_id in (1))) ORDER BY comments.created_at MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` IN (1,4))  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:27', 1, 657435920, 'Looks good', NULL, 'ffac', 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:33:27') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:27', 1, 657435920, 'On the other hand...', NULL, 'ffac', 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:33:27') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 4)  MergeRequestVersion Load (0.1ms) SELECT `merge_request_versions`.id FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version Comment Load (0.2ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 657435920) OR (target_type = 'MergeRequestVersion' AND target_id in (1))) ORDER BY comments.created_at MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` IN (1,4))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Create (0.3ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:33:28', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'Please, mister postman', 'Please, mister postman', 4, 1, NULL, NULL, NULL, 0, '2010-07-15 08:33:28') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193753 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:28', NULL, 'MergeRequest', 1000193753, 1, '2010-07-15 08:33:28', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193753) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `proposal` = 'Yikes', `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 1000193753 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `legacy` = 1, `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:28', 1, 449844885, NULL, '2010-07-15 08:33:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `user_id` = 3, `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:28', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:28') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  SQL (9.6ms) ROLLBACK SQL (0.1ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.3ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:28', 1, 449844885, 'ff0', '2010-07-15 08:33:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:28', 1, 449844885, 'ff0', '2010-07-15 08:33:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `contribution_agreement_version`, `status_tag`, `target_repository_id`, `updated_by_user_id`, `sha_snapshot`, `source_repository_id`, `oauth_secret`, `oauth_token`, `source_branch`, `summary`, `proposal`, `sequence_number`, `ending_commit`, `reason`, `user_id`, `legacy`, `target_branch`, `created_at`) VALUES(5, '2010-07-15 08:33:20', NULL, NULL, 1, NULL, 'a94a8fe5ccb19ba61c4c0873d391e987982fbbd3', 2, NULL, NULL, NULL, 'plz merge my clone', 'plz merge my clone', 4, '286e8afb9576366a2a43b12b94738f07', NULL, 1, 0, NULL, '2010-07-15 08:33:20') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193754 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:28', NULL, 'MergeRequest', 1000193754, 1, '2010-07-15 08:33:28', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.`status` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:28', 1, 449844885, 'ff0', '2010-07-15 08:33:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:28', 1, 449844885, 'ffcaabd', '2010-07-15 08:33:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:28', 1, 449844885, NULL, '2010-07-15 08:33:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:28', 2, 449844885, NULL, '2010-07-15 08:33:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) ROLLBACK SQL (0.1ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `contribution_agreement_version`, `status_tag`, `target_repository_id`, `updated_by_user_id`, `sha_snapshot`, `source_repository_id`, `oauth_secret`, `oauth_token`, `source_branch`, `summary`, `proposal`, `sequence_number`, `ending_commit`, `reason`, `user_id`, `legacy`, `target_branch`, `created_at`) VALUES(1, '2010-07-15 08:33:20', NULL, 'Open', 1, NULL, 'a94a8fe5ccb19ba61c4c0873d391e987982fbbd3', 2, NULL, NULL, NULL, 'plz merge my clone', 'plz merge my clone', 4, '286e8afb9576366a2a43b12b94738f07', NULL, 1, 0, NULL, '2010-07-15 08:33:20') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193755 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:28', NULL, 'MergeRequest', 1000193755, 1, '2010-07-15 08:33:28', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193755) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` = 1000193755 AND `events`.`action` = 13) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193755) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `contribution_agreement_version` = 'valid_version_sha', `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 1000193755 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Cache miss: merge_status_for_commit_ffc_in_repository_1 ({:expires_in=>3600 seconds}) Cache write (will save 0.30ms): merge_status_for_commit_ffc_in_repository_1 Cache miss: merge_status_for_commit_ff0_in_repository_1 ({:expires_in=>3600 seconds}) Cache write (will save 0.24ms): merge_status_for_commit_ff0_in_repository_1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:28', 2, NULL, 'Group', 16, 369376230, 1, '2010-07-15 08:33:28') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (10.9ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 347082427) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 347082427 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `user_id` = 3, `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 449844885 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:28', NULL, 'MergeRequest', 449844885, 1, '2010-07-15 08:33:28', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` = 449844885 AND `events`.`action` = 13) LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `notify_committers_on_new_merge_request` = 0, `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` = 449844885 AND `events`.`action` = 13) LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:28', 1, 449844885, 'ff0', '2010-07-15 08:33:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` IS NULL AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id IS NULL AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_1' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:28') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_1', NULL, 1, '2010-07-15 08:33:28', 0, 4, 1, NULL, 'e42/0bd/7b7b65f394511ac8d4aeef9836ea75614e', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:33:28', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051638) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:28', 2, NULL, 'User', 112, 1, 757051638, '2010-07-15 08:33:28') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051638)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` = 449844885 AND `events`.`action` = 13) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 5, `reason` = 'You\'re right, this is a great idea!', `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:28', 1, 677747833, 'You\'re right, this is a great idea!', NULL, NULL, 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:33:28') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Update (0.2ms) UPDATE `comments` SET `state_change` = '--- \n- open\n- closed\n', `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 26 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `updated_at` = '2010-07-15 08:33:28' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:28', 1, 449844885, 'abc', '2010-07-15 08:33:28') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_1' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:28') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_1', NULL, 1, '2010-07-15 08:33:28', 0, 4, 1, NULL, '142/341/f86d55a560568b02a887c74944d9f4d470', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:33:28', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051639) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:28', 2, NULL, 'User', 112, 1, 757051639, '2010-07-15 08:33:28') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051639)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:29', 2, 449844885, 'abc', '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:29', NULL, NULL, 449844885, 15, 1, 'MergeRequest', 'new version 2', '2010-07-15 08:33:29') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_1' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:29') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_1', NULL, 1, '2010-07-15 08:33:29', 0, 4, 1, NULL, 'b9a/881/191d4e201183c678a399a8a9ac417956df', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:33:29', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051640) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:29', 2, NULL, 'User', 112, 1, 757051640, '2010-07-15 08:33:29') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051640)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:29', 1, 449844885, 'abc', '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_1' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:29') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_1', NULL, 1, '2010-07-15 08:33:29', 0, 4, 1, NULL, '4f0/eee/131d4c4da170e92e2b4bd10fd78fd081bc', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:33:29', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051641) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:29', 2, NULL, 'User', 112, 1, 757051641, '2010-07-15 08:33:29') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051641)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` IS NULL AND `events`.`action` = 13) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id IS NULL AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 3)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 1) AND (`merge_requests`.target_repository_id = 3) ORDER BY status, id desc LIMIT 1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 1 AND `merge_requests`.target_repository_id = 3) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:33:29', 3, NULL, NULL, NULL, 1, 'ffac', NULL, NULL, NULL, 'Please merge', NULL, 1, 1, 'caff', NULL, NULL, 0, '2010-07-15 08:33:29') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193756 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:29', NULL, 'MergeRequest', 1000193756, 1, '2010-07-15 08:33:29', 0) Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:33:29', NULL, NULL, 1000193756, 13, 1, 'MergeRequest', NULL, '2010-07-15 08:33:29') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 1000193756))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193756 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` = 1000193756 AND `events`.`action` = 13) LIMIT 1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 3)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 1) AND (`merge_requests`.target_repository_id = 3) ORDER BY status, id desc LIMIT 1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 1 AND `merge_requests`.target_repository_id = 3) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:33:29', 3, NULL, NULL, NULL, 1, 'ffac', NULL, NULL, NULL, 'Please merge', NULL, 1, 1, 'caff', NULL, NULL, 0, '2010-07-15 08:33:29') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193757 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:29', NULL, 'MergeRequest', 1000193757, 1, '2010-07-15 08:33:29', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 3)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 1) AND (`merge_requests`.target_repository_id = 3) ORDER BY status, id desc LIMIT 1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 1 AND `merge_requests`.target_repository_id = 3) LIMIT 1 MergeRequest Create (0.3ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:33:29', 3, NULL, NULL, NULL, 1, 'ffac', NULL, NULL, NULL, 'Please merge', NULL, 1, 1, 'caff', NULL, NULL, 0, '2010-07-15 08:33:29') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193758 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:29', NULL, 'MergeRequest', 1000193758, 1, '2010-07-15 08:33:29', 0) Event Create (0.1ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:33:29', NULL, NULL, 1000193758, 13, 1, 'MergeRequest', NULL, '2010-07-15 08:33:29') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 1000193758))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193758 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) SELECT count(*) AS count_all FROM `feed_items`  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1000193758 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:29', NULL, 'MergeRequest', 1000193758, 3, '2010-07-15 08:33:29', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` = 1000193758 AND `events`.`action` = 13) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (3, 61, '2010-07-15 08:33:29', '2010-07-15 08:33:29') SQL (0.1ms) SELECT count(*) AS count_all FROM `feed_items`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` IS NULL AND `events`.`action` = 13) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:33:29', 1, NULL, NULL, NULL, 3, 'ffac', NULL, NULL, NULL, 'Please merge', 'New window decorations', 4, 2, 'ac00', NULL, NULL, 0, '2010-07-15 08:33:29') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1000193759 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:29', NULL, 'MergeRequest', 1000193759, 2, '2010-07-15 08:33:29', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 5) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 5 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `contribution_agreement_version`, `status_tag`, `target_repository_id`, `updated_by_user_id`, `sha_snapshot`, `source_repository_id`, `oauth_secret`, `oauth_token`, `source_branch`, `summary`, `proposal`, `sequence_number`, `ending_commit`, `reason`, `user_id`, `legacy`, `target_branch`, `created_at`) VALUES(0, '2010-07-15 08:33:29', NULL, NULL, 1, NULL, 'ffac', 3, NULL, NULL, NULL, 'Please merge', 'New window decorations', 5, 'ac00', NULL, 2, 0, NULL, '2010-07-15 08:33:29') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1000193760 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:29', NULL, 'MergeRequest', 1000193760, 2, '2010-07-15 08:33:29', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193760) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:33:29', 1, NULL, NULL, NULL, 3, 'ffac', NULL, NULL, NULL, 'Please merge', 'New window decorations', 4, 2, 'ac00', NULL, NULL, 0, '2010-07-15 08:33:29') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1000193761 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:29', NULL, 'MergeRequest', 1000193761, 2, '2010-07-15 08:33:29', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 5) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:33:29', 1, NULL, NULL, NULL, 3, 'ffac', NULL, NULL, NULL, 'Please merge', 'New window decorations', 4, 2, 'ac00', NULL, NULL, 0, '2010-07-15 08:33:29') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1000193762 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:29', NULL, 'MergeRequest', 1000193762, 2, '2010-07-15 08:33:29', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:29', 1, NULL, '#408000', 1, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:29', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'before')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'before')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'before', `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'after')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'after')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'after', `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:29', NULL, 'Foo', 677747833, 15, 1, 'MergeRequest', 'State changed from before to after', '2010-07-15 08:33:29') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:29', 1, NULL, '#408000', 1, '2010-07-15 08:33:29') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:29', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Closed', `status` = 5, `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:29', NULL, 'Setting this to closed', 677747833, 15, 1, 'MergeRequest', 'State changed to Closed', '2010-07-15 08:33:29') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:29', 1, NULL, '#408000', 1, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:29', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'closed', `status` = 5, `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'open', `status` = 1, `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  SQL (9.0ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:29', 1, NULL, '#408000', 1, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:29', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'before')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'before')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'before', `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'after')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'after')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'after', `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:29', NULL, 'Updated this', 677747833, 15, 1, 'MergeRequest', 'State changed from before to after', '2010-07-15 08:33:29') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:29', 1, NULL, '#408000', 1, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:29', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('In Progress', 1, '2010-07-15 08:33:29', 0, NULL, '#000', 1, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('All Done', 1, '2010-07-15 08:33:29', 0, NULL, '#ccc', 5, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'in progress')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'in progress')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'In Progress', `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'all done')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'all done')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'all done')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'all done')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'All Done', `status` = 5, `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  SQL (6.0ms) ROLLBACK SQL (0.1ms) BEGIN MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:29', 1, NULL, '#408000', 1, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:29', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:29') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:33:29', 1, NULL, NULL, NULL, 2, NULL, 'master', NULL, NULL, 'Add a user', 'Please add me', 4, 1, 'aaaaaaaaaa', NULL, 'master', 0, '2010-07-15 08:33:29') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193763 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:29', NULL, 'MergeRequest', 1000193763, 1, '2010-07-15 08:33:29', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193763) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-07-15 08:33:29' WHERE `id` = 1000193763 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193763) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` = 1000193763 AND `events`.`action` = 13) LIMIT 1 SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `status` = 5, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (3.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:30') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:30', 'The merge request is now .', '2010-07-15 08:33:30', 1, 'Your merge request was updated', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-07-15 08:33:30') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 1) ORDER BY created_at DESC SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 5, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 5, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:30') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:30', 'The merge request is now .', '2010-07-15 08:33:30', 1, 'Your merge request was updated', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-07-15 08:33:30') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 1) ORDER BY created_at ASC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189994)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `status` = 5, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` = 449844885 AND `events`.`action` = 13) LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:30', 1, NULL, '#408000', 1, '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:30', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:30') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:30', 1, NULL, '#408000', 1, '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:30', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Update (0.2ms) UPDATE `merge_request_statuses` SET `updated_at` = '2010-07-15 08:33:30', `name` = 'New' WHERE `id` = 35 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'new')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'new')) ORDER BY id asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'New', `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`target_id` = 449844885 AND `events`.`action` = 13) LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (1.6ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:30', 1, NULL, '#408000', 1, '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:30', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Closed', `status` = 5, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:30', 1, NULL, '#408000', 1, '2010-07-15 08:33:30') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:30', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'kittens')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'kittens')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `status_tag` = 'kittens', `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE ((LOWER(status_tag) = 'kittens' AND status != 0) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE ((LOWER(status_tag) = 'kittens' AND status != 0) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status` = 1, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:30', 1, NULL, '#408000', 1, '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:30', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `status_tag` = 'Closed', `status` = 5, `updated_at` = '2010-07-15 08:33:30' WHERE `id` = 449844885 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE ((LOWER(status_tag) = 'closed' AND status != 0) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE ((LOWER(status_tag) = 'closed' AND status != 0) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:30', 1, 449844885, 'ffac', '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:30', 2, 449844885, 'ffac', '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:30', 3, 449844885, 'ffac', '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:30', 1, 449844885, 'ff0', '2010-07-15 08:33:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:30') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:30', 0, 4, 1, NULL, 'd3a/2a6/fd8eb4e967b8f213cf81a12ff301980dba', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:30', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051642) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:30', 2, NULL, 'Group', 112, 369376230, 757051642, '2010-07-15 08:33:30') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051642)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:30') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:30', 0, 4, 1, NULL, 'a3b/d4d/2a72f9324bb370bb3a957b9fb87a163a85', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:30', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051643) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:30', 2, NULL, 'Group', 112, 369376230, 757051643, '2010-07-15 08:33:30') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051643)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:30') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:30', 0, 4, 1, NULL, 'd15/a25/7404f34694c057ed3eb86979ab75d37036', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:30', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051644) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:30', 2, NULL, 'Group', 112, 369376230, 757051644, '2010-07-15 08:33:30') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051644)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:30') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:30', 0, 4, 1, NULL, '57a/7a1/46230615d114b3bc927a565903bd49b834', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:30', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051645) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:30', 2, NULL, 'Group', 112, 369376230, 757051645, '2010-07-15 08:33:30') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051645)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.4ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:30') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:31', 0, 4, 1, NULL, '5f2/22b/69658d6ab7ee7c45a6914494ddd533d80c', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:31', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051646) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:31', 2, NULL, 'Group', 112, 369376230, 757051646, '2010-07-15 08:33:31') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051646)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:31') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:31', 0, 4, 1, NULL, '6fe/859/0f94584284d17d31d4073504e81e887c9b', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:31', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051647) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:31', 2, NULL, 'Group', 112, 369376230, 757051647, '2010-07-15 08:33:31') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051647)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (5.7ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 23)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('1-32', '2010-07-15 08:33:31', 1, 23, 'Needs more cowbell', 33, 'ffac-aafc', 1, 'MergeRequestVersion', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:31') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:33:31', 1, 449844885, 'Beware high gamma levels', NULL, NULL, 2, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:33:31') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:31') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:31', 'moe commented:\n\nBeware high gamma levels', '2010-07-15 08:33:31', 1, 'moe commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 23 AND `comments`.target_type = 'MergeRequestVersion')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 24)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('1-32', '2010-07-15 08:33:31', 1, 24, 'Needs more cowbell', 33, 'ffac-aafc', 1, 'MergeRequestVersion', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:31') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 24 AND `comments`.target_type = 'MergeRequestVersion')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 25)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('1-32', '2010-07-15 08:33:31', 1, 25, 'Needs more cowbell', 33, 'ffac-aafc', 1, 'MergeRequestVersion', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:31') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 25 AND `comments`.target_type = 'MergeRequestVersion')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 26)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('1-32', '2010-07-15 08:33:31', 1, 26, 'Needs more cowbell', 33, 'ffac-aafc', 1, 'MergeRequestVersion', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:31') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 26 AND `comments`.target_type = 'MergeRequestVersion')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (7.1ms) ROLLBACK SQL (0.1ms) BEGIN MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 27)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('1-32', '2010-07-15 08:33:31', 1, 27, 'Needs more cowbell', 33, 'ffac-aafc', 1, 'MergeRequestVersion', NULL, NULL, 'README', '1-1', '2010-07-15 08:33:31') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 27 AND `comments`.target_type = 'MergeRequestVersion')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:31') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:31', 0, 4, 1, NULL, '077/c6d/b6cb612ca9ba405ccd34b264a35a9b04eb', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:31', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051648) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:31', 2, NULL, 'Group', 112, 369376230, 757051648, '2010-07-15 08:33:31') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051648)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Destroy (0.1ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (6.3ms) ROLLBACK SQL (0.1ms) BEGIN MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:31') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:31', 0, 4, 1, NULL, 'f28/72f/8b044ab35daa157514eeed23585979ca5f', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:31', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051649) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:31', 2, NULL, 'Group', 112, 369376230, 757051649, '2010-07-15 08:33:31') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051649)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.3ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Cache miss: merge_request_versions/31-20100715083331/affected_commits ({}) Cache write (will save 0.26ms): merge_request_versions/31-20100715083331/affected_commits SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.4ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 2, 449844885, 'ffcca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:33:31', 1, 449844885, 'ffca0', '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Sent mail to mike@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious Messenger To: mike@example.com Subject: New message: Hello world Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello mike moe has sent you a message on Gitorious: ---------------------------------------------------- This is just ridiculous ---------------------------------------------------- View and reply to this message at http://tiuht.it.jyu.fi/messages/337189977 PLEASE DO NOT reply to this email directly as it will go nowhere. Instead, use the above link to reply. SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1002)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user38') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john38@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '671d667b5cd0f9cdea5d7253c679eea6c75dccb9', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user38', NULL, 'john38@example.com', '2010-07-15 11:33:17') Sent mail to john38@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john38@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user38 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/671d667b5cd0f9cdea5d7253c679eea6c75dccb9 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user39') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john39@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '26d6fe98df8987e98906b271f8cb0bea440d6254', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user39', NULL, 'john39@example.com', '2010-07-15 11:33:17') Sent mail to john39@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john39@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user39 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/26d6fe98df8987e98906b271f8cb0bea440d6254 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:31') AND (`messages`.sender_id = 42)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:31', 'Just called to say hi', '2010-07-15 08:33:31', 43, 'Hello', 'unread', NULL, NULL, 0, 42, NULL, '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user40') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john40@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '63356bd2da6fcda9f88beca92049133a4424c64d', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user40', NULL, 'john40@example.com', '2010-07-15 11:33:17') Sent mail to john40@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john40@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user40 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/63356bd2da6fcda9f88beca92049133a4424c64d Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user41') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john41@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '1795ceac67404074f70d0e0bb6599ca8c57556f3', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user41', NULL, 'john41@example.com', '2010-07-15 11:33:17') Sent mail to john41@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john41@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user41 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/1795ceac67404074f70d0e0bb6599ca8c57556f3 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:31') AND (`messages`.sender_id = 44)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:31', 'Just called to say hi', '2010-07-15 08:33:31', 45, 'Hello', 'unread', NULL, NULL, 0, 44, NULL, '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user42') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john42@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '33d50455dc0c15545a33bb8277c083e88a904dc1', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user42', NULL, 'john42@example.com', '2010-07-15 11:33:17') Sent mail to john42@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john42@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user42 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/33d50455dc0c15545a33bb8277c083e88a904dc1 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user43') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john43@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '32325fbcba983712e6ace91d3e1673a21b13d192', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user43', NULL, 'john43@example.com', '2010-07-15 11:33:17') Sent mail to john43@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john43@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user43 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/32325fbcba983712e6ace91d3e1673a21b13d192 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:31') AND (`messages`.sender_id = 46)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:31', 'Just called to say hi', '2010-07-15 08:33:31', 47, 'Hello', 'unread', NULL, NULL, 0, 46, NULL, '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user44') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john44@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '4d666f8dd84fc73f26d9257ebd699f412dda2516', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user44', NULL, 'john44@example.com', '2010-07-15 11:33:17') Sent mail to john44@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john44@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user44 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/4d666f8dd84fc73f26d9257ebd699f412dda2516 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user45') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john45@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '415baf7678fbefb618e4442ba8f0bea8ed819956', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user45', NULL, 'john45@example.com', '2010-07-15 11:33:17') Sent mail to john45@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john45@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user45 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/415baf7678fbefb618e4442ba8f0bea8ed819956 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:31') AND (`messages`.sender_id = 48)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:31', 'Just called to say hi', '2010-07-15 08:33:31', 49, 'Hello', 'unread', NULL, NULL, 0, 48, NULL, '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:31') AND (`messages`.sender_id = 48)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:31', 'Just called to say hi', '2010-07-15 08:33:31', 48, 'Hello', 'unread', NULL, NULL, 0, 48, NULL, '2010-07-15 08:33:31') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user46') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john46@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '45758c76db26291a90c93186b983e67690734049', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user46', NULL, 'john46@example.com', '2010-07-15 11:33:17') Sent mail to john46@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john46@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user46 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/45758c76db26291a90c93186b983e67690734049 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user47') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john47@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '0e6c0de54208b3b060e18ef6bd4a02a86b108b4f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user47', NULL, 'john47@example.com', '2010-07-15 11:33:17') Sent mail to john47@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john47@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user47 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/0e6c0de54208b3b060e18ef6bd4a02a86b108b4f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:31') AND (`messages`.sender_id = 50)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:31', 'Just called to say hi', '2010-07-15 08:33:31', 51, 'Hello', 'unread', NULL, NULL, 0, 50, NULL, '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `archived_by_sender` = 1, `updated_at` = '2010-07-15 08:33:31' WHERE `id` = 337190001 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190001)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 50)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 51)  Message Update (0.3ms) UPDATE `messages` SET `archived_by_sender` = 0, `last_activity_at` = '2010-07-15 08:33:31', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:31' WHERE `id` = 337190001 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:31') AND (`messages`.sender_id = 51)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:31', 'Foo', '2010-07-15 08:33:31', 50, 'Re: Hello', 'unread', 337190001, NULL, 0, 51, 337190001, '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190001)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 50)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 51)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `archived_by_recipient` = 1, `updated_at` = '2010-07-15 08:33:31' WHERE `id` = 337190001 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190001)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 50)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 51)  Message Update (0.2ms) UPDATE `messages` SET `archived_by_recipient` = 0, `last_activity_at` = '2010-07-15 08:33:31', `updated_at` = '2010-07-15 08:33:31' WHERE `id` = 337190001 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:31') AND (`messages`.sender_id = 50)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:31', 'Kthxbye', '2010-07-15 08:33:31', 51, 'Re: Re: Hello', 'unread', 337190002, NULL, 0, 50, 337190001, '2010-07-15 08:33:31') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190001)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user48') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john48@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:31', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '72d19698ce1776482c9acd5e7289e3acb6cff5de', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user48', NULL, 'john48@example.com', '2010-07-15 11:33:17') Sent mail to john48@example.com Date: Thu, 15 Jul 2010 11:33:31 +0300 From: Gitorious To: john48@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user48 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/72d19698ce1776482c9acd5e7289e3acb6cff5de Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user49') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john49@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '987b1d09133fccc37c26a2abf4e622d777d150ed', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user49', NULL, 'john49@example.com', '2010-07-15 11:33:17') Sent mail to john49@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john49@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user49 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/987b1d09133fccc37c26a2abf4e622d777d150ed Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 52)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'Just called to say hi', '2010-07-15 08:33:32', 53, 'Hello', 'unread', NULL, NULL, 0, 52, NULL, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user50') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john50@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '1115c503861dfbc5c0eb68ca28a52eda8d51a01a', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user50', NULL, 'john50@example.com', '2010-07-15 11:33:17') Sent mail to john50@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john50@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user50 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/1115c503861dfbc5c0eb68ca28a52eda8d51a01a Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user51') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john51@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'cb807a57aee1a771829f42ab868c5d438c0da510', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user51', NULL, 'john51@example.com', '2010-07-15 11:33:17') Sent mail to john51@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john51@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user51 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/cb807a57aee1a771829f42ab868c5d438c0da510 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 54)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'Just called to say hi', '2010-07-15 08:33:32', 55, 'Hello', 'unread', NULL, NULL, 0, 54, NULL, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190005)  SQL (0.1ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 55)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'Thanks so much', '2010-07-15 08:33:32', 54, 'Re: Hello', 'unread', 337190005, NULL, 0, 55, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 54)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 55, 'Re: Re: Hello', 'unread', 337190006, NULL, 0, 54, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 55)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 54, 'Re: Re: Re: Hello', 'unread', 337190007, NULL, 0, 55, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 54)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 55, 'Re: Re: Re: Re: Hello', 'unread', 337190008, NULL, 0, 54, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 55)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 54, 'Re: Re: Re: Re: Re: Hello', 'unread', 337190009, NULL, 0, 55, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 54)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 55, 'Re: Re: Re: Re: Re: Re: Hello', 'unread', 337190010, NULL, 0, 54, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 55)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 54, 'Re: Re: Re: Re: Re: Re: Re: Hello', 'unread', 337190011, NULL, 0, 55, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 54)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 55, 'Re: Re: Re: Re: Re: Re: Re: Re: Hello', 'unread', 337190012, NULL, 0, 54, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 55)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 54, 'Re: Re: Re: Re: Re: Re: Re: Re: Re: Hello', 'unread', 337190013, NULL, 0, 55, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 54)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 55, 'Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Hello', 'unread', 337190014, NULL, 0, 54, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190005)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 54)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 55)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190005 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 55)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'That\'s nothing', '2010-07-15 08:33:32', 54, 'Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Hello', 'unread', 337190015, NULL, 0, 55, 337190005, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190005)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190006)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190007)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190008)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190009)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190010)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190011)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190012)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190013)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190014)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190015)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190016)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user52') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john52@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'b68befb74ed160fc001a4f5f175e38f28e2e0c59', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user52', NULL, 'john52@example.com', '2010-07-15 11:33:17') Sent mail to john52@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john52@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user52 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/b68befb74ed160fc001a4f5f175e38f28e2e0c59 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user53') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john53@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '2ce18aff71645cde5d73c8dc4a4811e9fe1562b6', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user53', NULL, 'john53@example.com', '2010-07-15 11:33:17') Sent mail to john53@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john53@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user53 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/2ce18aff71645cde5d73c8dc4a4811e9fe1562b6 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 56)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'Just called to say hi', '2010-07-15 08:33:32', 57, 'Hello', 'unread', NULL, NULL, 0, 56, NULL, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.3ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190017 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190017)  SQL (0.1ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190017)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 56)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 57)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190017 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 57)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'This isn\'t read yet', '2010-07-15 08:33:32', 56, 'Re: Hello', 'unread', 337190017, NULL, 0, 57, 337190017, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190017)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190018)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190018 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190017)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190018)  SQL (10.8ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user54') LIMIT 1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john54@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '6aba648226c1b04e2740a4b652fe810e952bca4b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user54', NULL, 'john54@example.com', '2010-07-15 11:33:17') Sent mail to john54@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john54@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user54 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/6aba648226c1b04e2740a4b652fe810e952bca4b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user55') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john55@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '73d97063cba91735fb7d84508f9f010899cf282c', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user55', NULL, 'john55@example.com', '2010-07-15 11:33:17') Sent mail to john55@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john55@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user55 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/73d97063cba91735fb7d84508f9f010899cf282c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 58)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'Just called to say hi', '2010-07-15 08:33:32', 59, 'Hello', 'unread', NULL, NULL, 0, 58, NULL, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190019)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 58)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 59)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190019 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 59)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'Yeah', '2010-07-15 08:33:32', 58, 'Re: Hello', 'unread', 337190019, NULL, 0, 59, 337190019, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190019)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 58)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 59)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:32', `updated_at` = '2010-07-15 08:33:32' WHERE `id` = 337190019 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 58)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'Nope', '2010-07-15 08:33:32', 59, 'Re: Re: Hello', 'unread', 337190020, NULL, 0, 58, 337190019, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190019)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190020)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190021)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user56') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john56@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 0, 0, NULL, '502def88436a21353eed4e536273dd9ca91872d9', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user56', NULL, 'john56@example.com', '2010-07-15 11:33:17') Sent mail to john56@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john56@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user56 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/502def88436a21353eed4e536273dd9ca91872d9 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user57') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john57@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '775781e9300ff2ced8977ebbc07caaaa4eaeac01', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user57', NULL, 'john57@example.com', '2010-07-15 11:33:17') Sent mail to john57@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john57@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user57 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/775781e9300ff2ced8977ebbc07caaaa4eaeac01 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 60)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'World', '2010-07-15 08:33:32', 61, 'Hello', 'unread', NULL, NULL, 0, 60, NULL, '2010-07-15 08:33:32') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user58') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john58@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 0, 0, NULL, 'ed4dccd1d5835e479401a9ec1a234762b1b0111e', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user58', NULL, 'john58@example.com', '2010-07-15 11:33:17') Sent mail to john58@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john58@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user58 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/ed4dccd1d5835e479401a9ec1a234762b1b0111e Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user59') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john59@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'fd046b80fd241e714889a1701c7c9287ebee9f66', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user59', NULL, 'john59@example.com', '2010-07-15 11:33:17') Sent mail to john59@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john59@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user59 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/fd046b80fd241e714889a1701c7c9287ebee9f66 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 62)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'World', '2010-07-15 08:33:32', 63, 'Hello', 'unread', NULL, NULL, 0, 62, NULL, '2010-07-15 08:33:32') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user60') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john60@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 0, 0, NULL, 'fa9e876e62fb69d8b2ff2a24db04605eb10c57cc', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user60', NULL, 'john60@example.com', '2010-07-15 11:33:17') Sent mail to john60@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john60@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user60 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/fa9e876e62fb69d8b2ff2a24db04605eb10c57cc Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user61') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john61@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '86603ed5d5a23baf96d24893ae56f010c2e21132', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user61', NULL, 'john61@example.com', '2010-07-15 11:33:17') Sent mail to john61@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john61@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user61 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/86603ed5d5a23baf96d24893ae56f010c2e21132 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 65)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'World', '2010-07-15 08:33:32', 64, 'Hello', 'unread', NULL, NULL, 0, 65, NULL, '2010-07-15 08:33:32') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user62') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john62@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 0, 0, NULL, '099f9eaf638658f56fd36b204f2d9cb0bac6b9eb', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user62', NULL, 'john62@example.com', '2010-07-15 11:33:17') Sent mail to john62@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john62@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user62 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/099f9eaf638658f56fd36b204f2d9cb0bac6b9eb Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user63') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john63@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:32', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'dc9e4b8482ecb0cb5bde846e81ef4f6cc65b7b5f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user63', NULL, 'john63@example.com', '2010-07-15 11:33:17') Sent mail to john63@example.com Date: Thu, 15 Jul 2010 11:33:32 +0300 From: Gitorious To: john63@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user63 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/dc9e4b8482ecb0cb5bde846e81ef4f6cc65b7b5f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 67)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'World', '2010-07-15 08:33:32', 67, 'Hello', 'unread', NULL, NULL, 0, 67, NULL, '2010-07-15 08:33:32') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:32', 'thanks', '2010-07-15 08:33:32', 2, 'Hey', 'unread', NULL, NULL, 0, 1, NULL, '2010-07-15 08:33:32') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:32') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'thanks', '2010-07-15 08:33:32', 2, 'Hey', 'unread', NULL, NULL, 0, 1, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:33', `updated_at` = '2010-07-15 08:33:33' WHERE `id` = 337190027 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `recipient_id` = 3, `updated_at` = '2010-07-15 08:33:33' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user64') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john64@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '733b2bca4a8b357e25dcd2e66a9e27328e17233b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user64', NULL, 'john64@example.com', '2010-07-15 11:33:17') Sent mail to john64@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john64@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user64 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/733b2bca4a8b357e25dcd2e66a9e27328e17233b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user65') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john65@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '300e2fbd612c66dbcbca7762e0f68540bf045a60', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user65', NULL, 'john65@example.com', '2010-07-15 11:33:17') Sent mail to john65@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john65@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user65 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/300e2fbd612c66dbcbca7762e0f68540bf045a60 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.2ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 68)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Just called to say hi', '2010-07-15 08:33:33', 69, 'Hello', 'unread', NULL, NULL, 0, 68, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user66') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john66@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '361de522c42e15b4fd5e5e975a1f49ea731b9a63', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user66', NULL, 'john66@example.com', '2010-07-15 11:33:17') Sent mail to john66@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john66@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user66 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/361de522c42e15b4fd5e5e975a1f49ea731b9a63 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user67') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john67@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '7ac24750af1fa76fec6a9f943a8b1d2fef68a73e', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user67', NULL, 'john67@example.com', '2010-07-15 11:33:17') Sent mail to john67@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john67@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user67 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/7ac24750af1fa76fec6a9f943a8b1d2fef68a73e Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 70)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Just called to say hi', '2010-07-15 08:33:33', 71, 'Hello', 'unread', NULL, NULL, 0, 70, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190029)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 70)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 71)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:33', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:33' WHERE `id` = 337190029 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 71)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Thanks. That\'s much appreciated', '2010-07-15 08:33:33', 70, 'Re: Hello', 'unread', 337190029, NULL, 0, 71, 337190029, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT `messages`.id FROM `messages` WHERE (`messages`.`id` = 337190030) AND (`messages`.in_reply_to_id = 337190029) LIMIT 1 SQL (6.1ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user68') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john68@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '7a1294d2d1b4fd6049d1ad5ae4d2f64fe3fde542', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user68', NULL, 'john68@example.com', '2010-07-15 11:33:17') Sent mail to john68@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john68@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user68 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/7a1294d2d1b4fd6049d1ad5ae4d2f64fe3fde542 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user69') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john69@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '6cdb08c21ef2408ee62150ac34881ce0c339ebb4', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user69', NULL, 'john69@example.com', '2010-07-15 11:33:17') Sent mail to john69@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john69@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user69 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/6cdb08c21ef2408ee62150ac34881ce0c339ebb4 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 72)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Just called to say hi', '2010-07-15 08:33:33', 73, 'Hello', 'unread', NULL, NULL, 0, 72, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user70') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john70@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '0248cb3a3b4dca1433b44ea48bad1afded7062fb', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user70', NULL, 'john70@example.com', '2010-07-15 11:33:17') Sent mail to john70@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john70@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user70 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/0248cb3a3b4dca1433b44ea48bad1afded7062fb Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user71') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john71@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '3ba73e0951655537d12626fdc78f3152bfa7b89c', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user71', NULL, 'john71@example.com', '2010-07-15 11:33:17') Sent mail to john71@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john71@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user71 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/3ba73e0951655537d12626fdc78f3152bfa7b89c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 74)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Just called to say hi', '2010-07-15 08:33:33', 75, 'Hello', 'unread', NULL, NULL, 0, 74, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190032)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 74)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 75)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:33', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:33' WHERE `id` = 337190032 SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 75)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Thanks. That\'s much appreciated', '2010-07-15 08:33:33', 74, 'Re: Hello', 'unread', 337190032, NULL, 0, 75, 337190032, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190032)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `has_unread_replies` = 0, `updated_at` = '2010-07-15 08:33:33' WHERE `id` = 337190032 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190032)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 74)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 75)  Message Update (0.3ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:33', `updated_at` = '2010-07-15 08:33:33' WHERE `id` = 337190032 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 74)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'All right!', '2010-07-15 08:33:33', 75, 'Feeling chatty', 'unread', 337190033, NULL, 0, 74, 337190032, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190032)  SQL (3.3ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user72') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john72@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'e94ef1e746c63370f9bc317f4d242f6d7102553f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user72', NULL, 'john72@example.com', '2010-07-15 11:33:17') Sent mail to john72@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john72@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user72 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/e94ef1e746c63370f9bc317f4d242f6d7102553f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user73') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john73@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'a661d713e97a31e10242b0f8b89337150486d602', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user73', NULL, 'john73@example.com', '2010-07-15 11:33:17') Sent mail to john73@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john73@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user73 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/a661d713e97a31e10242b0f8b89337150486d602 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 76)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Just called to say hi', '2010-07-15 08:33:33', 77, 'Hello', 'unread', NULL, NULL, 0, 76, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user74') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john74@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '017afe721703eb439e0a443832ede947cd39b581', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user74', NULL, 'john74@example.com', '2010-07-15 11:33:17') Sent mail to john74@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john74@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user74 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/017afe721703eb439e0a443832ede947cd39b581 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user75') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john75@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '3d2c06de27345ed646bb855c4e6f0784fe199414', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user75', NULL, 'john75@example.com', '2010-07-15 11:33:17') Sent mail to john75@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john75@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user75 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/3d2c06de27345ed646bb855c4e6f0784fe199414 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 78)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Just called to say hi', '2010-07-15 08:33:33', 79, 'Hello', 'unread', NULL, NULL, 0, 78, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user76') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john76@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '359f85370557ed19e700ade143e5118aaf530867', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user76', NULL, 'john76@example.com', '2010-07-15 11:33:17') Sent mail to john76@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john76@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user76 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/359f85370557ed19e700ade143e5118aaf530867 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user77') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john77@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '694eac1e9fb2b8ffd99b6f09f45f3e0f8948edc2', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user77', NULL, 'john77@example.com', '2010-07-15 11:33:17') Sent mail to john77@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john77@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user77 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/694eac1e9fb2b8ffd99b6f09f45f3e0f8948edc2 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 80)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Just called to say hi', '2010-07-15 08:33:33', 81, 'Hello', 'unread', NULL, NULL, 0, 80, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190037)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 80)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 81)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:33', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:33' WHERE `id` = 337190037 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 81)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Thanks. That\'s much appreciated', '2010-07-15 08:33:33', 80, 'Re: Hello', 'unread', 337190037, NULL, 0, 81, 337190037, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (10.3ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user78') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john78@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '1bb668d046cf59beed0f398393d91f195af61a38', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user78', NULL, 'john78@example.com', '2010-07-15 11:33:17') Sent mail to john78@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john78@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user78 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/1bb668d046cf59beed0f398393d91f195af61a38 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user79') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john79@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'f4a8065a4836f33071bc51dc06cac1af6c19fbd9', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user79', NULL, 'john79@example.com', '2010-07-15 11:33:17') Sent mail to john79@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john79@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user79 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/f4a8065a4836f33071bc51dc06cac1af6c19fbd9 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 82)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Just called to say hi', '2010-07-15 08:33:33', 83, 'Hello', 'unread', NULL, NULL, 0, 82, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user80') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john80@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '2c1e99fa558bb0cb12d4af689ec5732122e80f27', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user80', NULL, 'john80@example.com', '2010-07-15 11:33:17') Sent mail to john80@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john80@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user80 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/2c1e99fa558bb0cb12d4af689ec5732122e80f27 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user81') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john81@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '457fa3f0d9d73fc4f770cd350a1066d5f6e99ff4', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user81', NULL, 'john81@example.com', '2010-07-15 11:33:17') Sent mail to john81@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john81@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user81 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/457fa3f0d9d73fc4f770cd350a1066d5f6e99ff4 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 84)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Just called to say hi', '2010-07-15 08:33:33', 85, 'Hello', 'unread', NULL, NULL, 0, 84, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:33' WHERE `id` = 337190040 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 85)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Thanks. That\'s much appreciated', '2010-07-15 08:33:33', 84, 'Re: Hello', 'unread', 337190040, NULL, 0, 85, 337190040, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user82') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john82@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'e5aeca0c9f80321116ac70f5a1ec2929933af9f3', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user82', NULL, 'john82@example.com', '2010-07-15 11:33:17') Sent mail to john82@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john82@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user82 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/e5aeca0c9f80321116ac70f5a1ec2929933af9f3 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user83') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john83@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '194c08b535997317ec54565e28bd4bc1e1f3dfca', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user83', NULL, 'john83@example.com', '2010-07-15 11:33:17') Sent mail to john83@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john83@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user83 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/194c08b535997317ec54565e28bd4bc1e1f3dfca Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'b-team') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('b-team', NULL, '2010-07-15 08:33:33', NULL, NULL, NULL, NULL, 86, '2010-07-15 08:33:33') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 87 AND `memberships`.group_id = 764238933) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:33', 135138680, 764238933, 87, '2010-07-15 08:33:33') SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 86)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(621556442, 0, 0, '2010-07-15 08:33:33', 'user82 added you to the \"b-team\" team, as a administrator', '2010-07-15 08:33:33', 87, 'You have been added to a team', 'unread', NULL, 'Membership', 0, 86, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.notifiable_id = 621556442 AND `messages`.notifiable_type = 'Membership') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 86)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556442)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user84') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john84@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'c42678a7ba232c7cb5e4246dcd35a9b8b7e9dd56', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user84', NULL, 'john84@example.com', '2010-07-15 11:33:17') Sent mail to john84@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john84@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user84 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/c42678a7ba232c7cb5e4246dcd35a9b8b7e9dd56 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user85') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john85@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '074717b39f522e916e9b5057b2faa927ab2573d7', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user85', NULL, 'john85@example.com', '2010-07-15 11:33:17') Sent mail to john85@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john85@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user85 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/074717b39f522e916e9b5057b2faa927ab2573d7 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:33') AND (`messages`.sender_id = 88)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:33', 'Hello earth', '2010-07-15 08:33:33', 89, 'Hey', 'unread', NULL, NULL, 0, 88, NULL, '2010-07-15 08:33:33') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user86') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john86@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:33', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'e5c6c564c4f82d9ce021bef170b0594769ef69cc', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user86', NULL, 'john86@example.com', '2010-07-15 11:33:17') Sent mail to john86@example.com Date: Thu, 15 Jul 2010 11:33:33 +0300 From: Gitorious To: john86@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user86 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/e5c6c564c4f82d9ce021bef170b0594769ef69cc Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user87') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john87@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '26738d40d412dc1f985b235d95c4ca8f73ce4779', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user87', NULL, 'john87@example.com', '2010-07-15 11:33:17') Sent mail to john87@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john87@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user87 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/26738d40d412dc1f985b235d95c4ca8f73ce4779 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user88') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john88@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'ba4e529a77ad605bafc69571b74ff0240b5acc21', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user88', NULL, 'john88@example.com', '2010-07-15 11:33:17') Sent mail to john88@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john88@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user88 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/ba4e529a77ad605bafc69571b74ff0240b5acc21 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user89') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john89@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '553fa0495f55eeccddc73867c6eee08c0a785fd0', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user89', NULL, 'john89@example.com', '2010-07-15 11:33:17') Sent mail to john89@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john89@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user89 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/553fa0495f55eeccddc73867c6eee08c0a785fd0 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user90') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john90@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'fb135d95239341aa07008ea47e5376214492cbcf', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user90', NULL, 'john90@example.com', '2010-07-15 11:33:17') Sent mail to john90@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john90@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user90 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/fb135d95239341aa07008ea47e5376214492cbcf Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user91') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john91@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '016c2b009938c729ce08c3740f1d060d54712736', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user91', NULL, 'john91@example.com', '2010-07-15 11:33:17') Sent mail to john91@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john91@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user91 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/016c2b009938c729ce08c3740f1d060d54712736 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 95)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'Just called to say hi', '2010-07-15 08:33:34', 94, 'Hello', 'unread', NULL, NULL, 0, 95, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 94)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:33:34' WHERE `id` = 337190044 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 94)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages`  SQL (0.0ms) SAVEPOINT active_record_1 Message Destroy (0.2ms) DELETE FROM `messages` WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user92') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john92@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '9e94f563e3805be652bf160e6404b84c07a6d0b2', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user92', NULL, 'john92@example.com', '2010-07-15 11:33:17') Sent mail to john92@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john92@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user92 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/9e94f563e3805be652bf160e6404b84c07a6d0b2 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user93') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john93@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'e9ae5d8fe19117babf5940f24f64b17ac30ce634', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user93', NULL, 'john93@example.com', '2010-07-15 11:33:17') Sent mail to john93@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john93@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user93 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/e9ae5d8fe19117babf5940f24f64b17ac30ce634 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello0', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello1', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello2', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello3', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello4', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (6.9ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello5', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.2ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello6', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello7', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello8', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello9', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  SQL (15.4ms) SELECT max(`messages`.created_at) AS max_created_at FROM `messages` WHERE (`messages`.`sender_id` = 97 AND `messages`.`notifiable_type` IS NULL)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello10', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  SQL (0.1ms) SELECT max(`messages`.created_at) AS max_created_at FROM `messages` WHERE (`messages`.`sender_id` = 97 AND `messages`.`notifiable_type` IS NULL)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello11', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  SQL (0.1ms) SELECT max(`messages`.created_at) AS max_created_at FROM `messages` WHERE (`messages`.`sender_id` = 97 AND `messages`.`notifiable_type` IS NULL)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello12', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  SQL (0.1ms) SELECT max(`messages`.created_at) AS max_created_at FROM `messages` WHERE (`messages`.`sender_id` = 97 AND `messages`.`notifiable_type` IS NULL)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello13', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 97)  SQL (0.1ms) SELECT max(`messages`.created_at) AS max_created_at FROM `messages` WHERE (`messages`.`sender_id` = 97 AND `messages`.`notifiable_type` IS NULL)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 96, 'Hello14', 'unread', NULL, 'MergeRequest', 0, 97, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages`  SQL (0.0ms) SAVEPOINT active_record_1 Message Destroy (0.1ms) DELETE FROM `messages` WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user94') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john94@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'f851ba04db160cb9579bee5de98fb0161f9c2dcd', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user94', NULL, 'john94@example.com', '2010-07-15 11:33:17') Sent mail to john94@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john94@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user94 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/f851ba04db160cb9579bee5de98fb0161f9c2dcd Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user95') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john95@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'ab7e851649ee6d2564d3af8f219221e0e7010a85', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user95', NULL, 'john95@example.com', '2010-07-15 11:33:17') Sent mail to john95@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john95@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user95 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/ab7e851649ee6d2564d3af8f219221e0e7010a85 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello0', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello1', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello2', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello3', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello4', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello5', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.3ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello6', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello7', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello8', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 98, 'Hello9', 'unread', NULL, NULL, 0, 99, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 99)  SQL (0.2ms) SELECT max(`messages`.created_at) AS max_created_at FROM `messages` WHERE (`messages`.`sender_id` = 99 AND `messages`.`notifiable_type` IS NULL)  SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:34') AND (`messages`.sender_id = 98)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:34', 'World', '2010-07-15 08:33:34', 99, 'spam much?', 'unread', NULL, NULL, 0, 98, NULL, '2010-07-15 08:33:34') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  SQL (7.0ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user96') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john96@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '8fdefb98f26c91b9a3a7a568661a0d3e7832295c', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user96', NULL, 'john96@example.com', '2010-07-15 11:33:17') Sent mail to john96@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john96@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user96 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/8fdefb98f26c91b9a3a7a568661a0d3e7832295c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john97@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '6ccd8dd8ecbc46239abbe8040cd9aa0e45489223', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'john', NULL, 'john97@example.com', '2010-07-15 11:33:17') Sent mail to john97@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john97@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is john Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/6ccd8dd8ecbc46239abbe8040cd9aa0e45489223 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jane') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john98@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '0d0a3b2a763e55908c05719ba3592e4378d83efb', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jane', NULL, 'john98@example.com', '2010-07-15 11:33:17') Sent mail to john98@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john98@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jane Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/0d0a3b2a763e55908c05719ba3592e4378d83efb Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MessageThread for john,jane SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user97') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john99@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '7a1807b401fca261a1994668e8a4588381681550', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user97', NULL, 'john99@example.com', '2010-07-15 11:33:17') Sent mail to john99@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john99@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user97 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/7a1807b401fca261a1994668e8a4588381681550 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john100@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'd4b668e57b895cc32ff7c6b9aea9c50956bb1118', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'john', NULL, 'john100@example.com', '2010-07-15 11:33:17') Sent mail to john100@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john100@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is john Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/d4b668e57b895cc32ff7c6b9aea9c50956bb1118 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jane') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john101@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'c41ad3b5bd18910b93b84d94a280eb7b72f495bd', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jane', NULL, 'john101@example.com', '2010-07-15 11:33:17') Sent mail to john101@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john101@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jane Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/c41ad3b5bd18910b93b84d94a280eb7b72f495bd Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MessageThread for john,jane User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'john') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'jane') LIMIT 1 SQL (8.3ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user98') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john102@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'b5c7c7124a72b21ca1c84a1f2cd1b74affa0e1b7', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user98', NULL, 'john102@example.com', '2010-07-15 11:33:17') Sent mail to john102@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john102@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user98 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/b5c7c7124a72b21ca1c84a1f2cd1b74affa0e1b7 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john103@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '46ef23e16c77e0fbc0d7c55f259269f32b2265f9', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'john', NULL, 'john103@example.com', '2010-07-15 11:33:17') Sent mail to john103@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john103@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is john Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/46ef23e16c77e0fbc0d7c55f259269f32b2265f9 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jane') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john104@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'db9b3c3c91622c9fef727070db6790825143ca5f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jane', NULL, 'john104@example.com', '2010-07-15 11:33:17') Sent mail to john104@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john104@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jane Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/db9b3c3c91622c9fef727070db6790825143ca5f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MessageThread for john,jane SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user99') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john105@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:34', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '205544699cecae820d0a58d455dfbfe913725723', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user99', NULL, 'john105@example.com', '2010-07-15 11:33:17') Sent mail to john105@example.com Date: Thu, 15 Jul 2010 11:33:34 +0300 From: Gitorious To: john105@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user99 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/205544699cecae820d0a58d455dfbfe913725723 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john106@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'bac58a260343be9ba3e08e4fe041e177f472d72f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'john', NULL, 'john106@example.com', '2010-07-15 11:33:17') Sent mail to john106@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john106@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is john Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/bac58a260343be9ba3e08e4fe041e177f472d72f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jane') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john107@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'fe9ac976c91426d8da01075ed9a7f30b90e88bec', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jane', NULL, 'john107@example.com', '2010-07-15 11:33:17') Sent mail to john107@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john107@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jane Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/fe9ac976c91426d8da01075ed9a7f30b90e88bec Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MessageThread for john,jane User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'john') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'jane') LIMIT 1 SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user100') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john108@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '80e63bd6094a44bea269027abc1d97a5f77721d3', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user100', NULL, 'john108@example.com', '2010-07-15 11:33:17') Sent mail to john108@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john108@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user100 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/80e63bd6094a44bea269027abc1d97a5f77721d3 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john109@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '33a881854c390181ffb7b9377d436777fa287400', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'john', NULL, 'john109@example.com', '2010-07-15 11:33:17') Sent mail to john109@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john109@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is john Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/33a881854c390181ffb7b9377d436777fa287400 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jane') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john110@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'c26b320ccea93cc6e41a2802a2766fa943f0955b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jane', NULL, 'john110@example.com', '2010-07-15 11:33:17') Sent mail to john110@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john110@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jane Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/c26b320ccea93cc6e41a2802a2766fa943f0955b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MessageThread for john,jane User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'john') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'jane') LIMIT 1 SQL (11.8ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user101') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john111@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'e5c388728801ddadccc5330088b52699e284e12d', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user101', NULL, 'john111@example.com', '2010-07-15 11:33:17') Sent mail to john111@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john111@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user101 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/e5c388728801ddadccc5330088b52699e284e12d Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john112@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'a11c84d263d332db3d4e382203a77ca0fbac8dfe', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'john', NULL, 'john112@example.com', '2010-07-15 11:33:17') Sent mail to john112@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john112@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is john Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/a11c84d263d332db3d4e382203a77ca0fbac8dfe Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jane') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john113@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '7705d26baeee0f89e42100691f42b8f3bc741dcb', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jane', NULL, 'john113@example.com', '2010-07-15 11:33:17') Sent mail to john113@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john113@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jane Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/7705d26baeee0f89e42100691f42b8f3bc741dcb Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MessageThread for john,jane User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'john') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'jane') LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user102') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john114@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'f4ccfc7a5fec88d996837e85691acc0fbd2f91a4', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user102', NULL, 'john114@example.com', '2010-07-15 11:33:17') Sent mail to john114@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john114@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user102 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/f4ccfc7a5fec88d996837e85691acc0fbd2f91a4 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john115@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '50aa37abe27c2cffbdaa486927944d276f09c741', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'john', NULL, 'john115@example.com', '2010-07-15 11:33:17') Sent mail to john115@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john115@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is john Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/50aa37abe27c2cffbdaa486927944d276f09c741 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jane') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john116@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '43a8ce33a39445e23e76fba65fc50306b5140922', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jane', NULL, 'john116@example.com', '2010-07-15 11:33:17') Sent mail to john116@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john116@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jane Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/43a8ce33a39445e23e76fba65fc50306b5140922 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MessageThread for john,jane SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user103') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john117@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'b8acf2328765e2e8346ce04a65f93bdffbdb83b5', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user103', NULL, 'john117@example.com', '2010-07-15 11:33:17') Sent mail to john117@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john117@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user103 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/b8acf2328765e2e8346ce04a65f93bdffbdb83b5 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john118@example.com') LIMIT 1 User Create (0.4ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '65bb69a026b1623200278550d1f74ae97daeab9c', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'john', NULL, 'john118@example.com', '2010-07-15 11:33:17') Sent mail to john118@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john118@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is john Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/65bb69a026b1623200278550d1f74ae97daeab9c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jane') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john119@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:35', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'e8c915bf941e2510d3cba0ffa94d26fb98a3cad1', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jane', NULL, 'john119@example.com', '2010-07-15 11:33:17') Sent mail to john119@example.com Date: Thu, 15 Jul 2010 11:33:35 +0300 From: Gitorious To: john119@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jane Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/e8c915bf941e2510d3cba0ffa94d26fb98a3cad1 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MessageThread for john,jane SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'john') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'jane') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:35') AND (`messages`.sender_id = 121)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:35', 'Lorem ipsum', '2010-07-15 08:33:35', 122, 'Hello world', 'unread', NULL, NULL, 0, 121, NULL, '2010-07-15 08:33:35') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:35') AND (`messages`.sender_id = 121)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:35', 'Lorem ipsum', '2010-07-15 08:33:35', 123, 'Hello world', 'unread', NULL, NULL, 0, 121, NULL, '2010-07-15 08:33:35') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Grit::Git (0.33): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' log --pretty='raw' --max-count='1' 'master' -- 'HowTo.markdown' Grit::Git (0.44): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' log --pretty='raw' --max-count='1' 'master' -- 'HowTo.markdown' Grit::Git (0.44): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' log --pretty='raw' --max-count='1' 'master' -- 'HowTo.markdown' SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.44): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' log --pretty='raw' --max-count='1' 'master' -- 'HowTo.markdown' User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@johansorensen.com') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.44): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' rev-parse 'HEAD' Grit::Git (0.44): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' log --pretty='raw' --max-count='30' 'master' -- 'HowTo.markdown' Grit::Git (0.44): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' log --pretty='raw' --max-count='30' 'master' -- 'HowTo.markdown' Grit::Git (0.44): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' log --pretty='raw' --max-count='30' 'master' -- 'HowTo.markdown' SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.45): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' rev-parse 'HEAD' SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.45): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' rev-parse 'HEAD' SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.45): /usr/bin/env git --git-dir='/tmp/gts-test-wiki/.git' rev-parse 'HEAD' SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Site Load (0.2ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 3)  Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user104') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john120@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:40', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '2eadc93e7b4a60e79f192f76c3246c8f5d57153c', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user104', NULL, 'john120@example.com', '2010-07-15 11:33:17') Sent mail to john120@example.com Date: Thu, 15 Jul 2010 11:33:40 +0300 From: Gitorious To: john120@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user104 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/2eadc93e7b4a60e79f192f76c3246c8f5d57153c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:40') AND (`projects`.user_id = 124)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:40', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 124, 1, 124, NULL, NULL, NULL, NULL, '2010-07-15 08:33:40', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 11) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:40') AND (`repositories`.owner_id = 124 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 11, '2010-07-15 08:33:40', 0, 1, 1, NULL, 'd1d/94f/a90e17d9266c709ced12f445e443c39c6d', NULL, NULL, NULL, 0, 124, 124, NULL, 1, '2010-07-15 08:33:40', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 124 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051650) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:40', 2, NULL, 'User', 112, 124, 757051650, '2010-07-15 08:33:40') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051650)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 11)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 11 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 11 AND `repositories`.id <> 757051650) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'd1d/94f/a90e17d9266c709ced12f445e443c39c6d' AND `repositories`.id <> 757051650) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 11)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 11 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 11 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 11, '2010-07-15 08:33:40', 1, NULL, '#408000', 1, '2010-07-15 08:33:40') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 11)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 11 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 11 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 11, '2010-07-15 08:33:40', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:40') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 124 AND `favorites`.watchable_id = 11 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:40', NULL, 'Project', 11, 124, '2010-07-15 08:33:40', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user105') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john121@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:41', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'a28206b28b3df92f7cf2af3809b5417334e8bdcf', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user105', NULL, 'john121@example.com', '2010-07-15 11:33:17') Sent mail to john121@example.com Date: Thu, 15 Jul 2010 11:33:41 +0300 From: Gitorious To: john121@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user105 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/a28206b28b3df92f7cf2af3809b5417334e8bdcf Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:41') AND (`projects`.user_id = 125)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:41', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 125, 1, 125, NULL, NULL, NULL, NULL, '2010-07-15 08:33:41', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 12) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:41') AND (`repositories`.owner_id = 125 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 12, '2010-07-15 08:33:41', 0, 1, 1, NULL, 'ac6/d19/1f9b186a4ef8d7ceaf7005506879242e8c', NULL, NULL, NULL, 0, 125, 125, NULL, 1, '2010-07-15 08:33:41', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 125 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051651) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:41', 2, NULL, 'User', 112, 125, 757051651, '2010-07-15 08:33:41') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051651)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 12)  Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 12 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 12 AND `repositories`.id <> 757051651) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'ac6/d19/1f9b186a4ef8d7ceaf7005506879242e8c' AND `repositories`.id <> 757051651) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 12)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 12 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 12 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 12, '2010-07-15 08:33:41', 1, NULL, '#408000', 1, '2010-07-15 08:33:41') Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 12)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 12 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 12 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 12, '2010-07-15 08:33:41', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:41') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 125 AND `favorites`.watchable_id = 12 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:41', NULL, 'Project', 12, 125, '2010-07-15 08:33:41', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:41', NULL, NULL, 1, 52342, 1, 'Repository', NULL, '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:41', NULL, '', 1, 0, 1, 'Repository', '', '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (action = 17 AND target_id = 1 AND target_type = 'Repository' AND user_id = 1 and data = 'HomePage' AND created_at > '2010-07-15 07:33:41') AND (`events`.project_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:41', NULL, '2010-07-15 11:33:41', 1, 17, 1, 'Repository', 'HomePage', '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (action = 17 AND target_id = 1 AND target_type = 'Repository' AND user_id = 1 and data = 'HomePage' AND created_at > '2010-07-15 07:33:41') AND (`events`.project_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Update (0.2ms) UPDATE `events` SET `created_at` = '2010-07-15 06:33:41', `updated_at` = '2010-07-15 08:33:41' WHERE `id` = 67 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (action = 17 AND target_id = 1 AND target_type = 'Repository' AND user_id = 1 and data = 'HomePage' AND created_at > '2010-07-15 07:33:41') AND (`events`.project_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:41', NULL, 'a body', 1, 5, 1, 'Repository', 'somedata', '2010-07-15 08:33:41') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 68)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:41', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:41') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:41') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011406010, 0, 0, '2010-07-15 08:33:41', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:41', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:41') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:41', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011406010) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 112, `updated_at` = '2010-07-15 08:33:41' WHERE `id` = 1011406010 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:41', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:41') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:41') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011406011, 0, 0, '2010-07-15 08:33:41', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:41', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:41') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:41', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011406011) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 112, `updated_at` = '2010-07-15 08:33:41' WHERE `id` = 1011406011 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'foo') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051622)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 757051622))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 757051622 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 757051622) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 757051622) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 757051622)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051622 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 757051622)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 757051622 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `kind` = 1, `updated_at` = '2010-07-15 08:33:41' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.1ms) UPDATE `projects` SET `merge_request_custom_states` = NULL WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (`projects`.`slug` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'foo') LIMIT 1 Project Load (0.1ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'foo') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'foo') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:41') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('foo', 0, '2010-07-15 08:33:41', NULL, NULL, 'foo project', NULL, NULL, NULL, 'my little project', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:33:41', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-gitorious-wiki' AND `repositories`.project_id = 13) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:41') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-gitorious-wiki', NULL, 13, '2010-07-15 08:33:41', 0, 1, 1, NULL, '27c/1d1/24a671f9dd9e77a0a054a3ff9cfb51e15e', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:41', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051652) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:41', 2, NULL, 'User', 112, 1, 757051652, '2010-07-15 08:33:41') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051652)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 13)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 13 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-gitorious-wiki' AND `repositories`.project_id = 13 AND `repositories`.id <> 757051652) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '27c/1d1/24a671f9dd9e77a0a054a3ff9cfb51e15e' AND `repositories`.id <> 757051652) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 13)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 13 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 13 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 13, '2010-07-15 08:33:41', 1, NULL, '#408000', 1, '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 13)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 13 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 13 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 13, '2010-07-15 08:33:41', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:41') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 13 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:41', NULL, 'Project', 13, 1, '2010-07-15 08:33:41', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'foo') LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051622)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`id` = 757051622) AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'asd asd') LIMIT 1 Project Load (0.1ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'asd asd') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships`  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:41', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:33:41') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:41') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011406013, 0, 0, '2010-07-15 08:33:41', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:33:41', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:33:41') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:41', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011406013) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 112, `updated_at` = '2010-07-15 08:33:41' WHERE `id` = 1011406013 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships`  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'foo') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:41') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('foo', 0, '2010-07-15 08:33:41', NULL, NULL, 'foo project', NULL, NULL, NULL, 'my little project', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:33:41', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-gitorious-wiki' AND `repositories`.project_id = 14) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:41') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-gitorious-wiki', NULL, 14, '2010-07-15 08:33:41', 0, 1, 1, NULL, '474/64e/57145dea24aca52897b60b10216e3a8b86', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:41', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051653) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:41', 2, NULL, 'User', 112, 1, 757051653, '2010-07-15 08:33:41') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051653)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 14)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 14 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-gitorious-wiki' AND `repositories`.project_id = 14 AND `repositories`.id <> 757051653) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '474/64e/57145dea24aca52897b60b10216e3a8b86' AND `repositories`.id <> 757051653) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 14)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 14 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 14 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 14, '2010-07-15 08:33:41', 1, NULL, '#408000', 1, '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 14)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 14 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 14 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 14, '2010-07-15 08:33:41', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:41') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 14 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:41', NULL, 'Project', 14, 1, '2010-07-15 08:33:41', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE (`users`.`id` = 1) AND ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 14)) LIMIT 1 SQL (11.0ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'teams') LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'dashboard') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user106') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john122@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:41', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'cca878063d7438c66d9de478cdecf53d455b0dc0', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user106', NULL, 'john122@example.com', '2010-07-15 11:33:17') Sent mail to john122@example.com Date: Thu, 15 Jul 2010 11:33:41 +0300 From: Gitorious To: john122@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user106 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/cca878063d7438c66d9de478cdecf53d455b0dc0 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:41') AND (`projects`.user_id = 126)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:41', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 126, 1, 126, NULL, NULL, NULL, NULL, '2010-07-15 08:33:41', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 15) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:41') AND (`repositories`.owner_id = 126 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 15, '2010-07-15 08:33:41', 0, 1, 1, NULL, '9d6/710/9eea5de83970f58e405d0f69c10b612d17', NULL, NULL, NULL, 0, 126, 126, NULL, 1, '2010-07-15 08:33:41', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 126 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051654) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:41', 2, NULL, 'User', 112, 126, 757051654, '2010-07-15 08:33:41') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051654)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 15)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 15 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 15 AND `repositories`.id <> 757051654) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '9d6/710/9eea5de83970f58e405d0f69c10b612d17' AND `repositories`.id <> 757051654) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 15)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 15 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 15 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 15, '2010-07-15 08:33:41', 1, NULL, '#408000', 1, '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 15)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 15 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 15 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 15, '2010-07-15 08:33:41', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:41') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 126 AND `favorites`.watchable_id = 15 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:41', NULL, 'Project', 15, 126, '2010-07-15 08:33:41', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 15)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 15)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 15) ORDER BY id asc SQL (13.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'my-new-project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:41') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('my-new-project', 0, '2010-07-15 08:33:41', NULL, NULL, 'foo project', NULL, NULL, NULL, 'my little project', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:33:41', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'my-new-project-gitorious-wiki' AND `repositories`.project_id = 16) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:41') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('my-new-project-gitorious-wiki', NULL, 16, '2010-07-15 08:33:41', 0, 1, 1, NULL, '143/36a/71d581cf8e0361bd39d5d30276407dd4d1', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:41', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051655) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:41', 2, NULL, 'User', 112, 1, 757051655, '2010-07-15 08:33:41') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051655)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 16)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 16 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'my-new-project-gitorious-wiki' AND `repositories`.project_id = 16 AND `repositories`.id <> 757051655) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '143/36a/71d581cf8e0361bd39d5d30276407dd4d1' AND `repositories`.id <> 757051655) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 16)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 16 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 16 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 16, '2010-07-15 08:33:41', 1, NULL, '#408000', 1, '2010-07-15 08:33:41') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 16)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 16 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 16 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 16, '2010-07-15 08:33:41', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:41') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 16 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:41', NULL, 'Project', 16, 1, '2010-07-15 08:33:41', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`id` = 757051655) AND (`repositories`.project_id = 16 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'asdasdasd') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:42', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:42') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:42', 0, 4, 1, NULL, '4c2/fa3/07def51fad1ccdeae4101a72c3e9eac574', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:42', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051656) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'Group', 112, 369376230, 757051656, '2010-07-15 08:33:42') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051656)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 72)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 72 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (1.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:42', 135138680, 369376230, 1, '2010-07-15 08:33:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 2 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:42', 820312697, 369376230, 2, '2010-07-15 08:33:42') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 1) AND ((`memberships`.group_id = 369376230)) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:42', 820312697, 369376230, 1, '2010-07-15 08:33:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 1) AND ((`memberships`.group_id = 369376230)) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 2) AND ((`memberships`.group_id = 369376230)) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 2 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:42', 820312697, 369376230, 2, '2010-07-15 08:33:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'thejoker') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john123@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:42', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '34ca5bf47cdc21fef872dac7e78a95f5bc621085', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'thejoker', NULL, 'john123@example.com', '2010-07-15 11:33:17') Sent mail to john123@example.com Date: Thu, 15 Jul 2010 11:33:42 +0300 From: Gitorious To: john123@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is thejoker Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/34ca5bf47cdc21fef872dac7e78a95f5bc621085 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:42') AND (`projects`.user_id = 127)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:42', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 127, 1, 127, NULL, NULL, NULL, NULL, '2010-07-15 08:33:42', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 17) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 127 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 17, '2010-07-15 08:33:42', 0, 1, 1, NULL, '961/9e8/5a7bc1d401d8eef5367128806d4a4cd6fd', NULL, NULL, NULL, 0, 127, 127, NULL, 1, '2010-07-15 08:33:42', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 127 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051657) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'User', 112, 127, 757051657, '2010-07-15 08:33:42') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051657)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 17)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 17 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 17 AND `repositories`.id <> 757051657) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '961/9e8/5a7bc1d401d8eef5367128806d4a4cd6fd' AND `repositories`.id <> 757051657) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 17)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 17 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 17 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 17, '2010-07-15 08:33:42', 1, NULL, '#408000', 1, '2010-07-15 08:33:42') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 17)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 17 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 17 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 17, '2010-07-15 08:33:42', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:42') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 127 AND `favorites`.watchable_id = 17 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:42', NULL, 'Project', 17, 127, '2010-07-15 08:33:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'thework' AND `repositories`.project_id = 17) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 127 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('thework', NULL, 17, '2010-07-15 08:33:42', 0, 0, 1, NULL, '41a/43b/af33b29201d1d4b4c5395a5aadfb5e64b9', NULL, 'halloween', NULL, 0, 127, 127, NULL, 1, '2010-07-15 08:33:42', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 127 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051658) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'User', 112, 127, 757051658, '2010-07-15 08:33:42') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051658)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 17)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(17, '2010-07-15 08:33:42', NULL, NULL, 757051658, 19, 127, 'Repository', NULL, '2010-07-15 08:33:42') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 17)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 17))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051658))  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 17 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 127))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051658 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 127))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 127 AND `favorites`.watchable_id = 757051658 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:42', NULL, 'Repository', 757051658, 127, '2010-07-15 08:33:42', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo-hackers') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('foo-hackers', NULL, '2010-07-15 08:33:42', NULL, NULL, NULL, NULL, 127, '2010-07-15 08:33:42') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'group-repo' AND `repositories`.project_id = 17) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 127 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('group-repo', NULL, 17, '2010-07-15 08:33:42', 0, 0, 1, NULL, '177/8c3/852b6c6b3b2284537852df2bbad0828d09', NULL, NULL, NULL, 0, 764238934, 127, NULL, 1, '2010-07-15 08:33:42', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 764238934 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051659) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'Group', 112, 764238934, 757051659, '2010-07-15 08:33:42') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051659)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 17)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(17, '2010-07-15 08:33:42', NULL, NULL, 757051659, 19, 127, 'Repository', NULL, '2010-07-15 08:33:42') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 17)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 17))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051659))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 17 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 127))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051659 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 127))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 127 AND `favorites`.watchable_id = 757051659 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:42', NULL, 'Repository', 757051659, 127, '2010-07-15 08:33:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_757051658' AND `repositories`.project_id = 17) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 127 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_757051658', NULL, 17, '2010-07-15 08:33:42', 0, 4, 1, NULL, 'b26/9e1/44d2733ca36ce24bce6ff7571ecf30fe48', NULL, NULL, NULL, 0, 127, 127, 757051658, 1, '2010-07-15 08:33:42', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 127 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051660) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'User', 112, 127, 757051660, '2010-07-15 08:33:42') Repository Load (142.9ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051660)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 17)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (1.1ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.project_id=17 AND (repositories.name LIKE '%hackers%' OR repositories.description LIKE '%hackers%' OR groups.name LIKE '%hackers%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.project_id=17 AND (repositories.name LIKE '%hackers%' OR repositories.description LIKE '%hackers%' OR owners.login LIKE '%hackers%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'thejoker') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john124@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:42', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'f1f6e7fdc064365722e1ec09302aefa7f52bc40c', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'thejoker', NULL, 'john124@example.com', '2010-07-15 11:33:17') Sent mail to john124@example.com Date: Thu, 15 Jul 2010 11:33:42 +0300 From: Gitorious To: john124@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is thejoker Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/f1f6e7fdc064365722e1ec09302aefa7f52bc40c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:42') AND (`projects`.user_id = 128)  Project Create (0.3ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:42', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 128, 1, 128, NULL, NULL, NULL, NULL, '2010-07-15 08:33:42', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 18) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 128 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 18, '2010-07-15 08:33:42', 0, 1, 1, NULL, 'b95/98d/463aded0e8d21b3b3da6ff517813838d83', NULL, NULL, NULL, 0, 128, 128, NULL, 1, '2010-07-15 08:33:42', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 128 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051661) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'User', 112, 128, 757051661, '2010-07-15 08:33:42') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051661)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 18)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 18 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 18 AND `repositories`.id <> 757051661) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b95/98d/463aded0e8d21b3b3da6ff517813838d83' AND `repositories`.id <> 757051661) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 18)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 18 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 18 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 18, '2010-07-15 08:33:42', 1, NULL, '#408000', 1, '2010-07-15 08:33:42') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 18)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 18 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 18 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 18, '2010-07-15 08:33:42', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:42') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 128 AND `favorites`.watchable_id = 18 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:42', NULL, 'Project', 18, 128, '2010-07-15 08:33:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'thework' AND `repositories`.project_id = 18) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 128 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('thework', NULL, 18, '2010-07-15 08:33:42', 0, 0, 1, NULL, '185/6e4/e1b81f951c137a6bcec83c661f5af0bc63', NULL, 'halloween', NULL, 0, 128, 128, NULL, 1, '2010-07-15 08:33:42', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 128 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051662) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'User', 112, 128, 757051662, '2010-07-15 08:33:42') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051662)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 18)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(18, '2010-07-15 08:33:42', NULL, NULL, 757051662, 19, 128, 'Repository', NULL, '2010-07-15 08:33:42') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 18)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 18))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051662))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 18 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 128))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051662 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 128))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 128 AND `favorites`.watchable_id = 757051662 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:42', NULL, 'Repository', 757051662, 128, '2010-07-15 08:33:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo-hackers') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('foo-hackers', NULL, '2010-07-15 08:33:42', NULL, NULL, NULL, NULL, 128, '2010-07-15 08:33:42') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'group-repo' AND `repositories`.project_id = 18) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 128 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('group-repo', NULL, 18, '2010-07-15 08:33:42', 0, 0, 1, NULL, '598/c43/2f1ac213753656eb88d0a104bdb9032e79', NULL, NULL, NULL, 0, 764238935, 128, NULL, 1, '2010-07-15 08:33:42', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 764238935 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051663) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'Group', 112, 764238935, 757051663, '2010-07-15 08:33:42') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051663)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 18)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(18, '2010-07-15 08:33:42', NULL, NULL, 757051663, 19, 128, 'Repository', NULL, '2010-07-15 08:33:42') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 18)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 18))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051663))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 18 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 128))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051663 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 128))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 128 AND `favorites`.watchable_id = 757051663 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:42', NULL, 'Repository', 757051663, 128, '2010-07-15 08:33:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_757051662' AND `repositories`.project_id = 18) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 128 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_757051662', NULL, 18, '2010-07-15 08:33:42', 0, 4, 1, NULL, 'ddf/f23/5faefe398d4acf5305b882041257aae8ac', NULL, NULL, NULL, 0, 128, 128, 757051662, 1, '2010-07-15 08:33:42', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 128 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051664) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'User', 112, 128, 757051664, '2010-07-15 08:33:42') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051664)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 18)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.9ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.project_id=18 AND (repositories.name LIKE '%joker%' OR repositories.description LIKE '%joker%' OR groups.name LIKE '%joker%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.project_id=18 AND (repositories.name LIKE '%joker%' OR repositories.description LIKE '%joker%' OR owners.login LIKE '%joker%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (7.7ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'thejoker') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john125@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:42', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'e1b22a5f528c71f5c89dddd46ba14e784a0b0b5b', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'thejoker', NULL, 'john125@example.com', '2010-07-15 11:33:17') Sent mail to john125@example.com Date: Thu, 15 Jul 2010 11:33:42 +0300 From: Gitorious To: john125@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is thejoker Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/e1b22a5f528c71f5c89dddd46ba14e784a0b0b5b Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:42') AND (`projects`.user_id = 129)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:42', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 129, 1, 129, NULL, NULL, NULL, NULL, '2010-07-15 08:33:42', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 19) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:42') AND (`repositories`.owner_id = 129 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 19, '2010-07-15 08:33:42', 0, 1, 1, NULL, '58f/fc0/abc031bae2d5777ed581bfc0727d0083f7', NULL, NULL, NULL, 0, 129, 129, NULL, 1, '2010-07-15 08:33:42', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 129 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051665) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:42', 2, NULL, 'User', 112, 129, 757051665, '2010-07-15 08:33:42') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051665)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 19)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 19 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 19 AND `repositories`.id <> 757051665) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '58f/fc0/abc031bae2d5777ed581bfc0727d0083f7' AND `repositories`.id <> 757051665) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 19)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 19 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 19 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 19, '2010-07-15 08:33:43', 1, NULL, '#408000', 1, '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 19)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 19 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 19 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 19, '2010-07-15 08:33:43', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:43') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 129 AND `favorites`.watchable_id = 19 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:43', NULL, 'Project', 19, 129, '2010-07-15 08:33:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'thework' AND `repositories`.project_id = 19) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 129 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('thework', NULL, 19, '2010-07-15 08:33:43', 0, 0, 1, NULL, 'd55/c3a/5f8f30a8688844d5c06a94bc9e9003b4e8', NULL, 'halloween', NULL, 0, 129, 129, NULL, 1, '2010-07-15 08:33:43', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 129 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051666) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'User', 112, 129, 757051666, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051666)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 19)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(19, '2010-07-15 08:33:43', NULL, NULL, 757051666, 19, 129, 'Repository', NULL, '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 19)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 19))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051666))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 19 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 129))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051666 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 129))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 129 AND `favorites`.watchable_id = 757051666 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:43', NULL, 'Repository', 757051666, 129, '2010-07-15 08:33:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo-hackers') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('foo-hackers', NULL, '2010-07-15 08:33:43', NULL, NULL, NULL, NULL, 129, '2010-07-15 08:33:43') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'group-repo' AND `repositories`.project_id = 19) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 129 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('group-repo', NULL, 19, '2010-07-15 08:33:43', 0, 0, 1, NULL, '421/1d2/aec7a541fa5f12e0cacb720165bff0dc15', NULL, NULL, NULL, 0, 764238936, 129, NULL, 1, '2010-07-15 08:33:43', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 764238936 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051667) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'Group', 112, 764238936, 757051667, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051667)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 19)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(19, '2010-07-15 08:33:43', NULL, NULL, 757051667, 19, 129, 'Repository', NULL, '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 19)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 19))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051667))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 19 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 129))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051667 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 129))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 129 AND `favorites`.watchable_id = 757051667 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:43', NULL, 'Repository', 757051667, 129, '2010-07-15 08:33:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_757051666' AND `repositories`.project_id = 19) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 129 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_757051666', NULL, 19, '2010-07-15 08:33:43', 0, 4, 1, NULL, 'f32/b8c/74c615816383ff786ecacd9d2ff084fe71', NULL, NULL, NULL, 0, 129, 129, 757051666, 1, '2010-07-15 08:33:43', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 129 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051668) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'User', 112, 129, 757051668, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051668)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 19)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.9ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.project_id=19 AND (repositories.name LIKE '%work%' OR repositories.description LIKE '%work%' OR groups.name LIKE '%work%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.project_id=19 AND (repositories.name LIKE '%work%' OR repositories.description LIKE '%work%' OR owners.login LIKE '%work%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'thejoker') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john126@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:43', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '5f705166211fe55410dbb6ee7919a0eaf5c99c1c', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'thejoker', NULL, 'john126@example.com', '2010-07-15 11:33:17') Sent mail to john126@example.com Date: Thu, 15 Jul 2010 11:33:43 +0300 From: Gitorious To: john126@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is thejoker Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/5f705166211fe55410dbb6ee7919a0eaf5c99c1c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:43') AND (`projects`.user_id = 130)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:43', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 130, 1, 130, NULL, NULL, NULL, NULL, '2010-07-15 08:33:43', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 20) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 130 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 20, '2010-07-15 08:33:43', 0, 1, 1, NULL, '4e5/568/4fb57dbeecc5909f8103eebcfc1fde6183', NULL, NULL, NULL, 0, 130, 130, NULL, 1, '2010-07-15 08:33:43', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 130 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051669) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'User', 112, 130, 757051669, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051669)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 20)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 20 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 20 AND `repositories`.id <> 757051669) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '4e5/568/4fb57dbeecc5909f8103eebcfc1fde6183' AND `repositories`.id <> 757051669) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 20)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 20 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 20 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 20, '2010-07-15 08:33:43', 1, NULL, '#408000', 1, '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 20)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 20 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 20 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 20, '2010-07-15 08:33:43', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:43') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 130 AND `favorites`.watchable_id = 20 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:43', NULL, 'Project', 20, 130, '2010-07-15 08:33:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'thework' AND `repositories`.project_id = 20) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 130 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('thework', NULL, 20, '2010-07-15 08:33:43', 0, 0, 1, NULL, '63f/ffc/6f0cbd56a8541738a41be1f5748ab47944', NULL, 'halloween', NULL, 0, 130, 130, NULL, 1, '2010-07-15 08:33:43', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 130 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051670) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'User', 112, 130, 757051670, '2010-07-15 08:33:43') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051670)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 20)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(20, '2010-07-15 08:33:43', NULL, NULL, 757051670, 19, 130, 'Repository', NULL, '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 20)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 20))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051670))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 20 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 130))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051670 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 130))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 130 AND `favorites`.watchable_id = 757051670 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:43', NULL, 'Repository', 757051670, 130, '2010-07-15 08:33:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo-hackers') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('foo-hackers', NULL, '2010-07-15 08:33:43', NULL, NULL, NULL, NULL, 130, '2010-07-15 08:33:43') [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'group-repo' AND `repositories`.project_id = 20) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 130 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('group-repo', NULL, 20, '2010-07-15 08:33:43', 0, 0, 1, NULL, '4bb/fce/5a8e27bc25e80b2c777a608ff085e196da', NULL, NULL, NULL, 0, 764238937, 130, NULL, 1, '2010-07-15 08:33:43', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 764238937 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051671) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'Group', 112, 764238937, 757051671, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051671)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 20)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(20, '2010-07-15 08:33:43', NULL, NULL, 757051671, 19, 130, 'Repository', NULL, '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 20)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 20))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051671))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 20 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 130))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051671 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 130))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 130 AND `favorites`.watchable_id = 757051671 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:43', NULL, 'Repository', 757051671, 130, '2010-07-15 08:33:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_757051670' AND `repositories`.project_id = 20) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 130 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_757051670', NULL, 20, '2010-07-15 08:33:43', 0, 4, 1, NULL, '42b/f71/105f00f4253a8bb36b139d1a47788d70ba', NULL, NULL, NULL, 0, 130, 130, 757051670, 1, '2010-07-15 08:33:43', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 130 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051672) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'User', 112, 130, 757051672, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051672)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 20)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.9ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.project_id=20 AND (repositories.name LIKE '%ween%' OR repositories.description LIKE '%ween%' OR groups.name LIKE '%ween%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.project_id=20 AND (repositories.name LIKE '%ween%' OR repositories.description LIKE '%ween%' OR owners.login LIKE '%ween%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (6.8ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'thejoker') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john127@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:43', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '948131b349eb7ba47cb3a2c8f0b5937f32310fc4', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'thejoker', NULL, 'john127@example.com', '2010-07-15 11:33:17') Sent mail to john127@example.com Date: Thu, 15 Jul 2010 11:33:43 +0300 From: Gitorious To: john127@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is thejoker Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/948131b349eb7ba47cb3a2c8f0b5937f32310fc4 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:43') AND (`projects`.user_id = 131)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:43', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 131, 1, 131, NULL, NULL, NULL, NULL, '2010-07-15 08:33:43', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 21) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 131 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 21, '2010-07-15 08:33:43', 0, 1, 1, NULL, '6b7/fa5/4fd3d79805c6f81219a958a32799fadd39', NULL, NULL, NULL, 0, 131, 131, NULL, 1, '2010-07-15 08:33:43', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 131 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051673) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'User', 112, 131, 757051673, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051673)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 21)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 21 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 21 AND `repositories`.id <> 757051673) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '6b7/fa5/4fd3d79805c6f81219a958a32799fadd39' AND `repositories`.id <> 757051673) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 21)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 21 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 21 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 21, '2010-07-15 08:33:43', 1, NULL, '#408000', 1, '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 21)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 21 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 21 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 21, '2010-07-15 08:33:43', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:43') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 131 AND `favorites`.watchable_id = 21 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:43', NULL, 'Project', 21, 131, '2010-07-15 08:33:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'thework' AND `repositories`.project_id = 21) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 131 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('thework', NULL, 21, '2010-07-15 08:33:43', 0, 0, 1, NULL, 'df1/5e9/fd2ccaa9b96e4837cefaae28f3f5b3a35e', NULL, 'halloween', NULL, 0, 131, 131, NULL, 1, '2010-07-15 08:33:43', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 131 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051674) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'User', 112, 131, 757051674, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051674)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 21)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(21, '2010-07-15 08:33:43', NULL, NULL, 757051674, 19, 131, 'Repository', NULL, '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 21)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 21))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051674))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 21 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 131))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051674 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 131))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 131 AND `favorites`.watchable_id = 757051674 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:43', NULL, 'Repository', 757051674, 131, '2010-07-15 08:33:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo-hackers') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('foo-hackers', NULL, '2010-07-15 08:33:43', NULL, NULL, NULL, NULL, 131, '2010-07-15 08:33:43') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'group-repo' AND `repositories`.project_id = 21) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 131 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('group-repo', NULL, 21, '2010-07-15 08:33:43', 0, 0, 1, NULL, 'c74/34f/ca45a0f0c3900d8d81a763de679459e827', NULL, NULL, NULL, 0, 764238938, 131, NULL, 1, '2010-07-15 08:33:43', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 764238938 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051675) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'Group', 112, 764238938, 757051675, '2010-07-15 08:33:43') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051675)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 21)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(21, '2010-07-15 08:33:43', NULL, NULL, 757051675, 19, 131, 'Repository', NULL, '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 21)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 21))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051675))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 21 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 131))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051675 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 131))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 131 AND `favorites`.watchable_id = 757051675 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:43', NULL, 'Repository', 757051675, 131, '2010-07-15 08:33:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_757051674' AND `repositories`.project_id = 21) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 131 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_757051674', NULL, 21, '2010-07-15 08:33:43', 0, 4, 1, NULL, '2f6/1da/2cdba43327ab2cb6c4ecda63bd0a521a4a', NULL, NULL, NULL, 0, 131, 131, 757051674, 1, '2010-07-15 08:33:43', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 131 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051676) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'User', 112, 131, 757051676, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051676)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 21)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.9ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.project_id=21 AND (repositories.name LIKE '%track%' OR repositories.description LIKE '%track%' OR groups.name LIKE '%track%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.project_id=21 AND (repositories.name LIKE '%track%' OR repositories.description LIKE '%track%' OR owners.login LIKE '%track%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (5.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects`  SQL (0.1ms) SAVEPOINT active_record_1 Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'Project')  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.project_id = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Comment')  Comment Destroy (0.4ms) DELETE FROM `comments` WHERE `id` = 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Comment')  Comment Destroy (0.2ms) DELETE FROM `comments` WHERE `id` = 2 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 4 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 4 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 1 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 1 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916935 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:43', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 1))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 1) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:43') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:43', 0, 4, 1, NULL, '563/943/832b9d3f207925995756ece68f371211f7', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:43', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051677) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:43', 2, NULL, 'Group', 112, 369376230, 757051677, '2010-07-15 08:33:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051677)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Cloner Load (0.3ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 83)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 83 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 1 Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:43', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:43') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 84)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 84 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051622)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 757051622))  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 757051622 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 757051622) ORDER BY status, id desc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 757051622) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 757051622)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051622 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 757051622)  Repository Destroy (0.3ms) DELETE FROM `repositories` WHERE `id` = 757051622 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.project_id = 1) ORDER BY created_at asc Project Destroy (0.1ms) DELETE FROM `projects` WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Tagging Load (0.1ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 2 AND `taggings`.taggable_type = 'Project')  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.project_id = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 2 AND (kind != 1)) ORDER BY repositories.created_at asc Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405954 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.2ms) DELETE FROM `committerships` WHERE `id` = 1011405954 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:33:44', NULL, NULL, 3, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:44') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 3))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 3 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 3) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 3) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 3)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 85)  Event Destroy (0.2ms) DELETE FROM `events` WHERE `id` = 85 Hook Load (0.2ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 3)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 3 Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 4 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 4)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 4))  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 4 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 4) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 4) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 4)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 4 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 4)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 4 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 2 AND (kind = 1)) LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.project_id = 2) ORDER BY created_at asc Project Destroy (0.1ms) DELETE FROM `projects` WHERE `id` = 2 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Tagging Load (0.1ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 3 AND `taggings`.taggable_type = 'Project')  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Project')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.project_id = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind != 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind = 1)) LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.project_id = 3) ORDER BY created_at asc Project Destroy (0.1ms) DELETE FROM `projects` WHERE `id` = 3 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'wifebeater0') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:44') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('wifebeater0', 0, '2010-07-15 08:33:44', NULL, NULL, 'foo project', NULL, NULL, NULL, 'my little project', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:33:44', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater0-gitorious-wiki' AND `repositories`.project_id = 22) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:44') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater0-gitorious-wiki', NULL, 22, '2010-07-15 08:33:44', 0, 1, 1, NULL, '724/62c/f537f67f71d05aed8536b9da4dd00d29c3', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:44', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051678) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:44', 2, NULL, 'User', 112, 1, 757051678, '2010-07-15 08:33:44') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051678)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 22)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 22 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater0-gitorious-wiki' AND `repositories`.project_id = 22 AND `repositories`.id <> 757051678) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '724/62c/f537f67f71d05aed8536b9da4dd00d29c3' AND `repositories`.id <> 757051678) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 22)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 22 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 22 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 22, '2010-07-15 08:33:44', 1, NULL, '#408000', 1, '2010-07-15 08:33:44') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 22)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 22 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 22 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 22, '2010-07-15 08:33:44', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:44') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 22 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:44', NULL, 'Project', 22, 1, '2010-07-15 08:33:44', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'wifebeater1') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:44') AND (`projects`.user_id = 1)  Project Create (0.3ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('wifebeater1', 0, '2010-07-15 08:33:44', NULL, NULL, 'foo project', NULL, NULL, NULL, 'my little project', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:33:44', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater1-gitorious-wiki' AND `repositories`.project_id = 23) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:44') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater1-gitorious-wiki', NULL, 23, '2010-07-15 08:33:44', 0, 1, 1, NULL, 'bb0/b57/f49e68c4202a62ac2532c981602814340e', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:44', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051679) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:44', 2, NULL, 'User', 112, 1, 757051679, '2010-07-15 08:33:44') Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051679)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 23)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 23 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater1-gitorious-wiki' AND `repositories`.project_id = 23 AND `repositories`.id <> 757051679) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'bb0/b57/f49e68c4202a62ac2532c981602814340e' AND `repositories`.id <> 757051679) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 23)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 23 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 23 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 23, '2010-07-15 08:33:44', 1, NULL, '#408000', 1, '2010-07-15 08:33:44') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 23)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 23 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 23 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 23, '2010-07-15 08:33:44', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:44') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 23 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:44', NULL, 'Project', 23, 1, '2010-07-15 08:33:44', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'wifebeater2') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:44') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('wifebeater2', 0, '2010-07-15 08:33:44', NULL, NULL, 'foo project', NULL, NULL, NULL, 'my little project', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:33:44', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater2-gitorious-wiki' AND `repositories`.project_id = 24) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:44') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater2-gitorious-wiki', NULL, 24, '2010-07-15 08:33:44', 0, 1, 1, NULL, '5eb/cf1/13ecbb73c02d2d05ccb9d71dc5361e45e7', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:44', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051680) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:44', 2, NULL, 'User', 112, 1, 757051680, '2010-07-15 08:33:44') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051680)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 24)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 24 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater2-gitorious-wiki' AND `repositories`.project_id = 24 AND `repositories`.id <> 757051680) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '5eb/cf1/13ecbb73c02d2d05ccb9d71dc5361e45e7' AND `repositories`.id <> 757051680) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 24)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 24 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 24 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 24, '2010-07-15 08:33:44', 1, NULL, '#408000', 1, '2010-07-15 08:33:44') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 24)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 24 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 24 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 24, '2010-07-15 08:33:44', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:44') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 24 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:44', NULL, 'Project', 24, 1, '2010-07-15 08:33:44', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'wifebeater3') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:44') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('wifebeater3', 0, '2010-07-15 08:33:44', NULL, NULL, 'foo project', NULL, NULL, NULL, 'my little project', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:33:44', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater3-gitorious-wiki' AND `repositories`.project_id = 25) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:44') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater3-gitorious-wiki', NULL, 25, '2010-07-15 08:33:44', 0, 1, 1, NULL, 'a91/435/393bea73ccd4e1d1b359a4b664059df1eb', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:44', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051681) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:44', 2, NULL, 'User', 112, 1, 757051681, '2010-07-15 08:33:44') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051681)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 25)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 25 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater3-gitorious-wiki' AND `repositories`.project_id = 25 AND `repositories`.id <> 757051681) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'a91/435/393bea73ccd4e1d1b359a4b664059df1eb' AND `repositories`.id <> 757051681) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 25)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 25 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 25 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 25, '2010-07-15 08:33:44', 1, NULL, '#408000', 1, '2010-07-15 08:33:44') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 25)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 25 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 25 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 25, '2010-07-15 08:33:44', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:44') Favorite Load (0.4ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 25 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (9.0ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:44', NULL, 'Project', 25, 1, '2010-07-15 08:33:44', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'wifebeater4') LIMIT 1 SQL (0.4ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:44') AND (`projects`.user_id = 1)  Project Create (0.3ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('wifebeater4', 0, '2010-07-15 08:33:44', NULL, NULL, 'foo project', NULL, NULL, NULL, 'my little project', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:33:44', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater4-gitorious-wiki' AND `repositories`.project_id = 26) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:44') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater4-gitorious-wiki', NULL, 26, '2010-07-15 08:33:44', 0, 1, 1, NULL, 'c3c/917/f65ce3a136d5bd260591c5637cf0945f4b', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:44', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051682) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:44', 2, NULL, 'User', 112, 1, 757051682, '2010-07-15 08:33:44') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051682)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 26)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 26 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater4-gitorious-wiki' AND `repositories`.project_id = 26 AND `repositories`.id <> 757051682) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c3c/917/f65ce3a136d5bd260591c5637cf0945f4b' AND `repositories`.id <> 757051682) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 26)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 26 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 26 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 26, '2010-07-15 08:33:44', 1, NULL, '#408000', 1, '2010-07-15 08:33:44') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 26)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 26 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 26 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 26, '2010-07-15 08:33:44', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:44') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 26 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:44', NULL, 'Project', 26, 1, '2010-07-15 08:33:44', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'wtf-are-you-doing-bro') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:44') AND (`projects`.user_id = 1)  SQL (0.1ms) SELECT max(`projects`.created_at) AS max_created_at FROM `projects` WHERE (`projects`.`user_id` = 1)  SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  SQL (6.3ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Create (0.2ms) INSERT INTO `hooks` (`failed_request_count`, `updated_at`, `url`, `user_id`, `successful_request_count`, `repository_id`, `last_response`, `created_at`) VALUES(0, '2010-07-15 08:33:44', 'http://postbin.org/', 2, 0, 1, NULL, '2010-07-15 08:33:44') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.2ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `disk_usage` = 0, `last_pushed_at` = '2010-07-15 08:33:44', `updated_at` = '2010-07-15 08:33:44', `push_count_since_gc` = 1 WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`hashed_path` = 'c2a/943/aad718337973577b555383db50ae03e01c') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.04): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='format:%H\ %cn \<%ce\>\ %at\ %s' -s '2d3acf90f35989df8f262dc50beadc4ee3ae1560..ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a' User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.3ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@johansorensen.com') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:44', NULL, 'foo_branch changed from a9934c1 to 33f746e', 1, 18, 1, 'Repository', 'foo_branch', '2010-07-15 08:33:44') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:44', 'john@nowhere.com', 'This is really nice', 86, 5, NULL, 'Event', '33f746e21ef5122511a5a69f381bfdf017f4d66c', '2009-02-05 13:55:15') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:44', 'john@nowhere.com', 'This is really nice', 86, 5, NULL, 'Event', '33f746e21ef5122511a5a69f381bfdf017f4d66c', '2009-02-05 13:55:15') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:44', 'john@nowhere.com', 'This is really nice', 86, 5, NULL, 'Event', '33f746e21ef5122511a5a69f381bfdf017f4d66c', '2009-02-05 13:55:15') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) Mocha::ExpectationError: unexpected invocation: Time.now() satisfied expectations: - allowed any number of times, already invoked once: #.show(any_parameters) - expected exactly once, already invoked once: #.log_event(any_parameters) - allowed any number of times, already invoked once: #.git(any_parameters) - expected exactly once, already invoked once: Time.now(any_parameters) : ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.0ms) SAVEPOINT active_record_1 Email Update (0.2ms) UPDATE `emails` SET `address` = 'john@nowhere.com', `updated_at` = '2010-07-15 08:33:44' WHERE `id` = 911544726 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`hashed_path` = 'c2a/943/aad718337973577b555383db50ae03e01c') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `disk_usage` = 0, `last_pushed_at` = '2010-07-15 08:33:44', `updated_at` = '2010-07-15 08:33:44', `push_count_since_gc` = 1 WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'e82/25e/34d992198449af670ce4a1bb75ef3c22dd') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:45') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:45', 0, 0, 1, NULL, 'e82/25e/34d992198449af670ce4a1bb75ef3c22dd', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:45', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051683) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'User', 112, 1, 757051683, '2010-07-15 08:33:45') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051683)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:45', NULL, NULL, 757051683, 19, 1, 'Repository', NULL, '2010-07-15 08:33:45') Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051683))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051683 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051683 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:45', NULL, 'Repository', 757051683, 1, '2010-07-15 08:33:45', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051683)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051683) AND (((permissions & 32)) AND (`committerships`.repository_id = 757051683))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051683) AND (((permissions & 32)) AND (`committerships`.repository_id = 757051683))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_type` = 'User' AND `committerships`.`committer_id` = 1) AND (`committerships`.repository_id = 757051683) LIMIT 1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011406044 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011406044 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051683)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051683)  Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051683) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'Group', 112, 369376230, 757051683, '2010-07-15 08:33:45') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051683)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051683) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'e82/25e/34d992198449af670ce4a1bb75ef3c22dd' AND `repositories`.id <> 757051683) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:45' WHERE `id` = 757051683 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051683)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051683) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'e82/25e/34d992198449af670ce4a1bb75ef3c22dd' AND `repositories`.id <> 757051683) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051683) AND (((permissions & 32)) AND (`committerships`.repository_id = 757051683))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 2 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:45', 820312697, 369376230, 2, '2010-07-15 08:33:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051683)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051683) AND (((permissions & 32)) AND (`committerships`.repository_id = 757051683))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (1.3ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johnnie') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john128@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:45', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '0b0dac94463ae41bfa5563cd57ff48be52361b24', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'johnnie', NULL, 'john128@example.com', '2010-07-15 11:33:17') Sent mail to john128@example.com Date: Thu, 15 Jul 2010 11:33:45 +0300 From: Gitorious To: john128@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is johnnie Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/0b0dac94463ae41bfa5563cd57ff48be52361b24 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.5ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:45') AND (`projects`.user_id = 132)  Project Create (0.3ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:45', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 132, 1, 132, NULL, NULL, NULL, NULL, '2010-07-15 08:33:45', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 27) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:45') AND (`repositories`.owner_id = 132 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 27, '2010-07-15 08:33:45', 0, 1, 1, NULL, 'aec/8e2/c4203b45334c70829e313e9a5c37ae59bf', NULL, NULL, NULL, 0, 132, 132, NULL, 1, '2010-07-15 08:33:45', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 132 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051684) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'User', 112, 132, 757051684, '2010-07-15 08:33:45') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051684)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 27)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 27 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 27 AND `repositories`.id <> 757051684) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'aec/8e2/c4203b45334c70829e313e9a5c37ae59bf' AND `repositories`.id <> 757051684) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 27)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 27 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 27 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 27, '2010-07-15 08:33:45', 1, NULL, '#408000', 1, '2010-07-15 08:33:45') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 27)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 27 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 27 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 27, '2010-07-15 08:33:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:45') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 132 AND `favorites`.watchable_id = 27 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:45', NULL, 'Project', 27, 132, '2010-07-15 08:33:45', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_7' AND `repositories`.project_id = 27) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:45') AND (`repositories`.owner_id = 132 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_7', NULL, 27, '2010-07-15 08:33:45', 0, 0, 1, NULL, '329/8f2/f22f826ab5b662bf687e57c9beaeb3ae05', NULL, NULL, NULL, 0, 27, 132, NULL, 1, '2010-07-15 08:33:45', 'Project', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 27 AND `committerships`.committer_type = 'Project' AND `committerships`.repository_id = 757051685) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'Project', 112, 27, 757051685, '2010-07-15 08:33:45') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051685)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 27)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(27, '2010-07-15 08:33:45', NULL, NULL, 757051685, 19, 132, 'Repository', NULL, '2010-07-15 08:33:45') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 27)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 27))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051685))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 27 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 132))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051685 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 132))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 132 AND `favorites`.watchable_id = 757051685 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:45', NULL, 'Repository', 757051685, 132, '2010-07-15 08:33:45', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'bill') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john129@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:45', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '1e2caaecd57ae011478bef7b20aaf72678005066', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'bill', NULL, 'john129@example.com', '2010-07-15 11:33:17') Sent mail to john129@example.com Date: Thu, 15 Jul 2010 11:33:45 +0300 From: Gitorious To: john129@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is bill Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/1e2caaecd57ae011478bef7b20aaf72678005066 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'steve') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john130@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:45', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '2579ca6e6b5e9cc72a4f4ff5564bef962d5abf8f', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'steve', NULL, 'john130@example.com', '2010-07-15 11:33:17') Sent mail to john130@example.com Date: Thu, 15 Jul 2010 11:33:45 +0300 From: Gitorious To: john130@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is steve Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/2579ca6e6b5e9cc72a4f4ff5564bef962d5abf8f Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jack') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john131@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:45', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'dc2eb22246eeacae33b0e6ec39d2fbd0c03dac9e', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jack', NULL, 'john131@example.com', '2010-07-15 11:33:17') Sent mail to john131@example.com Date: Thu, 15 Jul 2010 11:33:45 +0300 From: Gitorious To: john131@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jack Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/dc2eb22246eeacae33b0e6ec39d2fbd0c03dac9e Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'nellie') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john132@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:45', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '29b9381a3ced6f96215222c6774a80727c604cb8', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'nellie', NULL, 'john132@example.com', '2010-07-15 11:33:17') Sent mail to john132@example.com Date: Thu, 15 Jul 2010 11:33:45 +0300 From: Gitorious To: john132@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is nellie Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/29b9381a3ced6f96215222c6774a80727c604cb8 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'bills-clone' AND `repositories`.project_id = 27) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:45') AND (`repositories`.owner_id = 133 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('bills-clone', NULL, 27, '2010-07-15 08:33:45', 0, 3, 1, NULL, 'f40/f73/ffe32309ba5b341c418ed308777292fe1d', '2010-07-15 07:33:45', NULL, NULL, 0, 133, 133, 757051685, 1, '2010-07-15 08:33:45', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 133 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051686) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'User', 112, 133, 757051686, '2010-07-15 08:33:45') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051686)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 27)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 133 AND `favorites`.watchable_id = 757051686 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:45', NULL, 'Repository', 757051686, 133, '2010-07-15 08:33:45', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'steves-clone' AND `repositories`.project_id = 27) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:45') AND (`repositories`.owner_id = 134 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('steves-clone', NULL, 27, '2010-07-15 08:33:45', 0, 3, 1, NULL, 'efe/113/3f8073888b72e096d6b9335064ae672dcd', '2010-07-15 07:33:45', NULL, NULL, 0, 134, 134, 757051685, 1, '2010-07-15 08:33:45', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 134 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051687) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'User', 112, 134, 757051687, '2010-07-15 08:33:45') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051687)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 27)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 134 AND `favorites`.watchable_id = 757051687 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:45', NULL, 'Repository', 757051687, 134, '2010-07-15 08:33:45', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'jacks-clone' AND `repositories`.project_id = 27) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:45') AND (`repositories`.owner_id = 135 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('jacks-clone', NULL, 27, '2010-07-15 08:33:45', 0, 3, 1, NULL, '006/558/b365fef6a9d063698c48ee59d23ead543f', '2010-07-15 07:33:45', NULL, NULL, 0, 135, 135, 757051685, 1, '2010-07-15 08:33:45', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 135 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051688) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'User', 112, 135, 757051688, '2010-07-15 08:33:45') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051688)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 27)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 135 AND `favorites`.watchable_id = 757051688 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:45', NULL, 'Repository', 757051688, 135, '2010-07-15 08:33:45', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'nellies-clone' AND `repositories`.project_id = 27) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:45') AND (`repositories`.owner_id = 136 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('nellies-clone', NULL, 27, '2010-07-15 08:33:45', 0, 3, 1, NULL, '49b/162/7b10fd94e35c9e753f455df7e401574e0b', '2010-07-15 07:33:45', NULL, NULL, 0, 136, 136, 757051685, 1, '2010-07-15 08:33:45', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 136 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051689) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'User', 112, 136, 757051689, '2010-07-15 08:33:45') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051689)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 27)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 136 AND `favorites`.watchable_id = 757051689 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:45', NULL, 'Repository', 757051689, 136, '2010-07-15 08:33:45', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 27 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 27 AND (kind != 1))) ORDER BY last_pushed_at DESC, repositories.created_at asc, repositories.created_at asc LIMIT 2 SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johnnie') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john133@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:45', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '9bec5d73d761b30b4cb5a17ae0ae930dd112b8c9', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'johnnie', NULL, 'john133@example.com', '2010-07-15 11:33:17') Sent mail to john133@example.com Date: Thu, 15 Jul 2010 11:33:45 +0300 From: Gitorious To: john133@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is johnnie Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/9bec5d73d761b30b4cb5a17ae0ae930dd112b8c9 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:45') AND (`projects`.user_id = 137)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:45', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 137, 1, 137, NULL, NULL, NULL, NULL, '2010-07-15 08:33:45', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 28) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:45') AND (`repositories`.owner_id = 137 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 28, '2010-07-15 08:33:45', 0, 1, 1, NULL, 'f84/13c/eb427f81f4ad4d1d93dbd57c6c46cba579', NULL, NULL, NULL, 0, 137, 137, NULL, 1, '2010-07-15 08:33:45', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 137 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051690) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'User', 112, 137, 757051690, '2010-07-15 08:33:45') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051690)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 28)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 28 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 28 AND `repositories`.id <> 757051690) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'f84/13c/eb427f81f4ad4d1d93dbd57c6c46cba579' AND `repositories`.id <> 757051690) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 28)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 28 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 28 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 28, '2010-07-15 08:33:45', 1, NULL, '#408000', 1, '2010-07-15 08:33:45') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 28)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 28 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 28 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 28, '2010-07-15 08:33:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:45') Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 137 AND `favorites`.watchable_id = 28 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:45', NULL, 'Project', 28, 137, '2010-07-15 08:33:45', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_8' AND `repositories`.project_id = 28) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:45') AND (`repositories`.owner_id = 137 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_8', NULL, 28, '2010-07-15 08:33:45', 0, 0, 1, NULL, '8e6/af2/92dee4035b6f09bb358fbff8ac84ef3125', NULL, NULL, NULL, 0, 28, 137, NULL, 1, '2010-07-15 08:33:45', 'Project', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 28 AND `committerships`.committer_type = 'Project' AND `committerships`.repository_id = 757051691) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:45', 2, NULL, 'Project', 112, 28, 757051691, '2010-07-15 08:33:45') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051691)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 28)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(28, '2010-07-15 08:33:45', NULL, NULL, 757051691, 19, 137, 'Repository', NULL, '2010-07-15 08:33:45') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 28)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 28))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051691))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 28 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 137))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051691 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 137))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 137 AND `favorites`.watchable_id = 757051691 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:45', NULL, 'Repository', 757051691, 137, '2010-07-15 08:33:45', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'bill') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john134@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:45', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'db49e750bf00f6136d0721b4954a68ce44178767', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'bill', NULL, 'john134@example.com', '2010-07-15 11:33:17') Sent mail to john134@example.com Date: Thu, 15 Jul 2010 11:33:45 +0300 From: Gitorious To: john134@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is bill Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/db49e750bf00f6136d0721b4954a68ce44178767 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'steve') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john135@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:45', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '411e16e9cb8e84ec7800182529bb875c189fd1ef', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'steve', NULL, 'john135@example.com', '2010-07-15 11:33:17') Sent mail to john135@example.com Date: Thu, 15 Jul 2010 11:33:45 +0300 From: Gitorious To: john135@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is steve Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/411e16e9cb8e84ec7800182529bb875c189fd1ef Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jack') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john136@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:46', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'dc8fd0e292d080a403bef8e477e643a663295dd3', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'jack', NULL, 'john136@example.com', '2010-07-15 11:33:17') Sent mail to john136@example.com Date: Thu, 15 Jul 2010 11:33:46 +0300 From: Gitorious To: john136@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is jack Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/dc8fd0e292d080a403bef8e477e643a663295dd3 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'nellie') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john137@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:46', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'a06bdef593e71563497654e1b314db1db4875532', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'nellie', NULL, 'john137@example.com', '2010-07-15 11:33:17') Sent mail to john137@example.com Date: Thu, 15 Jul 2010 11:33:46 +0300 From: Gitorious To: john137@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is nellie Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/a06bdef593e71563497654e1b314db1db4875532 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'bills-clone' AND `repositories`.project_id = 28) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:46') AND (`repositories`.owner_id = 138 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('bills-clone', NULL, 28, '2010-07-15 08:33:46', 0, 3, 1, NULL, 'cda/95c/563abf8743e4871860e4ec2f03206c1966', '2010-07-15 07:33:46', NULL, NULL, 0, 138, 138, 757051691, 1, '2010-07-15 08:33:46', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 138 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051692) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:46', 2, NULL, 'User', 112, 138, 757051692, '2010-07-15 08:33:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051692)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 28)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 138 AND `favorites`.watchable_id = 757051692 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:46', NULL, 'Repository', 757051692, 138, '2010-07-15 08:33:46', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'steves-clone' AND `repositories`.project_id = 28) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:46') AND (`repositories`.owner_id = 139 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('steves-clone', NULL, 28, '2010-07-15 08:33:46', 0, 3, 1, NULL, '600/e9b/2687aa0f20242a7f6bfb3cf4fe31a9b1c6', '2010-07-15 07:33:46', NULL, NULL, 0, 139, 139, 757051691, 1, '2010-07-15 08:33:46', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 139 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051693) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:46', 2, NULL, 'User', 112, 139, 757051693, '2010-07-15 08:33:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051693)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 28)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 139 AND `favorites`.watchable_id = 757051693 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:46', NULL, 'Repository', 757051693, 139, '2010-07-15 08:33:46', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'jacks-clone' AND `repositories`.project_id = 28) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:46') AND (`repositories`.owner_id = 140 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('jacks-clone', NULL, 28, '2010-07-15 08:33:46', 0, 3, 1, NULL, '54f/455/3f4da6da418f3cd67881d15a73591bb8ed', '2010-07-15 07:33:46', NULL, NULL, 0, 140, 140, 757051691, 1, '2010-07-15 08:33:46', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 140 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051694) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:46', 2, NULL, 'User', 112, 140, 757051694, '2010-07-15 08:33:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051694)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 28)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 140 AND `favorites`.watchable_id = 757051694 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:46', NULL, 'Repository', 757051694, 140, '2010-07-15 08:33:46', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'nellies-clone' AND `repositories`.project_id = 28) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:46') AND (`repositories`.owner_id = 141 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('nellies-clone', NULL, 28, '2010-07-15 08:33:46', 0, 3, 1, NULL, 'c2b/002/8c792b4b740d2150e9ac7d49396bb3c52a', '2010-07-15 07:33:46', NULL, NULL, 0, 141, 141, 757051691, 1, '2010-07-15 08:33:46', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 141 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051695) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:46', 2, NULL, 'User', 112, 141, 757051695, '2010-07-15 08:33:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051695)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 28)  Favorite Load (0.4ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 141 AND `favorites`.watchable_id = 757051695 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:46', NULL, 'Repository', 757051695, 141, '2010-07-15 08:33:46', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'nellies-clone' AND `repositories`.project_id = 28 AND `repositories`.id <> 757051695) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2b/002/8c792b4b740d2150e9ac7d49396bb3c52a' AND `repositories`.id <> 757051695) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `last_pushed_at` = '1510-07-05 08:33:46', `updated_at` = '2010-07-15 08:33:46' WHERE `id` = 757051695 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 28 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 28 AND (kind != 1))) ORDER BY last_pushed_at DESC, repositories.created_at asc, repositories.created_at asc LIMIT 2 SQL (8.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `description` = 'asdf', `updated_at` = '2010-07-15 08:33:46' WHERE `id` = 1 SQL (0.2ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `description` = '', `updated_at` = '2010-07-15 08:33:46' WHERE `id` = 1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:46', NULL, 'Changed the repository description', 1, 20, 1, 'Repository', NULL, '2010-07-15 08:33:46') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (4.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'new_name' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'new_name' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `updated_at` = '2010-07-15 08:33:46', `name` = 'new_name' WHERE `id` = 1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:46', NULL, 'Changed the repository name', 1, 20, 1, 'Repository', NULL, '2010-07-15 08:33:46') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'some illegal value' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user107') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john138@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:46', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '104677163fb82d7ec23a5eb91283d21179388832', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user107', NULL, 'john138@example.com', '2010-07-15 11:33:17') Sent mail to john138@example.com Date: Thu, 15 Jul 2010 11:33:46 +0300 From: Gitorious To: john138@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user107 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/104677163fb82d7ec23a5eb91283d21179388832 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:46') AND (`projects`.user_id = 142)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:46', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 142, 1, 142, NULL, NULL, NULL, NULL, '2010-07-15 08:33:46', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 29) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:46') AND (`repositories`.owner_id = 142 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 29, '2010-07-15 08:33:46', 0, 1, 1, NULL, 'fb3/18f/2ecf51abaacb64c381ff3f21103aba6895', NULL, NULL, NULL, 0, 142, 142, NULL, 1, '2010-07-15 08:33:46', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 142 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051696) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:46', 2, NULL, 'User', 112, 142, 757051696, '2010-07-15 08:33:46') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051696)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 29)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 29 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 29 AND `repositories`.id <> 757051696) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'fb3/18f/2ecf51abaacb64c381ff3f21103aba6895' AND `repositories`.id <> 757051696) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 29)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 29 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 29 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 29, '2010-07-15 08:33:46', 1, NULL, '#408000', 1, '2010-07-15 08:33:46') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 29)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 29 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 29 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 29, '2010-07-15 08:33:46', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:46') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 142 AND `favorites`.watchable_id = 29 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:46', NULL, 'Project', 29, 142, '2010-07-15 08:33:46', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_9' AND `repositories`.project_id = 29) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:46') AND (`repositories`.owner_id = 142 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_9', NULL, 29, '2010-07-15 08:33:46', 0, 0, 1, NULL, '05b/696/8077db057dbbabbcbd480c76cc355c5198', NULL, NULL, NULL, 0, 142, 142, NULL, 1, '2010-07-15 08:33:46', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 142 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051697) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:46', 2, NULL, 'User', 112, 142, 757051697, '2010-07-15 08:33:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051697)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 29)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(29, '2010-07-15 08:33:46', NULL, NULL, 757051697, 19, 142, 'Repository', NULL, '2010-07-15 08:33:46') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 29)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 29))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051697))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 29 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 142))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051697 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 142))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 142 AND `favorites`.watchable_id = 757051697 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:46', NULL, 'Repository', 757051697, 142, '2010-07-15 08:33:46', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_757051697' AND `repositories`.project_id = 29) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:46') AND (`repositories`.owner_id = 142 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_757051697', NULL, 29, '2010-07-15 08:33:46', 0, 4, 1, NULL, 'f4a/c2a/2efe3e283f7488a443c25ba95ca035f20b', NULL, NULL, NULL, 0, 142, 142, 757051697, 1, '2010-07-15 08:33:46', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 142 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051698) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:46', 2, NULL, 'User', 112, 142, 757051698, '2010-07-15 08:33:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051698)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 29)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 757051697) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 757051697) LIMIT 1 SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user108') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john139@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:46', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '6bc17fb6c2a8e184857a17ec49030263aeb45648', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user108', NULL, 'john139@example.com', '2010-07-15 11:33:17') Sent mail to john139@example.com Date: Thu, 15 Jul 2010 11:33:46 +0300 From: Gitorious To: john139@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user108 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/6bc17fb6c2a8e184857a17ec49030263aeb45648 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:46') AND (`projects`.user_id = 143)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:46', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 143, 1, 143, NULL, NULL, NULL, NULL, '2010-07-15 08:33:46', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 30) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:46') AND (`repositories`.owner_id = 143 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 30, '2010-07-15 08:33:46', 0, 1, 1, NULL, '56f/2e5/e21689ba8ba75422d4dedb520a1f6379a5', NULL, NULL, NULL, 0, 143, 143, NULL, 1, '2010-07-15 08:33:46', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 143 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051699) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:46', 2, NULL, 'User', 112, 143, 757051699, '2010-07-15 08:33:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051699)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 30)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 30 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 30 AND `repositories`.id <> 757051699) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '56f/2e5/e21689ba8ba75422d4dedb520a1f6379a5' AND `repositories`.id <> 757051699) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 30)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 30 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 30 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 30, '2010-07-15 08:33:46', 1, NULL, '#408000', 1, '2010-07-15 08:33:46') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 30)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 30 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 30 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 30, '2010-07-15 08:33:46', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:46') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 143 AND `favorites`.watchable_id = 30 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:46', NULL, 'Project', 30, 143, '2010-07-15 08:33:46', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_10' AND `repositories`.project_id = 30) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:46') AND (`repositories`.owner_id = 143 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_10', NULL, 30, '2010-07-15 08:33:46', 0, 0, 1, NULL, '279/128/e85e47a7c47e02e07057dec6607d8e9879', NULL, NULL, NULL, 0, 143, 143, NULL, 1, '2010-07-15 08:33:46', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 143 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051700) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:46', 2, NULL, 'User', 112, 143, 757051700, '2010-07-15 08:33:46') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051700)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 30)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(30, '2010-07-15 08:33:46', NULL, NULL, 757051700, 19, 143, 'Repository', NULL, '2010-07-15 08:33:46') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 30)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 30))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051700))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 30 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 143))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051700 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 143))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 143 AND `favorites`.watchable_id = 757051700 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:46', NULL, 'Repository', 757051700, 143, '2010-07-15 08:33:46', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 757051700) LIMIT 1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user109') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john140@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:46', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '6c80c7f5be57a3449259e2bd0fdf45da821933b5', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user109', NULL, 'john140@example.com', '2010-07-15 11:33:17') Sent mail to john140@example.com Date: Thu, 15 Jul 2010 11:33:46 +0300 From: Gitorious To: john140@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user109 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/6c80c7f5be57a3449259e2bd0fdf45da821933b5 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:28:46') AND (`projects`.user_id = 144)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('project', 0, '2010-07-15 08:33:46', NULL, NULL, 'Test project', NULL, NULL, NULL, 'Random project', 144, 1, 144, NULL, NULL, NULL, NULL, '2010-07-15 08:33:46', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 31) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 144 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('project-gitorious-wiki', NULL, 31, '2010-07-15 08:33:47', 0, 1, 1, NULL, 'e54/6a9/042bd38ab8c0038783b942d0c1b1ca6a7d', NULL, NULL, NULL, 0, 144, 144, NULL, 1, '2010-07-15 08:33:47', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 144 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051701) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'User', 112, 144, 757051701, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051701)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 31)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 31 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'project-gitorious-wiki' AND `repositories`.project_id = 31 AND `repositories`.id <> 757051701) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'e54/6a9/042bd38ab8c0038783b942d0c1b1ca6a7d' AND `repositories`.id <> 757051701) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 31)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 31 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 31 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 31, '2010-07-15 08:33:47', 1, NULL, '#408000', 1, '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 31)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 31 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 31 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 31, '2010-07-15 08:33:47', 0, NULL, '#AA0000', 5, '2010-07-15 08:33:47') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 144 AND `favorites`.watchable_id = 31 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:47', NULL, 'Project', 31, 144, '2010-07-15 08:33:47', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'repo_11' AND `repositories`.project_id = 31) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 144 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('repo_11', NULL, 31, '2010-07-15 08:33:47', 0, 0, 1, NULL, '59f/888/89417b5d8c442f42ccf086352018236656', NULL, NULL, NULL, 0, 144, 144, NULL, 1, '2010-07-15 08:33:47', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 144 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051702) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'User', 112, 144, 757051702, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051702)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 31)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(31, '2010-07-15 08:33:47', NULL, NULL, 757051702, 19, 144, 'Repository', NULL, '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 31)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 31))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051702))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 31 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 144))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051702 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 144))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 144 AND `favorites`.watchable_id = 757051702 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:47', NULL, 'Repository', 757051702, 144, '2010-07-15 08:33:47', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_757051702' AND `repositories`.project_id = 31) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 144 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_757051702', NULL, 31, '2010-07-15 08:33:47', 0, 4, 1, NULL, '057/aa9/3866ec63d1990179bfcb11c3689b059a8c', NULL, NULL, NULL, 0, 144, 144, 757051702, 1, '2010-07-15 08:33:47', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 144 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051703) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'User', 112, 144, 757051703, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051703)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 31)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status DESC, id ASC LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'worksforme')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'worksforme')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'worksforme', `updated_at` = '2010-07-15 08:33:47' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.5ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo bar' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'd2e/e54/70fd366c842c24ad35e52383d5e89cc822') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo!bar' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'd2e/e54/70fd366c842c24ad35e52383d5e89cc822') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foobar' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'd2e/e54/70fd366c842c24ad35e52383d5e89cc822') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo42' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'd2e/e54/70fd366c842c24ad35e52383d5e89cc822') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_type` = 'User' AND `committerships`.`committer_id` = 1) AND (`committerships`.repository_id = 1) LIMIT 1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:47', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'Group', 112, 369376230, 1, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:47' WHERE `id` = 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.4ms) UPDATE `repositories` SET `kind` = 3, `updated_at` = '2010-07-15 08:33:47' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_type` = 'User' AND `committerships`.`committer_id` = 1) AND (`committerships`.repository_id = 1) LIMIT 1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:47', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'Group', 112, 369376230, 1, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `kind` = 2, `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:47' WHERE `id` = 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_type` = 'User' AND `committerships`.`committer_id` = 1) AND (`committerships`.repository_id = 1) LIMIT 1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.2ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:47', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'Group', 112, 369376230, 1, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:47' WHERE `id` = 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230)) [0m Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230)) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) ORDER BY committerships.id DESC LIMIT 1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) ORDER BY committerships.id DESC LIMIT 1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) ORDER BY committerships.id DESC LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:47', 0, 0, 1, NULL, '78a/bd3/e03ecf3773c854f9c0068d5179357ac56d', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:47', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051704) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'User', 112, 1, 757051704, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051704)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:47', NULL, NULL, 757051704, 19, 1, 'Repository', NULL, '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051704))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051704 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051704 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:47', NULL, 'Repository', 757051704, 1, '2010-07-15 08:33:47', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051704)  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships`  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:47', 0, 0, 1, NULL, '7dc/6cb/8f37336a6d5161b6971a56a3978f5ec8e6', NULL, NULL, NULL, 0, 369376230, 1, NULL, 1, '2010-07-15 08:33:47', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051705) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'Group', 112, 369376230, 757051705, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051705)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:47', NULL, NULL, 757051705, 19, 1, 'Repository', NULL, '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051705))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051705 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051705 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:47', NULL, 'Repository', 757051705, 1, '2010-07-15 08:33:47', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 757051705)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051705) LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships`  SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships`  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo2', NULL, 1, '2010-07-15 08:33:47', 0, 0, 1, NULL, '677/131/991c7b3a64c1aada844c5914df7e03441b', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:47', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051706) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'User', 112, 1, 757051706, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051706)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:47', NULL, NULL, 757051706, 19, 1, 'Repository', NULL, '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051706))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051706 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051706 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:47', NULL, 'Repository', 757051706, 1, '2010-07-15 08:33:47', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 757051706)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051706) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships`  SQL (8.4ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '3ae/595/8228c43357e156343cd9a84746cd9df8ef') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:47', 0, 0, 1, NULL, '3ae/595/8228c43357e156343cd9a84746cd9df8ef', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:47', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051707) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'User', 112, 1, 757051707, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051707)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:47', NULL, NULL, 757051707, 19, 1, 'Repository', NULL, '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051707))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051707 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051707 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:47', NULL, 'Repository', 757051707, 1, '2010-07-15 08:33:47', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051707 AND `favorites`.watchable_type = 'Repository')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051707)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 1 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 1 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 757051707) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153917029 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051707)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011406072 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011406072 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051707)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 757051707))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 757051707 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 757051707) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 757051707) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 757051707)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051707 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 104)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 104 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 757051707)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 757051707 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foobar' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foobar', NULL, 1, '2010-07-15 08:33:47', 0, 0, 1, NULL, '8a3/654/9942860026092b25dd7f12a931013cd8a1', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:47', 'User', 0) Committership Load (0.4ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051708) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'User', 112, 1, 757051708, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051708)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:47', NULL, NULL, 757051708, 19, 1, 'Repository', NULL, '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051708))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051708 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051708 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:47', NULL, 'Repository', 757051708, 1, '2010-07-15 08:33:47', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051708)  SQL (7.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'asdasdasd') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'ac3/11f/e61b59f8811060e17e31c8d9c999d932f8') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:47', 0, 0, 1, NULL, 'ac3/11f/e61b59f8811060e17e31c8d9c999d932f8', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:47', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051709) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'User', 112, 1, 757051709, '2010-07-15 08:33:47') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051709)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:47', NULL, NULL, 757051709, 19, 1, 'Repository', NULL, '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051709))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051709 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051709 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:47', NULL, 'Repository', 757051709, 1, '2010-07-15 08:33:47', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'e6f/630/fa243b6e553ebf7646f56a7916d9be7f1f') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:47') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:47', 0, 0, 1, NULL, 'e6f/630/fa243b6e553ebf7646f56a7916d9be7f1f', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:47', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051710) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:47', 2, NULL, 'User', 112, 1, 757051710, '2010-07-15 08:33:47') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051710)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:48', NULL, NULL, 757051710, 19, 1, 'Repository', NULL, '2010-07-15 08:33:47') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051710))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051710 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051710 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:48', NULL, 'Repository', 757051710, 1, '2010-07-15 08:33:48', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b06/443/de2d53071cee55e2ffd40889b540586437') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:48') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:48', 0, 0, 1, NULL, 'b06/443/de2d53071cee55e2ffd40889b540586437', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:48', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051711) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:48', 2, NULL, 'User', 112, 1, 757051711, '2010-07-15 08:33:48') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051711)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:48', NULL, NULL, 757051711, 19, 1, 'Repository', NULL, '2010-07-15 08:33:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051711))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051711 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051711 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:48', NULL, 'Repository', 757051711, 1, '2010-07-15 08:33:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '12c/f58/2377b18f5cfa1acaf2be8bbc2a9e56eed9') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:48') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:48', 0, 0, 1, NULL, '12c/f58/2377b18f5cfa1acaf2be8bbc2a9e56eed9', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:48', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051712) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:48', 2, NULL, 'User', 112, 1, 757051712, '2010-07-15 08:33:48') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051712)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:48', NULL, NULL, 757051712, 19, 1, 'Repository', NULL, '2010-07-15 08:33:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051712))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051712 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051712 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:48', NULL, 'Repository', 757051712, 1, '2010-07-15 08:33:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:48') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:48', 0, 0, 1, NULL, 'aa5/f32/b8b1c1d1568837e77c89320b6f74fbe34b', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:48', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051713) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:48', 2, NULL, 'User', 112, 1, 757051713, '2010-07-15 08:33:48') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051713)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:48', NULL, NULL, 757051713, 19, 1, 'Repository', NULL, '2010-07-15 08:33:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051713))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051713 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051713 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:48', NULL, 'Repository', 757051713, 1, '2010-07-15 08:33:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = 0, `updated_at` = '2010-07-15 08:33:48' WHERE `id` = 757051713 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_type` = 'User' AND `committerships`.`committer_id` = 1) AND (`committerships`.repository_id = 1) LIMIT 1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:48', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:48', 2, NULL, 'Group', 112, 369376230, 1, '2010-07-15 08:33:48') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:48' WHERE `id` = 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'new' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'new' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'rescue_action' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'config' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'edit' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'writable_by' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'create_clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'destroy' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'ssl_host' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'create' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'current_site' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.4ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'search_clones' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'index' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'show' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'update' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'confirm_delete' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '017/f5e/a2de55789a34dd5e57f3ec3e95d419e124') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:48') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:48', 0, 0, 1, NULL, '017/f5e/a2de55789a34dd5e57f3ec3e95d419e124', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:33:48', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051714) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:48', 2, NULL, 'User', 112, 1, 757051714, '2010-07-15 08:33:48') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051714)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:48', NULL, NULL, 757051714, 19, 1, 'Repository', NULL, '2010-07-15 08:33:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051714))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051714 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051714 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:48', NULL, 'Repository', 757051714, 1, '2010-07-15 08:33:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'ba8/9a1/aa3ea6774deaafd6c46d14efa870d717ca') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:48') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:48', 0, 0, 1, NULL, 'ba8/9a1/aa3ea6774deaafd6c46d14efa870d717ca', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:48', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051715) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:48', 2, NULL, 'User', 112, 1, 757051715, '2010-07-15 08:33:48') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051715)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:48', NULL, NULL, 757051715, 19, 1, 'Repository', NULL, '2010-07-15 08:33:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051715))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051715 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051715 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:48', NULL, 'Repository', 757051715, 1, '2010-07-15 08:33:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`name` IS NULL AND `repositories`.project_id IS NULL) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`name` IS NULL AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '819/e42/c07caf81ab94a167740dc35965afb202e3') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '529/fa2/4194a63aa64e5c20a485addd416f049acc') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'a00/b56/fc43635e12b7566defc1efb0873e34bb93') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Committership Delete all (0.1ms) DELETE FROM `committerships` WHERE (`id` IN (962320869))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:48', 2, NULL, 'User', 32, 1, 2, '2010-07-15 08:33:48') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:48', 2, NULL, 'Group', 32, 369376230, 2, '2010-07-15 08:33:48') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 2 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:48', 135138680, 369376230, 2, '2010-07-15 08:33:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.2ms) SELECT * FROM `users` WHERE (email in ('johan@johansorensen.com','moe@example.com'))  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'e2d/c30/6624fcf04373a9b89e712d7a5562eb7f40') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:48') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:48', 0, 0, 1, NULL, 'e2d/c30/6624fcf04373a9b89e712d7a5562eb7f40', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:48', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051716) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:48', 2, NULL, 'User', 112, 1, 757051716, '2010-07-15 08:33:48') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051716)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:48', NULL, NULL, 757051716, 19, 1, 'Repository', NULL, '2010-07-15 08:33:48') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051716))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051716 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051716 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:48', NULL, 'Repository', 757051716, 1, '2010-07-15 08:33:48', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.8ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%thunderbird%' OR repositories.description LIKE '%thunderbird%' OR groups.name LIKE '%thunderbird%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%thunderbird%' OR repositories.description LIKE '%thunderbird%' OR owners.login LIKE '%thunderbird%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.7ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%A-team%' OR repositories.description LIKE '%A-team%' OR groups.name LIKE '%A-team%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%A-team%' OR repositories.description LIKE '%A-team%' OR owners.login LIKE '%A-team%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.7ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%projectrepos%' OR repositories.description LIKE '%projectrepos%' OR groups.name LIKE '%projectrepos%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%projectrepos%' OR repositories.description LIKE '%projectrepos%' OR owners.login LIKE '%projectrepos%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.8ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%projectrepos%' OR repositories.description LIKE '%projectrepos%' OR groups.name LIKE '%projectrepos%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%projectrepos%' OR repositories.description LIKE '%projectrepos%' OR owners.login LIKE '%projectrepos%') AND repositories.owner_type='User' AND kind in (2,3,0) Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 4)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `login` = 'rohan', `updated_at` = '2010-07-15 08:33:48' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `updated_at` = '2010-07-15 08:33:48', `name` = 'rohans-clone-of-moes' WHERE `id` = 4 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.8ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.parent_id=3 AND (repositories.name LIKE '%rohan%' OR repositories.description LIKE '%rohan%' OR groups.name LIKE '%rohan%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.parent_id=3 AND (repositories.name LIKE '%rohan%' OR repositories.description LIKE '%rohan%' OR owners.login LIKE '%rohan%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 4)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `login` = 'rohan', `updated_at` = '2010-07-15 08:33:48' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `updated_at` = '2010-07-15 08:33:48', `name` = 'rohans-clone-of-moes' WHERE `id` = 4 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.7ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.parent_id=3 AND (repositories.name LIKE '%johan%' OR repositories.description LIKE '%johan%' OR groups.name LIKE '%johan%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.parent_id=3 AND (repositories.name LIKE '%johan%' OR repositories.description LIKE '%johan%' OR owners.login LIKE '%johan%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`id` = 2) AND (`repositories`.parent_id = 1) LIMIT 1 Repository Load (0.7ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%sproject%' OR repositories.description LIKE '%sproject%' OR groups.name LIKE '%sproject%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%sproject%' OR repositories.description LIKE '%sproject%' OR owners.login LIKE '%sproject%') AND repositories.owner_type='User' AND kind in (2,3,0) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status DESC, id ASC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `sequence_number` = 4, `updated_at` = '2010-07-15 08:33:49' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories`  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`project_id` = 1 AND `events`.`target_type` = 'User' AND `events`.`target_id` = 1 AND `events`.`action` = 22 AND `events`.`body` = 'Repository' AND `events`.`data` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916935 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:49', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:33:49') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 1))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 2 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 1) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:49') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:33:49', 0, 4, 1, NULL, '76d/6fd/37b4bece0bbc9db3aa96ef45e26de64e2c', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:33:49', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051717) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:49', 2, NULL, 'Group', 112, 369376230, 757051717, '2010-07-15 08:33:49') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051717)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 115)  Event Destroy (0.2ms) DELETE FROM `events` WHERE `id` = 115 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.2ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:49', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:49') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 116)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 116 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405954 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405954 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:33:49', NULL, NULL, 3, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:33:49') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 3))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 3 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 3) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 3) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 3)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 117)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 117 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 3)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 3 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 4 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 4)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 4))  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 4 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 4) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 4) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 4)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 4 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 4)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 4 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051622)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 757051622))  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 757051622 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 757051622) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 757051622) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 757051622)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051622 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 757051622)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 757051622 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater0' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:49') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater0', NULL, 1, '2010-07-15 08:33:49', 0, 0, 1, NULL, '1d2/21e/02a1882466c8205dc79becc677019a7a18', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:49', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051718) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:49', 2, NULL, 'User', 112, 1, 757051718, '2010-07-15 08:33:49') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051718)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:49', NULL, NULL, 757051718, 19, 1, 'Repository', NULL, '2010-07-15 08:33:49') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051718))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051718 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051718 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:49', NULL, 'Repository', 757051718, 1, '2010-07-15 08:33:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater1' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:49') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater1', NULL, 1, '2010-07-15 08:33:49', 0, 0, 1, NULL, '133/9d7/20dc329912273045c7ef5bf299302d233d', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:49', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051719) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:49', 2, NULL, 'User', 112, 1, 757051719, '2010-07-15 08:33:49') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051719)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:49', NULL, NULL, 757051719, 19, 1, 'Repository', NULL, '2010-07-15 08:33:49') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051719))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051719 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051719 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:49', NULL, 'Repository', 757051719, 1, '2010-07-15 08:33:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:49') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater2', NULL, 1, '2010-07-15 08:33:49', 0, 0, 1, NULL, 'dbe/578/528120589db9dae0bdc997428ad005392d', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:49', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051720) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:49', 2, NULL, 'User', 112, 1, 757051720, '2010-07-15 08:33:49') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051720)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:49', NULL, NULL, 757051720, 19, 1, 'Repository', NULL, '2010-07-15 08:33:49') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051720))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051720 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051720 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:49', NULL, 'Repository', 757051720, 1, '2010-07-15 08:33:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater3' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:49') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater3', NULL, 1, '2010-07-15 08:33:49', 0, 0, 1, NULL, '2ef/50b/7a0d8fc885c68344193f6287d04ba1d26c', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:49', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051721) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:49', 2, NULL, 'User', 112, 1, 757051721, '2010-07-15 08:33:49') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051721)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:49', NULL, NULL, 757051721, 19, 1, 'Repository', NULL, '2010-07-15 08:33:49') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051721))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051721 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.4ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051721 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:49', NULL, 'Repository', 757051721, 1, '2010-07-15 08:33:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wifebeater4' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:49') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('wifebeater4', NULL, 1, '2010-07-15 08:33:49', 0, 0, 1, NULL, 'aad/814/4f80da98950228e5835b6dd095051605b0', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:49', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051722) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:49', 2, NULL, 'User', 112, 1, 757051722, '2010-07-15 08:33:49') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051722)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:49', NULL, NULL, 757051722, 19, 1, 'Repository', NULL, '2010-07-15 08:33:49') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051722))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051722 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051722 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:49', NULL, 'Repository', 757051722, 1, '2010-07-15 08:33:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories`  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'wtf-are-you-doing-bro' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:49') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  SQL (0.1ms) SELECT max(`repositories`.created_at) AS max_created_at FROM `repositories` WHERE (`repositories`.`user_id` = 1)  SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories`  SQL (1.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.48): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mikes-johansprojectrepos' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:50') AND (`repositories`.owner_id = 3 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('mikes-johansprojectrepos', NULL, 1, '2010-07-15 08:33:50', 0, 0, 1, NULL, 'ad7/784/7d0d5e42fa9e90f54ed4f7e6ac79fa8edd', NULL, NULL, NULL, 0, 3, 3, 1, 1, '2010-07-15 08:33:50', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051723) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 112, 3, 757051723, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051723)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:50', NULL, NULL, 757051723, 19, 3, 'Repository', NULL, '2010-07-15 08:33:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051723))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051723 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051723 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:50', NULL, 'Repository', 757051723, 3, '2010-07-15 08:33:50', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051723)  User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE (`users`.`id` = 3) AND ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051723)) LIMIT 1 SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:50') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:50', 0, 4, 1, NULL, 'aa7/467/d13332f409169ac66792ce2efd34d9b2ad', NULL, NULL, NULL, 0, 1, 2, NULL, 1, '2010-07-15 08:33:50', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051724) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 112, 1, 757051724, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051724)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 2)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'another' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:50') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('another', NULL, 1, '2010-07-15 08:33:50', 0, 0, 1, NULL, '8ac/8d1/d687abc9f938783e69d9eab6241575a3b5', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:50', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051725) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 112, 1, 757051725, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051725)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:50', NULL, NULL, 757051725, 19, 1, 'Repository', NULL, '2010-07-15 08:33:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051725))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051725 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051725 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:50', NULL, 'Repository', 757051725, 1, '2010-07-15 08:33:50', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c5c/5a8/ab1ebf0e0404fb0c549ceffa0910cd16b3') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:50') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:50', 0, 0, 1, NULL, 'c5c/5a8/ab1ebf0e0404fb0c549ceffa0910cd16b3', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:50', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051726) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 112, 1, 757051726, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051726)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:50', NULL, NULL, 757051726, 19, 1, 'Repository', NULL, '2010-07-15 08:33:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051726))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051726 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051726 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:50', NULL, 'Repository', 757051726, 1, '2010-07-15 08:33:50', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051726) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', NULL, 2, 757051726, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051726)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051726) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 64, 3, 757051726, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051726)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051726) AND (((permissions & 64)) AND (`committerships`.repository_id = 757051726))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051726) AND (((permissions & 64)) AND (`committerships`.repository_id = 757051726))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'another' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:50') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('another', NULL, 1, '2010-07-15 08:33:50', 0, 0, 1, NULL, '6c2/389/2a61823421204fd27c000e04723658b48e', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:50', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051727) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 112, 1, 757051727, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051727)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:50', NULL, NULL, 757051727, 19, 1, 'Repository', NULL, '2010-07-15 08:33:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051727))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051727 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051727 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:50', NULL, 'Repository', 757051727, 1, '2010-07-15 08:33:50', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '048/1a6/525bf26c54090ab0b8cb9978d1efaf9f1e') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:50') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:50', 0, 0, 1, NULL, '048/1a6/525bf26c54090ab0b8cb9978d1efaf9f1e', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:50', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051728) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 112, 1, 757051728, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051728)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:50', NULL, NULL, 757051728, 19, 1, 'Repository', NULL, '2010-07-15 08:33:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051728))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051728 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051728 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:50', NULL, 'Repository', 757051728, 1, '2010-07-15 08:33:50', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051728) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', NULL, 2, 757051728, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051728)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051728) AND (((permissions & 64)) AND (`committerships`.repository_id = 757051728))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051728) AND (((permissions & 64)) AND (`committerships`.repository_id = 757051728))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'another' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:50') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('another', NULL, 1, '2010-07-15 08:33:50', 0, 0, 1, NULL, '39f/a37/b84c0ffbb4afff56dc82695c6fab9ae45e', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:50', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051729) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 112, 1, 757051729, '2010-07-15 08:33:50') Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051729)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:50', NULL, NULL, 757051729, 19, 1, 'Repository', NULL, '2010-07-15 08:33:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051729))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051729 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051729 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:50', NULL, 'Repository', 757051729, 1, '2010-07-15 08:33:50', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '9e4/ab3/d0130c33ca42fba3b07feec289a6bc8751') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:50') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo', NULL, 1, '2010-07-15 08:33:50', 0, 0, 1, NULL, '9e4/ab3/d0130c33ca42fba3b07feec289a6bc8751', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:33:50', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051730) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 112, 1, 757051730, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051730)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:50', NULL, NULL, 757051730, 19, 1, 'Repository', NULL, '2010-07-15 08:33:50') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051730))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051730 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051730 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:50', NULL, 'Repository', 757051730, 1, '2010-07-15 08:33:50', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051730) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', NULL, 2, 757051730, '2010-07-15 08:33:50') Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051730)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051730) AND (((permissions & 64)) AND (`committerships`.repository_id = 757051730))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051730) AND (((permissions & 64)) AND (`committerships`.repository_id = 757051730))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051730) AND (((permissions & 64)) AND (`committerships`.repository_id = 757051730))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051730) AND (((permissions & 64)) AND (`committerships`.repository_id = 757051730))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `kind` = 2, `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:50' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos' AND `repositories`.`owner_type` = 'Group' AND `repositories`.`owner_id` = 369376230) LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `kind` = 3, `updated_at` = '2010-07-15 08:33:50' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos' AND `repositories`.`owner_type` = 'User' AND `repositories`.`owner_id` = 1) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `kind` = 2, `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:50' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:28:50') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('johansprojectrepos', NULL, 2, '2010-07-15 08:33:50', 0, 2, 1, NULL, 'f02/0f0/599292b19659dd699801aaf762703065e6', NULL, NULL, NULL, 0, 369376230, 1, NULL, 1, '2010-07-15 08:33:50', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051731) LIMIT 1 Committership Create (0.3ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'Group', 112, 369376230, 757051731, '2010-07-15 08:33:50') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051731)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051731 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:50', NULL, 'Repository', 757051731, 1, '2010-07-15 08:33:50', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'johansprojectrepos' AND `repositories`.`owner_type` = 'Group' AND `repositories`.`owner_id` = 369376230) LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.0ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.0ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.0ms) UPDATE `repositories` SET `last_gc_at` = '2010-07-15 08:33:50', `updated_at` = '2010-07-15 08:33:50', `push_count_since_gc` = 0 WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.0ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.0ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.0ms) UPDATE `repositories` SET `last_gc_at` = '2010-07-15 08:33:50', `updated_at` = '2010-07-15 08:33:50', `push_count_since_gc` = 0 WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_type` = 'User' AND `committerships`.`committer_id` = 2) AND (`committerships`.repository_id = 3) LIMIT 1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'moesprojectrepos' AND `repositories`.project_id = 2 AND `repositories`.id <> 3) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b13/de7/574a4a04fb250257dcb5a7d6ef01dcf290' AND `repositories`.id <> 3) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:50' WHERE `id` = 3 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 764238917)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_type` = 'User' AND `committerships`.`committer_id` = 2) AND (`committerships`.repository_id = 3) LIMIT 1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 764238917 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'Group', 112, 764238917, 3, '2010-07-15 08:33:50') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'moesprojectrepos' AND `repositories`.project_id = 2 AND `repositories`.id <> 3) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b13/de7/574a4a04fb250257dcb5a7d6ef01dcf290' AND `repositories`.id <> 3) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 764238917, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:33:50' WHERE `id` = 3 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 764238917)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238917))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_type` = 'User' AND `committerships`.`committer_id` = 2) AND (`committerships`.repository_id = 3) LIMIT 1 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 3) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:50', 2, NULL, 'User', 112, 2, 3, '2010-07-15 08:33:50') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'moesprojectrepos' AND `repositories`.project_id = 2 AND `repositories`.id <> 3) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b13/de7/574a4a04fb250257dcb5a7d6ef01dcf290' AND `repositories`.id <> 3) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3 AND `committerships`.id <> 1011405954) LIMIT 1 Committership Update (0.1ms) UPDATE `committerships` SET `permissions` = 0, `updated_at` = '2010-07-15 08:33:51' WHERE `id` = 1011405954 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3 AND `committerships`.id <> 1011405954) LIMIT 1 Committership Update (0.1ms) UPDATE `committerships` SET `permissions` = 96, `updated_at` = '2010-07-15 08:33:51' WHERE `id` = 1011405954 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3 AND `committerships`.id <> 1011405954) LIMIT 1 Committership Update (0.1ms) UPDATE `committerships` SET `permissions` = 0, `updated_at` = '2010-07-15 08:33:51' WHERE `id` = 1011405954 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3 AND `committerships`.id <> 1011405954) LIMIT 1 Committership Update (0.1ms) UPDATE `committerships` SET `permissions` = 32, `updated_at` = '2010-07-15 08:33:51' WHERE `id` = 1011405954 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3 AND `committerships`.id <> 1011405954) LIMIT 1 Committership Update (0.1ms) UPDATE `committerships` SET `permissions` = 0, `updated_at` = '2010-07-15 08:33:51' WHERE `id` = 1011405954 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3 AND `committerships`.id <> 1011405954) LIMIT 1 Committership Update (0.1ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-07-15 08:33:51' WHERE `id` = 1011405954 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 32)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230)) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 3)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3 AND `committerships`.id <> 1011405954) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-07-15 08:33:51' WHERE `id` = 1011405954 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 32)) AND (`committerships`.repository_id = 3))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 2 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:51', 820312697, 369376230, 2, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 32)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 3) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:33:51', 2, NULL, 'User', 16, 2, 3, '2010-07-15 08:33:51') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user110') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john141@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:51', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '402071c5e8072362002724eedd518fc288c46fdc', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user110', NULL, 'john141@example.com', '2010-07-15 11:33:17') Sent mail to john141@example.com Date: Thu, 15 Jul 2010 11:33:51 +0300 From: Gitorious To: john141@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user110 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/402071c5e8072362002724eedd518fc288c46fdc Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:33:51', 0, 145, 'ssh-rsa YXNkc2FkMQ== foo1@bar', '2010-07-15 08:33:51') SQL (0.2ms) RELEASE SAVEPOINT active_record_1 SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.`id` = 5) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SshKey Update (0.2ms) UPDATE `ssh_keys` SET `ready` = 1, `updated_at` = '2010-07-15 08:33:51' WHERE `id` = 5 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.`id` = 5)  SQL (2.8ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user111') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john142@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:51', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'c514b0dc700cfc2fea3c7bd4e10ae5d6405edef9', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user111', NULL, 'john142@example.com', '2010-07-15 11:33:17') Sent mail to john142@example.com Date: Thu, 15 Jul 2010 11:33:51 +0300 From: Gitorious To: john142@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user111 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/c514b0dc700cfc2fea3c7bd4e10ae5d6405edef9 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:33:51', 0, 146, 'ssh-rsa YXNkc2FkMg== foo2@bar', '2010-07-15 08:33:51') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:33:51', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-07-15 08:33:51') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:33:51', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-07-15 08:33:51') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 8 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:33:51', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-07-15 08:33:51') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:33:51', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-07-15 08:33:51') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:51', 0, NULL, '#ffccff', 1, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:51', 0, NULL, '#ccc', 5, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:51', 0, NULL, '#ffccff', 1, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:51', 0, NULL, '#ccc', 5, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:51', 0, NULL, '#ffccff', 1, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:51', 0, NULL, '#ccc', 5, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:51', 0, NULL, '#ffccff', 1, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:51', 0, NULL, '#ccc', 5, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestStatus Update (0.2ms) UPDATE `merge_request_statuses` SET `color` = '', `updated_at` = '2010-07-15 08:33:51' WHERE `id` = 91 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:51', 0, NULL, '#ffccff', 1, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:51', 0, NULL, '#ccc', 5, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:51', 0, NULL, '#ffccff', 1, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:51', 0, NULL, '#ccc', 5, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:51', 0, NULL, '#ffccff', 1, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:51', 0, NULL, '#ccc', 5, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'closed')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.1ms) SELECT * FROM `projects` LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:33:51', 0, NULL, '#ffccff', 1, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:33:51', 0, NULL, '#ccc', 5, '2010-07-15 08:33:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'foo')) ORDER BY id asc LIMIT 1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `description` = 'moooooo', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Comment Load (0.1ms) SELECT * FROM `comments` ORDER BY comments.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Comment Update (0.2ms) UPDATE `comments` SET `state_change` = NULL, `sha1` = 'abc123', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 4 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` ORDER BY merge_requests.id DESC LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 4)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Comment Load (0.1ms) SELECT * FROM `comments` ORDER BY comments.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Comment Update (0.2ms) UPDATE `comments` SET `state_change` = NULL, `sha1` = 'abc123', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 4 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` ORDER BY merge_requests.id DESC LIMIT 1 Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 4)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Comment Load (0.2ms) SELECT * FROM `comments` ORDER BY comments.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Comment Update (0.2ms) UPDATE `comments` SET `state_change` = NULL, `sha1` = 'abc123', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 4 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` ORDER BY merge_requests.id DESC LIMIT 1 Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 4)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'Jane Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'Jane Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', NULL, 'master changed from abc213 to 123abc', 1, 18, 1, 'Repository', 'master', '2010-07-15 08:33:52') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo', 130, 5, NULL, 'Event', 'acb123abc123', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'Jane Schmidt ', 'added bar', 130, 5, NULL, 'Event', '321abc321abc', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 130)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 130 AND `events`.target_type = 'Event')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 130 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 130 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 130 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', NULL, 'master changed from abc213 to 123abc', 1, 18, 1, 'Repository', 'master', '2010-07-15 08:33:52') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.1ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Schmidt ') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Schmidt ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.1ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', 'John Schmidt ', 'Added foo.#{i}', 133, 5, NULL, 'Event', 'acb123#{i}', '2010-07-15 08:33:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 133 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 133 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = NULL AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = NULL AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` ORDER BY merge_requests.id DESC LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = NULL AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = NULL AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = 'foo.png', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_updated_at` = '2010-07-13 08:33:52', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1)  Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_medium Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_medium Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_tiny Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_tiny Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_thumb Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.3ms) UPDATE `users` SET `avatar_file_name` = NULL, `avatar_updated_at` = NULL, `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = 'foo.png', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_updated_at` = '2010-07-13 08:33:52', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1)  Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_medium Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_medium Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_tiny Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_tiny Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_thumb Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = NULL, `avatar_updated_at` = NULL, `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = 'foo.png', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_updated_at` = '2010-07-13 08:33:52', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1)  Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_medium Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_medium Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_tiny Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_tiny Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_thumb Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = NULL, `avatar_updated_at` = NULL, `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = 'foo.png', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_updated_at` = '2010-07-13 08:33:52', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1)  Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_medium Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_medium Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_tiny Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_tiny Cache delete: avatar_for_69c8e9e92a61d36618a21d9c6bc619205793f79e_thumb Cache delete: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = NULL, `avatar_updated_at` = NULL, `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache miss: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@johansorensen.com') LIMIT 1 Cache write (will save 0.89ms): avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache miss: avatar_for_f1aa6e5365af1f8dd0c94df420963207df0dfb4f_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'noone@nowhere.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'noone@nowhere.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.62ms): avatar_for_f1aa6e5365af1f8dd0c94df420963207df0dfb4f_thumb SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = 'foo.png', `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Cache miss: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@johansorensen.com') LIMIT 1 Cache write (will save 1.38ms): avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:52', NULL, 'Repository', 1, 2, '2010-07-15 08:33:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 2)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:52', NULL, 'Repository', 1, 2, '2010-07-15 08:33:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:52', NULL, 'Repository', 3, 2, '2010-07-15 08:33:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:33:52', NULL, 'Repository', 3, 12, 3, 'Repository', 99, '2010-07-15 08:33:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (2, 144, '2010-07-15 08:33:52', '2010-07-15 08:33:52') Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Cache miss: paginated_events_in_watchlist:2:1 ({:expires_in=>1200 seconds}) FeedItem Load (0.2ms) SELECT * FROM `feed_items` WHERE (`feed_items`.watcher_id = 2) ORDER BY created_at desc LIMIT 0, 30 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 144) ORDER BY created_at desc Cache write (will save 1.61ms): paginated_events_in_watchlist:2:1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:52', NULL, 'Repository', 1, 2, '2010-07-15 08:33:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', NULL, 'New branch', 1, 6, 3, 'Repository', 'Integration', '2010-07-15 08:33:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  SQL (0.2ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (1, 145, '2010-07-15 08:33:52', '2010-07-15 08:33:52'),(2, 145, '2010-07-15 08:33:52', '2010-07-15 08:33:52') Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:33:52', NULL, 'Repository', 1, 12, 3, 'Repository', 99, '2010-07-15 08:33:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (1, 146, '2010-07-15 08:33:52', '2010-07-15 08:33:52'),(2, 146, '2010-07-15 08:33:52', '2010-07-15 08:33:52') Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Cache miss: paginated_events_in_watchlist:2:1 ({:expires_in=>1200 seconds}) FeedItem Load (0.2ms) SELECT * FROM `feed_items` WHERE (`feed_items`.watcher_id = 2) ORDER BY created_at desc LIMIT 0, 30 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` IN (146,145)) ORDER BY created_at desc Cache write (will save 1.78ms): paginated_events_in_watchlist:2:1 Cache hit: paginated_events_in_watchlist:2:1 ({:expires_in=>1200 seconds}) SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:52', NULL, 'Repository', 1, 2, '2010-07-15 08:33:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:52', NULL, 'Repository', 3, 2, '2010-07-15 08:33:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:33:52', NULL, 'Repository', 3, 12, 2, 'Repository', 99, '2010-07-15 08:33:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 2))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Cache hit: paginated_events_in_watchlist:2:1 ({:expires_in=>1200 seconds}) SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:33:52', NULL, 'Repository', 1, 2, '2010-07-15 08:33:52', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE (`users`.`id` = 2) AND ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3)) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:33:52', NULL, 'Repository', 3, 12, 3, 'Repository', 99, '2010-07-15 08:33:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Cache hit: paginated_events_in_watchlist:2:1 ({:expires_in=>1200 seconds}) SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user112') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john143@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:52', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'cac4630c7326b8325c52e16e620f0282056b8d03', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user112', NULL, 'john143@example.com', '2010-07-15 11:33:17') Sent mail to john143@example.com Date: Thu, 15 Jul 2010 11:33:52 +0300 From: Gitorious To: john143@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user112 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/cac4630c7326b8325c52e16e620f0282056b8d03 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user113') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john144@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:52', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '91cf883f0285364dd6b4331be24af924fa5f8fe4', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user113', NULL, 'john144@example.com', '2010-07-15 11:33:17') Sent mail to john144@example.com Date: Thu, 15 Jul 2010 11:33:52 +0300 From: Gitorious To: john144@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user113 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/91cf883f0285364dd6b4331be24af924fa5f8fe4 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user114') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john145@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:52', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '7d8375eb1e117e81e756f7d8aa65d61c4ba12390', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user114', NULL, 'john145@example.com', '2010-07-15 11:33:17') Sent mail to john145@example.com Date: Thu, 15 Jul 2010 11:33:52 +0300 From: Gitorious To: john145@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user114 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/7d8375eb1e117e81e756f7d8aa65d61c4ba12390 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:52') AND (`messages`.sender_id = 147)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:52', 'World', '2010-07-15 08:33:52', 148, 'Hello', 'unread', NULL, NULL, 0, 147, NULL, '2010-07-15 08:33:52') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190076)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 147)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 148)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:52', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:52' WHERE `id` = 337190076 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:53') AND (`messages`.sender_id = 148)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:53', 'Thx', '2010-07-15 08:33:52', 147, 'Re: Hello', 'unread', 337190076, NULL, 0, 148, 337190076, '2010-07-15 08:33:53') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.4ms) SELECT * FROM messages WHERE (has_unread_replies=1 AND sender_id=147) OR recipient_id=147 AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 147 AND archived_by_recipient = 0 AND recipient_id = 147) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 147)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `archived_by_sender` = 1, `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 337190076 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 147 AND archived_by_recipient = 0 AND recipient_id = 147) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 147)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user115') LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john146@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:53', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '122ee968ea3020b1dd1e8408ccc6f06128e9ddb9', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user115', NULL, 'john146@example.com', '2010-07-15 11:33:17') Sent mail to john146@example.com Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: john146@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user115 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/122ee968ea3020b1dd1e8408ccc6f06128e9ddb9 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user116') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john147@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:53', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '16f6781706df37b3d502b85e4b8064defaf4355d', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user116', NULL, 'john147@example.com', '2010-07-15 11:33:17') Sent mail to john147@example.com Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: john147@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user116 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/16f6781706df37b3d502b85e4b8064defaf4355d Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.2ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user117') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john148@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:53', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '7c6ffc20d0b0d5baded3c5f0a883f8637a13d9e8', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user117', NULL, 'john148@example.com', '2010-07-15 11:33:17') Sent mail to john148@example.com Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: john148@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user117 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/7c6ffc20d0b0d5baded3c5f0a883f8637a13d9e8 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:53') AND (`messages`.sender_id = 150)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:53', 'World', '2010-07-15 08:33:53', 151, 'Hello', 'unread', NULL, NULL, 0, 150, NULL, '2010-07-15 08:33:53') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.4ms) SELECT * FROM messages WHERE (has_unread_replies=1 AND sender_id=151) OR recipient_id=151 AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 151 AND archived_by_recipient = 0 AND recipient_id = 151) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 151)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `archived_by_recipient` = 1, `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 337190078 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 151 AND archived_by_recipient = 0 AND recipient_id = 151) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 151)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user118') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john149@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:53', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '8148fec03626da5b4d3f02ec5d96370a5c3c5def', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user118', NULL, 'john149@example.com', '2010-07-15 11:33:17') Sent mail to john149@example.com Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: john149@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user118 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/8148fec03626da5b4d3f02ec5d96370a5c3c5def Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user119') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john150@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:53', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '9b760a9f303785881ce32368ab4a0f4380865895', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user119', NULL, 'john150@example.com', '2010-07-15 11:33:17') Sent mail to john150@example.com Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: john150@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user119 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/9b760a9f303785881ce32368ab4a0f4380865895 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user120') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john151@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:33:53', '2010-07-15 11:33:17', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '76d457b7e8a958f635cb79387bc55848cf925bc7', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user120', NULL, 'john151@example.com', '2010-07-15 11:33:17') Sent mail to john151@example.com Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: john151@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user120 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/76d457b7e8a958f635cb79387bc55848cf925bc7 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:53') AND (`messages`.sender_id = 153)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:53', 'World', '2010-07-15 08:33:53', 154, 'Hello', 'unread', NULL, NULL, 0, 153, NULL, '2010-07-15 08:33:53') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:53') AND (`messages`.sender_id = 155)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:53', 'Bar', '2010-07-15 08:33:53', 154, 'Foo', 'unread', NULL, NULL, 0, 155, NULL, '2010-07-15 08:33:53') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 154 AND archived_by_recipient = 0 AND recipient_id = 154) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 154)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337190080)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 155)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 154)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:33:53', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 337190080 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:28:53') AND (`messages`.sender_id = 154)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:33:53', 'Not for you', '2010-07-15 08:33:53', 155, 'Re: Foo', 'unread', 337190080, NULL, 0, 154, 337190080, '2010-07-15 08:33:53') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM messages WHERE (has_unread_replies=1 AND sender_id=153) OR recipient_id=153 AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 153 AND archived_by_recipient = 0 AND recipient_id = 153) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 153)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (sender_id = 1 OR recipient_id = 1)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (sender_id = 2 OR recipient_id = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (sender_id = 3 OR recipient_id = 3)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT `messages`.id FROM `messages` WHERE (`messages`.`id` = 337189977) AND (`messages`.sender_id = 1) ORDER BY created_at DESC LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT `messages`.id FROM `messages` WHERE (`messages`.`id` = 337189977) AND (`messages`.recipient_id = 2) ORDER BY created_at DESC LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 2 AND (`messages`.`aasm_state` = 'unread')) ORDER BY created_at DESC User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `archived_by_recipient` = 1, `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.4ms) ROLLBACK SQL (0.1ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'ker+nel.w-t-f@foo-bar.co.uk') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('f94b9a96ea9c47041f0d4ed9c0b82070b5f5415f', NULL, '2010-07-15 08:33:53', NULL, NULL, NULL, 'e81e4837a0031ca4dc2fabf07e3a53c3f05a1d41', 1, 0, NULL, '960d2f0b6902d2c38711c7d65c7c33a3454691c0', NULL, NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'quire', NULL, 'ker+nel.w-t-f@foo-bar.co.uk', '2010-07-15 08:33:53') Sent mail to ker+nel.w-t-f@foo-bar.co.uk Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: ker+nel.w-t-f@foo-bar.co.uk Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is quire Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/960d2f0b6902d2c38711c7d65c7c33a3454691c0 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire' AND `users`.id <> 156) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'ker+nel.w-t-f@foo-bar.co.uk' AND `users`.id <> 156) LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johndoe') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john-doe') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john999') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('f94b9a96ea9c47041f0d4ed9c0b82070b5f5415f', NULL, '2010-07-15 08:33:53', NULL, NULL, NULL, 'e81e4837a0031ca4dc2fabf07e3a53c3f05a1d41', 1, 0, NULL, 'b5bd5f1321a145b7450e4667b0940b6cfccfbcc2', NULL, NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'quire', NULL, 'quire@example.com', '2010-07-15 08:33:53') Sent mail to quire@example.com Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: quire@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is quire Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/b5bd5f1321a145b7450e4667b0940b6cfccfbcc2 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'foobar') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'asdasdasd') LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:53', 135138680, 369376230, 1, '2010-07-15 08:33:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 764238917)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:53', 135138680, 369376230, 1, '2010-07-15 08:33:53') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.user_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('f94b9a96ea9c47041f0d4ed9c0b82070b5f5415f', NULL, '2010-07-15 08:33:53', NULL, NULL, NULL, 'e81e4837a0031ca4dc2fabf07e3a53c3f05a1d41', 1, 0, NULL, 'c895fa7b60adf14eb2a31516bcb35426dca8486c', NULL, NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'quire', NULL, 'quire@example.com', '2010-07-15 08:33:53') Sent mail to quire@example.com Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: quire@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is quire Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/c895fa7b60adf14eb2a31516bcb35426dca8486c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:33:53', 820312697, 369376230, 1, '2010-07-15 08:33:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john.doe') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'john_doe') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051622)  Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`id` = 757051622) AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan2@js.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `email` = 'johan2@js.com', `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan2@js.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:33:53', `remember_token` = '8c893e965ba4cb93788771c9ca30a6fdcbfd078a', `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-22 08:33:53', `remember_token` = '60f69be5672c93120844f2785085bd872c1aa64e', `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (10.6ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-22 08:33:53', `remember_token` = '60f69be5672c93120844f2785085bd872c1aa64e', `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'joe schmoe') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'kernel.wtf') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = 'd7f9b0306e8c59fd81b1f738127c65e9417a7f1f', `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = 'fc5936add74e4e6dfca3c8276576f86589ad09bc', `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:33:53', `remember_token` = '8c893e965ba4cb93788771c9ca30a6fdcbfd078a', `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.3ms) UPDATE `users` SET `password_key` = '33e67d8f74a707f849c37e92ac75c8c3', `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:33:53', `remember_token` = '8c893e965ba4cb93788771c9ca30a6fdcbfd078a', `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = NULL, `remember_token` = NULL, `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@shortcut.no') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'johan@shortcut.no') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@johansorensen.com') LIMIT 1 SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.1ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('02cf7bb1ce687d8be72655619a955101f6d24def', '2010-07-15 08:33:53', 'pending', 1, 'foo@bar.com', '2010-07-15 08:33:53') Sent mail to foo@bar.com Date: Thu, 15 Jul 2010 11:33:53 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/02cf7bb1ce687d8be72655619a955101f6d24def/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'foo@bar.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'foo@bar.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'wtf@fubar.no') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'wtf@fubar.no') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Create (0.2ms) INSERT INTO `hooks` (`failed_request_count`, `updated_at`, `url`, `user_id`, `successful_request_count`, `repository_id`, `last_response`, `created_at`) VALUES(0, '2010-07-15 08:33:53', 'http://access-denied.com/', 1, 0, 1, NULL, '2010-07-15 08:33:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.2ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Hook Update (0.2ms) UPDATE `hooks` SET `last_response` = 'Connection refused', `failed_request_count` = 1, `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 2 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Create (0.1ms) INSERT INTO `hooks` (`failed_request_count`, `updated_at`, `url`, `user_id`, `successful_request_count`, `repository_id`, `last_response`, `created_at`) VALUES(0, '2010-07-15 08:33:53', 'http://access-denied.com/', 1, 0, 1, NULL, '2010-07-15 08:33:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.2ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Hook Update (0.2ms) UPDATE `hooks` SET `last_response` = 'Socket error', `failed_request_count` = 1, `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 3 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Create (0.2ms) INSERT INTO `hooks` (`failed_request_count`, `updated_at`, `url`, `user_id`, `successful_request_count`, `repository_id`, `last_response`, `created_at`) VALUES(0, '2010-07-15 08:33:53', 'http://access-denied.com/', 1, 0, 1, NULL, '2010-07-15 08:33:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.2ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Hook Update (0.2ms) UPDATE `hooks` SET `last_response` = 'Connection timed out', `failed_request_count` = 1, `updated_at` = '2010-07-15 08:33:53' WHERE `id` = 4 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Create (0.2ms) INSERT INTO `hooks` (`failed_request_count`, `updated_at`, `url`, `user_id`, `successful_request_count`, `repository_id`, `last_response`, `created_at`) VALUES(0, '2010-07-15 08:33:53', 'http://access-denied.com/', 1, 0, 1, NULL, '2010-07-15 08:33:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 0)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Create (0.1ms) INSERT INTO `hooks` (`failed_request_count`, `updated_at`, `url`, `user_id`, `successful_request_count`, `repository_id`, `last_response`, `created_at`) VALUES(0, '2010-07-15 08:33:53', 'http://access-denied.com/', 1, 0, 1, NULL, '2010-07-15 08:33:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'invalid login') LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Create (0.2ms) INSERT INTO `hooks` (`failed_request_count`, `updated_at`, `url`, `user_id`, `successful_request_count`, `repository_id`, `last_response`, `created_at`) VALUES(0, '2010-07-15 08:33:54', 'http://foo.com/', 1, 0, 1, NULL, '2010-07-15 08:33:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Create (0.1ms) INSERT INTO `hooks` (`failed_request_count`, `updated_at`, `url`, `user_id`, `successful_request_count`, `repository_id`, `last_response`, `created_at`) VALUES(0, '2010-07-15 08:33:54', 'http://bar.com/', 1, 0, 1, NULL, '2010-07-15 08:33:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.3ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Hook Update (0.3ms) UPDATE `hooks` SET `last_response` = '200 OK', `successful_request_count` = 1, `updated_at` = '2010-07-15 08:33:54' WHERE `id` = 7 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Hook Update (0.5ms) UPDATE `hooks` SET `last_response` = '200 OK', `successful_request_count` = 1, `updated_at` = '2010-07-15 08:33:54' WHERE `id` = 8 SQL (0.2ms) RELEASE SAVEPOINT active_record_1 SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.parent_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Hook Create (0.2ms) INSERT INTO `hooks` (`failed_request_count`, `updated_at`, `url`, `user_id`, `successful_request_count`, `repository_id`, `last_response`, `created_at`) VALUES(0, '2010-07-15 08:33:54', 'http://example.com/hook', 1, 0, 1, NULL, '2010-07-15 08:33:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.2ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Hook Update (0.2ms) UPDATE `hooks` SET `last_response` = '200 OK', `successful_request_count` = 1, `updated_at` = '2010-07-15 08:33:54' WHERE `id` = 9 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Hook Load (0.2ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.5ms) SHOW TABLES ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq ActiveMessaging: adapter reliable_msg not loaded: no such file to load -- reliable-msg ActiveMessaging: Loading /home/maanpelt/yousource/gitorious/app/processors/application.rb ** [localized_dates] localized_dates plugin loaded. ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/pt-BR.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/es.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.yml ** [localized_dates] locales loaded from config/locales. SQL (0.1ms) SET NAMES 'utf8' SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 ** ultrasphinx: configuration file not found for "test" environment ** ultrasphinx: please run 'rake ultrasphinx:configure' ** ultrasphinx: spelling support not available (raspell configuration raised "uninitialized constant Ultrasphinx::Spell::Aspell") MergeRequest Columns (1.0ms) SHOW FIELDS FROM `merge_requests` User Columns (1.0ms) SHOW FIELDS FROM `users` Comment Columns (0.8ms) SHOW FIELDS FROM `comments` Project Columns (0.7ms) SHOW FIELDS FROM `projects` Repository Columns (0.9ms) SHOW FIELDS FROM `repositories` SQL (0.1ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing Admin::OauthSettingsController#edit (for 0.0.0.0 at 2010-07-15 11:33:59) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "controller"=>"admin/oauth_settings"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Redirected to http://test.host/ Filter chain halted as [:require_site_admin] rendered_or_redirected. Completed in 8ms (DB: 43) | 302 Found [http://test.host/admin/projects/johans-project/oauth_settings/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing Admin::OauthSettingsController#edit (for 0.0.0.0 at 2010-07-15 11:33:59) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "controller"=>"admin/oauth_settings"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering admin/oauth_settings/edit WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (9.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (17.4ms) Rendered searches/_search_box_global (3.3ms) Rendered layouts/_common_footer (2.2ms) Completed in 70ms (View: 54, DB: 2) | 200 OK [http://test.host/admin/projects/johans-project/oauth_settings/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::OauthSettingsController#show (for 0.0.0.0 at 2010-07-15 11:33:59) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"admin/oauth_settings"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/admin/projects/johans-project/oauth_settings/edit Completed in 4ms (DB: 1) | 302 Found [http://test.host/admin/projects/johans-project/oauth_settings] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::OauthSettingsController#update (for 0.0.0.0 at 2010-07-15 11:33:59) [PUT] Parameters: {"project_id"=>"johans-project", "action"=>"update", "oauth_settings"=>{"path_prefix"=>"/foo", "signoff_key"=>"kee", "site"=>"http://oauth.example.com/", "signoff_secret"=>"secret"}, "controller"=>"admin/oauth_settings"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.3ms) UPDATE `projects` SET `oauth_signoff_key` = 'kee', `oauth_signoff_secret` = 'secret', `oauth_path_prefix` = '/foo', `merge_request_custom_states` = NULL, `oauth_signoff_site` = 'http://oauth.example.com/', `updated_at` = '2010-07-15 08:33:59' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/projects/johans-project/oauth_settings/edit Completed in 180ms (DB: 2) | 302 Found [http://test.host/admin/projects/johans-project/oauth_settings?oauth_settings%5Bpath_prefix%5D=%2Ffoo&oauth_settings%5Bsignoff_key%5D=kee&oauth_settings%5Bsignoff_secret%5D=secret&oauth_settings%5Bsite%5D=http%3A%2F%2Foauth.example.com%2F] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Processing Admin::RepositoriesController#index (for 0.0.0.0 at 2010-07-15 11:33:59) [GET] Parameters: {"action"=>"index", "controller"=>"admin/repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 6ms (DB: 1) | 302 Found [http://test.host/admin/repositories] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::RepositoriesController#index (for 0.0.0.0 at 2010-07-15 11:33:59) [GET] Parameters: {"action"=>"index", "controller"=>"admin/repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`ready` = 0) AND (kind in (2,3,0)) LIMIT 0, 10 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering admin/repositories/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.8ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 56ms (View: 40, DB: 2) | 200 OK [http://test.host/admin/repositories] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing Admin::RepositoriesController#recreate (for 0.0.0.0 at 2010-07-15 11:33:59) [PUT] Parameters: {"action"=>"recreate", "id"=>"2", "controller"=>"admin/repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to http://test.host/admin/repositories Completed in 3ms (DB: 1) | 302 Found [http://test.host/admin/repositories/2/recreate] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#reset_password (for 0.0.0.0 at 2010-07-15 11:33:59) [POST] Parameters: {"action"=>"reset_password", "id"=>"invalid_user", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'invalid_user') LIMIT 1 Redirected to http://test.host/admin/users Completed in 13ms (DB: 1) | 302 Found [http://test.host/admin/users/invalid_user/reset_password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#reset_password (for 0.0.0.0 at 2010-07-15 11:33:59) [POST] Parameters: {"action"=>"reset_password", "id"=>"johan", "controller"=>"admin/users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = '5c51c01ebdf4e4e9315737e7a7a10b8fb5ebd07f', `updated_at` = '2010-07-15 08:33:59' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/users Completed in 12ms (DB: 2) | 302 Found [http://test.host/admin/users/johan/reset_password] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing Admin::UsersController#index (for 0.0.0.0 at 2010-07-15 11:33:59) [GET] Parameters: {"action"=>"index", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Redirected to http://test.host/ Filter chain halted as [:require_site_admin] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/admin/users] Processing Admin::UsersController#new (for 0.0.0.0 at 2010-07-15 11:33:59) [GET] Parameters: {"action"=>"new", "controller"=>"admin/users"} Redirected to http://test.host/ Filter chain halted as [:require_site_admin] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/admin/users] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#index (for 0.0.0.0 at 2010-07-15 11:33:59) [GET] Parameters: {"action"=>"index", "controller"=>"admin/users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` ORDER BY suspended_at, login LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering admin/users/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 53ms (View: 49, DB: 1) | 200 OK [http://test.host/admin/users] SQL (0.2ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#new (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"new", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering admin/users/new Rendered admin/users/_form (6.6ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 153ms (View: 149, DB: 1) | 200 OK [http://test.host/admin/users/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing Admin::UsersController#create (for 0.0.0.0 at 2010-07-15 11:34:00) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "is_admin"=>"1", "login"=>"johndoe", "password"=>"[FILTERED]", "email"=>"foo@foo.com"}, "action"=>"create", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: is_admin, login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johndoe') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'foo@foo.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('ed6420857bcbaab3fd2609bae04ee03680e3c4dc', NULL, '2010-07-15 08:34:00', NULL, NULL, NULL, '5bf6736393b52673ed94068c7067b05e8dd7c21d', 1, 0, NULL, '43228f6520077eb86f8bef428da7ced703019ae4', NULL, NULL, 1, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'johndoe', NULL, 'foo@foo.com', '2010-07-15 08:34:00') Sent mail to foo@foo.com Date: Thu, 15 Jul 2010 11:34:00 +0300 From: Gitorious To: foo@foo.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is johndoe Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/43228f6520077eb86f8bef428da7ced703019ae4 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/users Completed in 26ms (DB: 1) | 302 Found [http://test.host/admin/users?user%5Bemail%5D=foo%40foo.com&user%5Bis_admin%5D=1&user%5Blogin%5D=johndoe&user%5Bpassword%5D=johndoe&user%5Bpassword_confirmation%5D=johndoe&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing Admin::UsersController#suspend (for 0.0.0.0 at 2010-07-15 11:34:00) [PUT] Parameters: {"action"=>"suspend", "id"=>"johan", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `suspended_at` = '2010-07-15 08:34:00', `updated_at` = '2010-07-15 08:34:00' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/users Completed in 12ms (DB: 3) | 302 Found [http://test.host/admin/users/johan/suspend] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `suspended_at` = '2010-07-15 08:34:00', `updated_at` = '2010-07-15 08:34:00' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing Admin::UsersController#unsuspend (for 0.0.0.0 at 2010-07-15 11:34:00) [PUT] Parameters: {"action"=>"unsuspend", "id"=>"johan", "controller"=>"admin/users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `suspended_at` = NULL, `updated_at` = '2010-07-15 08:34:00' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/users Completed in 11ms (DB: 3) | 302 Found [http://test.host/admin/users/johan/unsuspend] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  Processing AliasesController#destroy (for 0.0.0.0 at 2010-07-15 11:34:00) [DELETE] Parameters: {"action"=>"destroy", "id"=>"911544726", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Email Load (0.3ms) SELECT * FROM `emails` WHERE (`emails`.`id` = '911544726') AND (`emails`.user_id = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Email Destroy (0.1ms) DELETE FROM `emails` WHERE `id` = 911544726 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/aliases Completed in 18ms (DB: 3) | 302 Found [http://test.host/~johan/aliases/911544726] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#destroy (for 0.0.0.0 at 2010-07-15 11:34:00) [DELETE] Parameters: {"action"=>"destroy", "id"=>"911544726", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 3ms (DB: 2) | 302 Found [http://test.host/~johan/aliases/911544726] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#destroy (for 0.0.0.0 at 2010-07-15 11:34:00) [DELETE] Parameters: {"action"=>"destroy", "id"=>"911544726", "controller"=>"aliases", "user_id"=>"johan"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/~johan/aliases/911544726] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.1ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.2ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('20f49427734c52e3876deb4f02e80585d9cbde84', '2010-07-15 08:34:00', 'pending', 1, 'foo@bar.com', '2010-07-15 08:34:00') Sent mail to foo@bar.com Date: Thu, 15 Jul 2010 11:34:00 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/20f49427734c52e3876deb4f02e80585d9cbde84/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing AliasesController#confirm (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"confirm", "id"=>"20f49427734c52e3876deb4f02e80585d9cbde84", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1 AND (`emails`.`confirmation_code` = '20f49427734c52e3876deb4f02e80585d9cbde84')) AND ((`emails`.`aasm_state` IN ('pending')) AND (`emails`.user_id = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.3ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1 AND `emails`.id <> 911544733) LIMIT 1 Email Update (0.2ms) UPDATE `emails` SET `aasm_state` = 'confirmed', `updated_at` = '2010-07-15 08:34:00' WHERE `id` = 911544733 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/aliases Completed in 11ms (DB: 2) | 302 Found [http://test.host/~johan/aliases/20f49427734c52e3876deb4f02e80585d9cbde84/confirm] Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544733)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.0ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.1ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('7d83aaf4f60ad56cd1d60b4122ec1b5c88563128', '2010-07-15 08:34:00', 'pending', 1, 'foo@bar.com', '2010-07-15 08:34:00') Sent mail to foo@bar.com Date: Thu, 15 Jul 2010 11:34:00 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/7d83aaf4f60ad56cd1d60b4122ec1b5c88563128/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing AliasesController#confirm (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"confirm", "id"=>"wrongcode", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1 AND (`emails`.`confirmation_code` = 'wrongcode')) AND ((`emails`.`aasm_state` IN ('pending')) AND (`emails`.user_id = 1)) LIMIT 1 Redirected to http://test.host/~johan Completed in 6ms (DB: 2) | 302 Found [http://test.host/~johan/aliases/wrongcode/confirm] Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544734)  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.1ms) SAVEPOINT active_record_1 Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'foo@bar.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.2ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('80dbee1fc6990e787dab3e9afcbfa9819bd32c6d', '2010-07-15 08:34:00', 'pending', 1, 'foo@bar.com', '2010-07-15 08:34:00') Sent mail to foo@bar.com Date: Thu, 15 Jul 2010 11:34:00 +0300 From: Gitorious To: foo@bar.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/80dbee1fc6990e787dab3e9afcbfa9819bd32c6d/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#confirm (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"confirm", "id"=>"80dbee1fc6990e787dab3e9afcbfa9819bd32c6d", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 3ms (DB: 2) | 302 Found [http://test.host/~johan/aliases/80dbee1fc6990e787dab3e9afcbfa9819bd32c6d/confirm] Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544735)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#new (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"new", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://test.host/~johan/aliases/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#new (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"new", "controller"=>"aliases", "user_id"=>"johan"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/~johan/aliases/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#new (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"new", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering aliases/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 32ms (View: 28, DB: 2) | 200 OK [http://test.host/~johan/aliases/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#index (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"index", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering aliases/index Email Load (0.3ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (8.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (7.9ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 38ms (View: 34, DB: 2) | 200 OK [http://test.host/~johan/aliases] Email Load (0.3ms) SELECT * FROM `emails` WHERE (`emails`.user_id = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#index (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"index", "controller"=>"aliases", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://test.host/~johan/aliases] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#index (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"action"=>"index", "controller"=>"aliases", "user_id"=>"johan"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/~johan/aliases] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.2ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  Processing AliasesController#create (for 0.0.0.0 at 2010-07-15 11:34:00) [POST] Parameters: {"action"=>"create", "controller"=>"aliases", "user_id"=>"johan", "email"=>{"address"=>"bob@example.com"}} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'bob@example.com' AND `emails`.user_id = 1) LIMIT 1 Email Create (0.2ms) INSERT INTO `emails` (`confirmation_code`, `updated_at`, `aasm_state`, `user_id`, `address`, `created_at`) VALUES('534781c4ac1d7399fda82a0deb3df0df9f9a64bf', '2010-07-15 08:34:00', 'pending', 1, 'bob@example.com', '2010-07-15 08:34:00') Sent mail to bob@example.com Date: Thu, 15 Jul 2010 11:34:00 +0300 From: Gitorious To: bob@example.com Subject: [Gitorious] Please confirm this email alias Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello johan, In order to activate your email alias on Gitorious, please follow this link: http://tiuht.it.jyu.fi/~johan/aliases/534781c4ac1d7399fda82a0deb3df0df9f9a64bf/confirm If you did not request this, then please do ignore this email. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/aliases Completed in 16ms (DB: 2) | 302 Found [http://test.host/~johan/aliases?email%5Baddress%5D=bob%40example.com] SQL (0.2ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  SQL (0.1ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  Processing AliasesController#create (for 0.0.0.0 at 2010-07-15 11:34:00) [POST] Parameters: {"action"=>"create", "controller"=>"aliases", "user_id"=>"johan", "email"=>{"address"=>"bob"}} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.2ms) SELECT `emails`.id FROM `emails` WHERE (LOWER(`emails`.`address`) = BINARY 'bob' AND `emails`.user_id = 1) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering aliases/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 38ms (View: 31, DB: 3) | 200 OK [http://test.host/~johan/aliases?email%5Baddress%5D=bob] SQL (0.2ms) SELECT count(*) AS count_all FROM `emails` WHERE (`emails`.user_id = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing AliasesController#create (for 0.0.0.0 at 2010-07-15 11:34:00) [POST] Parameters: {"action"=>"create", "controller"=>"aliases", "user_id"=>"johan", "email"=>{"address"=>"bob@example.com"}} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/~johan/aliases?email%5Baddress%5D=bob%40example.com] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`id` = 911544726)  Processing AliasesController#create (for 0.0.0.0 at 2010-07-15 11:34:00) [POST] Parameters: {"action"=>"create", "controller"=>"aliases", "user_id"=>"johan", "email"=>{"address"=>"bob@example.com"}} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/~johan/aliases?email%5Baddress%5D=bob%40example.com] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#history to json (for 0.0.0.0 at 2010-07-15 11:34:00) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"json", "action"=>"history", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["master", "README.txt"]} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.35): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.33): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' 'master' -- 'README.txt' Completed in 701ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/blobs/history/master/README.txt?format=json] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#history (for 0.0.0.0 at 2010-07-15 11:34:01) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"history", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["master", "README.txt"]} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.34): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.34): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' 'master' -- 'README.txt' Rendering template within layouts/application Rendering blobs/history Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered blobs/_menu (5.9ms) User Load (0.3ms) SELECT * FROM `users` WHERE (email in ('tom@mojombo.com','tom@taco.(none)'))  Cache miss: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'tom@mojombo.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'tom@mojombo.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 2.35ms): avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb Cache miss: avatar_for_f3d1145fe3649a49f5a125f9a81665bf207a7765_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'tom@taco.(none)') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'tom@taco.(none)') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.99ms): avatar_for_f3d1145fe3649a49f5a125f9a81665bf207a7765_thumb Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Rendered commits/_log (29.6ms) Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 746ms (View: 62, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/blobs/history/master/README.txt] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#raw (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"raw", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "README"]} WARNING: Can't mass-assign these protected attributes: subdomain Completed in 3ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/blobs/raw/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/README] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#raw (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"raw", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "README"]} WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/blobs/raw/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/README] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#raw (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"raw", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "foo.rb"]} WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/blobs/raw/HEAD/foo.rb Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/blobs/raw/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/foo.rb] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#show (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "README"]} WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering blobs/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered blobs/_menu (3.1ms) Rendered layouts/_common_head (6.6ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 33ms (View: 30, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/blobs/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/README] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing BlobsController#show (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"blobs", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "foo.rb"]} WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/blobs/HEAD/foo.rb Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/blobs/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/foo.rb] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{"body"=>"blabla"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Comment Create (0.3ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:02', 1, 1, 'blabla', NULL, NULL, 1, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:34:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Columns (0.6ms) SHOW FIELDS FROM `events` SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:02', NULL, 'Repository', 1, 12, 1, 'Repository', '33', '2010-07-15 08:34:02') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/comments Completed in 41ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments?comment%5Bbody%5D=blabla] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `comments`  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{"body"=>"moo"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:02', 1, 1, 'moo', NULL, NULL, 1, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:34:02') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:02', NULL, 'Repository', 1, 12, 1, 'Repository', '34', '2010-07-15 08:34:02') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/comments Completed in 22ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments?comment%5Bbody%5D=moo] SQL (0.2ms) SELECT count(*) AS count_all FROM `comments`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{"body"=>nil}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/application Rendering comments/new Rendered site/_markdown_help (2.5ms) Rendered comments/_form (23.4ms) Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 52ms (View: 44, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments?comment%5Bbody%5D=] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{}, "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "comment"=>{"body"=>"blabla"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:02', 1, 1, 'blabla', NULL, NULL, 1, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:34:02') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:02', NULL, 'Repository', 1, 12, 1, 'Repository', '35', '2010-07-15 08:34:02') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/comments Completed in 22ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments?comment%5Bbody%5D=blabla] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommentsController#index (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"comments", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.`status` = 1) AND (`merge_requests`.target_repository_id = 1)  Rendering template within layouts/application Rendering comments/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered layouts/_common_head (6.5ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 199ms (View: 192, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments] Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#new (for 0.0.0.0 at 2010-07-15 11:34:02) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"comments", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering comments/new Rendered site/_markdown_help (0.3ms) Rendered comments/_form (5.3ms) Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 32ms (View: 26, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments/new] Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommentsController#new (for 0.0.0.0 at 2010-07-15 11:34:03) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"comments", "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/comments/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:03', 2, 3, 'Looks like progress', NULL, NULL, 2, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing CommentsController#edit (for 0.0.0.0 at 2010-07-15 11:34:03) [GET] Parameters: {"project_id"=>"moes-project", "action"=>"edit", "id"=>"36", "controller"=>"comments", "repository_id"=>"moesprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'moesprojectrepos') LIMIT 1 Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 36)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered comments/_edit_body (5.1ms) Completed in 12ms (View: 6, DB: 2) | 200 OK [http://test.host/moes-project/moesprojectrepos/comments/36/edit] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:03', 2, 3, 'Looks like progress', NULL, NULL, 2, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing CommentsController#edit (for 0.0.0.0 at 2010-07-15 11:34:03) [GET] Parameters: {"project_id"=>"moes-project", "action"=>"edit", "id"=>"37", "controller"=>"comments", "repository_id"=>"moesprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'moesprojectrepos') LIMIT 1 Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 37)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Filter chain halted as [:comment_should_be_editable] rendered_or_redirected. Completed in 6ms (View: 0, DB: 3) | 401 Unauthorized [http://test.host/moes-project/moesprojectrepos/comments/37/edit] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:03', 2, 3, 'Looks like progress', NULL, NULL, 2, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing CommentsController#update (for 0.0.0.0 at 2010-07-15 11:34:03) [PUT] Parameters: {"project_id"=>"moes-project", "action"=>"update", "id"=>"38", "controller"=>"comments", "comment"=>{"body"=>"I take that back. This sucks"}, "repository_id"=>"moesprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'moesprojectrepos') LIMIT 1 Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 38)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Comment Update (0.3ms) UPDATE `comments` SET `body` = 'I take that back. This sucks', `state_change` = NULL, `updated_at` = '2010-07-15 08:34:03' WHERE `id` = 38 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered comments/_comment (9.9ms) Completed in 21ms (View: 11, DB: 3) | 200 OK [http://test.host/moes-project/moesprojectrepos/comments/38?comment%5Bbody%5D=I+take+that+back.+This+sucks] Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`id` = 38)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing CommentsController#create to js (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "comment"=>{"lines"=>"135-135:135-138+3", "body"=>"Now this is a useful feature", "target_id"=>1, "sha1"=>"ffca00", "target_type"=>"Repository", "path"=>"test/functional/comments_controller_test.rb"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('135-138', '2010-07-15 08:34:03', 1, 1, 'Now this is a useful feature', 3, 'ffca00', 2, 'Repository', NULL, NULL, 'test/functional/comments_controller_test.rb', '135-135', '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'Repository', 1, 12, 2, 'Repository', '39', '2010-07-15 08:34:03') Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (1, 152, '2010-07-15 08:34:03', '2010-07-15 08:34:03') Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 2))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = 'ffca00') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Rendered commits/_diffs (1.4ms) Rendered comments/_comment (6.3ms) Completed in 34ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Now+this+is+a+useful+feature&comment%5Blines%5D=135-135%3A135-138%2B3&comment%5Bpath%5D=test%2Ffunctional%2Fcomments_controller_test.rb&comment%5Bsha1%5D=ffca00&comment%5Btarget_id%5D=1&comment%5Btarget_type%5D=Repository] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:03', 1, 449844885, 'ffac0', '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"37", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos", "add_to_favorites"=>"1"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 37)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 37)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-07-15 08:34:03', 1, 37, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-07-15 08:34:03') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '40', '2010-07-15 08:34:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 1, '2010-07-15 08:34:03', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (1.1ms) Rendered comments/_comment (6.2ms) Completed in 41ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?add_to_favorites=1&comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=37] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:03', 1, 449844885, 'ffac0', '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Processing CommentsController#create to js (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"38", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 38)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 38)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-07-15 08:34:03', 1, 38, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-07-15 08:34:03') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '41', '2010-07-15 08:34:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.2ms) Completed in 32ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=38] SQL (0.2ms) SELECT count(*) AS count_all FROM `events`  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.`id` = '41') LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:03', 1, 449844885, 'ffac0', '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"39", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 39)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 39)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-07-15 08:34:03', 1, 39, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-07-15 08:34:03') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '42', '2010-07-15 08:34:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.3ms) Completed in 32ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=39] SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  MergeRequestVersion Load (0.3ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:03', 1, 449844885, 'ffac0', '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"40", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 40)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 40)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-07-15 08:34:03', 1, 40, 'Needs more cowbell', 14, 'ffac01-ffab99', 3, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-07-15 08:34:03') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:03') AND (`messages`.sender_id = 3)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(40, 0, 0, '2010-07-15 08:34:03', 'mike commented:\n\nNeeds more cowbell', '2010-07-15 08:34:03', 1, 'mike commented on your merge request', 'unread', NULL, 'MergeRequestVersion', 0, 3, NULL, '2010-07-15 08:34:03') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 12, 3, 'MergeRequest', '43', '2010-07-15 08:34:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.8ms) Completed in 52ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=40] User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.recipient_id = 1) ORDER BY created_at ASC LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 40)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:03', 1, 449844885, 'ffac0', '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"41", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 41)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 41)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-07-15 08:34:03', 1, 41, 'Needs more cowbell', 14, 'ffac01-ffab99', 3, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-07-15 08:34:03') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:03') AND (`messages`.sender_id = 3)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(41, 0, 0, '2010-07-15 08:34:03', 'mike commented:\n\nNeeds more cowbell', '2010-07-15 08:34:03', 1, 'mike commented on your merge request', 'unread', NULL, 'MergeRequestVersion', 0, 3, NULL, '2010-07-15 08:34:03') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 12, 3, 'MergeRequest', '44', '2010-07-15 08:34:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.5ms) Completed in 44ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=41] SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:03', 1, 449844885, 'ffac0', '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"42", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 42)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 42)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-07-15 08:34:03', 1, 42, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-07-15 08:34:03') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '45', '2010-07-15 08:34:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.5ms) Completed in 33ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=42] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:03', 1, 449844885, 'ffac0', '2010-07-15 08:34:03') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommentsController#create to js (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"create", "controller"=>"comments", "merge_request_version_id"=>"43", "comment"=>{"lines"=>"1-1:13-13+14", "body"=>"Needs more cowbell", "sha1"=>"ffac01-ffab99", "path"=>"LICENSE"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 43)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.`id` = 43)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES('13-13', '2010-07-15 08:34:03', 1, 43, 'Needs more cowbell', 14, 'ffac01-ffab99', 1, 'MergeRequestVersion', NULL, NULL, 'LICENSE', '1-1', '2010-07-15 08:34:03') MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '46', '2010-07-15 08:34:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered merge_request_versions/_comments (0.2ms) Rendered comments/_comment (6.4ms) Completed in 33ms (View: 1, DB: 0) | 201 Created [http://test.host/johans-project/johansprojectrepos/comments.js?comment%5Bbody%5D=Needs+more+cowbell&comment%5Blines%5D=1-1%3A13-13%2B14&comment%5Bpath%5D=LICENSE&comment%5Bsha1%5D=ffac01-ffab99&merge_request_version_id=43] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 2)  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"This feature is highly anticipated!"}, "repository_id"=>"johansprojectrepos", "add_to_favorites"=>"1"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:03', 1, 449844885, 'This feature is highly anticipated!', NULL, NULL, 2, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:34:03') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:03') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:34:03', 'moe commented:\n\nThis feature is highly anticipated!', '2010-07-15 08:34:03', 1, 'moe commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-07-15 08:34:03') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 12, 2, 'MergeRequest', '47', '2010-07-15 08:34:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 2))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 2 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 2, '2010-07-15 08:34:03', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 39ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?add_to_favorites=1&comment%5Bbody%5D=This+feature+is+highly+anticipated%21] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 2)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:03) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"This feature is highly anticipated!"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:03', 1, 449844885, 'This feature is highly anticipated!', NULL, NULL, 2, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:34:03') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:03') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:34:03', 'moe commented:\n\nThis feature is highly anticipated!', '2010-07-15 08:34:03', 1, 'moe commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 2, NULL, '2010-07-15 08:34:03') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:03', NULL, 'MergeRequest', 449844885, 12, 2, 'MergeRequest', '48', '2010-07-15 08:34:03') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 2))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 33ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=This+feature+is+highly+anticipated%21] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:04) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"awesome"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:04', 1, 449844885, 'awesome', NULL, NULL, 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:34:04') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:04', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '49', '2010-07-15 08:34:04') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 25ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=awesome] SQL (0.2ms) SELECT count(*) AS count_all FROM `events`  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Event Load (0.1ms) SELECT * FROM `events` ORDER BY events.id DESC LIMIT 1 SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:04) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"awesome", "state"=>"merged"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:04', 1, 449844885, 'awesome', NULL, NULL, 1, 'MergeRequest', '--- \n- \n- merged\n', NULL, NULL, NULL, '2010-07-15 08:34:04') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'merged', `status` = 1, `updated_at` = '2010-07-15 08:34:04' WHERE `id` = 449844885 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:04', NULL, 'awesome', 449844885, 15, 1, 'MergeRequest', 'State changed to merged', '2010-07-15 08:34:04') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 34ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=awesome&comment%5Bstate%5D=merged] SQL (0.2ms) SELECT count(*) AS count_all FROM `events`  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#new (for 0.0.0.0 at 2010-07-15 11:34:04) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"comments", "merge_request_id"=>"11", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering comments/new Rendered site/_markdown_help (0.2ms) Rendered comments/_form (3.7ms) Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 31ms (View: 24, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments/new] MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#new (for 0.0.0.0 at 2010-07-15 11:34:04) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"comments", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering comments/new Rendered site/_markdown_help (0.3ms) Rendered comments/_form (4.2ms) Rendered layouts/_common_head (7.2ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.7ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.1ms) Completed in 35ms (View: 28, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments/new] Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:04) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"Yeah, right", "state"=>"Resolved"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Comment Create (0.4ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:04', 1, 449844885, 'Yeah, right', NULL, NULL, 3, 'MergeRequest', '--- \n- \n- Resolved\n', NULL, NULL, NULL, '2010-07-15 08:34:04') User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:04') AND (`messages`.sender_id = 3)  Message Create (0.3ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(449844885, 0, 0, '2010-07-15 08:34:04', 'mike commented:\n\nYeah, right\n\nThe status of your merge request is now Resolved', '2010-07-15 08:34:04', 1, 'mike commented on your merge request', 'unread', NULL, 'MergeRequest', 0, 3, NULL, '2010-07-15 08:34:04') Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 36ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=Yeah%2C+right&comment%5Bstate%5D=Resolved] MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:04) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"Yeah, right", "state"=>""}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:04', 1, 449844885, 'Yeah, right', NULL, NULL, 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:34:04') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:04', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '52', '2010-07-15 08:34:04') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 25ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=Yeah%2C+right&comment%5Bstate%5D=] MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:04) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"awesome"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:04', 1, 449844885, 'awesome', NULL, NULL, 1, 'MergeRequest', NULL, NULL, NULL, NULL, '2010-07-15 08:34:04') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:04', NULL, 'MergeRequest', 449844885, 12, 1, 'MergeRequest', '53', '2010-07-15 08:34:04') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 23ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=awesome] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Processing CommentsController#create (for 0.0.0.0 at 2010-07-15 11:34:04) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"create", "controller"=>"comments", "merge_request_id"=>"11", "comment"=>{"body"=>"Yeah, right", "state"=>"Resolved"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '11') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:04', 1, 449844885, 'Yeah, right', NULL, NULL, 1, 'MergeRequest', '--- \n- \n- Resolved\n', NULL, NULL, NULL, '2010-07-15 08:34:04') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'resolved')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'resolved')) ORDER BY id asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 11 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 449844885) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Resolved', `status` = 1, `updated_at` = '2010-07-15 08:34:04' WHERE `id` = 449844885 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:04', NULL, 'Yeah, right', 449844885, 15, 1, 'MergeRequest', 'State changed to Resolved', '2010-07-15 08:34:04') Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 449844885))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 32ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/11/comments?comment%5Bbody%5D=Yeah%2C+right&comment%5Bstate%5D=Resolved] MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (8.3ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommentsController#preview (for 0.0.0.0 at 2010-07-15 11:34:04) [POST] Parameters: {"project_id"=>"johans-project", "action"=>"preview", "controller"=>"comments", "comment"=>{"body"=>"Foo"}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering comments/preview Completed in 7ms (View: 2, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos/comments/preview?comment%5Bbody%5D=Foo] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:04' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:04' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:04' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:04' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:04' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-07-15 11:34:04) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["test", "master"], "page"=>nil, "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.31): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Cache miss: paglogtotal:1:2d3acf90f35989df8f262dc50beadc4ee3ae1560:test/master ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Cache write (will save 482.09ms): paglogtotal:1:2d3acf90f35989df8f262dc50beadc4ee3ae1560:test/master Cache miss: paglog:1:1:2d3acf90f35989df8f262dc50beadc4ee3ae1560:test/master ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Cache write (will save 588.31ms): paglog:1:1:2d3acf90f35989df8f262dc50beadc4ee3ae1560:test/master Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (email in ('tom@mojombo.com','dustin@spy.net','chris@ozmm.org','tim@spork.in','evil@che.lu','kamal.fariz@gmail.com','wayne@larsen.st'))  Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache miss: avatar_for_227372f54b3a8795271bf774cb4299f439d0525b_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'dustin@spy.net') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'dustin@spy.net') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.98ms): avatar_for_227372f54b3a8795271bf774cb4299f439d0525b_thumb Cache miss: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'chris@ozmm.org') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'chris@ozmm.org') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.74ms): avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache miss: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'tim@spork.in') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'tim@spork.in') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.86ms): avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache miss: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'evil@che.lu') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'evil@che.lu') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.77ms): avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache miss: avatar_for_bf44e74684c0ee0a5128bdb080f34e6722bed96e_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'kamal.fariz@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'kamal.fariz@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.73ms): avatar_for_bf44e74684c0ee0a5128bdb080f34e6722bed96e_thumb Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache miss: avatar_for_a22a9b1652636a6d1962b640a143bfbc92d70bc6_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'wayne@larsen.st') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'wayne@larsen.st') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.83ms): avatar_for_a22a9b1652636a6d1962b640a143bfbc92d70bc6_thumb Rendered commits/_log (124.2ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.2ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 2027ms (View: 619, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/test/master] Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' SQL (1.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:07' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-07-15 11:34:07) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["master"], "page"=>nil, "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache miss: paglogtotal:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache write (will save 463.99ms): paglogtotal:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master Cache miss: paglog:1:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache write (will save 607.95ms): paglog:1:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (email in ('schacon@gmail.com','tom@mojombo.com','dustin@spy.net','chris@ozmm.org','tim@spork.in','evil@che.lu','kamal.fariz@gmail.com'))  Cache miss: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 2.02ms): avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_227372f54b3a8795271bf774cb4299f439d0525b_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_bf44e74684c0ee0a5128bdb080f34e6722bed96e_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Rendered commits/_log (105.1ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.2ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 2109ms (View: 595, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/master] Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:09' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-07-15 11:34:09) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["master"], "page"=>"3", "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache hit: paglogtotal:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Cache miss: paglog:3:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-list --pretty='raw' --max-count='30' --skip='60' 'master' Cache write (will save 423.87ms): paglog:3:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (email in ('chris@ozmm.org','tom@mojombo.com','tom@taco.(none)'))  Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_f3d1145fe3649a49f5a125f9a81665bf207a7765_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Rendered commits/_log (249.7ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.31): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.2ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 1475ms (View: 613, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/master?page=3] Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-list --pretty='raw' --max-count='30' --skip='60' 'master' SQL (1.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:11' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-07-15 11:34:11) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["master"], "page"=>nil, "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Cache hit: paglogtotal:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Cache hit: paglog:1:1:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:master ({}) Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (email in ('schacon@gmail.com','tom@mojombo.com','dustin@spy.net','chris@ozmm.org','tim@spork.in','evil@che.lu','kamal.fariz@gmail.com'))  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_227372f54b3a8795271bf774cb4299f439d0525b_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_d31ea1fbfbf8569709865fbe7ec838baea7a7bb1_thumb ({}) Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_2afd8d28c1dab08393b1621273da2c565e0cdb0c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_bf44e74684c0ee0a5128bdb080f34e6722bed96e_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_a0409b00a02b23bcd51e9fda4f9e8498969e025c_thumb ({}) Cache hit: avatar_for_77bc9f91a6a9ae71f822d0d1fb36cb3f613ba5d5_thumb ({}) Rendered commits/_log (243.2ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.32): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.3ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.2ms) Completed in 1042ms (View: 607, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/master] Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:13' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#index (for 0.0.0.0 at 2010-07-15 11:34:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["master"], "page"=>nil, "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/commits/nonpack Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/commits/master] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:13' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#feed to atom (for 0.0.0.0 at 2010-07-15 11:34:13) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"atom", "action"=>"feed", "id"=>"master", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Rendering commits/feed Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 22ms (View: 19, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits//feed.atom?id=master] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:13' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#feed to atom (for 0.0.0.0 at 2010-07-15 11:34:13) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"atom", "action"=>"feed", "id"=>"master", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Rendering commits/feed Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 7ms (View: 5, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits//feed.atom?id=master] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:13' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Processing CommitsController#index (for 0.0.0.0 at 2010-07-15 11:34:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"commits", "branch"=>["ticket-%2342"], "repository_id"=>"johansprojectrepos"} WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.55): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'ticket-\#42' Cache miss: paglogtotal:1::ticket-#42 ({}) Grit::Git (0.56): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'ticket-\#42' Cache write (will save 602.10ms): paglogtotal:1::ticket-#42 Cache miss: paglog:1:1::ticket-#42 ({}) Grit::Git (0.55): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'ticket-\#42' Cache write (will save 555.85ms): paglog:1:1::ticket-#42 Rendering template within layouts/application Rendering commits/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (email in (NULL))  Rendered commits/_log (1.1ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (8.3ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 2203ms (View: 485, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/commits/ticket-%252342] SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:16' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-07-15 11:34:16) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (11.9ms) Rendered commits/_diffs (1316.9ms) Rendered comments/_form (6.2ms) Rendered comments/_inline_comment_form (3.3ms) Rendered layouts/_common_head (6.7ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 2541ms (View: 1362, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:18' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show to diff (for 0.0.0.0 at 2010-07-15 11:34:18) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"diff", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Completed in 1088ms (View: 0, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157.diff] SQL (1.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:20' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show to patch (for 0.0.0.0 at 2010-07-15 11:34:20) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"patch", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Grit::Git (0.53): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' format-patch -1 --stdout '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' Completed in 1623ms (View: 0, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157.patch] Grit::Git (0.51): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' format-patch -1 --stdout '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:22' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-07-15 11:34:23) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (6.3ms) Rendered commits/_diffs (1200.1ms) Rendered comments/_form (1.5ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 2330ms (View: 1230, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:25' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-07-15 11:34:25) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (6.3ms) Rendered commits/_diffs (1188.7ms) Rendered comments/_form (1.5ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (6.8ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.2ms) Completed in 2319ms (View: 1219, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:27' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-07-15 11:34:27) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.4ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (6.7ms) Rendered commits/_diffs (1058.4ms) Rendered comments/_form (1.5ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 2327ms (View: 1236, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (1.3ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:30' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Comment Create (0.2ms) INSERT INTO `comments` (`last_line_number`, `updated_at`, `project_id`, `target_id`, `body`, `number_of_lines`, `sha1`, `user_id`, `target_type`, `state_change`, `context`, `path`, `first_line_number`, `created_at`) VALUES(NULL, '2010-07-15 08:34:30', 1, 1, 'foo', NULL, '3fa4e130fa18c92e3030d4accb5d3e0cadd40157', 1, 'Repository', NULL, NULL, NULL, NULL, '2010-07-15 08:34:30') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-07-15 11:34:30) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (6.1ms) Rendered commits/_diffs (1217.4ms) Rendered comments/_comment (8.8ms) Rendered comments/_form (1.4ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 2227ms (View: 1258, DB: 5) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (11.2ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:32' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-07-15 11:34:32) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (4.1ms) Rendered comments/_form (1.2ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (6.3ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 36ms (View: 26, DB: 14) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:32' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-07-15 11:34:32) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"123", "controller"=>"commits", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/commits Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/commit/123] SQL (4.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:34:32' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommitsController#show (for 0.0.0.0 at 2010-07-15 11:34:32) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"3fa4e130fa18c92e3030d4accb5d3e0cadd40157", "controller"=>"commits", "diffmode"=>"sidebyside", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.`sha1` = '3fa4e130fa18c92e3030d4accb5d3e0cadd40157') AND (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`email` = 'schacon@gmail.com') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'schacon@gmail.com') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Rendering template within layouts/application Rendering commits/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_7402f8f98fa5af56902aa64edf12737f0e09a8dc_thumb ({}) Rendered commits/_commit_infobox (159.3ms) Grit::Git (0.33): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --max-count='1' --skip='0' --numstat '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' Rendered commits/_diffs (2229.6ms) Rendered comments/_form (1.5ms) Rendered comments/_inline_comment_form (0.5ms) Rendered layouts/_common_head (6.3ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (2.9ms) Completed in 3922ms (View: 2927, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos/commit/3fa4e130fa18c92e3030d4accb5d3e0cadd40157?diffmode=sidebyside] SQL (1.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:36', 2, 1, 'Group', NULL, 369376230, 1, '2010-07-15 08:34:36') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:36') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011406107, 0, 0, '2010-07-15 08:34:36', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:34:36', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:34:36') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:36', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:34:36') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  Processing CommittershipsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:36) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"1011406107", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011406107 AND (`committerships`.repository_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.3ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011406107 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011406107 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:36', NULL, NULL, 1, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:34:36') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 36ms (DB: 9) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/1011406107] SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Committership Load (0.1ms) SELECT * FROM `committerships` LIMIT 1 Processing CommittershipsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:36) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"347082427", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:require_adminship] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/347082427] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:36', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:34:36') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#edit (for 0.0.0.0 at 2010-07-15 11:34:36) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"1011406108", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011406108 AND (`committerships`.repository_id = 1))  Rendering template within layouts/application Rendering committerships/edit Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (1.9ms) Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 44ms (View: 34, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships/1011406108/edit] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:36', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:34:36') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#edit (for 0.0.0.0 at 2010-07-15 11:34:36) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"1011406109", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011406109 AND (`committerships`.repository_id = 1))  Rendering template within layouts/application Rendering committerships/edit Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Rendered layouts/_common_head (6.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 38ms (View: 29, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships/1011406109/edit] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:36', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:34:36') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#edit (for 0.0.0.0 at 2010-07-15 11:34:36) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"1011406110", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011406110 AND (`committerships`.repository_id = 1))  Rendering template within layouts/application Rendering committerships/edit Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Rendered layouts/_common_head (6.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 38ms (View: 29, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships/1011406110/edit] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:34:36' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:34:36', 135138680, 369376230, 1, '2010-07-15 08:34:36') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#index (for 0.0.0.0 at 2010-07-15 11:34:36) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache miss: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@johansorensen.com') LIMIT 1 Cache write (will save 0.86ms): avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 73ms (View: 60, DB: 7) | 200 OK [http://test.host/+team-thunderbird/johansprojectrepos/committerships] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#index (for 0.0.0.0 at 2010-07-15 11:34:36) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) LIMIT 0, 30 Rendering template within layouts/application Rendering committerships/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (7.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.8ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.2ms) Completed in 239ms (View: 227, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#index (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"action"=>"index", "controller"=>"committerships", "user_id"=>"johan", "repository_id"=>"johansprojectrepos"} User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 66ms (View: 54, DB: 6) | 200 OK [http://test.host/~johan/johansprojectrepos/committerships] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 3 AND `committerships`.id <> 1011405954) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 112, `updated_at` = '2010-07-15 08:34:37' WHERE `id` = 1011405954 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'moesprojectrepos' AND `repositories`.project_id = 2 AND `repositories`.id <> 3) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b13/de7/574a4a04fb250257dcb5a7d6ef01dcf290' AND `repositories`.id <> 3) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:34:37' WHERE `id` = 3 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:34:37', 135138680, 369376230, 1, '2010-07-15 08:34:37') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 64)) AND (`committerships`.repository_id = 3))  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Processing CommittershipsController#index (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"committerships", "repository_id"=>"moesprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'moesprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 64)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Cache miss: avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'mike@example.com') LIMIT 1 Cache write (will save 0.85ms): avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 16)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 32)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Cache hit: avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb ({}) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 32)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 64)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Cache hit: avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb ({}) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 64)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 74ms (View: 61, DB: 9) | 200 OK [http://test.host/+team-thunderbird/moesprojectrepos/committerships] Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3 AND (`committerships`.`committer_type` = 'Group' AND `committerships`.`committer_id` = 369376230))  SQL (0.9ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:34:37' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing CommittershipsController#index (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/+team-thunderbird/johansprojectrepos Filter chain halted as [:require_adminship] rendered_or_redirected. Completed in 8ms (DB: 4) | 302 Found [http://test.host/+team-thunderbird/johansprojectrepos/committerships] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#index (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:require_adminship] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#new (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"committerships", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/new Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) Rendered layouts/_common_head (6.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 55ms (View: 46, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/committerships/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:37', 2, NULL, 'User', 64, 3, 2, '2010-07-15 08:34:37') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing CommittershipsController#new (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "group_id"=>"team-thunderbird", "controller"=>"committerships", "repository_id"=>"johansprojectrepos-clone"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering committerships/new Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered committerships/_permission_explanation (0.2ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (174.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 212ms (View: 202, DB: 4) | 200 OK [http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone/committerships/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  Processing CommittershipsController#create (for 0.0.0.0 at 2010-07-15 11:34:37) [POST] Parameters: {"user"=>{}, "project_id"=>"johans-project", "action"=>"create", "controller"=>"committerships", "permissions"=>["review"], "group"=>{"name"=>"team-thunderbird"}, "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:37', 2, 1, 'Group', 16, 369376230, 1, '2010-07-15 08:34:37') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:37') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011406112, 0, 0, '2010-07-15 08:34:37', 'johan added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:34:37', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:34:37') Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', NULL, NULL, 1, 10, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:34:37') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 39ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships?&group%5Bname%5D=team-thunderbird&permissions%5B%5D=review] SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing CommittershipsController#create (for 0.0.0.0 at 2010-07-15 11:34:37) [POST] Parameters: {"user"=>{"login"=>"moe"}, "project_id"=>"johans-project", "action"=>"create", "controller"=>"committerships", "permissions"=>["review", "commit"], "group"=>{}, "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'moe') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:37', 2, 1, 'User', 48, 2, 1, '2010-07-15 08:34:37') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:37') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011406113, 0, 0, '2010-07-15 08:34:37', 'johan added moe as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:34:37', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 1, NULL, '2010-07-15 08:34:37') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', NULL, NULL, 1, 10, 1, 'Repository', 'moe', '2010-07-15 08:34:37') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 36ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships?&permissions%5B%5D=review&permissions%5B%5D=commit&user%5Blogin%5D=moe] SQL (0.2ms) SELECT count(*) AS count_all FROM `committerships` WHERE (`committerships`.repository_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:37', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:34:37') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#update (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"update", "id"=>"1011406114", "controller"=>"committerships", "permissions"=>["review"], "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011406114 AND (`committerships`.repository_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011406114) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-07-15 08:34:37' WHERE `id` = 1011406114 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 13ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/1011406114?permissions%5B%5D=review] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:37', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:34:37') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#update (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"update", "id"=>"1011406115", "controller"=>"committerships", "permissions"=>["review"], "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011406115 AND (`committerships`.repository_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011406115) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-07-15 08:34:37' WHERE `id` = 1011406115 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 13ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/1011406115?permissions%5B%5D=review] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:37', 2, NULL, 'User', NULL, 3, 1, '2010-07-15 08:34:37') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#update (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"update", "id"=>"1011406116", "controller"=>"committerships", "permissions"=>["review"], "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011406116 AND (`committerships`.repository_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011406116) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 16, `updated_at` = '2010-07-15 08:34:37' WHERE `id` = 1011406116 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/committerships Completed in 13ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos/committerships/1011406116?permissions%5B%5D=review] Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`id` = 1011406116)  SQL (0.4ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#auto_complete_for_group_name to js (for 0.0.0.0 at 2010-07-15 11:34:37) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_group_name", "controller"=>"committerships", "q"=>"thunder"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (LOWER(name) LIKE '%thunder%') LIMIT 10 Completed in 3ms (View: 0, DB: 2) | 200 OK [http://test.host/committerships/auto_complete_for_group_name?format=js&q=thunder] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'dr_awesome@example.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `email` = 'dr_awesome@example.com', `updated_at` = '2010-07-15 08:34:37' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#auto_complete_for_user_login to js (for 0.0.0.0 at 2010-07-15 11:34:37) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_user_login", "controller"=>"committerships", "q"=>"dr_aw"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (lower(login) like '%dr_aw%' or lower(email) like '%dr_aw%') LIMIT 10 Completed in 3ms (View: 0, DB: 2) | 200 OK [http://test.host/committerships/auto_complete_for_user_login?format=js&q=dr_aw] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing CommittershipsController#auto_complete_for_user_login to js (for 0.0.0.0 at 2010-07-15 11:34:37) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_user_login", "controller"=>"committerships", "q"=>"joha"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (lower(login) like '%joha%' or lower(email) like '%joha%') LIMIT 10 Completed in 3ms (View: 0, DB: 1) | 200 OK [http://test.host/committerships/auto_complete_for_user_login?format=js&q=joha] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `public_email` = 0, `updated_at` = '2010-07-15 08:34:37' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing CommittershipsController#auto_complete_for_user_login to js (for 0.0.0.0 at 2010-07-15 11:34:37) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_user_login", "controller"=>"committerships", "q"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (lower(login) like '%johan%' or lower(email) like '%johan%') LIMIT 10 Completed in 3ms (View: 0, DB: 1) | 200 OK [http://test.host/committerships/auto_complete_for_user_login?format=js&q=johan] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', NULL, 'A push event', 1, 18, 1, 'Repository', '', '2010-07-05 08:34:37') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 0', 171, 5, NULL, 'Event', 'ffc00', '2010-07-15 08:34:37') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 1', 171, 5, NULL, 'Event', 'ffc01', '2010-07-15 08:34:37') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 2', 171, 5, NULL, 'Event', 'ffc02', '2010-07-15 08:34:37') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 3', 171, 5, NULL, 'Event', 'ffc03', '2010-07-15 08:34:37') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 4', 171, 5, NULL, 'Event', 'ffc04', '2010-07-15 08:34:37') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.2ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 5', 171, 5, NULL, 'Event', 'ffc05', '2010-07-15 08:34:37') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.1ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 6', 171, 5, NULL, 'Event', 'ffc06', '2010-07-15 08:34:37') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 7', 171, 5, NULL, 'Event', 'ffc07', '2010-07-15 08:34:37') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 8', 171, 5, NULL, 'Event', 'ffc08', '2010-07-15 08:34:37') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.1ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', 'John Doe ', 'Commit number 9', 171, 5, NULL, 'Event', 'ffc09', '2010-07-15 08:34:37') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing EventsController#commits to js (for 0.0.0.0 at 2010-07-15 11:34:37) [GET] Parameters: {"format"=>"js", "action"=>"commits", "id"=>"171", "controller"=>"events"} Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 171 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering events/commits Cache miss: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'john@doe.org') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'john@doe.org') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 Cache write (will save 1.80ms): avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 171)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 69ms (View: 52, DB: 12) | 200 OK [http://test.host/events/171/commits.js] SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:37', NULL, 'A push event', 1, 18, 1, 'Repository', '', '2010-07-05 08:34:37') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 0', 182, 5, NULL, 'Event', 'ffc00', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 1', 182, 5, NULL, 'Event', 'ffc01', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 2', 182, 5, NULL, 'Event', 'ffc02', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 3', 182, 5, NULL, 'Event', 'ffc03', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.1ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 4', 182, 5, NULL, 'Event', 'ffc04', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 5', 182, 5, NULL, 'Event', 'ffc05', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 6', 182, 5, NULL, 'Event', 'ffc06', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 7', 182, 5, NULL, 'Event', 'ffc07', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 8', 182, 5, NULL, 'Event', 'ffc08', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`email` = 'John Doe ') LIMIT 1 Email Load (0.1ms) SELECT * FROM `emails` WHERE (`emails`.`address` = 'John Doe ') AND (`emails`.`aasm_state` IN ('confirmed')) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', 'John Doe ', 'Commit number 9', 182, 5, NULL, 'Event', 'ffc09', '2010-07-15 08:34:38') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing EventsController#commits to js (for 0.0.0.0 at 2010-07-15 11:34:38) [GET] Parameters: {"format"=>"js", "action"=>"commits", "id"=>"182", "controller"=>"events"} Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 182 AND `events`.target_type = 'Event' AND (`events`.`action` = 5)) LIMIT 26 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering events/commits Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_0b6132b676979b0ebf823c3a0101a1621d8f77da_thumb ({}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 182)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 60ms (View: 52, DB: 13) | 200 OK [http://test.host/events/182/commits.js] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', NULL, '', 1, 0, 1, 'Project', '', '2010-07-15 08:34:38') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing EventsController#index (for 0.0.0.0 at 2010-07-15 11:34:38) [GET] Parameters: {"action"=>"index", "controller"=>"events"} Event Load (0.3ms) SELECT * FROM `events` ORDER BY events.created_at desc LIMIT 0, 30 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering events/index Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Rendered events/_event (8.3ms) Event rendering (9.4ms) Rendered events/_events (11.5ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 33ms (View: 30, DB: 3) | 200 OK [http://test.host/events] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create to js (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"format"=>"js", "action"=>"create", "watchable_type"=>"Repository", "controller"=>"favorites", "watchable_id"=>"2"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-07-15 08:34:38') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 31ms (View: 0, DB: 4) | 201 Created [http://test.host/favorites.js?watchable_id=2&watchable_type=Repository] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Rrepository", "controller"=>"favorites", "watchable_id"=>"2"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create to js (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"format"=>"js", "action"=>"create", "watchable_type"=>"Repository", "controller"=>"favorites", "watchable_id"=>"2"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-07-15 08:34:38') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 21ms (View: 0, DB: 3) | 201 Created [http://test.host/favorites.js?watchable_id=2&watchable_type=Repository] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Repository", "controller"=>"favorites", "watchable_id"=>"2"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-07-15 08:34:38') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 21ms (DB: 3) | 302 Found [http://test.host/favorites?watchable_id=2&watchable_type=Repository] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Repository", "controller"=>"favorites", "watchable_id"=>"2"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-07-15 08:34:38') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 21ms (DB: 3) | 302 Found [http://test.host/favorites?watchable_id=2&watchable_type=Repository] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Repository", "controller"=>"favorites", "watchable_id"=>"2"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', NULL, 'Repository', 1, 22, 1, 'User', 2, '2010-07-15 08:34:38') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 21ms (DB: 3) | 302 Found [http://test.host/favorites?watchable_id=2&watchable_type=Repository] Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"action"=>"create", "watchable_type"=>"RRepository", "controller"=>"favorites", "watchable_id"=>"2"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"action"=>"create", "watchable_type"=>"Repository", "controller"=>"favorites", "watchable_id"=>"999"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 999)  Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Processing FavoritesController#create (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"action"=>"create", "controller"=>"favorites"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/favorites] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy (for 0.0.0.0 at 2010-07-15 11:34:38) [DELETE] Parameters: {"action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917066 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.2ms) DELETE FROM `favorites` WHERE `id` = 153917066 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 10ms (DB: 2) | 302 Found [http://test.host/favorites/153917066] SQL (9.9ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy (for 0.0.0.0 at 2010-07-15 11:34:38) [DELETE] Parameters: {"action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917067 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153917067 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 10ms (DB: 12) | 302 Found [http://test.host/favorites/153917067] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917067)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy (for 0.0.0.0 at 2010-07-15 11:34:38) [DELETE] Parameters: {"action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917068 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153917068 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone Completed in 9ms (DB: 3) | 302 Found [http://test.host/favorites/153917068] Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy to js (for 0.0.0.0 at 2010-07-15 11:34:38) [DELETE] Parameters: {"format"=>"js", "action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917069 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153917069 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 8ms (View: 0, DB: 3) | 200 OK [http://test.host/favorites/153917069.js] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'Repository', 2, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy to js (for 0.0.0.0 at 2010-07-15 11:34:38) [DELETE] Parameters: {"format"=>"js", "action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917070 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 2 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153917070 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 190ms (View: 0, DB: 3) | 200 OK [http://test.host/favorites/153917070.js] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Processing FavoritesController#create to js (for 0.0.0.0 at 2010-07-15 11:34:38) [POST] Parameters: {"format"=>"js", "action"=>"create", "watchable_type"=>"MergeRequest", "controller"=>"favorites", "watchable_id"=>"449844885"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'MergeRequest', 449844885, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.`data` = 449844885 AND `events`.`project_id` = 1 AND `events`.`body` = 'MergeRequest' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:38', NULL, 'MergeRequest', 1, 22, 1, 'User', 449844885, '2010-07-15 08:34:38') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 22ms (View: 0, DB: 3) | 201 Created [http://test.host/favorites.js?watchable_id=449844885&watchable_type=MergeRequest] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.3ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:38', NULL, 'MergeRequest', 449844885, 1, '2010-07-15 08:34:38', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#destroy to js (for 0.0.0.0 at 2010-07-15 11:34:39) [DELETE] Parameters: {"format"=>"js", "action"=>"destroy", "id"=>#, "controller"=>"favorites"} User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917072 AND (`favorites`.user_id = 1))  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 449844885 AND `events`.`project_id` = 1 AND `events`.`body` = 'MergeRequest' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153917072 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 10ms (View: 0, DB: 3) | 200 OK [http://test.host/favorites/153917072.js] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:39', NULL, 'Repository', 757051622, 3, '2010-07-15 08:34:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#update (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"update", "id"=>"153917073", "controller"=>"favorites", "favorite"=>{"notify_by_email"=>true}} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917073 AND (`favorites`.user_id = 3))  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository' AND `favorites`.id <> 153917073) LIMIT 1 Favorite Update (0.2ms) UPDATE `favorites` SET `notify_by_email` = 1, `updated_at` = '2010-07-15 08:34:39' WHERE `id` = 153917073 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/favorites Completed in 8ms (DB: 3) | 302 Found [http://test.host/favorites/153917073?favorite%5Bnotify_by_email%5D=true] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917073)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:39', NULL, 'Repository', 757051622, 3, '2010-07-15 08:34:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing FavoritesController#update (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"update", "id"=>"153917074", "controller"=>"favorites", "favorite"=>{"user_id"=>1}} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917074 AND (`favorites`.user_id = 3))  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository' AND `favorites`.id <> 153917074) LIMIT 1 Favorite Update (0.2ms) UPDATE `favorites` SET `notify_by_email` = NULL, `updated_at` = '2010-07-15 08:34:39' WHERE `id` = 153917074 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/favorites Completed in 7ms (DB: 3) | 302 Found [http://test.host/favorites/153917074?favorite%5Buser_id%5D=1] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917074)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:39', NULL, 'Repository', 757051622, 3, '2010-07-15 08:34:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:39', NULL, 'Repository', 757051622, 1, '2010-07-15 08:34:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#update (for 0.0.0.0 at 2010-07-15 11:34:39) [PUT] Parameters: {"action"=>"update", "id"=>"153917076", "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.`id` = 153917076 AND (`favorites`.user_id = 3))  Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:39', NULL, 'Repository', 1, 3, '2010-07-15 08:34:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#index (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"index", "controller"=>"favorites"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering favorites/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 34ms (View: 28, DB: 3) | 200 OK [http://test.host/favorites] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:39', NULL, 'Repository', 1, 3, '2010-07-15 08:34:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#index (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"index", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering favorites/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 31ms (View: 25, DB: 3) | 200 OK [http://test.host/favorites] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:39', NULL, 'Repository', 1, 3, '2010-07-15 08:34:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `favorites` WHERE (`favorites`.user_id = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` ORDER BY repositories.id DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:39', NULL, 'Repository', 757051622, 1, '2010-07-15 08:34:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#index (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"index", "controller"=>"favorites"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering favorites/index Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 30ms (View: 25, DB: 3) | 200 OK [http://test.host/favorites] Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 3)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:39', NULL, 'Repository', 1, 3, '2010-07-15 08:34:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing FavoritesController#index (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"index", "controller"=>"favorites"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/favorites] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing GroupsController#index (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"index", "controller"=>"groups"} Group Load (0.2ms) SELECT * FROM `groups` LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/index SQL (0.3ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))  SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238917))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (`repositories`.owner_id = 764238917 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.3ms) Rendered layouts/_common_footer (1.0ms) Completed in 29ms (View: 26, DB: 2) | 200 OK [http://test.host/teams] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing GroupsController#show (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"show", "id"=>"team-thunderbird", "controller"=>"groups"} Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT `memberships`.* FROM `memberships` WHERE (`memberships`.group_id = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Project Load (0.2ms) SELECT `projects`.* FROM `projects` WHERE (`projects`.`owner_id` = 369376230 and `projects`.`owner_type` = 'Group')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.`owner_id` = 369376230 and `repositories`.`owner_type` = 'Group' AND (kind NOT IN (1,4)))  Committership Load (0.2ms) SELECT `committerships`.* FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 and `committerships`.`committer_type` = 'Group')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Event Load (0.2ms) SELECT * FROM `events` WHERE (events.user_id in (3) and events.project_id in (3,1,2)) AND (target_type != 'Event') ORDER BY events.created_at desc, created_at desc LIMIT 0, 30 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/show SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 0) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) AND ((`repositories`.`kind` = 0) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event rendering (0.1ms) Rendered events/_events (2.2ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.3ms) Rendered layouts/_common_footer (1.0ms) Completed in 231ms (View: 216, DB: 4) | 200 OK [http://test.host/+team-thunderbird] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#edit (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"edit", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/edit Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 369376230 AND `projects`.owner_type = 'Group')  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 45ms (View: 37, DB: 3) | 200 OK [http://test.host/+team-thunderbird/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#edit (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"edit", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/edit Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 369376230 AND `projects`.owner_type = 'Group')  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 38ms (View: 31, DB: 3) | 200 OK [http://test.host/+team-thunderbird/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#update (for 0.0.0.0 at 2010-07-15 11:34:39) [PUT] Parameters: {"action"=>"update", "id"=>"team-thunderbird", "controller"=>"groups", "group"=>{"name"=>"hackers"}} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'team-thunderbird' AND `groups`.id <> 369376230) LIMIT 1 Group Update (0.2ms) UPDATE `groups` SET `description` = NULL, `updated_at` = '2010-07-15 08:34:39' WHERE `id` = 369376230 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird Completed in 11ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird?group%5Bname%5D=hackers] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing GroupsController#update (for 0.0.0.0 at 2010-07-15 11:34:39) [PUT] Parameters: {"action"=>"update", "id"=>"team-thunderbird", "controller"=>"groups", "group"=>{"description"=>"Unskilled and unprofessional"}} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/+team-thunderbird?group%5Bdescription%5D=Unskilled+and+unprofessional] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#update (for 0.0.0.0 at 2010-07-15 11:34:39) [PUT] Parameters: {"action"=>"update", "id"=>"team-thunderbird", "controller"=>"groups", "group"=>{"description"=>"We save lives"}} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'team-thunderbird' AND `groups`.id <> 369376230) LIMIT 1 Group Update (0.2ms) UPDATE `groups` SET `description` = 'We save lives', `updated_at` = '2010-07-15 08:34:39' WHERE `id` = 369376230 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird Completed in 11ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird?group%5Bdescription%5D=We+save+lives] Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing GroupsController#new (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"new", "controller"=>"groups"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering groups/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 29ms (View: 26, DB: 2) | 200 OK [http://test.host/teams/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing GroupsController#create (for 0.0.0.0 at 2010-07-15 11:34:39) [POST] Parameters: {"project"=>{"slug"=>"johans-project"}, "action"=>"create", "controller"=>"groups", "group"=>{"name"=>"foo-hackers", "description"=>"Hacking the foos for your bars"}} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'foo-hackers') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('foo-hackers', NULL, '2010-07-15 08:34:39', NULL, NULL, 'Hacking the foos for your bars', NULL, 3, '2010-07-15 08:34:39') [paperclip] Saving attachments. Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 764238939) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:34:39', 135138680, 764238939, 3, '2010-07-15 08:34:39') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+foo-hackers Completed in 15ms (DB: 2) | 302 Found [http://test.host/teams?group%5Bdescription%5D=Hacking+the+foos+for+your+bars&group%5Bname%5D=foo-hackers&project%5Bslug%5D=johans-project] SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 764238939))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing GroupsController#new (for 0.0.0.0 at 2010-07-15 11:34:39) [GET] Parameters: {"action"=>"new", "controller"=>"groups"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/teams/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Group Update (0.2ms) UPDATE `groups` SET `avatar_file_name` = 'foo.png', `updated_at` = '2010-07-15 08:34:39' WHERE `id` = 369376230 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing GroupsController#avatar (for 0.0.0.0 at 2010-07-15 11:34:39) [DELETE] Parameters: {"action"=>"avatar", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'team-thunderbird' AND `groups`.id <> 369376230) LIMIT 1 Group Update (0.2ms) UPDATE `groups` SET `avatar_file_name` = NULL, `updated_at` = '2010-07-15 08:34:39' WHERE `id` = 369376230 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird Completed in 12ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/avatar] Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:34:39', 820312697, 369376230, 1, '2010-07-15 08:34:39') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  Processing GroupsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:39) [DELETE] Parameters: {"action"=>"destroy", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.committer_id = 369376230 AND `committerships`.committer_type = 'Group')  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:39', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:34:39') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405954 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405954 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:34:39', NULL, NULL, 3, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:34:39') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 621556429 AND `messages`.notifiable_type = 'Membership')  Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 621556429 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:29:40') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:34:40', 0, 4, 1, NULL, '55f/3b3/8d0dc03185337d7a26426b93f424cf2768', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:34:40', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051732) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:40', 2, NULL, 'Group', 112, 369376230, 757051732, '2010-07-15 08:34:40') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051732)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.2ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Cloner Load (0.3ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 200)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 200 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 [paperclip] Deleting attachments. Group Destroy (0.2ms) DELETE FROM `groups` WHERE `id` = 369376230 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/teams Completed in 297ms (DB: 19) | 302 Found [http://test.host/+team-thunderbird] SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  SQL (1.4ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 369376230 AND `projects`.owner_type = 'Group')  SQL (0.0ms) SAVEPOINT active_record_1 Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 3 AND `taggings`.taggable_type = 'Project')  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Project')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.project_id = 3)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind != 1)) ORDER BY repositories.created_at asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind = 1)) LIMIT 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.project_id = 3) ORDER BY created_at asc Project Destroy (0.1ms) DELETE FROM `projects` WHERE `id` = 3 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  Processing GroupsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:40) [DELETE] Parameters: {"action"=>"destroy", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.owner_id = 369376230 AND `projects`.owner_type = 'Group')  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.committer_id = 369376230 AND `committerships`.committer_type = 'Group')  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:40', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:34:40') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Message Update (0.3ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011405954 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011405954 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:34:40', NULL, NULL, 3, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:34:40') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 3 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 621556429 AND `messages`.notifiable_type = 'Membership')  Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 621556429 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4)))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:29:40') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:34:40', 0, 4, 1, NULL, 'f0a/278/e34f7285fee9b739a0bb1a7b8bcafb03d5', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:34:40', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051733) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:40', 2, NULL, 'Group', 112, 369376230, 757051733, '2010-07-15 08:34:40') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051733)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Cloner Load (0.3ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 202)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 202 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 [paperclip] Deleting attachments. Group Destroy (0.2ms) DELETE FROM `groups` WHERE `id` = 369376230 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/teams Completed in 122ms (DB: 21) | 302 Found [http://test.host/+team-thunderbird] SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:34:40', 820312697, 369376230, 1, '2010-07-15 08:34:40') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  Processing GroupsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:40) [DELETE] Parameters: {"action"=>"destroy", "id"=>"team-thunderbird", "controller"=>"groups"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Redirected to http://test.host/+team-thunderbird Completed in 7ms (DB: 3) | 302 Found [http://test.host/+team-thunderbird] SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create (for 0.0.0.0 at 2010-07-15 11:34:40) [POST] Parameters: {"action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}} Redirected to https://test.host:80/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [https://test.host/keys/create?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create (for 0.0.0.0 at 2010-07-15 11:34:40) [POST] Parameters: {"action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:34:40', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-07-15 08:34:40') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan/keys Completed in 22ms (DB: 1) | 302 Found [https://test.host/~johan/keys?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#create (for 0.0.0.0 at 2010-07-15 11:34:40) [POST] Parameters: {"action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [https://test.host/~johan/keys?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create (for 0.0.0.0 at 2010-07-15 11:34:40) [POST] Parameters: {"action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:34:40', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-07-15 08:34:40') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan/keys Completed in 10ms (DB: 1) | 302 Found [https://test.host/~johan/keys?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create to xml (for 0.0.0.0 at 2010-07-15 11:34:40) [POST] Parameters: {"format"=>"xml", "action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (View: 0, DB: 1) | 401 Unauthorized [https://test.host/~johan/keys.xml?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create to xml (for 0.0.0.0 at 2010-07-15 11:34:40) [POST] Parameters: {"format"=>"xml", "action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:34:40', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-07-15 08:34:40') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 14ms (View: 4, DB: 1) | 201 Created [https://test.host/~johan/keys.xml?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#create to xml (for 0.0.0.0 at 2010-07-15 11:34:40) [POST] Parameters: {"format"=>"xml", "action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [https://test.host/~johan/keys.xml?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create to xml (for 0.0.0.0 at 2010-07-15 11:34:40) [POST] Parameters: {"format"=>"xml", "action"=>"create", "controller"=>"keys", "ssh_key"=>{"key"=>"ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz\nc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi\nZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4\nZm9mcWU= foo@example.com\n"}, "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 SshKey Create (0.2ms) INSERT INTO `ssh_keys` (`updated_at`, `ready`, `user_id`, `key`, `created_at`) VALUES('2010-07-15 08:34:40', 0, 1, 'ssh-rsa bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFzc2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRiZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4Zm9mcWU= foo@example.com', '2010-07-15 08:34:40') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 14ms (View: 4, DB: 1) | 201 Created [https://test.host/~johan/keys.xml?ssh_key%5Bkey%5D=ssh-rsa+bXljYWtkZHlpemltd21vY2NqdGJnaHN2bXFjdG9zbXplaGlpZnZ0a3VyZWFz%0Ac2dkanB4aXNxamxieGVib3l6Z3hmb2ZxZW15Y2FrZGR5aXppbXdtb2NjanRi%0AZ2hzdm1xY3Rvc216ZWhpaWZ2dGt1cmVhc3NnZGpweGlzcWpsYnhlYm95emd4%0AZm9mcWU%3D+foo%40example.com%0A] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering keys/index SshKey Load (0.3ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.0ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 33ms (View: 29, DB: 2) | 200 OK [https://test.host/~johan/keys] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#index (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [https://test.host/~johan/keys] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"action"=>"index", "controller"=>"keys", "user_id"=>"johan"} Redirected to https://test.host:80/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [https://test.host/~johan/keys] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering keys/index SshKey Load (0.3ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.9ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 38ms (View: 33, DB: 2) | 200 OK [https://test.host/~johan/keys] SshKey Load (0.3ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index to xml (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc Completed in 9ms (View: 5, DB: 1) | 200 OK [https://test.host/~johan/keys.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#index to xml (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [https://test.host/~johan/keys.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index to xml (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"keys", "user_id"=>"johan"} Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (View: 0, DB: 0) | 401 Unauthorized [https://test.host/~johan/keys.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index to xml (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"keys", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc Completed in 9ms (View: 5, DB: 1) | 200 OK [https://test.host/~johan/keys.xml] SshKey Load (0.2ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#new (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"action"=>"new", "controller"=>"keys"} Redirected to https://test.host:80/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [https://test.host/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#new (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"action"=>"new", "controller"=>"keys", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering keys/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 31ms (View: 27, DB: 1) | 200 OK [https://test.host/~johan/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing KeysController#new (for 0.0.0.0 at 2010-07-15 11:34:40) [GET] Parameters: {"action"=>"new", "controller"=>"keys", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [https://test.host/~johan/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#new (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"new", "controller"=>"keys", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering keys/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 29ms (View: 25, DB: 2) | 200 OK [https://test.host/~johan/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#destroy (for 0.0.0.0 at 2010-07-15 11:34:41) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"keys"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys/destroy Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys/destroy] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#index (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"index", "controller"=>"keys"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#new (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"new", "controller"=>"keys"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys/new Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#show (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"show", "controller"=>"keys"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys/show Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys/show] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing KeysController#create (for 0.0.0.0 at 2010-07-15 11:34:41) [POST] Parameters: {"action"=>"create", "controller"=>"keys"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to https://test.host/keys/create Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/keys/create] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#show (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"show", "controller"=>"licenses"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 Redirected to http://test.host/licenses/edit Completed in 17ms (DB: 1) | 302 Found [http://test.host/licenses/show] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#edit (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"edit", "controller"=>"licenses"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering licenses/edit Rendered licenses/_tos_link (0.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 4)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 4)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 4)  Rendered layouts/_login_logout (5.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 28ms (View: 26, DB: 1) | 200 OK [http://test.host/licenses/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#update (for 0.0.0.0 at 2010-07-15 11:34:41) [PUT] Parameters: {"user"=>{"terms_of_use"=>"1"}, "action"=>"update", "controller"=>"licenses"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'old-timer' AND `users`.id <> 4) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'old_timer@obsolete.com' AND `users`.id <> 4) LIMIT 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'old-timer' AND `users`.id <> 4) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'old_timer@obsolete.com' AND `users`.id <> 4) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-07-15 08:34:41' WHERE `id` = 4 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/licenses/show Completed in 16ms (DB: 2) | 302 Found [http://test.host/licenses/update?user%5Bterms_of_use%5D=1] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#update (for 0.0.0.0 at 2010-07-15 11:34:41) [PUT] Parameters: {"user"=>{"terms_of_use"=>""}, "action"=>"update", "controller"=>"licenses"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 Redirected to http://test.host/licenses/edit Completed in 2ms (DB: 1) | 302 Found [http://test.host/licenses/update?user%5Bterms_of_use%5D=] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'old-timer' AND `users`.id <> 4) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'old_timer@obsolete.com' AND `users`.id <> 4) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-07-15 08:34:41' WHERE `id` = 4 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing LicensesController#edit (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"edit", "controller"=>"licenses"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 Redirected to http://test.host/licenses/show Completed in 3ms (DB: 1) | 302 Found [http://test.host/licenses/edit] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  Processing LicensesController#update (for 0.0.0.0 at 2010-07-15 11:34:41) [PUT] Parameters: {"user"=>{}, "action"=>"update", "controller"=>"licenses"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 Redirected to http://test.host/licenses/edit Completed in 3ms (DB: 1) | 302 Found [http://test.host/licenses/update?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 2) AND ((`memberships`.group_id = 369376230)) LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Processing MembershipsController#create (for 0.0.0.0 at 2010-07-15 11:34:41) [POST] Parameters: {"membership"=>{"role_id"=>135138680}, "user"=>{"login"=>"moe"}, "action"=>"create", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'moe') LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 2 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:34:41', 135138680, 369376230, 2, '2010-07-15 08:34:41') SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:41') AND (`messages`.sender_id = 3)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(621556458, 0, 0, '2010-07-15 08:34:41', 'mike added you to the \"team-thunderbird\" team, as a administrator', '2010-07-15 08:34:41', 2, 'You have been added to a team', 'unread', NULL, 'Membership', 0, 3, NULL, '2010-07-15 08:34:41') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird/memberships Completed in 30ms (DB: 3) | 302 Found [http://test.host/+team-thunderbird/memberships?membership%5Brole_id%5D=135138680&user%5Blogin%5D=moe] SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing MembershipsController#new (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"new", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/new Role Load (0.3ms) SELECT * FROM `roles` ORDER BY kind desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 212ms (View: 205, DB: 3) | 200 OK [http://test.host/+team-thunderbird/memberships/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Processing MembershipsController#create (for 0.0.0.0 at 2010-07-15 11:34:41) [POST] Parameters: {"membership"=>{"role_id"=>135138680}, "user"=>{"login"=>"no-such-user"}, "action"=>"create", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'no-such-user') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/new Role Load (0.2ms) SELECT * FROM `roles` ORDER BY kind desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.2ms) Completed in 34ms (View: 26, DB: 2) | 200 OK [http://test.host/+team-thunderbird/memberships?membership%5Brole_id%5D=135138680&user%5Blogin%5D=no-such-user] SQL (0.3ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` IS NULL AND `memberships`.group_id = 369376230) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Processing MembershipsController#create (for 0.0.0.0 at 2010-07-15 11:34:41) [POST] Parameters: {"membership"=>{"role_id"=>135138680}, "user"=>{"login"=>"mike"}, "action"=>"create", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 5ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/memberships?membership%5Brole_id%5D=135138680&user%5Blogin%5D=mike] SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MembershipsController#new (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"new", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 5ms (DB: 1) | 302 Found [http://test.host/+team-thunderbird/memberships/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:41) [DELETE] Parameters: {"action"=>"destroy", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556429 AND (`memberships`.group_id = 369376230))  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 621556429 AND `messages`.notifiable_type = 'Membership')  Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 621556429 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird/memberships Completed in 11ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429] SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (1.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:41) [DELETE] Parameters: {"action"=>"destroy", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 5ms (DB: 3) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429] SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MembershipsController#index (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/index User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 37ms (View: 31, DB: 3) | 200 OK [http://test.host/+team-thunderbird/memberships] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing MembershipsController#index (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"index", "group_id"=>"team-thunderbird", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/index User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 37ms (View: 32, DB: 3) | 200 OK [http://test.host/+team-thunderbird/memberships] Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing MembershipsController#auto_complete_for_user_login to js (for 0.0.0.0 at 2010-07-15 11:34:41) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_user_login", "group_id"=>"team-thunderbird", "controller"=>"memberships", "q"=>"mik"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (LOWER(login) LIKE '%mik%') LIMIT 10 Completed in 4ms (View: 0, DB: 1) | 200 OK [http://test.host/+team-thunderbird/memberships/auto_complete_for_user_login.js?q=mik] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#edit (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"edit", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556429 AND (`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering memberships/edit Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.2ms) SELECT * FROM `roles` ORDER BY kind desc WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 35ms (View: 28, DB: 3) | 200 OK [http://test.host/+team-thunderbird/memberships/621556429/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 Processing MembershipsController#update (for 0.0.0.0 at 2010-07-15 11:34:41) [PUT] Parameters: {"membership"=>{"role_id"=>820312697}, "action"=>"update", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556429 AND (`memberships`.group_id = 369376230))  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 369376230 AND `memberships`.id <> 621556429) LIMIT 1 Membership Update (0.1ms) UPDATE `memberships` SET `role_id` = 820312697, `updated_at` = '2010-07-15 08:34:41' WHERE `id` = 621556429 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird/memberships Completed in 12ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429?membership%5Brole_id%5D=820312697] Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 621556429)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#edit (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"action"=>"edit", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 5ms (DB: 2) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 Processing MembershipsController#update (for 0.0.0.0 at 2010-07-15 11:34:41) [PUT] Parameters: {"membership"=>{}, "action"=>"update", "group_id"=>"team-thunderbird", "id"=>"621556429", "controller"=>"memberships"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 2) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/sessions/new Filter chain halted as [:ensure_group_adminship] rendered_or_redirected. Completed in 5ms (DB: 1) | 302 Found [http://test.host/+team-thunderbird/memberships/621556429?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 369376230) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:41', 1, 449844885, 'ffac0', '2010-07-15 08:34:41') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"commit_shas"=>"ffcab-bacff", "action"=>"show", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.6ms) Rendered merge_request_versions/_merge_request_version (6.1ms) Completed in 20ms (View: 7, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/44?commit_shas=ffcab-bacff] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:41', 1, 449844885, 'ffac0', '2010-07-15 08:34:41') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"commit_shas"=>"ffcab-bacff", "action"=>"show", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.6ms) Rendered merge_request_versions/_merge_request_version (2.7ms) Completed in 6ms (View: 3, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/45?commit_shas=ffcab-bacff] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:41', 1, 449844885, 'ffac0', '2010-07-15 08:34:41') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-07-15 11:34:41) [GET] Parameters: {"commit_shas"=>"ffcab", "action"=>"show", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.7ms) Rendered merge_request_versions/_merge_request_version (4.7ms) Completed in 8ms (View: 5, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/46?commit_shas=ffcab] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:42', 1, 449844885, 'ffac0', '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-07-15 11:34:42) [GET] Parameters: {"commit_shas"=>"ffcab", "action"=>"show", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.6ms) Rendered merge_request_versions/_merge_request_version (4.6ms) Completed in 183ms (View: 180, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/47?commit_shas=ffcab] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:42', 1, 449844885, 'ffac0', '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestVersionsController#show (for 0.0.0.0 at 2010-07-15 11:34:42) [GET] Parameters: {"action"=>"show", "id"=>#, "controller"=>"merge_request_versions"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering merge_request_versions/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered comments/_inline_comment_form (0.7ms) Rendered merge_request_versions/_merge_request_version (2.9ms) Completed in 6ms (View: 3, DB: 2) | 200 OK [http://test.host/merge_request_versions/show/48] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Columns (0.6ms) SHOW FIELDS FROM `merge_request_statuses` SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:42', 1, NULL, '#408000', 1, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:42', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:42', 1, 677747833, 'ff', '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-07-15 11:34:42) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>2, "summary"=>"some changes", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2) AND (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2) LIMIT 1 MergeRequest Create (0.3ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:34:42', 2, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 'some changes', NULL, 2, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-07-15 08:34:42') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193764 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:42', NULL, 'MergeRequest', 1000193764, 1, '2010-07-15 08:34:42', 0) SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:42', NULL, NULL, 1000193764, 13, 1, 'MergeRequest', NULL, '2010-07-15 08:34:42') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 1000193764))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193764 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2 AND `merge_requests`.id <> 1000193764) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-07-15 08:34:42' WHERE `id` = 1000193764 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2 AND `merge_requests`.id <> 1000193764) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 16)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1000193764 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:42', NULL, 'MergeRequest', 1000193764, 3, '2010-07-15 08:34:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`action` = 13 AND `events`.`target_id` = 1000193764) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 16)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (3, 204, '2010-07-15 08:34:42', '2010-07-15 08:34:42') MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193764)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone/merge_requests/2 Completed in 74ms (DB: 13) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes&merge_request%5Btarget_repository_id%5D=2] SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  SQL (8.5ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:42', 1, NULL, '#408000', 1, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:42', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:42', 1, 677747833, 'ff', '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests`  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-07-15 11:34:42) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:34:42', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'some changes to be merged', NULL, 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-07-15 08:34:42') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193765 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:42', NULL, 'MergeRequest', 1000193765, 1, '2010-07-15 08:34:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193765) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `oauth_secret` = 'secret', `oauth_token` = 'key', `updated_at` = '2010-07-15 08:34:42' WHERE `id` = 1000193765 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://oauth.example/authorize?key=123 Completed in 27ms (DB: 16) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository_id%5D=1] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:42', 1, NULL, '#408000', 1, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:42', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:42', 1, 677747833, 'ff', '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-07-15 11:34:42) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "target_repository"=>nil, "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` IS NULL AND `merge_requests`.target_repository_id IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2)) ORDER BY repositories.created_at asc Rendering template within layouts/application Rendering merge_requests/new Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (2.2ms) Rendered merge_requests/_commit_list (4.1ms) Rendered merge_requests/_form (14.0ms) Rendered merge_requests/_commit_list_js (3.3ms) Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 61ms (View: 49, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository%5D=&merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:42', 1, NULL, '#408000', 1, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:42', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:42', 1, 677747833, 'ff', '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-07-15 11:34:42) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>2, "summary"=>"some changes", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2) AND (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:34:42', 2, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 'some changes', NULL, 2, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-07-15 08:34:42') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193766 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:42', NULL, 'MergeRequest', 1000193766, 1, '2010-07-15 08:34:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:42', NULL, NULL, 1000193766, 13, 1, 'MergeRequest', NULL, '2010-07-15 08:34:42') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 1000193766))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193766 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2 AND `merge_requests`.id <> 1000193766) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-07-15 08:34:42' WHERE `id` = 1000193766 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.3ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 2 AND `merge_requests`.target_repository_id = 2 AND `merge_requests`.id <> 1000193766) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 16)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 3 AND `favorites`.watchable_id = 1000193766 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:42', NULL, 'MergeRequest', 1000193766, 3, '2010-07-15 08:34:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`action` = 13 AND `events`.`target_id` = 1000193766) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 16)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (3, 205, '2010-07-15 08:34:42', '2010-07-15 08:34:42') MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193766)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Redirected to http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone/merge_requests/2 Completed in 241ms (DB: 12) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes&merge_request%5Btarget_repository_id%5D=2] SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:42', 1, NULL, '#408000', 1, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:42', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:42', 1, 677747833, 'ff', '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#create (for 0.0.0.0 at 2010-07-15 11:34:42) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:42', 1, NULL, '#408000', 1, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:42', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:42', 1, 677747833, 'ff', '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-07-15 11:34:42) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:34:42', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'some changes to be merged', NULL, 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-07-15 08:34:42') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193767 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:42', NULL, 'MergeRequest', 1000193767, 1, '2010-07-15 08:34:42', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193767) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://no.host/authorize Completed in 27ms (DB: 7) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:42', 1, NULL, '#408000', 1, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:42', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:42') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:43', 1, 677747833, 'ff', '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.3ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#create (for 0.0.0.0 at 2010-07-15 11:34:43) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "summary"=>"some changes to be merged", "ending_commit"=>"6823e6622e1da9751c87380ff01a1db1"}, "action"=>"create", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:34:43', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'some changes to be merged', NULL, 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-07-15 08:34:43') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193768 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:43', NULL, 'MergeRequest', 1000193768, 1, '2010-07-15 08:34:43', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193768) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://no.host/authorize Completed in 26ms (DB: 7) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests?merge_request%5Bending_commit%5D=6823e6622e1da9751c87380ff01a1db1&merge_request%5Bsummary%5D=some+changes+to+be+merged&merge_request%5Btarget_repository_id%5D=1] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:43', 1, NULL, '#408000', 1, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:43', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:43', 1, 677747833, 'ff', '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MergeRequestsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:43) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:assert_merge_request_ownership] rendered_or_redirected. Completed in 9ms (DB: 7) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:43', 1, NULL, '#408000', 1, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:43', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:43', 1, 677747833, 'ff', '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:43) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:43', 1, NULL, '#408000', 1, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:43', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:43', 1, 677747833, 'ff', '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:43) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_1' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:29:43') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.3ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_1', NULL, 1, '2010-07-15 08:34:43', 0, 4, 1, NULL, '03e/49c/1bc71c631b72b86bc501a9b962cbf9632c', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:34:43', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051734) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:43', 2, NULL, 'User', 112, 1, 757051734, '2010-07-15 08:34:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051734)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 58 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos Completed in 45ms (DB: 10) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:43', 1, NULL, '#408000', 1, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:43', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.3ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:43', 1, 677747833, 'ff', '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Processing MergeRequestsController#destroy (for 0.0.0.0 at 2010-07-15 11:34:43) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_1' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:29:43') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_1', NULL, 1, '2010-07-15 08:34:43', 0, 4, 1, NULL, '9e7/5ac/b05c55d0a9260fc2a648176a2c4c8d18ce', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:34:43', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051735) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:43', 2, NULL, 'User', 112, 1, 757051735, '2010-07-15 08:34:43') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051735)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 1) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 59 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos Completed in 50ms (DB: 12) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:43', 1, NULL, '#408000', 1, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:43', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.3ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:43', 1, 677747833, 'ff', '2010-07-15 08:34:43') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#edit (for 0.0.0.0 at 2010-07-15 11:34:43) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.22): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.34): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/edit Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_commit_list_js (2.0ms) Rendered layouts/_common_head (10.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.3ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 664ms (View: 46, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12/edit] SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:44', 1, NULL, '#408000', 1, '2010-07-15 08:34:44') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:44', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:44') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:44', 1, 677747833, 'ff', '2010-07-15 08:34:44') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#edit (for 0.0.0.0 at 2010-07-15 11:34:44) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 1)) ORDER BY repositories.created_at asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.37): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.20): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/edit Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_commit_list_js (2.0ms) Rendered layouts/_common_head (9.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.8ms) Rendered searches/_search_box_global (2.1ms) Rendered layouts/_common_footer (1.4ms) Completed in 814ms (View: 193, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12/edit] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:45', 1, NULL, '#408000', 1, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:45', 1, 677747833, 'ff', '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#edit (for 0.0.0.0 at 2010-07-15 11:34:45) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12/edit] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:45', 1, NULL, '#408000', 1, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:45', 1, 677747833, 'ff', '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MergeRequestsController#edit (for 0.0.0.0 at 2010-07-15 11:34:45) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:assert_merge_request_ownership] rendered_or_redirected. Completed in 9ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12/edit] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:45', 1, NULL, '#408000', 1, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:45', 1, 677747833, 'ff', '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#commit_list (for 0.0.0.0 at 2010-07-15 11:34:45) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{}, "action"=>"commit_list", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered merge_requests/_commit_list (4.0ms) Completed in 10ms (View: 4, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/commit_list?] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:45', 1, NULL, '#408000', 1, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:45', 1, 677747833, 'ff', '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#index (for 0.0.0.0 at 2010-07-15 11:34:45) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (6.8ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 59ms (View: 43, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:45', 1, NULL, '#408000', 1, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:45', 1, 677747833, 'ff', '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `status_tag` = 'merged', `updated_at` = '2010-07-15 08:34:45' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#index (for 0.0.0.0 at 2010-07-15 11:34:45) [GET] Parameters: {"status"=>"merged", "project_id"=>"johans-project", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((LOWER(status_tag) = 'merged' AND status != 0) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'merged')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (6.7ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 44ms (View: 30, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests?status=merged] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:45', 1, NULL, '#408000', 1, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:45', 1, 677747833, 'ff', '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#index (for 0.0.0.0 at 2010-07-15 11:34:45) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.4ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.4ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (7.3ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.9ms) Rendered layouts/_common_footer (1.3ms) Completed in 235ms (View: 224, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests] SQL (0.3ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  SQL (1.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:45', 1, NULL, '#408000', 1, '2010-07-15 08:34:45') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:45', 1, 677747833, 'ff', '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#index to html (for 0.0.0.0 at 2010-07-15 11:34:45) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"html", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.5ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 51ms (View: 40, DB: 11) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests.html] MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) AND ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc Processing MergeRequestsController#index to xml (for 0.0.0.0 at 2010-07-15 11:34:45) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"xml", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Completed in 25ms (View: 0, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests.html] MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) AND ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:45', 1, NULL, '#408000', 1, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:45', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:45', 1, 677747833, 'ff', '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#index (for 0.0.0.0 at 2010-07-15 11:34:45) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE ((status = 1) AND (`merge_requests`.target_repository_id = 1)) ORDER BY created_at desc, status, id desc LIMIT 0, 50 MergeRequest Load (0.4ms) SELECT status_tag as raw_status_tag FROM merge_requests WHERE target_repository_id = 1 GROUP BY status_tag SQL (0.2ms) SELECT count(*) AS count_all FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Rendering template within layouts/application Rendering merge_requests/index MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (6.8ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.0ms) Completed in 49ms (View: 39, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:45', 1, NULL, '#408000', 1, '2010-07-15 08:34:45') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:46', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:46') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:46', 1, 677747833, 'ff', '2010-07-15 08:34:46') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos-clone' AND `repositories`.project_id = 1 AND `repositories`.id <> 2) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b0c/554/5de8afee2a86064d372c17a113f2984c6b' AND `repositories`.id <> 2) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 1, `owner_type` = 'User', `updated_at` = '2010-07-15 08:34:46' WHERE `id` = 2 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#new (for 0.0.0.0 at 2010-07-15 11:34:46) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "user_id"=>"johan", "repository_id"=>"johansprojectrepos-clone"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.38): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.20): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered merge_requests/_target_branches (2.0ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (159.3ms) Rendered merge_requests/_commit_list_js (2.0ms) Rendered layouts/_common_head (9.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.3ms) Rendered searches/_search_box_global (2.2ms) Rendered layouts/_common_footer (1.5ms) Completed in 835ms (View: 202, DB: 8) | 200 OK [http://test.host/~johan/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:46', 1, NULL, '#408000', 1, '2010-07-15 08:34:46') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:46', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:46') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:46', 1, 677747833, 'ff', '2010-07-15 08:34:46') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#new (for 0.0.0.0 at 2010-07-15 11:34:46) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.22): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.34): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (1.7ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (9.2ms) Rendered merge_requests/_commit_list_js (2.0ms) Rendered layouts/_common_head (9.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.7ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.3ms) Completed in 668ms (View: 49, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:47', 1, NULL, '#408000', 1, '2010-07-15 08:34:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:47', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:47', 1, 677747833, 'ff', '2010-07-15 08:34:47') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#new (for 0.0.0.0 at 2010-07-15 11:34:47) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.37): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.20): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (2.0ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (9.3ms) Rendered merge_requests/_commit_list_js (1.8ms) Rendered layouts/_common_head (9.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.5ms) Rendered searches/_search_box_global (2.1ms) Rendered layouts/_common_footer (1.4ms) Completed in 825ms (View: 201, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:48', 1, NULL, '#408000', 1, '2010-07-15 08:34:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:48', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:48', 1, 677747833, 'ff', '2010-07-15 08:34:48') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#new (for 0.0.0.0 at 2010-07-15 11:34:48) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.22): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.36): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (1.8ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (9.3ms) Rendered merge_requests/_commit_list_js (2.0ms) Rendered layouts/_common_head (9.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.8ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.1ms) Completed in 691ms (View: 49, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:49', 1, NULL, '#408000', 1, '2010-07-15 08:34:49') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:49', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:49') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:49', 1, 677747833, 'ff', '2010-07-15 08:34:49') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'a-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:29:49') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('a-clone', NULL, 1, '2010-07-15 08:34:49', 0, 3, 0, NULL, '6c8/c30/fb8e1624ebff2ab48a2bf72cbf2d9a4c4e', NULL, NULL, NULL, 0, 1, 1, 2, 1, '2010-07-15 08:34:49', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051736) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:34:49', 2, NULL, 'User', 112, 1, 757051736, '2010-07-15 08:34:49') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051736)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051736 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:49', NULL, 'Repository', 757051736, 1, '2010-07-15 08:34:49', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#new (for 0.0.0.0 at 2010-07-15 11:34:49) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.39): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.20): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (2.0ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (9.6ms) Rendered merge_requests/_commit_list_js (2.0ms) Rendered layouts/_common_head (9.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.5ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.2ms) Completed in 843ms (View: 201, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (1.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:50', 1, NULL, '#408000', 1, '2010-07-15 08:34:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:50', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:50', 1, 677747833, 'ff', '2010-07-15 08:34:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#new (for 0.0.0.0 at 2010-07-15 11:34:50) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:50', 1, NULL, '#408000', 1, '2010-07-15 08:34:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:50', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:50', 1, 677747833, 'ff', '2010-07-15 08:34:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#new (for 0.0.0.0 at 2010-07-15 11:34:50) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos-clone"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 2 AND kind != 4 AND merge_requests_enabled = 1)) ORDER BY repositories.created_at asc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Grit::Git (0.23): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Grit::Git (0.35): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering merge_requests/new Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_target_branches (1.8ms) Rendered merge_requests/_commit_list (0.5ms) Rendered merge_requests/_form (9.3ms) Rendered merge_requests/_commit_list_js (2.1ms) Rendered layouts/_common_head (9.3ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (11.9ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.2ms) Completed in 687ms (View: 53, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/merge_requests/new] SQL (9.9ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:50', 1, NULL, '#408000', 1, '2010-07-15 08:34:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:50', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:50', 1, 677747833, 'ff', '2010-07-15 08:34:50') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#show (for 0.0.0.0 at 2010-07-15 11:34:50) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.5ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (77))) ORDER BY comments.created_at Rendered comments/_form (6.2ms) Rendered layouts/_common_head (6.2ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 67ms (View: 55, DB: 18) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:51', 1, NULL, '#408000', 1, '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:51', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:51', 1, 677747833, 'ff', '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `legacy` = 1, `updated_at` = '2010-07-15 08:34:51' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#show (for 0.0.0.0 at 2010-07-15 11:34:51) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/legacy Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered merge_requests/_merge_request (14.3ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  Rendered comments/_form (1.5ms) Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.3ms) Completed in 237ms (View: 225, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:51', 1, NULL, '#408000', 1, '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:51', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:51', 1, 677747833, 'ff', '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing MergeRequestsController#show (for 0.0.0.0 at 2010-07-15 11:34:51) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (7.8ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (79))) ORDER BY comments.created_at Rendered comments/_form (1.4ms) Rendered layouts/_common_head (6.5ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 56ms (View: 47, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:51', 1, NULL, '#408000', 1, '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:51', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:51', 1, 677747833, 'ff', '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing MergeRequestsController#show (for 0.0.0.0 at 2010-07-15 11:34:51) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"677747833", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (2.6ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (80))) ORDER BY comments.created_at Rendered site/_markdown_help (0.2ms) MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE (`users`.`id` = 1) AND ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833)) LIMIT 1 Rendered comments/_form (7.6ms) Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 74ms (View: 62, DB: 9) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/677747833] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:51', 1, NULL, '#408000', 1, '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:51', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:51', 1, 677747833, 'ff', '2010-07-15 08:34:51') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#show (for 0.0.0.0 at 2010-07-15 11:34:51) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (2.8ms) Comment Load (0.4ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (81))) ORDER BY comments.created_at Rendered site/_markdown_help (0.2ms) MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc User Load (0.3ms) SELECT `users`.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE (`users`.`id` = 1) AND ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833)) LIMIT 1 Rendered comments/_form (8.1ms) Rendered layouts/_common_head (7.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.9ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.3ms) Completed in 270ms (View: 255, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:52', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:52', 1, 677747833, 'ff', '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#show to html (for 0.0.0.0 at 2010-07-15 11:34:52) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"html", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Rendering template within layouts/application Rendering merge_requests/show Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (2.6ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (82))) ORDER BY comments.created_at Rendered comments/_form (1.3ms) Rendered layouts/_common_head (6.4ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 51ms (View: 41, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12.html] Processing MergeRequestsController#show to patch (for 0.0.0.0 at 2010-07-15 11:34:52) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"patch", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 6ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12.html] Processing MergeRequestsController#show to xml (for 0.0.0.0 at 2010-07-15 11:34:52) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"xml", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 11ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12.html] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:52', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:52', 1, 677747833, 'ff', '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#show (for 0.0.0.0 at 2010-07-15 11:34:52) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Rendering template within layouts/application Rendering merge_requests/show Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 2)  MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered merge_requests/_version (2.5ms) Comment Load (0.3ms) SELECT * FROM `comments` WHERE ((target_type = 'MergeRequest' AND target_id = 677747833) OR (target_type = 'MergeRequestVersion' AND target_id in (83))) ORDER BY comments.created_at Rendered site/_markdown_help (0.2ms) Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered comments/_form (9.3ms) Rendered layouts/_common_head (6.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 65ms (View: 51, DB: 10) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:52', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:52', 1, 677747833, 'ff', '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-07-15 11:34:52) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "target_repository"=>nil}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id IS NULL AND `merge_requests`.id <> 677747833) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1) AND (id != 1)) ORDER BY repositories.created_at asc Rendering template within layouts/application Rendering merge_requests/edit Rendered merge_requests/_commit_list (0.3ms) Rendered merge_requests/_commit_list_js (1.5ms) Rendered layouts/_common_head (7.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.9ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 50ms (View: 35, DB: 8) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository%5D=&merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:52', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:52', 1, 677747833, 'ff', '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-07-15 11:34:52) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:assert_merge_request_ownership] rendered_or_redirected. Completed in 9ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.1ms) SELECT count(*) AS count_all FROM `merge_requests`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:52', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:52', 1, 677747833, 'ff', '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#update (for 0.0.0.0 at 2010-07-15 11:34:52) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:52', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:52', 1, 677747833, 'ff', '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-07-15 11:34:52) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:assert_merge_request_ownership] rendered_or_redirected. Completed in 9ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:52', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:52', 1, 677747833, 'ff', '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-07-15 11:34:52) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:52', NULL, NULL, 677747833, 15, 1, 'MergeRequest', NULL, '2010-07-15 08:34:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/12 Completed in 25ms (DB: 8) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:52', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:52', 1, 677747833, 'ff', '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-07-15 11:34:52) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:52', NULL, NULL, 677747833, 15, 1, 'MergeRequest', NULL, '2010-07-15 08:34:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/12 Completed in 24ms (DB: 8) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Btarget_repository_id%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:52', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:52', 1, 677747833, 'ff', '2010-07-15 08:34:52') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#update (for 0.0.0.0 at 2010-07-15 11:34:52) [PUT] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1, "proposal"=>"hai, plz merge kthnkxbye"}, "action"=>"update", "id"=>"12", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '12') AND (((status != 0) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1)) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 12 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 677747833) LIMIT 1 MergeRequest Update (0.2ms) UPDATE `merge_requests` SET `proposal` = 'hai, plz merge kthnkxbye', `updated_at` = '2010-07-15 08:34:52' WHERE `id` = 677747833 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:52', NULL, NULL, 677747833, 15, 1, 'MergeRequest', NULL, '2010-07-15 08:34:52') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 677747833))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/12 Completed in 25ms (DB: 8) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/12?merge_request%5Bproposal%5D=hai%2C+plz+merge+kthnkxbye&merge_request%5Btarget_repository_id%5D=1] MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.3ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:52', 1, NULL, '#408000', 1, '2010-07-15 08:34:52') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#target_branches (for 0.0.0.0 at 2010-07-15 11:34:53) [POST] Parameters: {"project_id"=>"johans-project", "merge_request"=>{"target_repository_id"=>1}, "action"=>"target_branches", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered merge_requests/_target_branches (1.6ms) Completed in 9ms (View: 2, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/target_branches?merge_request%5Btarget_repository_id%5D=1] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version LIMIT 1 Processing MergeRequestsController#version (for 0.0.0.0 at 2010-07-15 11:34:53) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"version", "id"=>"12", "version"=>"1", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered merge_requests/_version (4.6ms) Completed in 13ms (View: 5, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/12/version?version=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MergeRequestsController#oauth_return (for 0.0.0.0 at 2010-07-15 11:34:53) [GET] Parameters: {"action"=>"oauth_return", "controller"=>"merge_requests"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/foo/bar Completed in 3ms (DB: 5) | 302 Found [http://test.host/merge_request_landing_page] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.5ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.2ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Processing MergeRequestsController#direct_access (for 0.0.0.0 at 2010-07-15 11:34:53) [GET] Parameters: {"action"=>"direct_access", "id"=>"449844885", "controller"=>"merge_requests"} WARNING: Can't mass-assign these protected attributes: subdomain MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/11 Completed in 4ms (DB: 21) | 302 Found [http://test.host/merge_requests/449844885] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:34:53', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'foo', 'Would like this to be merged', 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-07-15 08:34:53') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193769 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:53', NULL, 'MergeRequest', 1000193769, 1, '2010-07-15 08:34:53', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#terms_accepted (for 0.0.0.0 at 2010-07-15 11:34:53) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"terms_accepted", "id"=>"4", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/4 Completed in 7ms (DB: 7) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/4/terms_accepted] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4) AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.1ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1) LIMIT 1 MergeRequest Create (0.2ms) INSERT INTO `merge_requests` (`status`, `updated_at`, `target_repository_id`, `contribution_agreement_version`, `status_tag`, `updated_by_user_id`, `source_repository_id`, `sha_snapshot`, `source_branch`, `oauth_token`, `oauth_secret`, `summary`, `proposal`, `sequence_number`, `user_id`, `ending_commit`, `reason`, `target_branch`, `legacy`, `created_at`) VALUES(0, '2010-07-15 08:34:53', 1, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 'foo', 'Would like this to be merged', 4, 1, '6823e6622e1da9751c87380ff01a1db1', NULL, NULL, 0, '2010-07-15 08:34:53') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1000193770 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:34:53', NULL, 'MergeRequest', 1000193770, 1, '2010-07-15 08:34:53', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing MergeRequestsController#terms_accepted (for 0.0.0.0 at 2010-07-15 11:34:53) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"terms_accepted", "id"=>"4", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.`default` = 1) AND (`merge_request_statuses`.project_id = 1) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 MergeRequestStatus Load (0.1ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1 AND (LOWER(name) = 'open')) ORDER BY id asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193770) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `status_tag` = 'Open', `status` = 1, `updated_at` = '2010-07-15 08:34:53' WHERE `id` = 1000193770 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193770) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 16)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`target_type` = 'MergeRequest' AND `events`.`action` = 13 AND `events`.`target_id` = 1000193770) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 MergeRequest Load (0.2ms) SELECT `merge_requests`.id FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = 4 AND `merge_requests`.target_repository_id = 1 AND `merge_requests`.id <> 1000193770) LIMIT 1 MergeRequest Update (0.3ms) UPDATE `merge_requests` SET `contribution_agreement_version` = 'valid_version_sha', `updated_at` = '2010-07-15 08:34:53' WHERE `id` = 1000193770 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:34:53', NULL, NULL, 1000193770, 13, 1, 'MergeRequest', NULL, '2010-07-15 08:34:53') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'MergeRequest') AND (`favorites`.watchable_id = 1000193770))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193770 AND `favorites`.watchable_type = 'MergeRequest' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/johansprojectrepos/merge_requests/4 Completed in 237ms (DB: 11) | 302 Found [http://test.host/johans-project/johansprojectrepos/merge_requests/4/terms_accepted] SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:53', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:53', 1, 677747833, 'ff', '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#commit_status (for 0.0.0.0 at 2010-07-15 11:34:53) [GET] Parameters: {"project_id"=>"johans-project", "commit_id"=>"ff0", "action"=>"commit_status", "id"=>"677747833", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Completed in 8ms (View: 0, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/677747833/commit_status?commit_id=ff0] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:53', 1, NULL, '#408000', 1, '2010-07-15 08:34:53') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:54', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:54', 1, 677747833, 'ff', '2010-07-15 08:34:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 Processing MergeRequestsController#commit_status (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"project_id"=>"johans-project", "commit_id"=>"ffc", "action"=>"commit_status", "id"=>"677747833", "controller"=>"merge_requests", "repository_id"=>"johansprojectrepos"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Completed in 7ms (View: 0, DB: 6) | 200 OK [http://test.host/johans-project/johansprojectrepos/merge_requests/677747833/commit_status?commit_id=ffc] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:54', 1, NULL, '#408000', 1, '2010-07-15 08:34:54') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:54', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:54', 1, 677747833, 'ff', '2010-07-15 08:34:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 1, '2010-07-15 08:34:54', 1, NULL, '#408000', 1, '2010-07-15 08:34:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 1, '2010-07-15 08:34:54', 0, NULL, '#AA0000', 5, '2010-07-15 08:34:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 677747833)  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 MergeRequestVersion Create (0.1ms) INSERT INTO `merge_request_versions` (`updated_at`, `version`, `merge_request_id`, `merge_base_sha`, `created_at`) VALUES('2010-07-15 08:34:54', 1, 677747833, 'ff', '2010-07-15 08:34:54') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version DESC LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing MessagesController#new (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"new", "to"=>"mike", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (6.7ms) Rendered messages/_sidebar (4.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 50ms (View: 36, DB: 12) | 200 OK [https://test.host/messages/new?to=mike] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#all (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"all", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Message Load (0.2ms) SELECT * FROM messages WHERE (has_unread_replies=1 AND sender_id=1) OR recipient_id=1 AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/all Rendered messages/_messages (2.8ms) Rendered messages/_sidebar (2.8ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 32ms (View: 29, DB: 1) | 200 OK [https://test.host/messages/all] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#all (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"all", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Message Load (0.2ms) SELECT * FROM messages WHERE (has_unread_replies=1 AND sender_id=1) OR recipient_id=1 AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/all Rendered messages/_messages (0.8ms) Rendered messages/_sidebar (3.0ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.2ms) Completed in 228ms (View: 225, DB: 1) | 200 OK [https://test.host/messages/all] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#all (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"all", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Message Load (0.2ms) SELECT * FROM messages WHERE (has_unread_replies=1 AND sender_id=1) OR recipient_id=1 AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/all Rendered messages/_messages (0.9ms) Rendered messages/_sidebar (3.3ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.0ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 33ms (View: 30, DB: 2) | 200 OK [https://test.host/messages/all] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/index Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_message (7.8ms) Rendered messages/_messages (8.9ms) Rendered messages/_sidebar (3.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 41ms (View: 37, DB: 2) | 200 OK [https://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/index Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_message (4.8ms) Rendered messages/_messages (5.8ms) Rendered messages/_sidebar (2.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 35ms (View: 31, DB: 2) | 200 OK [https://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/index Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_message (4.7ms) Rendered messages/_messages (5.7ms) Rendered messages/_sidebar (2.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.7ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 35ms (View: 30, DB: 2) | 200 OK [https://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index to xml (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 7ms (View: 4, DB: 1) | 200 OK [https://test.host/messages.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index to xml (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"format"=>"xml", "action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * from messages WHERE ((sender_id != 2 AND archived_by_recipient = 0 AND recipient_id = 2) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 2)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 100 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 7ms (View: 4, DB: 1) | 200 OK [https://test.host/messages.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#new (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"new", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (3.7ms) Rendered messages/_sidebar (2.8ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 34ms (View: 30, DB: 1) | 200 OK [https://test.host/messages/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#new (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"new", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (3.6ms) Rendered messages/_sidebar (2.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 33ms (View: 29, DB: 1) | 200 OK [https://test.host/messages/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#new (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"new", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (3.5ms) Rendered messages/_sidebar (2.8ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 34ms (View: 30, DB: 1) | 200 OK [https://test.host/messages/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#new (for 0.0.0.0 at 2010-07-15 11:34:54) [GET] Parameters: {"action"=>"new", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/new User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered messages/_form (3.7ms) Rendered messages/_sidebar (207.2ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.4ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.9ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 241ms (View: 237, DB: 2) | 200 OK [https://test.host/messages/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#sent (for 0.0.0.0 at 2010-07-15 11:34:55) [GET] Parameters: {"action"=>"sent", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.sender_id = 2) ORDER BY created_at DESC LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/sent Rendered messages/_messages (1.0ms) Rendered messages/_sidebar (3.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 35ms (View: 31, DB: 2) | 200 OK [https://test.host/messages/sent] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#sent (for 0.0.0.0 at 2010-07-15 11:34:55) [GET] Parameters: {"action"=>"sent", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.sender_id = 2) ORDER BY created_at DESC LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/sent Rendered messages/_messages (0.8ms) Rendered messages/_sidebar (3.0ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 31ms (View: 27, DB: 1) | 200 OK [https://test.host/messages/sent] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#sent (for 0.0.0.0 at 2010-07-15 11:34:55) [GET] Parameters: {"action"=>"sent", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.sender_id = 2) ORDER BY created_at DESC LIMIT 0, 30 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/sent Rendered messages/_messages (0.8ms) Rendered messages/_sidebar (2.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 30ms (View: 26, DB: 2) | 200 OK [https://test.host/messages/sent] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:34:55', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'indeed', '2010-07-15 08:34:55', 2, 'Re: Hello', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-07-15 08:34:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:34:55', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 1)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'quite', '2010-07-15 08:34:55', 2, 'Re: Hello', 'unread', 337189977, NULL, 0, 1, 337189977, '2010-07-15 08:34:55') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190091)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190092)  Processing MessagesController#show (for 0.0.0.0 at 2010-07-15 11:34:55) [GET] Parameters: {"action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190091)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190092)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.3ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.3ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337190091 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337190092 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/show Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Cache miss: avatar_for_30a2f11c50e299fb673ed10ff651887443b52ee0_thumb ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'moe@example.com') LIMIT 1 Cache write (will save 1.09ms): avatar_for_30a2f11c50e299fb673ed10ff651887443b52ee0_thumb Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Rendered messages/_sidebar (2.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 69ms (View: 48, DB: 7) | 200 OK [https://test.host/messages/337189977] Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190091)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337190092)  SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show to xml (for 0.0.0.0 at 2010-07-15 11:34:55) [GET] Parameters: {"format"=>"xml", "action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 11ms (View: 2, DB: 3) | 200 OK [https://test.host/messages/337189977.xml] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show to xml (for 0.0.0.0 at 2010-07-15 11:34:55) [GET] Parameters: {"format"=>"xml", "action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 11ms (View: 2, DB: 2) | 200 OK [https://test.host/messages/337189977.xml] SQL (4.2ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show (for 0.0.0.0 at 2010-07-15 11:34:55) [GET] Parameters: {"action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.3ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/show Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Rendered messages/_sidebar (2.5ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 41ms (View: 31, DB: 7) | 200 OK [https://test.host/messages/337189977] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show (for 0.0.0.0 at 2010-07-15 11:34:55) [GET] Parameters: {"action"=>"show", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.in_reply_to_id = 337189977)  SQL (0.0ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering messages/show Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) Rendered messages/_sidebar (2.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 244ms (View: 234, DB: 3) | 200 OK [https://test.host/messages/337189977] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#auto_complete_for_message_recipients to js (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_message_recipients", "controller"=>"messages", "q"=>"mik"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (LOWER(login) LIKE '%mik%') LIMIT 10 Completed in 4ms (View: 0, DB: 1) | 200 OK [https://test.host/messages/auto_complete_for_message_recipients.js?q=mik] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing MessagesController#auto_complete_for_message_recipients to js (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"format"=>"js", "action"=>"auto_complete_for_message_recipients", "controller"=>"messages", "q"=>"joh"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (LOWER(login) LIKE '%joh%') LIMIT 10 Completed in 4ms (View: 0, DB: 1) | 200 OK [https://test.host/messages/auto_complete_for_message_recipients.js?q=joh] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#create (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", "recipients"=>"johan", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 MessageThread for johan User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '2010-07-15 08:34:55', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 15ms (DB: 1) | 302 Found [https://test.host/messages?message%5Bbody%5D=Lorem+ipsum+dolor+sit+amet%2C+consectetur+adipisicing+elit%2C+sed+do+eiusmod+tempor+incididunt+ut+labore+et+dolore+magna+aliqua.+Ut+enim+ad+minim+veniam%2C+quis+nostrud+exercitation+ullamco+laboris+nisi+ut+aliquip+ex+ea+commodo+consequat.+Duis+aute+irure+dolor+in+reprehenderit+in+voluptate+velit+esse+cillum+dolore+eu+fugiat+nulla+pariatur.+Excepteur+sint+occaecat+cupidatat+non+proident%2C+sunt+in+culpa+qui+officia+deserunt+mollit+anim+id+est+laborum.&message%5Brecipients%5D=johan&message%5Bsubject%5D=Hello] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#create (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", "recipients"=>"johan", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 MessageThread for johan User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '2010-07-15 08:34:55', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 14ms (DB: 2) | 302 Found [https://test.host/messages?message%5Bbody%5D=Lorem+ipsum+dolor+sit+amet%2C+consectetur+adipisicing+elit%2C+sed+do+eiusmod+tempor+incididunt+ut+labore+et+dolore+magna+aliqua.+Ut+enim+ad+minim+veniam%2C+quis+nostrud+exercitation+ullamco+laboris+nisi+ut+aliquip+ex+ea+commodo+consequat.+Duis+aute+irure+dolor+in+reprehenderit+in+voluptate+velit+esse+cillum+dolore+eu+fugiat+nulla+pariatur.+Excepteur+sint+occaecat+cupidatat+non+proident%2C+sunt+in+culpa+qui+officia+deserunt+mollit+anim+id+est+laborum.&message%5Brecipients%5D=johan&message%5Bsubject%5D=Hello] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#create (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", "recipients"=>"johan", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 MessageThread for johan User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '2010-07-15 08:34:55', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 14ms (DB: 2) | 302 Found [https://test.host/messages?message%5Bbody%5D=Lorem+ipsum+dolor+sit+amet%2C+consectetur+adipisicing+elit%2C+sed+do+eiusmod+tempor+incididunt+ut+labore+et+dolore+magna+aliqua.+Ut+enim+ad+minim+veniam%2C+quis+nostrud+exercitation+ullamco+laboris+nisi+ut+aliquip+ex+ea+commodo+consequat.+Duis+aute+irure+dolor+in+reprehenderit+in+voluptate+velit+esse+cillum+dolore+eu+fugiat+nulla+pariatur.+Excepteur+sint+occaecat+cupidatat+non+proident%2C+sunt+in+culpa+qui+officia+deserunt+mollit+anim+id+est+laborum.&message%5Brecipients%5D=johan&message%5Bsubject%5D=Hello] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  Processing MessagesController#create (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"This is for several recipients", "recipients"=>"johan,mike", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 MessageThread for johan,mike User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'This is for several recipients', '2010-07-15 08:34:55', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'This is for several recipients', '2010-07-15 08:34:55', 3, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 24ms (DB: 3) | 302 Found [https://test.host/messages?message%5Bbody%5D=This+is+for+several+recipients&message%5Brecipients%5D=johan%2Cmike&message%5Bsubject%5D=Hello] SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  Processing MessagesController#create (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"This is for several recipients", "recipients"=>"johan mike", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} MessageThread for johan,mike User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'This is for several recipients', '2010-07-15 08:34:55', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'This is for several recipients', '2010-07-15 08:34:55', 3, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 21ms (DB: 2) | 302 Found [https://test.host/messages?message%5Bbody%5D=This+is+for+several+recipients&message%5Brecipients%5D=johan%2Cmike&message%5Bsubject%5D=Hello] SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages`  Processing MessagesController#create (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"This is for several recipients", "recipients"=>"johan.mike", "subject"=>"Hello"}, "action"=>"create", "controller"=>"messages"} MessageThread for johan,mike User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'This is for several recipients', '2010-07-15 08:34:55', 1, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'This is for several recipients', '2010-07-15 08:34:55', 3, 'Hello', 'unread', NULL, NULL, 0, 2, NULL, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages Completed in 21ms (DB: 2) | 302 Found [https://test.host/messages?message%5Bbody%5D=This+is+for+several+recipients&message%5Brecipients%5D=johan%2Cmike&message%5Bsubject%5D=Hello] SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#reply (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"Yeah, great idea", "subject"=>"Well"}, "action"=>"reply", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.3ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:34:55', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'Yeah, great idea', '2010-07-15 08:34:55', 1, 'Well', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages/337189977 Completed in 26ms (DB: 3) | 302 Found [https://test.host/messages/337189977/reply?message%5Bbody%5D=Yeah%2C+great+idea&message%5Bsubject%5D=Well] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#reply (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"Yeah, great idea", "subject"=>"Well"}, "action"=>"reply", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:34:55', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'Yeah, great idea', '2010-07-15 08:34:55', 1, 'Well', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages/337189977 Completed in 26ms (DB: 3) | 302 Found [https://test.host/messages/337189977/reply?message%5Bbody%5D=Yeah%2C+great+idea&message%5Bsubject%5D=Well] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#reply (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"Yeah, great idea", "subject"=>"Well"}, "action"=>"reply", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:34:55', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:34:55' WHERE `id` = 337189977 SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:55') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:55', 'Yeah, great idea', '2010-07-15 08:34:55', 1, 'Well', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-07-15 08:34:55') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages/337189977 Completed in 25ms (DB: 3) | 302 Found [https://test.host/messages/337189977/reply?message%5Bbody%5D=Yeah%2C+great+idea&message%5Bsubject%5D=Well] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#reply (for 0.0.0.0 at 2010-07-15 11:34:55) [POST] Parameters: {"message"=>{"body"=>"Yeah, great idea", "subject"=>"Well"}, "action"=>"reply", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:56' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Update (0.2ms) UPDATE `messages` SET `last_activity_at` = '2010-07-15 08:34:56', `has_unread_replies` = 1, `updated_at` = '2010-07-15 08:34:56' WHERE `id` = 337189977 SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:29:56') AND (`messages`.sender_id = 2)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(NULL, 0, 0, '2010-07-15 08:34:56', 'Yeah, great idea', '2010-07-15 08:34:56', 1, 'Well', 'unread', 337189977, NULL, 0, 2, 337189977, '2010-07-15 08:34:56') SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/messages/337189977 Completed in 26ms (DB: 3) | 302 Found [https://test.host/messages/337189977/reply?message%5Bbody%5D=Yeah%2C+great+idea&message%5Bsubject%5D=Well] SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user1') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john1@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:34:56', '2010-07-15 11:33:56', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '7c81480e8f8da93fa82fa6a87277855f8c7ad50c', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user1', NULL, 'john1@example.com', '2010-07-15 11:33:56') Sent mail to john1@example.com Date: Thu, 15 Jul 2010 11:34:56 +0300 From: Gitorious To: john1@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user1 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/7c81480e8f8da93fa82fa6a87277855f8c7ad50c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user2') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john2@example.com') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:34:56', '2010-07-15 11:33:56', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '50f70f807ef7046f2b59a09635b6c6ed1f37166e', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user2', NULL, 'john2@example.com', '2010-07-15 11:33:56') Sent mail to john2@example.com Date: Thu, 15 Jul 2010 11:34:56 +0300 From: Gitorious To: john2@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user2 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/50f70f807ef7046f2b59a09635b6c6ed1f37166e Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user3') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john3@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:34:56', '2010-07-15 11:33:56', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, 'd62b380cb7a91c3962d21491e44621dac4c6902c', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user3', NULL, 'john3@example.com', '2010-07-15 11:33:56') Sent mail to john3@example.com Date: Thu, 15 Jul 2010 11:34:56 +0300 From: Gitorious To: john3@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user3 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/d62b380cb7a91c3962d21491e44621dac4c6902c Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user4') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john4@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('7e3041ebc2fc05a40c60028e2c4901a81035d3cd', NULL, '2010-07-15 08:34:56', '2010-07-15 11:33:56', NULL, NULL, '00742970dc9e6319f8019fd54864d3ea740f04b1', 1, 0, NULL, '76c9156639b147952eeadfd3dcd62c11f8409958', NULL, NULL, 0, NULL, 'terms_accepted', 1, NULL, NULL, NULL, NULL, 'user4', NULL, 'john4@example.com', '2010-07-15 11:33:56') Sent mail to john4@example.com Date: Thu, 15 Jul 2010 11:34:56 +0300 From: Gitorious To: john4@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is user4 Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/76c9156639b147952eeadfd3dcd62c11f8409958 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#read to js (for 0.0.0.0 at 2010-07-15 11:34:56) [PUT] Parameters: {"format"=>"js", "action"=>"read", "id"=>"337189977", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:56' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 10ms (View: 0, DB: 6) | 200 OK [https://test.host/messages/337189977/read.js] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977)  Processing MessagesController#read to js (for 0.0.0.0 at 2010-07-15 11:34:56) [PUT] Parameters: {"format"=>"js", "action"=>"read", "id"=>"337189977", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 337189977 AND (`messages`.recipient_id = 2)) ORDER BY created_at DESC SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Message Update (0.2ms) UPDATE `messages` SET `aasm_state` = 'read', `updated_at` = '2010-07-15 08:34:56' WHERE `id` = 337189977 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 10ms (View: 0, DB: 2) | 200 OK [https://test.host/messages/337189977/read.js] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing MessagesController#show (for 0.0.0.0 at 2010-07-15 11:34:56) [GET] Parameters: {"action"=>"show", "id"=>nil, "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing MessagesController#index (for 0.0.0.0 at 2010-07-15 11:34:56) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} Redirected to https://test.host:80/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [https://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#index (for 0.0.0.0 at 2010-07-15 11:34:56) [GET] Parameters: {"action"=>"index", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#read (for 0.0.0.0 at 2010-07-15 11:34:56) [GET] Parameters: {"action"=>"read", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/read Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/read] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#sent (for 0.0.0.0 at 2010-07-15 11:34:56) [GET] Parameters: {"action"=>"sent", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/sent Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/sent] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#show (for 0.0.0.0 at 2010-07-15 11:34:56) [GET] Parameters: {"action"=>"show", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/show Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/show] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#create (for 0.0.0.0 at 2010-07-15 11:34:56) [POST] Parameters: {"action"=>"create", "controller"=>"messages"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#reply (for 0.0.0.0 at 2010-07-15 11:34:56) [GET] Parameters: {"action"=>"reply", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/reply Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/reply] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing MessagesController#auto_complete_for_message_recipients (for 0.0.0.0 at 2010-07-15 11:34:56) [POST] Parameters: {"action"=>"auto_complete_for_message_recipients", "controller"=>"messages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to https://test.host/messages/auto_complete_for_message_recipients Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/messages/auto_complete_for_message_recipients] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing PagesController#preview to js (for 0.0.0.0 at 2010-07-15 11:34:56) [PUT] Parameters: {"project_id"=>"johans-project", "format"=>"js", "action"=>"preview", "id"=>"Sandbox", "controller"=>"pages", "page"=>{"content"=>"Foo"}} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering pages/preview Completed in 16ms (View: 2, DB: 2) | 200 OK [http://test.host/johans-project/pages/Sandbox/preview.js?page%5Bcontent%5D=Foo] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Update (0.2ms) UPDATE `projects` SET `wiki_enabled` = 0, `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:34:56' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing PagesController#index (for 0.0.0.0 at 2010-07-15 11:34:56) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/johans-project Filter chain halted as [:check_if_wiki_enabled] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/pages] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#index to atom (for 0.0.0.0 at 2010-07-15 11:34:56) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"atom", "action"=>"index", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering pages/index Completed in 13009ms (View: 12541, DB: 1) | 200 OK [http://test.host/johans-project/pages.atom] Grit::Git (0.40): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#index (for 0.0.0.0 at 2010-07-15 11:35:10) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering pages/index Rendered layouts/_common_head (7.2ms) Rendered layouts/_login_logout (1.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 25ms (View: 21, DB: 1) | 200 OK [http://test.host/johans-project/pages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#index (for 0.0.0.0 at 2010-07-15 11:35:10) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Redirected to http://test.host/johans-project Filter chain halted as [:assert_readyness] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/johans-project/pages] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#show (for 0.0.0.0 at 2010-07-15 11:35:10) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"Home", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Redirected to http://test.host/johans-project Filter chain halted as [:assert_readyness] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/johans-project/pages/Home] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Processing PagesController#show (for 0.0.0.0 at 2010-07-15 11:35:10) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"Home", "controller"=>"pages"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering pages/no_page Rendered layouts/_common_head (7.3ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 25ms (View: 22, DB: 1) | 200 OK [http://test.host/johans-project/pages/Home] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Update (0.2ms) UPDATE `projects` SET `wiki_enabled` = 0, `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing PagesController#show (for 0.0.0.0 at 2010-07-15 11:35:10) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"Foo", "controller"=>"pages"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/johans-project Filter chain halted as [:check_if_wiki_enabled] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/johans-project/pages/Foo] SQL (1.5ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `wiki_permissions` = 1, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 757051622 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing PagesController#edit (for 0.0.0.0 at 2010-07-15 11:35:10) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"NotHere", "controller"=>"pages"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/pages Filter chain halted as [:require_write_permissions] rendered_or_redirected. Completed in 6ms (DB: 3) | 302 Found [http://test.host/johans-project/pages/NotHere/edit] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 3, `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 369376230, `owner_type` = 'Group', `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'temp') LIMIT 1 Group Create (0.1ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('temp', NULL, '2010-07-15 08:35:10', NULL, NULL, NULL, NULL, NULL, '2010-07-15 08:35:10') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 764238940) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:10', 135138680, 764238940, 3, '2010-07-15 08:35:10') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#update (for 0.0.0.0 at 2010-07-15 11:35:10) [PUT] Parameters: {"project"=>{"owner_id"=>764238940}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238940) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Group Load (0.1ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 764238940 AND ((`memberships`.user_id = 3)))  WARNING: Can't mass-assign these protected attributes: owner_id SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.1ms) UPDATE `projects` SET `merge_request_custom_states` = NULL WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 26ms (DB: 6) | 302 Found [http://test.host/johans-project?project%5Bowner_id%5D=764238940] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 3, `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3)) LIMIT 1 Processing ProjectsController#update (for 0.0.0.0 at 2010-07-15 11:35:10) [PUT] Parameters: {"project"=>{"owner_id"=>369376230}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Group Load (0.1ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 369376230 AND ((`memberships`.user_id = 3)))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:10', 2, 3, 'Group', NULL, 369376230, 1, '2010-07-15 08:35:10') User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (created_at > '2010-07-15 08:30:10') AND (`messages`.sender_id = 3)  Message Create (0.2ms) INSERT INTO `messages` (`notifiable_id`, `has_unread_replies`, `archived_by_sender`, `updated_at`, `body`, `last_activity_at`, `recipient_id`, `subject`, `aasm_state`, `in_reply_to_id`, `notifiable_type`, `archived_by_recipient`, `sender_id`, `root_message_id`, `created_at`) VALUES(1011406122, 0, 0, '2010-07-15 08:35:10', 'mike added team-thunderbird as a committer to the johansprojectrepos in the johans project project', '2010-07-15 08:35:10', 1, 'A new committer has been added', 'unread', NULL, 'Committership', 0, 3, NULL, '2010-07-15 08:35:10') Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:10', NULL, NULL, 1, 10, 3, 'Repository', 'team-thunderbird', '2010-07-15 08:35:10') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  SQL (0.1ms) INSERT INTO feed_items (watcher_id, event_id, created_at, updated_at) VALUES (1, 210, '2010-07-15 08:35:10', '2010-07-15 08:35:10') Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1 AND `committerships`.id <> 1011406122) LIMIT 1 Committership Update (0.2ms) UPDATE `committerships` SET `permissions` = 112, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 1011406122 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: owner_id SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 369376230, `owner_type` = 'Group', `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 757051622 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:10', NULL, NULL, 1, 2, 3, 'Project', NULL, '2010-07-15 08:35:10') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 265ms (DB: 10) | 302 Found [http://test.host/johans-project?project%5Bowner_id%5D=369376230] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (1.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 3, `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3)) LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 764238917)  User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 3) AND ((`memberships`.group_id = 764238917)) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 764238917) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:10', 820312697, 764238917, 3, '2010-07-15 08:35:10') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#edit (for 0.0.0.0 at 2010-07-15 11:35:10) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendering template within layouts/application Rendering projects/edit Tagging Columns (0.6ms) SHOW FIELDS FROM `taggings` Tag Load (0.4ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Rendered projects/_form (20.3ms) MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Rendered projects/_merge_request_status_form (5.6ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 79ms (View: 65, DB: 9) | 200 OK [http://test.host/johans-project/edit] Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 3, `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3)) LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 764238917)  User Load (0.1ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 3) AND ((`memberships`.group_id = 764238917)) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 1) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.1ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 3 AND `memberships`.group_id = 764238917) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:10', 820312697, 764238917, 3, '2010-07-15 08:35:10') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#update (for 0.0.0.0 at 2010-07-15 11:35:10) [PUT] Parameters: {"project"=>{"title"=>"foo"}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `title` = 'foo', `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:10' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:10', NULL, NULL, 1, 2, 3, 'Project', NULL, '2010-07-15 08:35:10') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 33ms (DB: 7) | 302 Found [http://test.host/johans-project?project%5Btitle%5D=foo] Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 820312697)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:10) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_type"=>"User"}, "action"=>"create", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'projectx') LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:30:10') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('projectx', 0, '2010-07-15 08:35:10', NULL, NULL, 'project x', NULL, NULL, NULL, 'projectx\'s description', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:35:10', 'User', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 32) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:10') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('projectx-gitorious-wiki', NULL, 32, '2010-07-15 08:35:10', 0, 1, 1, NULL, 'e15/f46/0930c36d2deafa37e4e71fddbb4ff9e1f6', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:35:10', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051737) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:10', 2, NULL, 'User', 112, 1, 757051737, '2010-07-15 08:35:10') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051737)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 32)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 32 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 32 AND `repositories`.id <> 757051737) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'e15/f46/0930c36d2deafa37e4e71fddbb4ff9e1f6' AND `repositories`.id <> 757051737) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 32)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 32 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 32 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 32, '2010-07-15 08:35:10', 1, NULL, '#408000', 1, '2010-07-15 08:35:10') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 32)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 32 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 32 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 32, '2010-07-15 08:35:10', 0, NULL, '#AA0000', 5, '2010-07-15 08:35:10') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 32 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:10', NULL, 'Project', 32, 1, '2010-07-15 08:35:10', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(32, '2010-07-15 08:35:10', NULL, NULL, 32, 0, 1, 'Project', NULL, '2010-07-15 08:35:10') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 32)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 32))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 32))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 32 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 32 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projectx/repositories/new Completed in 71ms (DB: 8) | 302 Found [http://test.host/projects?project%5Bdescription%5D=projectx%27s+description&project%5Bowner_type%5D=User&project%5Bslug%5D=projectx&project%5Btitle%5D=project+x] SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 32)  SQL (0.1ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 32)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.project_id = 32) ORDER BY created_at asc LIMIT 1 SQL (5.4ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:10', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:35:10') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:10') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:35:10', 0, 4, 1, NULL, 'a53/a4d/c53a1ed2af0f8946a4eb0f83ba66b3c3f9', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:35:10', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051738) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:10', 2, NULL, 'Group', 112, 369376230, 757051738, '2010-07-15 08:35:10') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051738)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.2ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 214)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 214 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#destroy (for 0.0.0.0 at 2010-07-15 11:35:10) [DELETE] Parameters: {"action"=>"destroy", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.0ms) SAVEPOINT active_record_1 Tagging Load (0.1ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'Project')  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.project_id = 1)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 1 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 2 Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 4 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 4 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 1 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916935 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:10', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:35:10') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 1))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 1) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1)  Event Load (0.9ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  FeedItem Load (0.2ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 215)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 215 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 1 Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051738 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051738)  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011406124 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011406124 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051738)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 757051738))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 757051738 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 757051738) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 757051738) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 757051738)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051738 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 757051738)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 757051738 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051622 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051622)  Repository Update (0.1ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 757051622))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 757051622 AND `comments`.target_type = 'Repository')  MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 757051622) ORDER BY status, id desc MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 757051622) ORDER BY id desc Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 757051622)  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051622 AND `events`.target_type = 'Repository')  Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 757051622)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 757051622 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.project_id = 1) ORDER BY created_at asc Project Destroy (0.2ms) DELETE FROM `projects` WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projects Completed in 277ms (DB: 30) | 302 Found [http://test.host/johans-project] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1) LIMIT 1 SQL (1.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#destroy (for 0.0.0.0 at 2010-07-15 11:35:11) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 2) | 302 Found [http://test.host/projects/destroy] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing ProjectsController#destroy (for 0.0.0.0 at 2010-07-15 11:35:11) [DELETE] Parameters: {"action"=>"destroy", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/projects Completed in 5ms (DB: 1) | 302 Found [http://test.host/johans-project] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#destroy (for 0.0.0.0 at 2010-07-15 11:35:11) [DELETE] Parameters: {"action"=>"destroy", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Redirected to http://test.host/projects Completed in 7ms (DB: 1) | 302 Found [http://test.host/johans-project] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#index (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"index", "controller"=>"projects"} Project Load (0.3ms) SELECT * FROM `projects` ORDER BY projects.created_at desc LIMIT 0, 20 Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` IN (1,2,3) and `taggings`.`taggable_type` = 'Project')  Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id IN (1,2,3) AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` IN (1,2))  Cache miss: projects:most_active_recently:10:3 ({:expires_in=>1800 seconds}) Project Load (0.6ms) SELECT distinct projects.*, count(events.id) as event_count FROM `projects` INNER JOIN `events` ON events.project_id = projects.id WHERE (events.created_at > '2010-07-12 08:35:11') GROUP BY projects.id ORDER BY event_count desc LIMIT 10 Cache write (will save 2.34ms): projects:most_active_recently:10:3 Tag Load (0.3ms) SELECT tags.id, tags.name, COUNT(*) AS count FROM `tags` INNER JOIN taggings ON tags.id = taggings.tag_id INNER JOIN projects ON projects.id = taggings.taggable_id WHERE (taggings.taggable_type = 'Project') GROUP BY tags.id, tags.name HAVING COUNT(*) > 0 ORDER BY count desc LIMIT 10 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/index Rendered projects/_project (2.8ms) Rendered projects/_project (1.1ms) Rendered projects/_project (1.1ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.4ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 39ms (View: 27, DB: 2) | 200 OK [http://test.host/projects] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project Filter chain halted as [:assure_adminship] rendered_or_redirected. Completed in 6ms (DB: 1) | 302 Found [http://test.host/johans-project/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#new (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.5ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/new Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendered projects/_form (12.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.7ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 47ms (View: 41, DB: 3) | 200 OK [http://test.host/projects/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SshKey Load (0.1ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.0ms) SAVEPOINT active_record_1 SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#new (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Redirected to http://test.host/~johan/keys/new Filter chain halted as [:require_user_has_ssh_keys] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://test.host/projects/new] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#new (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/projects/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#show (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"show", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc WARNING: Can't mass-assign these protected attributes: subdomain Cache miss: paginated-project-events:1:1 ({:expires_in=>600 seconds}) Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.project_id = 1 AND (target_type != 'Event')) ORDER BY created_at desc, created_at asc LIMIT 0, 30 Cache write (will save 1.30ms): paginated-project-events:1:1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Rendering template within layouts/application Rendering projects/show Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (7.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (21.6ms) Event rendering (0.1ms) Rendered events/_events (0.3ms) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Tag Load (0.2ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  SQL (0.4ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (18.6ms) Repositories (sidebar) (19.5ms) Rendered layouts/_common_head (6.5ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 84ms (View: 72, DB: 4) | 200 OK [http://test.host/johans-project] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendering template within layouts/application Rendering projects/edit Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Rendered projects/_form (9.3ms) MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Rendered projects/_merge_request_status_form (3.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered layouts/_common_head (6.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 56ms (View: 45, DB: 3) | 200 OK [http://test.host/johans-project/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#confirm_delete (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"confirm_delete", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/projects/confirm_delete] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (1.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendering template within layouts/application Rendering projects/edit Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Rendered projects/_form (9.2ms) MergeRequestStatus Load (0.2ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Rendered projects/_merge_request_status_form (3.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered layouts/_common_head (6.4ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 58ms (View: 46, DB: 5) | 200 OK [http://test.host/johans-project/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/johans-project/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#show (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"show", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc WARNING: Can't mass-assign these protected attributes: subdomain Cache hit: paginated-project-events:1:1 ({:expires_in=>600 seconds}) Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Rendering template within layouts/application Rendering projects/show Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (0.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (216.3ms) Event rendering (0.1ms) Rendered events/_events (0.3ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Tag Load (0.2ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (5.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.4ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (16.4ms) Repositories (sidebar) (17.3ms) Rendered layouts/_common_head (7.1ms) Rendered layouts/_login_logout (1.4ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 270ms (View: 259, DB: 4) | 200 OK [http://test.host/johans-project] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing ProjectsController#edit_slug (for 0.0.0.0 at 2010-07-15 11:35:11) [GET] Parameters: {"action"=>"edit_slug", "id"=>"johans-project", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project Filter chain halted as [:assure_adminship] rendered_or_redirected. Completed in 6ms (DB: 1) | 302 Found [http://test.host/johans-project/edit_slug] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.3ms) UPDATE `users` SET `aasm_state` = 'pending', `updated_at` = '2010-07-15 08:35:11' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:11) [POST] Parameters: {"action"=>"create", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to http://test.host/~johan/license Filter chain halted as [:require_current_eula] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/projects] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SshKey Load (0.1ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.0ms) SAVEPOINT active_record_1 SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:11) [POST] Parameters: {"action"=>"create", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Redirected to http://test.host/~johan/keys/new Filter chain halted as [:require_user_has_ssh_keys] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/projects] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:11) [POST] Parameters: {"project"=>{}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (`projects`.`slug` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/new Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendered projects/_form (19.0ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 55ms (View: 47, DB: 3) | 200 OK [http://test.host/projects?] SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (`projects`.`slug` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:12', 135138680, 369376230, 1, '2010-07-15 08:35:12') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:12) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_id"=>369376230, "owner_type"=>"Group"}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: owner_id Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 369376230 AND ((`memberships`.user_id = 1)))  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'projectx') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:30:12') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('projectx', 0, '2010-07-15 08:35:12', NULL, NULL, 'project x', NULL, NULL, NULL, 'projectx\'s description', 369376230, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:35:12', 'Group', NULL) Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 33) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:12') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('projectx-gitorious-wiki', NULL, 33, '2010-07-15 08:35:12', 0, 1, 1, NULL, '251/caa/4974afc1d3638defd562342b32ea97047a', NULL, NULL, NULL, 0, 369376230, 1, NULL, 1, '2010-07-15 08:35:12', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051739) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:12', 2, NULL, 'Group', 112, 369376230, 757051739, '2010-07-15 08:35:12') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051739)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 33)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 33 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 33 AND `repositories`.id <> 757051739) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '251/caa/4974afc1d3638defd562342b32ea97047a' AND `repositories`.id <> 757051739) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 33)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 33 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 33 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 33, '2010-07-15 08:35:12', 1, NULL, '#408000', 1, '2010-07-15 08:35:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 33)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 33 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 33 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 33, '2010-07-15 08:35:12', 0, NULL, '#AA0000', 5, '2010-07-15 08:35:12') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 33 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:12', NULL, 'Project', 33, 1, '2010-07-15 08:35:12', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(33, '2010-07-15 08:35:12', NULL, NULL, 33, 0, 1, 'Project', NULL, '2010-07-15 08:35:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 33)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 33))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 33))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 33 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 33 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projectx/repositories/new Completed in 71ms (DB: 8) | 302 Found [http://test.host/projects?project%5Bdescription%5D=projectx%27s+description&project%5Bowner_id%5D=369376230&project%5Bowner_type%5D=Group&project%5Bslug%5D=projectx&project%5Btitle%5D=project+x] SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  SQL (1.2ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:12) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_type"=>"User"}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'projectx') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:30:12') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('projectx', 0, '2010-07-15 08:35:12', NULL, NULL, 'project x', NULL, NULL, NULL, 'projectx\'s description', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:35:12', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 34) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:12') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('projectx-gitorious-wiki', NULL, 34, '2010-07-15 08:35:12', 0, 1, 1, NULL, '7bf/c79/8b0da93821dd7d82a6be2357968afad307', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:35:12', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051740) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:12', 2, NULL, 'User', 112, 1, 757051740, '2010-07-15 08:35:12') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051740)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 34)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 34 AND (kind = 1)) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 34 AND `repositories`.id <> 757051740) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '7bf/c79/8b0da93821dd7d82a6be2357968afad307' AND `repositories`.id <> 757051740) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 34)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 34 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 34 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.1ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 34, '2010-07-15 08:35:12', 1, NULL, '#408000', 1, '2010-07-15 08:35:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 34)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 34 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 34 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 34, '2010-07-15 08:35:12', 0, NULL, '#AA0000', 5, '2010-07-15 08:35:12') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 34 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:12', NULL, 'Project', 34, 1, '2010-07-15 08:35:12', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(34, '2010-07-15 08:35:12', NULL, NULL, 34, 0, 1, 'Project', NULL, '2010-07-15 08:35:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 34)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 34))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 34))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 34 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 34 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projectx/repositories/new Completed in 69ms (DB: 8) | 302 Found [http://test.host/projects?project%5Bdescription%5D=projectx%27s+description&project%5Bowner_type%5D=User&project%5Bslug%5D=projectx&project%5Btitle%5D=project+x] SQL (0.1ms) SELECT count(*) AS count_all FROM `projects`  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#preview to js (for 0.0.0.0 at 2010-07-15 11:35:12) [PUT] Parameters: {"format"=>"js", "project"=>{"title"=>"something new", "description"=>"This is a long description"}, "action"=>"preview", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering projects/preview Completed in 5ms (View: 2, DB: 1) | 200 OK [http://test.host/johans-project/preview.js?project%5Bdescription%5D=This+is+a+long+description&project%5Btitle%5D=something+new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 369376230, `owner_type` = 'Group', `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:12' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing ProjectsController#update (for 0.0.0.0 at 2010-07-15 11:35:12) [PUT] Parameters: {"project"=>{"description"=>"bar"}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `merge_request_custom_states` = NULL, `description` = 'bar', `updated_at` = '2010-07-15 08:35:12' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:12', NULL, NULL, 1, 2, 3, 'Project', NULL, '2010-07-15 08:35:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 3))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 33ms (DB: 5) | 302 Found [http://test.host/johans-project?project%5Bdescription%5D=bar] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.3ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'johans-project' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `owner_id` = 369376230, `owner_type` = 'Group', `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:12' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Processing ProjectsController#edit (for 0.0.0.0 at 2010-07-15 11:35:12) [GET] Parameters: {"action"=>"edit", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 3))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendering template within layouts/application Rendering projects/edit Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 Rendered projects/_form (10.7ms) MergeRequestStatus Load (0.3ms) SELECT * FROM `merge_request_statuses` WHERE (`merge_request_statuses`.project_id = 1) ORDER BY id asc Rendered projects/_merge_request_status_form (4.0ms) Membership Load (0.4ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 3) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 67ms (View: 53, DB: 6) | 200 OK [http://test.host/johans-project/edit] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#update (for 0.0.0.0 at 2010-07-15 11:35:12) [PUT] Parameters: {"action"=>"update", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/projects/update] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#update (for 0.0.0.0 at 2010-07-15 11:35:12) [PUT] Parameters: {"project"=>{"slug"=>"foo", "title"=>"new name", "description"=>"bar"}, "action"=>"update", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'foo' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `title` = 'new name', `slug` = 'foo', `merge_request_custom_states` = NULL, `description` = 'bar', `updated_at` = '2010-07-15 08:35:12' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind = 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mainline-gitorious-wiki' AND `repositories`.project_id = 1 AND `repositories`.id <> 757051622) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '38a/c01/a7e6beb09dc14d7f2bf1346be1ee727c92' AND `repositories`.id <> 757051622) LIMIT 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:12', NULL, NULL, 1, 2, 1, 'Project', NULL, '2010-07-15 08:35:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/foo Completed in 32ms (DB: 4) | 302 Found [http://test.host/johans-project?project%5Bdescription%5D=bar&project%5Bslug%5D=foo&project%5Btitle%5D=new+name] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing ProjectsController#edit_slug (for 0.0.0.0 at 2010-07-15 11:35:12) [GET] Parameters: {"action"=>"edit_slug", "id"=>"johans-project", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/edit_slug WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 33ms (View: 27, DB: 3) | 200 OK [http://test.host/johans-project/edit_slug] Processing ProjectsController#edit_slug (for 0.0.0.0 at 2010-07-15 11:35:12) [PUT] Parameters: {"project"=>{"slug"=>"another_one"}, "action"=>"edit_slug", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'another_one' AND `projects`.id <> 1) LIMIT 1 Project Update (0.2ms) UPDATE `projects` SET `slug` = 'another_one', `merge_request_custom_states` = NULL, `updated_at` = '2010-07-15 08:35:12' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:12', NULL, NULL, 1, 2, 1, 'Project', NULL, '2010-07-15 08:35:12') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/another_one Completed in 20ms (View: 27, DB: 5) | 302 Found [http://test.host/johans-project/edit_slug] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:12) [POST] Parameters: {"action"=>"create", "controller"=>"projects"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/projects] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#clones to js (for 0.0.0.0 at 2010-07-15 11:35:12) [GET] Parameters: {"format"=>"js", "action"=>"clones", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.6ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (17.4ms) Completed in 22ms (View: 16, DB: 3) | 200 OK [http://test.host/johans-project/clones.js] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:12) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_type"=>"User"}, "action"=>"create", "controller"=>"projects"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Rendering template within layouts/application Rendered shared/_throttled_record (1.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#index (for 0.0.0.0 at 2010-07-15 11:35:12) [GET] Parameters: {"action"=>"index", "controller"=>"projects"} Redirected to http://test.host/ Filter chain halted as [:public_and_logged_in] rendered_or_redirected. Completed in 1ms (DB: 2) | 302 Found [http://test.host/projects] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#new (for 0.0.0.0 at 2010-07-15 11:35:12) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering projects/new Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendered projects/_form (12.0ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 39ms (View: 34, DB: 2) | 200 OK [http://test.host/projects/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:12) [POST] Parameters: {"project"=>{"slug"=>"projectx", "title"=>"project x", "description"=>"projectx's description", "owner_type"=>"User"}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Project Load (0.2ms) SELECT `projects`.id FROM `projects` WHERE (LOWER(`projects`.`slug`) = BINARY 'projectx') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `projects` WHERE (created_at > '2010-07-15 08:30:12') AND (`projects`.user_id = 1)  Project Create (0.2ms) INSERT INTO `projects` (`slug`, `merge_requests_need_signoff`, `updated_at`, `license`, `site_id`, `title`, `mailinglist_url`, `oauth_signoff_key`, `merge_request_custom_states`, `description`, `owner_id`, `wiki_enabled`, `user_id`, `home_url`, `oauth_path_prefix`, `bugtracker_url`, `oauth_signoff_secret`, `created_at`, `owner_type`, `oauth_signoff_site`) VALUES('projectx', 0, '2010-07-15 08:35:12', NULL, NULL, 'project x', NULL, NULL, NULL, 'projectx\'s description', 1, 1, 1, NULL, NULL, NULL, NULL, '2010-07-15 08:35:12', 'User', NULL) Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 35) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:12') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('projectx-gitorious-wiki', NULL, 35, '2010-07-15 08:35:12', 0, 1, 1, NULL, '887/3d3/9326e886a8bdf3ed44c29fba7a41e41fa7', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:35:12', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051741) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:12', 2, NULL, 'User', 112, 1, 757051741, '2010-07-15 08:35:12') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051741)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 35)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 35 AND (kind = 1)) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'projectx-gitorious-wiki' AND `repositories`.project_id = 35 AND `repositories`.id <> 757051741) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY '887/3d3/9326e886a8bdf3ed44c29fba7a41e41fa7' AND `repositories`.id <> 757051741) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 35)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 35 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 35 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Open', 35, '2010-07-15 08:35:13', 1, NULL, '#408000', 1, '2010-07-15 08:35:13') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 35)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 35 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 35 AND (kind != 1))) ORDER BY repositories.created_at asc MergeRequestStatus Create (0.2ms) INSERT INTO `merge_request_statuses` (`name`, `project_id`, `updated_at`, `default`, `description`, `color`, `state`, `created_at`) VALUES('Closed', 35, '2010-07-15 08:35:13', 0, NULL, '#AA0000', 5, '2010-07-15 08:35:13') Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 35 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:13', NULL, 'Project', 35, 1, '2010-07-15 08:35:13', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(35, '2010-07-15 08:35:13', NULL, NULL, 35, 0, 1, 'Project', NULL, '2010-07-15 08:35:13') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 35)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 35))  User Load (0.3ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 35))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 35 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 35 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/projectx/repositories/new Completed in 292ms (DB: 7) | 302 Found [http://test.host/projects?project%5Bdescription%5D=projectx%27s+description&project%5Bowner_type%5D=User&project%5Bslug%5D=projectx&project%5Btitle%5D=project+x] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#new (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"action"=>"new", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to http://test.host/projects Filter chain halted as [:check_if_only_site_admins_can_create] rendered_or_redirected. Completed in 3ms (DB: 2) | 302 Found [http://test.host/projects/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing ProjectsController#create (for 0.0.0.0 at 2010-07-15 11:35:13) [POST] Parameters: {"project"=>{}, "action"=>"create", "controller"=>"projects"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Redirected to http://test.host/projects Filter chain halted as [:check_if_only_site_admins_can_create] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/projects?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#show (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"action"=>"show", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc WARNING: Can't mass-assign these protected attributes: subdomain Cache hit: paginated-project-events:1:1 ({:expires_in=>600 seconds}) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Rendering template within layouts/application Rendering projects/show Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (0.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (10.3ms) Event rendering (0.1ms) Rendered events/_events (0.3ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Tag Load (0.2ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.9ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (14.8ms) Repositories (sidebar) (15.7ms) Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 62ms (View: 50, DB: 4) | 200 OK [http://qt.gitorious.test/johans-project] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 3)  Processing ProjectsController#show (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"action"=>"show", "id"=>"thunderbird-project", "controller"=>"projects"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'thunderbird-project') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind != 1)) ORDER BY repositories.created_at asc Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  Redirected to http://qt.tiuht.it.jyu.fi/thunderbird-project Filter chain halted as [:redirect_to_current_site_subdomain] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://www.gitorious.test/thunderbird-project] Site Load (0.2ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 3)  Processing ProjectsController#show (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"action"=>"show", "id"=>"thunderbird-project", "controller"=>"projects"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'thunderbird-project') LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 3 AND (kind != 1)) ORDER BY repositories.created_at asc Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  Redirected to http://qt.tiuht.it.jyu.fi/thunderbird-project Filter chain halted as [:redirect_to_current_site_subdomain] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [http://gitorious.test/thunderbird-project] Site Load (0.1ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing ProjectsController#show (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"action"=>"show", "id"=>"johans-project", "controller"=>"projects"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc WARNING: Can't mass-assign these protected attributes: subdomain Cache hit: paginated-project-events:1:1 ({:expires_in=>600 seconds}) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 3) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY last_pushed_at desc, repositories.created_at asc, repositories.created_at asc LIMIT 5 Rendering template within layouts/application Rendering projects/show Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (0.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (9.5ms) Event rendering (0.1ms) Rendered events/_events (0.3ms) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Tag Load (0.2ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 2) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE ((((`repositories`.`kind` = 3) AND (kind in (2,3) and parent_id is not null)) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendered projects/_repositories (13.9ms) Repositories (sidebar) (14.7ms) Rendered layouts/_common_head (6.7ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 59ms (View: 48, DB: 4) | 200 OK [http://test.host/johans-project] WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#clone (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/clone] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#clone (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/clone Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 764238917) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Rendered layouts/_common_head (6.1ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 39ms (View: 32, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/clone] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SshKey Load (0.1ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.0ms) SAVEPOINT active_record_1 SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#clone (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Redirected to http://test.host/~johan/keys/new Filter chain halted as [:require_user_has_ssh_keys] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/clone] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#clone (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos Completed in 5ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/clone] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#config (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"config", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Completed in 3ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/config] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#config (for 0.0.0.0 at 2010-07-15 11:35:13) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"config", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Completed in 5ms (View: 0, DB: 1) | 200 OK [http://test.host/johans-project/johansprojectrepos/config] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-07-15 11:35:13) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (View: 0, DB: 1) | 401 Unauthorized [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo&repository%5Bowner_type%5D=User] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-07-15 11:35:13) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo-clone", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:13') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-clone', NULL, 1, '2010-07-15 08:35:13', 0, 3, 1, NULL, '757/e32/7b4e0c1a680664664259d9fdfe57b03b51', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:35:13', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051742) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:13', 2, NULL, 'User', 112, 1, 757051742, '2010-07-15 08:35:13') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051742)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051742 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:13', NULL, 'Repository', 757051742, 1, '2010-07-15 08:35:13', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:13', NULL, NULL, 757051742, 3, 1, 'Repository', 1, '2010-07-15 08:35:13') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051742))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051742 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Completed in 255ms (View: 5, DB: 5) | 201 Created [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo-clone&repository%5Bowner_type%5D=User] SQL (3.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-07-15 11:35:13) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foobar", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Completed in 6ms (View: 1, DB: 5) | 422 Unprocessable Entity [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foobar&repository%5Bowner_type%5D=User] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-07-15 11:35:13) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bowner_type%5D=User] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:13', 135138680, 369376230, 1, '2010-07-15 08:35:13') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-07-15 11:35:13) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo-clone", "owner_id"=>369376230, "owner_type"=>"Group"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 369376230 AND ((`memberships`.user_id = 1)))  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:13') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-clone', NULL, 1, '2010-07-15 08:35:13', 0, 2, 1, NULL, '1c7/f6b/a25f6f193879037f14da81b77baed16f04', NULL, NULL, NULL, 0, 369376230, 1, 1, 1, '2010-07-15 08:35:13', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051743) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:13', 2, NULL, 'Group', 112, 369376230, 757051743, '2010-07-15 08:35:13') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051743)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051743 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:13', NULL, 'Repository', 757051743, 1, '2010-07-15 08:35:13', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:13', NULL, NULL, 757051743, 3, 1, 'Repository', 1, '2010-07-15 08:35:13') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051743))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051743 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird/johans-project/foo-clone Completed in 46ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo-clone&repository%5Bowner_id%5D=369376230&repository%5Bowner_type%5D=Group] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-07-15 11:35:13) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo-clone", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:14') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-clone', NULL, 1, '2010-07-15 08:35:14', 0, 3, 1, NULL, '368/668/e39645e6bb729ed2de16648de995970b7d', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:35:14', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051744) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:14', 2, NULL, 'User', 112, 1, 757051744, '2010-07-15 08:35:14') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051744)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051744 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:14', NULL, 'Repository', 757051744, 1, '2010-07-15 08:35:14', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:14', NULL, NULL, 757051744, 3, 1, 'Repository', 1, '2010-07-15 08:35:14') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051744))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051744 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/johans-project/foo-clone Completed in 43ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo-clone&repository%5Bowner_type%5D=User] SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-07-15 11:35:14) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foo-clone", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'foo-clone' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:14') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.4ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('foo-clone', NULL, 1, '2010-07-15 08:35:14', 0, 3, 1, NULL, '9a7/5b8/3e8bc8df000148b0d603d871ac82dfa935', NULL, NULL, NULL, 0, 1, 1, 1, 1, '2010-07-15 08:35:14', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051745) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:14', 2, NULL, 'User', 112, 1, 757051745, '2010-07-15 08:35:14') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051745)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051745 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:14', NULL, 'Repository', 757051745, 1, '2010-07-15 08:35:14', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:14', NULL, NULL, 757051745, 3, 1, 'Repository', 1, '2010-07-15 08:35:14') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051745))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051745 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/~johan/johans-project/foo-clone Completed in 42ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foo-clone&repository%5Bowner_type%5D=User] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SshKey Load (0.1ms) SELECT * FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1) ORDER BY id desc SQL (0.0ms) SAVEPOINT active_record_1 SshKey Destroy (0.1ms) DELETE FROM `ssh_keys` WHERE `id` = 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-07-15 11:35:14) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  Redirected to http://test.host/~johan/keys/new Filter chain halted as [:require_user_has_ssh_keys] rendered_or_redirected. Completed in 4ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bowner_type%5D=User] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Processing RepositoriesController#create_clone (for 0.0.0.0 at 2010-07-15 11:35:14) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"foobar", "owner_type"=>"User"}, "action"=>"create_clone", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 SQL (0.2ms) SELECT count(*) AS count_all FROM `ssh_keys` WHERE (`ssh_keys`.user_id = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos Completed in 5ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/create_clone?repository%5Bname%5D=foobar&repository%5Bowner_type%5D=User] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#destroy (for 0.0.0.0 at 2010-07-15 11:35:14) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:find_and_require_repository_adminship] rendered_or_redirected. Completed in 8ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  Processing RepositoriesController#destroy (for 0.0.0.0 at 2010-07-15 11:35:14) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`data` = 1 AND `events`.`project_id` = 1 AND `events`.`body` = 'Repository' AND `events`.`target_type` = 'User' AND `events`.`action` = 22 AND `events`.`target_id` = 1) LIMIT 1 Favorite Destroy (0.1ms) DELETE FROM `favorites` WHERE `id` = 153916935 Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:14', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:35:14') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 1))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1 AND `comments`.target_type = 'Repository')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 2 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  MergeRequest Load (0.3ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 1) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:14') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:35:14', 0, 4, 1, NULL, '775/d24/b4fe49296c671aca7fa2877272f3450e07', NULL, NULL, NULL, 0, 369376230, 2, 2, 1, '2010-07-15 08:35:14', 'Group', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051746) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:14', 2, NULL, 'Group', 112, 369376230, 757051746, '2010-07-15 08:35:14') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051746)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 226)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 226 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 1)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:14', NULL, NULL, 1, 4, 1, 'Project', 'johansprojectrepos', '2010-07-15 08:35:14') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project Completed in 109ms (DB: 17) | 302 Found [http://test.host/johans-project/johansprojectrepos] SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.project_id = 1)  SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#destroy (for 0.0.0.0 at 2010-07-15 11:35:14) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos-clone' AND `repositories`.project_id = 1 AND `repositories`.id <> 2) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b0c/554/5de8afee2a86064d372c17a113f2984c6b' AND `repositories`.id <> 2) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `user_id` = 1, `updated_at` = '2010-07-15 08:35:14' WHERE `id` = 2 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:14', 2, NULL, 'User', 96, 1, 2, '2010-07-15 08:35:14') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Processing RepositoriesController#destroy (for 0.0.0.0 at 2010-07-15 11:35:14) [DELETE] Parameters: {"project_id"=>"johans-project", "action"=>"destroy", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository')  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2)  Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 962320869 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 962320869 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:14', NULL, NULL, 2, 11, 1, 'Repository', 'team-thunderbird', '2010-07-15 08:35:14') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 2))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1011406133 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 1011406133 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Update (0.2ms) UPDATE `repositories` SET parent_id = NULL WHERE ((parent_id = 2))  Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 2 AND `comments`.target_type = 'Repository')  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 3 AND `events`.target_type = 'Comment')  Comment Destroy (0.1ms) DELETE FROM `comments` WHERE `id` = 3 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.target_repository_id = 2) ORDER BY status, id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 657435920 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 657435920 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 657435920 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 657435920) ORDER BY version MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 657435920)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'tracking_repository_for_2' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:14') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('tracking_repository_for_2', NULL, 1, '2010-07-15 08:35:14', 0, 4, 1, NULL, 'b84/5d8/e540c88f8cc0fd6d70c8bdabe85c7548c9', NULL, NULL, NULL, 0, 369376230, 1, 2, 1, '2010-07-15 08:35:14', 'Group', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 757051747) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:14', 2, NULL, 'Group', 112, 369376230, 757051747, '2010-07-15 08:35:14') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051747)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`kind` = 4 AND `repositories`.`parent_id` = 2) LIMIT 1 MergeRequestVersion Destroy (0.2ms) DELETE FROM `merge_request_versions` WHERE `id` = 1 Message Update (0.2ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 657435920 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 657435920 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  MergeRequest Load (0.4ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.source_repository_id = 2) ORDER BY id desc Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1000193752 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 1000193752 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 1000193752 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 1000193752) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 1000193752 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 1000193752 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 677747833 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 677747833 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 677747833 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.1ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 677747833) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 677747833 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 677747833 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest')  Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.target_id = 449844885 AND `events`.target_type = 'MergeRequest')  Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.target_id = 449844885 AND `comments`.target_type = 'MergeRequest')  MergeRequestVersion Load (0.2ms) SELECT * FROM `merge_request_versions` WHERE (`merge_request_versions`.merge_request_id = 449844885) ORDER BY version Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 449844885 AND `messages`.notifiable_type = 'MergeRequest')  MergeRequest Destroy (0.1ms) DELETE FROM `merge_requests` WHERE `id` = 449844885 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 2)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository')  FeedItem Load (0.1ms) SELECT * FROM `feed_items` WHERE (`feed_items`.event_id = 228)  Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 228 Hook Load (0.1ms) SELECT * FROM `hooks` WHERE (`hooks`.repository_id = 2)  Repository Destroy (0.1ms) DELETE FROM `repositories` WHERE `id` = 2 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:14', NULL, NULL, 369376230, 4, 1, 'Group', 'johansprojectrepos-clone', '2010-07-15 08:35:14') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/+team-thunderbird Completed in 120ms (DB: 20) | 302 Found [http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:14', 2, NULL, 'User', 96, 3, 2, '2010-07-15 08:35:14') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos-clone' AND `repositories`.project_id = 1 AND `repositories`.id <> 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b0c/554/5de8afee2a86064d372c17a113f2984c6b' AND `repositories`.id <> 2) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `user_id` = 3, `updated_at` = '2010-07-15 08:35:14' WHERE `id` = 2 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#confirm_delete (for 0.0.0.0 at 2010-07-15 11:35:14) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"confirm_delete", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/confirm_delete Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (4.8ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 42ms (View: 29, DB: 7) | 200 OK [http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone/confirm_delete] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing RepositoriesController#index (for 0.0.0.0 at 2010-07-15 11:35:14) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` IN (1,2))  Event Load (0.2ms) SELECT `events`.* FROM `events` WHERE (`events`.`target_id` IN (1,2) and `events`.`target_type` = 'Repository')  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/index Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_clone_urls (0.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 1)) AND (`merge_requests`.target_repository_id = 1))  Rendered repositories/_overview (9.7ms) Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered repositories/_clone_urls (0.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `merge_requests` WHERE (((status = 1) AND (`merge_requests`.target_repository_id = 2)) AND (`merge_requests`.target_repository_id = 2))  Rendered repositories/_overview (11.4ms) Rendered projects/_repositories (0.3ms) Rendered layouts/_common_head (6.4ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 47ms (View: 39, DB: 3) | 200 OK [http://test.host/johans-project/repositories] Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing RepositoriesController#index to xml (for 0.0.0.0 at 2010-07-15 11:35:14) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"xml", "action"=>"index", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` IN (1,2))  Event Load (0.2ms) SELECT `events`.* FROM `events` WHERE (`events`.`target_id` IN (1,2) and `events`.`target_type` = 'Repository')  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Completed in 19ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/repositories.xml] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#show to xml (for 0.0.0.0 at 2010-07-15 11:35:14) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"xml", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 12ms (View: 5, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos.xml] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:14) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (10.2ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.4ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (22.5ms) Rendered layouts/_common_head (6.4ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.3ms) Completed in 284ms (View: 275, DB: 5) | 200 OK [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:15) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (9.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (5.1ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (23.1ms) Rendered layouts/_common_head (7.4ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 65ms (View: 54, DB: 5) | 200 OK [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:15) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"moesprojectrepos", "controller"=>"repositories"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'moesprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Rendering template within layouts/application Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) Rendered layouts/_common_head (6.4ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 7ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Completed in 9ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 2 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"moes-project", "username"=>"johan", "action"=>"writable_by", "id"=>"moesprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'moesprojectrepos') AND (`repositories`.project_id = 2 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 3) AND (((permissions & 32)) AND (`committerships`.repository_id = 3))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Completed in 9ms (View: 0, DB: 3) | 200 OK [http://test.host/moes-project/moesprojectrepos/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"nonexistinguser", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'nonexistinguser') LIMIT 1 Completed in 5ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?username=nonexistinguser] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 8ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"mike", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "git_path"=>"refs/merge-requests/13"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'mike') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '13') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Completed in 7ms (View: 0, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?git_path=refs%2Fmerge-requests%2F13&username=mike] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "git_path"=>"refs/merge-requests/13"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '13') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Completed in 7ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?git_path=refs%2Fmerge-requests%2F13&username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 1000193752)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "git_path"=>"refs/merge-requests/42"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 MergeRequest Load (0.2ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`sequence_number` = '42') AND (`merge_requests`.target_repository_id = 1) ORDER BY status, id desc LIMIT 1 Completed in 7ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?git_path=refs%2Fmerge-requests%2F42&username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "git_path"=>"refs/heads/master"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 8ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?git_path=refs%2Fheads%2Fmaster&username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"johans-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 32)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 8ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/writable_by?username=johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 2) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:15') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('johansprojectrepos', NULL, 2, '2010-07-15 08:35:15', 0, 0, 1, NULL, 'adc/f8d/cd221d1d5ddbe930b2f19ce700af91077a', NULL, NULL, NULL, 0, 1, 1, 3, 1, '2010-07-15 08:35:15', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051748) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:15', 2, NULL, 'User', 112, 1, 757051748, '2010-07-15 08:35:15') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051748)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:35:15', NULL, NULL, 757051748, 19, 1, 'Repository', NULL, '2010-07-15 08:35:15') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051748))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051748 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051748 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:15', NULL, 'Repository', 757051748, 1, '2010-07-15 08:35:15', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Processing RepositoriesController#writable_by (for 0.0.0.0 at 2010-07-15 11:35:15) [POST] Parameters: {"project_id"=>"moes-project", "username"=>"johan", "action"=>"writable_by", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051748) AND (((permissions & 32)) AND (`committerships`.repository_id = 757051748))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Completed in 9ms (View: 0, DB: 5) | 200 OK [http://test.host/~johan/moes-project/johansprojectrepos/writable_by?username=johan] SQL (1.0ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing RepositoriesController#index to json (for 0.0.0.0 at 2010-07-15 11:35:16) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"json", "action"=>"index", "controller"=>"repositories", "filter"=>"clone"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (12.3ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.project_id=1 AND (repositories.name LIKE '%clone%' OR repositories.description LIKE '%clone%' OR groups.name LIKE '%clone%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.project_id=1 AND (repositories.name LIKE '%clone%' OR repositories.description LIKE '%clone%' OR owners.login LIKE '%clone%') AND repositories.owner_type='User' AND kind in (2,3,0) Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Completed in 20ms (View: 0, DB: 26) | 200 OK [http://test.host/johans-project/repositories.json?filter=clone] Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:16) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"head"=>"test/master"}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Repository Load (0.4ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-07-15 08:35:16', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 275ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bhead%5D=test%2Fmaster] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-07-15 11:35:16) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/edit Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Grit::Git (0.41): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (9.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.1ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.3ms) Completed in 477ms (View: 466, DB: 5) | 200 OK [http://test.host/johans-project/johansprojectrepos/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:16) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"description"=>"blablabla"}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `description` = 'blablabla', `updated_at` = '2010-07-15 08:35:16', `deny_force_pushing` = NULL WHERE `id` = 1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:16', NULL, 'Changed the repository description', 1, 20, 1, 'Repository', NULL, '2010-07-15 08:35:16') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 34ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdescription%5D=blablabla] Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:16) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"deny_force_pushing"=>true}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-07-15 08:35:16', `deny_force_pushing` = 1 WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 18ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdeny_force_pushing%5D=true] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:17) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-07-15 08:35:17', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 18ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos?] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:17) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"merge_requests_enabled"=>1}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = 1, `updated_at` = '2010-07-15 08:35:17' WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 16ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos?] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `description` = 'blabla bla', `updated_at` = '2010-07-15 08:35:17' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:17) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"description"=>""}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `description` = '', `updated_at` = '2010-07-15 08:35:17', `deny_force_pushing` = NULL WHERE `id` = 1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:17', NULL, 'Changed the repository description', 1, 20, 1, 'Repository', NULL, '2010-07-15 08:35:17') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 31ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdescription%5D=] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:17) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"notify_committers_on_new_merge_request"=>false}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = 0, `updated_at` = '2010-07-15 08:35:17', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 22ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bnotify_committers_on_new_merge_request%5D=false] Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:17', 135138680, 369376230, 1, '2010-07-15 08:35:17') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `kind` = 2, `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:35:17' WHERE `id` = 1 SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.id FROM `groups` WHERE (`groups`.`name` = BINARY 'temp') LIMIT 1 Group Create (0.2ms) INSERT INTO `groups` (`name`, `avatar_updated_at`, `updated_at`, `avatar_file_name`, `avatar_file_size`, `description`, `avatar_content_type`, `user_id`, `created_at`) VALUES('temp', NULL, '2010-07-15 08:35:17', NULL, NULL, NULL, NULL, NULL, '2010-07-15 08:35:17') [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 764238941) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:17', 135138680, 764238941, 1, '2010-07-15 08:35:17') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:17) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"owner_id"=>764238941}, "action"=>"update", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 764238941 AND ((`memberships`.user_id = 1)))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-07-15 08:35:17', `deny_force_pushing` = NULL WHERE `id` = 1 Redirected to http://test.host/+team-thunderbird/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 223ms (DB: 6) | 302 Found [http://test.host/+team-thunderbird/johans-project/johansprojectrepos?repository%5Bowner_id%5D=764238941] Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:17', 135138680, 369376230, 1, '2010-07-15 08:35:17') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:17) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"owner_id"=>369376230}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE (`groups`.`id` = 369376230 AND ((`memberships`.user_id = 1)))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1) LIMIT 1 Message Update (0.1ms) UPDATE `messages` SET `notifiable_type` = NULL, `notifiable_id` = NULL WHERE (`messages`.notifiable_id = 347082427 AND `messages`.notifiable_type = 'Committership')  Committership Destroy (0.1ms) DELETE FROM `committerships` WHERE `id` = 347082427 Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:17', NULL, NULL, 1, 11, 1, 'Repository', 'johan', '2010-07-15 08:35:17') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1)  Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:17', 2, NULL, 'Group', 112, 369376230, 1, '2010-07-15 08:35:17') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:35:17' WHERE `id` = 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-07-15 08:35:17', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 56ms (DB: 9) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bowner_id%5D=369376230] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (10.2ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:17', 135138680, 369376230, 1, '2010-07-15 08:35:17') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#edit (for 0.0.0.0 at 2010-07-15 11:35:17) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/edit Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Grit::Git (0.26): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Rendered layouts/_common_head (7.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.9ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 311ms (View: 300, DB: 15) | 200 OK [http://test.host/johans-project/johansprojectrepos/edit] Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:17', 135138680, 369376230, 1, '2010-07-15 08:35:17') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:17) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"description"=>"foo"}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `description` = 'foo', `updated_at` = '2010-07-15 08:35:17', `deny_force_pushing` = NULL WHERE `id` = 1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:17', NULL, 'Changed the repository description', 1, 20, 1, 'Repository', NULL, '2010-07-15 08:35:17') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.3ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 225ms (DB: 6) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdescription%5D=foo] Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  Group Load (0.1ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:18) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"description"=>nil}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-07-15 08:35:18', `deny_force_pushing` = NULL WHERE `id` = 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 19ms (DB: 4) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bdescription%5D=] Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-07-15 11:35:18) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project/johansprojectrepos Filter chain halted as [:find_and_require_repository_adminship] rendered_or_redirected. Completed in 8ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 369376230 AND `committerships`.committer_type = 'Group' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:18', 2, NULL, 'Group', 64, 369376230, 1, '2010-07-15 08:35:18') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.3ms) UPDATE `repositories` SET `kind` = 2, `owner_id` = 369376230, `owner_type` = 'Group', `updated_at` = '2010-07-15 08:35:18' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-07-15 11:35:18) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/edit Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.4ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 311ms (View: 298, DB: 7) | 200 OK [http://test.host/+team-thunderbird/johans-project/johansprojectrepos/edit] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.1ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 2 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 1) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:18', 2, NULL, 'User', 64, 2, 1, '2010-07-15 08:35:18') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `kind` = 3, `owner_id` = 2, `updated_at` = '2010-07-15 08:35:18' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-07-15 11:35:18) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"moe"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'moe') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/edit User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Group Load (0.3ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 2))  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.3ms) Completed in 485ms (View: 472, DB: 7) | 200 OK [http://test.host/~moe/johans-project/johansprojectrepos/edit] SQL (9.6ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing RepositoriesController#edit (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"edit", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 10) | 302 Found [http://test.host/johans-project/johansprojectrepos/edit] Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:19) [PUT] Parameters: {"project_id"=>"johans-project", "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/johans-project/johansprojectrepos/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Processing RepositoriesController#update (for 0.0.0.0 at 2010-07-15 11:35:19) [PUT] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"new_name"}, "action"=>"update", "id"=>"johansprojectrepos", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND (((permissions & 64)) AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'new_name' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'new_name' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `merge_requests_enabled` = NULL, `notify_committers_on_new_merge_request` = NULL, `updated_at` = '2010-07-15 08:35:19', `deny_force_pushing` = NULL, `name` = 'new_name' WHERE `id` = 1 Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:19', NULL, 'Changed the repository name', 1, 20, 1, 'Repository', NULL, '2010-07-15 08:35:19') User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Redirected to http://test.host/johans-project/new_name SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Completed in 32ms (DB: 5) | 302 Found [http://test.host/johans-project/johansprojectrepos?repository%5Bname%5D=new_name] Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository')  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:19', 135138680, 369376230, 1, '2010-07-15 08:35:19') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#new (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) AND (`repositories`.project_id = 1 AND (kind != 1)))  Rendering template within layouts/application Rendering repositories/new Rendered layouts/_common_head (10.2ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.6ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 43ms (View: 34, DB: 4) | 200 OK [http://test.host/johans-project/repositories/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:19', 135138680, 369376230, 1, '2010-07-15 08:35:19') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#new (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"repositories"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 2) | 302 Found [http://test.host/johans-project/repositories/new] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.1ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:19', 135138680, 369376230, 1, '2010-07-15 08:35:19') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories`  Processing RepositoriesController#create (for 0.0.0.0 at 2010-07-15 11:35:19) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"my-new-repo"}, "action"=>"create", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'my-new-repo' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:19') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('my-new-repo', NULL, 1, '2010-07-15 08:35:19', 0, 0, NULL, NULL, '784/8fa/ce553f388f04cfe310b141cceac9f60235', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:35:19', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051749) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:19', 2, NULL, 'User', 112, 1, 757051749, '2010-07-15 08:35:19') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051749)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:19', NULL, NULL, 757051749, 19, 1, 'Repository', NULL, '2010-07-15 08:35:19') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051749))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051749 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051749 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:19', NULL, 'Repository', 757051749, 1, '2010-07-15 08:35:19', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/my-new-repo Completed in 42ms (DB: 5) | 302 Found [http://test.host/johans-project/repositories?repository%5Bname%5D=my-new-repo] SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories`  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:19', 135138680, 369376230, 1, '2010-07-15 08:35:19') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#new (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "group_id"=>"team-thunderbird", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/+team-thunderbird Filter chain halted as [:only_projects_can_add_new_repositories] rendered_or_redirected. Completed in 7ms (DB: 3) | 302 Found [http://test.host/+team-thunderbird/johans-project/new] Processing RepositoriesController#new (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/~johan Filter chain halted as [:only_projects_can_add_new_repositories] rendered_or_redirected. Completed in 3ms (DB: 0) | 302 Found [http://test.host/+team-thunderbird/johans-project/new] Processing RepositoriesController#create (for 0.0.0.0 at 2010-07-15 11:35:19) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{}, "action"=>"create", "group_id"=>"team-thunderbird", "controller"=>"repositories"} Group Load (0.4ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = 1) AND (`memberships`.group_id = 369376230) LIMIT 1 Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`id` = 135138680)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 Redirected to http://test.host/+team-thunderbird Filter chain halted as [:only_projects_can_add_new_repositories] rendered_or_redirected. Completed in 6ms (DB: 1) | 302 Found [http://test.host/+team-thunderbird/johans-project/new] Processing RepositoriesController#create (for 0.0.0.0 at 2010-07-15 11:35:19) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{}, "action"=>"create", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Redirected to http://test.host/~johan Filter chain halted as [:only_projects_can_add_new_repositories] rendered_or_redirected. Completed in 3ms (DB: 0) | 302 Found [http://test.host/+team-thunderbird/johans-project/new] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Membership Load (0.3ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:19', 135138680, 369376230, 1, '2010-07-15 08:35:19') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing RepositoriesController#new (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"new", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project Filter chain halted as [:require_owner_adminship] rendered_or_redirected. Completed in 5ms (DB: 2) | 302 Found [http://test.host/johans-project/repositories/new] Processing RepositoriesController#create (for 0.0.0.0 at 2010-07-15 11:35:19) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{}, "action"=>"create", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Redirected to http://test.host/johans-project Filter chain halted as [:require_owner_adminship] rendered_or_redirected. Completed in 4ms (DB: 0) | 302 Found [http://test.host/johans-project/repositories/new] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`kind` = 0) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Membership Load (0.2ms) SELECT `memberships`.id FROM `memberships` WHERE (`memberships`.`user_id` = 1 AND `memberships`.group_id = 369376230) LIMIT 1 Membership Create (0.2ms) INSERT INTO `memberships` (`updated_at`, `role_id`, `group_id`, `user_id`, `created_at`) VALUES('2010-07-15 08:35:19', 135138680, 369376230, 1, '2010-07-15 08:35:19') SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#create (for 0.0.0.0 at 2010-07-15 11:35:19) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"mine"}, "action"=>"create", "controller"=>"repositories"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.3ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mine' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:19') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('mine', NULL, 1, '2010-07-15 08:35:19', 0, 0, NULL, NULL, '07e/57f/7cbe0b0c8a7ec475c4d9914ef4cd25d590', NULL, NULL, NULL, 0, 1, 1, NULL, 1, '2010-07-15 08:35:19', 'User', 0) Committership Load (0.3ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051750) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:19', 2, NULL, 'User', 112, 1, 757051750, '2010-07-15 08:35:19') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051750)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Create (0.3ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(1, '2010-07-15 08:35:19', NULL, NULL, 757051750, 19, 1, 'Repository', NULL, '2010-07-15 08:35:19') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 1))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051750))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051750 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051750 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:19', NULL, 'Repository', 757051750, 1, '2010-07-15 08:35:19', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/johans-project/mine Completed in 46ms (DB: 6) | 302 Found [http://test.host/johans-project/repositories?repository%5Bname%5D=mine] Processing RepositoriesController#create (for 0.0.0.0 at 2010-07-15 11:35:19) [POST] Parameters: {"project_id"=>"johans-project", "repository"=>{"name"=>"mine", "merge_requests_enabled"=>"1"}, "action"=>"create", "controller"=>"repositories"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'mine' AND `repositories`.project_id = 1) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/application Rendering repositories/new Rendered layouts/_common_head (6.6ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.0ms) Completed in 39ms (View: 31, DB: 1) | 200 OK [http://test.host/johans-project/repositories?repository%5Bname%5D=mine] SQL (0.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#search_clones to json (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "format"=>"json", "action"=>"search_clones", "id"=>"johansprojectrepos", "controller"=>"repositories", "filter"=>"projectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Repository Load (0.7ms) SELECT repositories.* FROM repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN groups on repositories.owner_id=groups.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%projectrepos%' OR repositories.description LIKE '%projectrepos%' OR groups.name LIKE '%projectrepos%') AND repositories.owner_type='Group' AND kind in (2,3,0) UNION ALL SELECT repositories.* from repositories INNER JOIN users on repositories.user_id=users.id INNER JOIN users owners on repositories.owner_id=owners.id WHERE repositories.parent_id=1 AND (repositories.name LIKE '%projectrepos%' OR repositories.description LIKE '%projectrepos%' OR owners.login LIKE '%projectrepos%') AND repositories.owner_type='User' AND kind in (2,3,0) Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Completed in 8ms (View: 0, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/search_clones.json?filter=projectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "group_id"=>"team-thunderbird", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`name` = 'team-thunderbird') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 369376230 AND `repositories`.owner_type = 'Group' AND (kind NOT IN (1,4))) LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 2 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 2))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered repositories/_committers_sidebar (6.3ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Rendered repositories/_clone_list (12.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 55ms (View: 44, DB: 4) | 200 OK [http://test.host/+team-thunderbird/johans-project/johansprojectrepos-clone] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (8.1ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.8ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (20.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 60ms (View: 50, DB: 5) | 200 OK [http://test.host/~johan/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos-clone' AND `repositories`.project_id = 1 AND `repositories`.id <> 2) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'b0c/554/5de8afee2a86064d372c17a113f2984c6b' AND `repositories`.id <> 2) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `owner_id` = 2, `owner_type` = 'User', `updated_at` = '2010-07-15 08:35:19' WHERE `id` = 2 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:19) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos-clone", "controller"=>"repositories", "user_id"=>"moe"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'moe') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.owner_id = 2 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 2 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 2))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered repositories/_committers_sidebar (6.3ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Rendered repositories/_clone_list (12.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 54ms (View: 42, DB: 5) | 200 OK [http://test.host/~moe/johans-project/johansprojectrepos-clone] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 2) LIMIT 1 Repository Load (0.1ms) SELECT `repositories`.id FROM `repositories` WHERE (`repositories`.`hashed_path` IS NULL) LIMIT 1 SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (created_at > '2010-07-15 08:30:19') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1))  Repository Create (0.2ms) INSERT INTO `repositories` (`name`, `push_count_since_gc`, `project_id`, `updated_at`, `deny_force_pushing`, `kind`, `merge_requests_enabled`, `disk_usage`, `hashed_path`, `last_pushed_at`, `description`, `last_gc_at`, `ready`, `owner_id`, `user_id`, `parent_id`, `notify_committers_on_new_merge_request`, `created_at`, `owner_type`, `wiki_permissions`) VALUES('johansprojectrepos', NULL, 2, '2010-07-15 08:35:19', 0, 0, 1, NULL, '68c/fba/a5fd78efad78d9fd59affea15d0635e610', NULL, NULL, NULL, 0, 1, 1, 3, 1, '2010-07-15 08:35:19', 'User', 0) Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 1 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 757051751) LIMIT 1 Committership Create (0.1ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:19', 2, NULL, 'User', 112, 1, 757051751, '2010-07-15 08:35:19') Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 757051751)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Event Create (0.2ms) INSERT INTO `events` (`project_id`, `updated_at`, `user_email`, `body`, `target_id`, `action`, `user_id`, `target_type`, `data`, `created_at`) VALUES(2, '2010-07-15 08:35:19', NULL, NULL, 757051751, 19, 1, 'Repository', NULL, '2010-07-15 08:35:19') Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  User Load (0.2ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Project') AND (`favorites`.watchable_id = 2))  User Load (0.1ms) SELECT users.id FROM `users` INNER JOIN `favorites` ON `users`.id = `favorites`.user_id WHERE ((`favorites`.watchable_type = 'Repository') AND (`favorites`.watchable_id = 757051751))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 2 AND `favorites`.watchable_type = 'Project' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.watchable_id = 757051751 AND `favorites`.watchable_type = 'Repository' AND (notify_by_email = 1 and user_id != 1))  Favorite Load (0.3ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 757051751 AND `favorites`.watchable_type = 'Repository') LIMIT 1 Favorite Create (0.2ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:20', NULL, 'Repository', 757051751, 1, '2010-07-15 08:35:20', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:20) [GET] Parameters: {"project_id"=>"moes-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'moes-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 2 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 757051751 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 757051751 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 3)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 2)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051751) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 757051751))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 757051751) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 757051751))  Rendered repositories/_committers_sidebar (9.4ms) SQL (0.4ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 757051751)) AND (`repositories`.parent_id = 757051751))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 757051751)) AND (`repositories`.parent_id = 757051751))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 757051751) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 757051751))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 757051751) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 757051751))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 757051751) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 757051751))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 757051751) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 757051751))  Rendered repositories/_clone_list (14.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.8ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 63ms (View: 50, DB: 9) | 200 OK [http://test.host/~johan/moes-project/johansprojectrepos] SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:20) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories"} Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendering template within layouts/application Rendering repositories/show User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (8.7ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.6ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (20.4ms) Rendered layouts/_common_head (6.7ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 59ms (View: 49, DB: 5) | 200 OK [http://test.host/johans-project/johansprojectrepos] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`name`) = BINARY 'johansprojectrepos' AND `repositories`.project_id = 1 AND `repositories`.id <> 1) LIMIT 1 Repository Load (0.2ms) SELECT `repositories`.id FROM `repositories` WHERE (LOWER(`repositories`.`hashed_path`) = BINARY 'c2a/943/aad718337973577b555383db50ae03e01c' AND `repositories`.id <> 1) LIMIT 1 Repository Update (0.2ms) UPDATE `repositories` SET `kind` = 3, `updated_at` = '2010-07-15 08:35:20' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:20) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos", "controller"=>"repositories", "user_id"=>"johan"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') AND (`repositories`.owner_id = 1 AND `repositories`.owner_type = 'User' AND (kind != 1)) LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.target_id = 1 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 1 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering repositories/show Committership Load (0.3ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 1))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Cache hit: avatar_for_41637e89c234d634a43c858a0661303d110d89af_thumb ({}) User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 1) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 1))  Rendered repositories/_committers_sidebar (8.1ms) SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  SQL (0.2ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1)) ORDER BY last_pushed_at DESC LIMIT 10 Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Rendered repositories/_repository_sidebar (4.8ms) Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 1))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 1) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 1))  Rendered repositories/_clone_list (20.2ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 60ms (View: 48, DB: 5) | 200 OK [http://test.host/~johan/johans-project/johansprojectrepos] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((kind in (2,3) and parent_id is not null) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 WARNING: Can't mass-assign these protected attributes: permissions SQL (0.0ms) SAVEPOINT active_record_1 Committership Load (0.2ms) SELECT `committerships`.id FROM `committerships` WHERE (`committerships`.`committer_id` = 3 AND `committerships`.committer_type = 'User' AND `committerships`.repository_id = 2) LIMIT 1 Committership Create (0.2ms) INSERT INTO `committerships` (`updated_at`, `kind`, `creator_id`, `committer_type`, `permissions`, `committer_id`, `repository_id`, `created_at`) VALUES('2010-07-15 08:35:20', 2, NULL, 'User', NULL, 3, 2, '2010-07-15 08:35:20') Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing RepositoriesController#show (for 0.0.0.0 at 2010-07-15 11:35:20) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "id"=>"johansprojectrepos-clone", "controller"=>"repositories"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos-clone') AND (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc LIMIT 1 Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.target_id = 2 AND `events`.target_type = 'Repository') AND ((target_type != 'Event') AND (`events`.target_id = 2 AND `events`.target_type = 'Repository')) ORDER BY created_at desc LIMIT 0, 30 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendering template within layouts/application Rendering repositories/show User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 32)) AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 369376230))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  Committership Load (0.1ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND (((permissions & 64)) AND (`committerships`.repository_id = 2))  Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'User') AND (`committerships`.repository_id = 2))  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  Cache hit: avatar_for_290f1cdf570c5f2e916747aee1e6923b66fd8bc3_thumb ({}) Committership Load (0.2ms) SELECT * FROM `committerships` WHERE (`committerships`.repository_id = 2) AND ((`committerships`.`committer_type` = 'Group') AND (`committerships`.repository_id = 2))  Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 369376230)  Rendered repositories/_committers_sidebar (8.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  SQL (0.1ms) SELECT count(*) AS count_all FROM `repositories` WHERE (((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2)) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 2) AND (`repositories`.parent_id = 2))  Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.parent_id = 2) AND ((`repositories`.`kind` = 3) AND (`repositories`.parent_id = 2))  Rendered repositories/_clone_list (12.2ms) Rendered layouts/_common_head (6.5ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 3)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 68ms (View: 55, DB: 7) | 200 OK [http://test.host/johans-project/johansprojectrepos-clone] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN Processing SearchesController#show (for 0.0.0.0 at 2010-07-15 11:35:20) [GET] Parameters: {"action"=>"show", "controller"=>"searches", "q"=>""} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering searches/show Rendered searches/_search_box (3.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.9ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.3ms) Completed in 253ms (View: 243, DB: 1) | 200 OK [http://test.host/search?q=] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Processing SearchesController#show (for 0.0.0.0 at 2010-07-15 11:35:20) [GET] Parameters: {"action"=>"show", "controller"=>"searches", "q"=>"foo"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering searches/show Rendered searches/_search_box (1.7ms) Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_type = 'Project') AND (`taggings`.taggable_id = 1))  Rendered projects/_project (2.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.3ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 24ms (View: 23, DB: 1) | 200 OK [http://test.host/search?q=foo] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:20) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 13ms (DB: 1) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] Processing SessionsController#destroy (for 0.0.0.0 at 2010-07-15 11:35:20) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"sessions"} SQL (0.1ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 4ms (DB: 0) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:20) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 2ms (DB: 0) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#destroy (for 0.0.0.0 at 2010-07-15 11:35:20) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"sessions"} Redirected to https://test.host:80/ Completed in 1ms (DB: 0) | 302 Found [https://test.host/sessions] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:20) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.4ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 31ms (View: 29, DB: 0) | 200 OK [https://test.host/sessions?email=johan%40johansorensen.com&password=lulz] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:35:20', `remember_token` = '82f4fcf0fa874944d9f9126dc795dc283f263bc9', `updated_at` = '2010-07-15 08:35:20' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing SessionsController#new (for 0.0.0.0 at 2010-07-15 11:35:20) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '82f4fcf0fa874944d9f9126dc795dc283f263bc9') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:35:20', `updated_at` = '2010-07-15 08:35:20' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 26ms (View: 17, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SessionsController#destroy (for 0.0.0.0 at 2010-07-15 11:35:20) [GET] Parameters: {"action"=>"destroy", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 6ms (DB: 1) | 302 Found [https://test.host/sessions] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:35:20', `remember_token` = '82f4fcf0fa874944d9f9126dc795dc283f263bc9', `updated_at` = '2010-07-15 08:35:20' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing SessionsController#new (for 0.0.0.0 at 2010-07-15 11:35:20) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = 'invalid_auth_token') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 19ms (View: 17, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:20) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.4ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 18ms (View: 16, DB: 1) | 200 OK [https://test.host/sessions?email=johan%40johansorensen.com&password=bad+password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:35:20', `remember_token` = '82f4fcf0fa874944d9f9126dc795dc283f263bc9', `updated_at` = '2010-07-15 08:35:20' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.3ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-15 08:30:21', `updated_at` = '2010-07-15 08:35:21' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing SessionsController#new (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '82f4fcf0fa874944d9f9126dc795dc283f263bc9') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 18ms (View: 16, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.9ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:21) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 2ms (DB: 1) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:35:21', `remember_token` = 'bacab289883fb94b69ddcbe4c046efc93f24c8bd', `updated_at` = '2010-07-15 08:35:21' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing SessionsController#new (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = 'bacab289883fb94b69ddcbe4c046efc93f24c8bd') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:35:21', `updated_at` = '2010-07-15 08:35:21' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 25ms (View: 16, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SessionsController#destroy (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"destroy", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain SQL (0.1ms) SAVEPOINT active_record_1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 6ms (DB: 1) | 302 Found [https://test.host/sessions] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:21) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com", "remember_me"=>"1"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `remember_token_expires_at` = '2010-07-29 08:35:21', `remember_token` = 'bacab289883fb94b69ddcbe4c046efc93f24c8bd', `updated_at` = '2010-07-15 08:35:21' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 8ms (DB: 1) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test&remember_me=1] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SessionsController#new (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 19ms (View: 16, DB: 1) | 200 OK [https://test.host/sessions/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:21) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com", "remember_me"=>"0"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 2ms (DB: 0) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test&remember_me=0] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:21) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"invalid"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'invalid' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Rendering template within layouts/second_generation/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 19ms (View: 17, DB: 0) | 200 OK [https://test.host/sessions?email=invalid&password=also+invalid] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:21) [POST] Parameters: {"openid_url"=>"http://patcito.myopenid.com", "action"=>"create", "controller"=>"sessions"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`identity_url` = 'http://patcito.myopenid.com') LIMIT 1 Redirected to https://test.host:80/users/openid_build Completed in 8ms (DB: 0) | 302 Found [https://test.host/sessions?openid_url=http%3A%2F%2Fpatcito.myopenid.com] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#create (for 0.0.0.0 at 2010-07-15 11:35:21) [POST] Parameters: {"action"=>"create", "controller"=>"sessions", "password"=>"[FILTERED]", "email"=>"johan@johansorensen.com"} WARNING: Invalid request host 'test.host'. Session cookies will not work User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Redirected to https://test.host:80/ Completed in 3ms (DB: 0) | 302 Found [https://test.host/sessions?email=johan%40johansorensen.com&password=test] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#destroy (for 0.0.0.0 at 2010-07-15 11:35:21) [DELETE] Parameters: {"action"=>"destroy", "controller"=>"sessions"} Redirected to https://test.host/sessions Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/sessions] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#new (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"new", "controller"=>"sessions"} Redirected to https://test.host/sessions/new Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/sessions/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SessionsController#new (for 0.0.0.0 at 2010-07-15 11:35:21) [POST] Parameters: {"action"=>"new", "controller"=>"sessions"} Redirected to https://test.host/sessions/new Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/sessions/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SiteController#public_timeline (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"public_timeline", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache miss: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Repository Load (1.4ms) SELECT distinct repositories.id, repositories.*, count(events.id) as event_count FROM `repositories` INNER JOIN `events` ON `events`.target_id = `repositories`.id AND `events`.target_type = 'Repository' WHERE (events.created_at > '2010-07-08 08:35:21' and kind in (3,2)) GROUP BY repositories.id ORDER BY event_count desc LIMIT 10 Cache write (will save 3.35ms): repository:most_active_clones:10 Cache miss: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Project Load (0.5ms) SELECT distinct projects.*, count(events.id) as event_count FROM `projects` INNER JOIN `events` ON events.project_id = projects.id WHERE (events.created_at > '2010-07-12 08:35:21') GROUP BY projects.id ORDER BY event_count desc LIMIT 15 Cache write (will save 2.18ms): projects:most_active_recently:15:3 Cache miss: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) User Load (0.5ms) SELECT users.*, events.action, count(events.id) as event_count FROM `users` INNER JOIN `events` ON events.user_id = users.id WHERE (events.action = 5 and events.created_at > '2010-07-12 08:35:21') GROUP BY users.id ORDER BY event_count desc LIMIT 10 Cache write (will save 2.08ms): users:most_active_pushers:10:3 Cache miss: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Group Load (0.5ms) SELECT groups.*, committerships.repository_id, repositories.id, events.id, events.target_id, events.target_type, count(events.id) as event_count FROM `groups` INNER JOIN `committerships` ON `committerships`.committer_id = `groups`.id AND `committerships`.committer_type = 'Group' INNER JOIN `repositories` ON `repositories`.id = `committerships`.repository_id INNER JOIN `events` ON `events`.target_id = `repositories`.id AND `events`.target_type = 'Repository' WHERE (committerships.repository_id = events.target_id and events.target_type = 'Repository' AND events.created_at > '2010-07-10 08:35:21') GROUP BY groups.id ORDER BY event_count desc LIMIT 10 Cache write (will save 2.43ms): groups:most_active:10:5 Cache miss: events:latest_25 ({:expires_in=>600 seconds}) Event Load (0.1ms) select id,action,created_at from events use index (index_events_on_created_at) where (action != 5) order by created_at desc limit 25 Cache write (will save 0.40ms): events:latest_25 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.6ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 269ms (View: 246, DB: 3) | 200 OK [http://test.host/activities] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SiteController#dashboard (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"dashboard", "controller"=>"site"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/~johan Completed in 4ms (DB: 1) | 302 Found [http://test.host/dashboard] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SiteController#dashboard (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"dashboard", "controller"=>"site"} Redirected to http://test.host/sessions/new Filter chain halted as [:login_required] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/dashboard] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SiteController#index (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache hit: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Cache hit: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Cache hit: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) Cache hit: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Cache hit: events:latest_25 ({:expires_in=>600 seconds}) WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.5ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 26ms (View: 22, DB: 0) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing SiteController#index (for 0.0.0.0 at 2010-07-15 11:35:21) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Cache miss: blog_feed:feed_items ({:expires_in=>3600 seconds}) Cache write (will save 873.52ms): blog_feed:feed_items Rendering template within layouts/second_generation/application Rendering site/public_index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 901ms (View: 26, DB: 0) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SiteController#index (for 0.0.0.0 at 2010-07-15 11:35:22) [GET] Parameters: {"action"=>"index", "controller"=>"site"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: paginated_events_in_watchlist:1:1 ({:expires_in=>1200 seconds}) FeedItem Load (0.2ms) SELECT * FROM `feed_items` WHERE (`feed_items`.watcher_id = 1) ORDER BY created_at desc LIMIT 0, 30 Cache write (will save 1.21ms): paginated_events_in_watchlist:1:1 Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 1 AND archived_by_recipient = 0 AND recipient_id = 1) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 1)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 3 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1) ORDER BY id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/dashboard Committership Load (0.4ms) SELECT repository_id FROM `committerships` WHERE (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User') AND (((permissions & 16)) AND (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User'))  Repository Load (0.3ms) SELECT repositories.*, count(merge_requests.id) as open_merge_request_count FROM `repositories` INNER JOIN `merge_requests` ON merge_requests.target_repository_id = repositories.id WHERE (repositories.id in (1) and merge_requests.status = 1) GROUP BY repositories.id LIMIT 5 Committership Load (0.2ms) SELECT repository_id FROM `committerships` WHERE (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User') AND (((permissions & 16)) AND (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User'))  Repository Load (0.2ms) SELECT repositories.*, count(merge_requests.id) as open_merge_request_count FROM `repositories` INNER JOIN `merge_requests` ON merge_requests.target_repository_id = repositories.id WHERE (repositories.id in (1) and merge_requests.status = 1) GROUP BY repositories.id LIMIT 5 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.3ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 68ms (View: 53, DB: 4) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing SiteController#index (for 0.0.0.0 at 2010-07-15 11:35:22) [GET] Parameters: {"action"=>"index", "controller"=>"site"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: paginated_events_in_watchlist:1:1 ({:expires_in=>1200 seconds}) Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 1 AND archived_by_recipient = 0 AND recipient_id = 1) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 1)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 3 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1) ORDER BY id desc Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/dashboard Committership Load (0.3ms) SELECT repository_id FROM `committerships` WHERE (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User') AND (((permissions & 16)) AND (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User'))  Repository Load (0.2ms) SELECT repositories.*, count(merge_requests.id) as open_merge_request_count FROM `repositories` INNER JOIN `merge_requests` ON merge_requests.target_repository_id = repositories.id WHERE (repositories.id in (1) and merge_requests.status = 1) GROUP BY repositories.id LIMIT 5 Committership Load (0.2ms) SELECT repository_id FROM `committerships` WHERE (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User') AND (((permissions & 16)) AND (`committerships`.committer_id = 1 AND `committerships`.committer_type = 'User'))  Repository Load (0.2ms) SELECT repositories.*, count(merge_requests.id) as open_merge_request_count FROM `repositories` INNER JOIN `merge_requests` ON merge_requests.target_repository_id = repositories.id WHERE (repositories.id in (1) and merge_requests.status = 1) GROUP BY repositories.id LIMIT 5 Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 55ms (View: 42, DB: 4) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Site Load (0.2ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  Processing SiteController#index (for 0.0.0.0 at 2010-07-15 11:35:22) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache hit: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Cache hit: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Cache hit: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) Cache hit: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Cache hit: events:latest_25 ({:expires_in=>600 seconds}) WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.4ms) Rendered layouts/_login_logout (1.0ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 23ms (View: 19, DB: 1) | 200 OK [http://qt.gitorious.test/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Site Load (0.2ms) SELECT * FROM `sites` WHERE (`sites`.`id` = 546697069)  Processing SiteController#index (for 0.0.0.0 at 2010-07-15 11:35:22) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache hit: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Cache hit: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Cache hit: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) Cache hit: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Cache hit: events:latest_25 ({:expires_in=>600 seconds}) WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.6ms) Rendered layouts/_login_logout (1.3ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.2ms) Completed in 26ms (View: 22, DB: 1) | 200 OK [http://qt.gitorious.test/] Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.site_id = 546697069)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Processing SiteController#index (for 0.0.0.0 at 2010-07-15 11:35:22) [GET] Parameters: {"action"=>"index", "controller"=>"site"} WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.3ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Cache hit: repository:most_active_clones:10 ({:expires_in=>7200 seconds}) Cache hit: projects:most_active_recently:15:3 ({:expires_in=>1800 seconds}) Cache hit: users:most_active_pushers:10:3 ({:expires_in=>3600 seconds}) Cache hit: groups:most_active:10:5 ({:expires_in=>3600 seconds}) Cache hit: events:latest_25 ({:expires_in=>600 seconds}) WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering site/index WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (0.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 18ms (View: 14, DB: 1) | 200 OK [http://test.host/] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:22' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#index (for 0.0.0.0 at 2010-07-15 11:35:22) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"trees", "repository_id"=>"johansprojectrepos"} Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.27): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Redirected to http://test.host/johans-project/johansprojectrepos/trees/master Completed in 287ms (DB: 1) | 302 Found [http://test.host/johans-project/johansprojectrepos/trees] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:23' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-07-15 11:35:23) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["master", "lib", "grit"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Rendering template within layouts/application Rendering trees/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:71bdf614a206b5a814f66bc4cd38b166fffa5f76 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/actor.rb' Cache write (will save 244.12ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:71bdf614a206b5a814f66bc4cd38b166fffa5f76 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:eae61c1581a0833a8566b3433ce356ffd7ba4c38 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/blob.rb' Cache write (will save 417.18ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:eae61c1581a0833a8566b3433ce356ffd7ba4c38 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:c01c87e22d6aeef9fc98e9f3f79301bcc72a9cfe ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/commit.rb' Cache write (will save 237.07ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:c01c87e22d6aeef9fc98e9f3f79301bcc72a9cfe Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:3cbe815175c85b4138a582f2806cba4900f2345c ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/config.rb' Cache write (will save 416.25ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:3cbe815175c85b4138a582f2806cba4900f2345c Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:4806fed1e97eb14df0fc9f729f4c68e9f112ae46 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/diff.rb' Cache write (will save 240.81ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:4806fed1e97eb14df0fc9f729f4c68e9f112ae46 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:f6ddadfc18437e7196c27c1ae9f953db9fce6888 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/errors.rb' Cache write (will save 416.96ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:f6ddadfc18437e7196c27c1ae9f953db9fce6888 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:898afe6120325eceab9c13a2b8a6fc8f016a57a3 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/git-ruby' Cache write (will save 239.12ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:898afe6120325eceab9c13a2b8a6fc8f016a57a3 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:b39735f442f951837168cf6c784fd3d5e731ddb1 ({}) Grit::Git (0.41): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/git-ruby.rb' Cache write (will save 414.49ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:b39735f442f951837168cf6c784fd3d5e731ddb1 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:bdf546279644772ae5ee92207a2e8de7b41db5bf ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/git.rb' Cache write (will save 236.30ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:bdf546279644772ae5ee92207a2e8de7b41db5bf Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:6c0b7586ae0ff9ea8095f13acdb1af8881b0cb61 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/head.rb' Cache write (will save 416.50ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:6c0b7586ae0ff9ea8095f13acdb1af8881b0cb61 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:f7d6d17f31b12db39e6eea2f441601bbda7df8fe ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/lazy.rb' Cache write (will save 240.54ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:f7d6d17f31b12db39e6eea2f441601bbda7df8fe Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:a04c2545f08ece1befa3faa12c972e51652b64cb ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/repo.rb' Cache write (will save 417.06ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:a04c2545f08ece1befa3faa12c972e51652b64cb Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:1d3069f614ff16a2f4e44325041b69a4359479b4 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/tag.rb' Cache write (will save 237.83ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:1d3069f614ff16a2f4e44325041b69a4359479b4 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:edc64b9ec19b612fbab7cc2e256f4d79ceb503bd ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'master' -- 'lib/grit/tree.rb' Cache write (will save 417.94ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:edc64b9ec19b612fbab7cc2e256f4d79ceb503bd User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (9.5ms) Rendered layouts/_login_logout (1.4ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.2ms) Completed in 5408ms (View: 4975, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/master/lib/grit] SQL (1.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:28' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-07-15 11:35:28) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["test", "master", "lib"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Rendering template within layouts/application Rendering trees/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:090c92c2c7954f94d9709510aa8fb39daf6cf92b ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'test/master' -- 'lib/grit' Cache write (will save 244.84ms): treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:090c92c2c7954f94d9709510aa8fb39daf6cf92b Cache miss: treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:498a6384a3ca11db9a1f7642f39950bab2af5e4a ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'test/master' -- 'lib/grit.rb' Cache write (will save 416.08ms): treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:498a6384a3ca11db9a1f7642f39950bab2af5e4a User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (9.6ms) Rendered layouts/_login_logout (1.4ms) Rendered searches/_search_box_global (1.8ms) Rendered layouts/_common_footer (1.2ms) Completed in 1432ms (View: 980, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/test/master/lib] SQL (2.1ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:30' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-07-15 11:35:30) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["master", "lib"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/trees/HEAD/lib Completed in 5ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos/trees/master/lib] SQL (7.9ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:30' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-07-15 11:35:30) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "foo"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/trees/HEAD/foo Completed in 9ms (DB: 9) | 302 Found [http://test.host/johans-project/johansprojectrepos/trees/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/foo] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.3ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:30' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-07-15 11:35:30) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["3fa4e130fa18c92e3030d4accb5d3e0cadd40157"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering trees/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:d7f94495b90949d1bda39d0c7a7e7e37e52e7410 ({}) Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- '.gitignore' Cache write (will save 246.15ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:d7f94495b90949d1bda39d0c7a7e7e37e52e7410 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:c89ab0d3e1b916209ade1e0fe18c8477b48fceba ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'History.txt' Cache write (will save 239.95ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:c89ab0d3e1b916209ade1e0fe18c8477b48fceba Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:bafbc69b72fbb0d272c9947e91036f75a07443b9 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'lib' Cache write (will save 424.10ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:bafbc69b72fbb0d272c9947e91036f75a07443b9 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:ba1bf950a4d000831523fc4c4aa30d1aad6b0b37 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'Manifest.txt' Cache write (will save 237.45ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:ba1bf950a4d000831523fc4c4aa30d1aad6b0b37 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:acc4f38cb54b855a75a59da934d8fdf6067fba72 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'Rakefile' Cache write (will save 416.88ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:acc4f38cb54b855a75a59da934d8fdf6067fba72 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:2af81802b317f2fb7779bd2c1426398c41212a31 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'README.txt' Cache write (will save 237.44ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:2af81802b317f2fb7779bd2c1426398c41212a31 Cache miss: treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:aecbe185f02c0e25cf98818355fef6341c058e10 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' '3fa4e130fa18c92e3030d4accb5d3e0cadd40157' -- 'test' Cache write (will save 416.32ms): treecommit:3fa4e130fa18c92e3030d4accb5d3e0cadd40157:aecbe185f02c0e25cf98818355fef6341c058e10 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (9.4ms) Rendered layouts/_login_logout (1.5ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 2565ms (View: 2556, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/3fa4e130fa18c92e3030d4accb5d3e0cadd40157] SQL (1.8ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.4ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:32' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#show (for 0.0.0.0 at 2010-07-15 11:35:32) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["test", "master", "lib"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Rendering template within layouts/application Rendering trees/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache hit: treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:090c92c2c7954f94d9709510aa8fb39daf6cf92b ({}) Cache hit: treecommit:2d3acf90f35989df8f262dc50beadc4ee3ae1560:498a6384a3ca11db9a1f7642f39950bab2af5e4a ({}) User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.25): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (7.7ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 765ms (View: 309, DB: 4) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/test/master/lib] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:33' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#archive (for 0.0.0.0 at 2010-07-15 11:35:33) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"archive", "controller"=>"trees", "branch"=>["master"], "repository_id"=>"johansprojectrepos", "archive_format"=>"tar.gz"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.44): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 445ms (View: 0, DB: 2) | 202 Accepted [http://test.host/johans-project/johansprojectrepos/archive-tarball/master] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:34' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#archive (for 0.0.0.0 at 2010-07-15 11:35:34) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"archive", "controller"=>"trees", "branch"=>["test", "master"], "repository_id"=>"johansprojectrepos", "archive_format"=>"tar.gz"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'test/master' Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 256ms (View: 0, DB: 2) | 202 Accepted [http://test.host/johans-project/johansprojectrepos/archive-tarball/test/master] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:34' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#archive (for 0.0.0.0 at 2010-07-15 11:35:34) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"archive", "controller"=>"trees", "branch"=>["foo"], "repository_id"=>"johansprojectrepos", "archive_format"=>"tar.gz"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'foo' Redirected to http://test.host/johans-project/johansprojectrepos/trees/HEAD Completed in 432ms (DB: 2) | 302 Found [http://test.host/johans-project/johansprojectrepos/archive-tarball/foo] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:34' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#archive (for 0.0.0.0 at 2010-07-15 11:35:34) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"archive", "controller"=>"trees", "branch"=>["master"], "repository_id"=>"johansprojectrepos", "archive_format"=>"tar.gz"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Grit::Git (0.43): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Completed in 435ms (View: 0, DB: 2) | 200 OK [http://test.host/johans-project/johansprojectrepos/archive-tarball/master] Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:35' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'master' Processing TreesController#show (for 0.0.0.0 at 2010-07-15 11:35:35) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"show", "controller"=>"trees", "repository_id"=>"johansprojectrepos", "branch_and_path"=>["ticket-%2342"]} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering trees/show Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:d5fb2f49f8a40ad5c6d1b562fa1575efb52c6daf ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- '.gitignore' Cache write (will save 422.23ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:d5fb2f49f8a40ad5c6d1b562fa1575efb52c6daf Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:e2649a460f973c2de902b32233a1089bf8a534ba ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'History.txt' Cache write (will save 237.77ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:e2649a460f973c2de902b32233a1089bf8a534ba Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:6e2eba172b080a57d45059a2fbecad372819b66b ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'lib' Cache write (will save 416.54ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:6e2eba172b080a57d45059a2fbecad372819b66b Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:03f7c4e57f55351d8371a0080601cc638ab9f01c ({}) Grit::Git (0.23): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'Manifest.txt' Cache write (will save 235.01ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:03f7c4e57f55351d8371a0080601cc638ab9f01c Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:174e0a46a6be790d8129f086342f6666abd0601c ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'PURE_TODO' Cache write (will save 423.38ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:174e0a46a6be790d8129f086342f6666abd0601c Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:71708197d2332d9e503a70ebf2ef335ec5685f97 ({}) Grit::Git (0.24): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'Rakefile' Cache write (will save 237.03ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:71708197d2332d9e503a70ebf2ef335ec5685f97 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:e0470c0a5d7b081b75f3ddcdc00638a9b2a7f909 ({}) Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'README.txt' Cache write (will save 417.61ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:e0470c0a5d7b081b75f3ddcdc00638a9b2a7f909 Cache miss: treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:16fd2d308bf48e76d21b412bfa5fb90f2d38272f ({}) Grit::Git (0.23): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' log --pretty='raw' --max-count='1' 'ticket-\#42' -- 'test' Cache write (will save 235.20ms): treecommit:ca8a30f5a7f0f163bbe3b6f0abf18a6c83b0687a:16fd2d308bf48e76d21b412bfa5fb90f2d38272f User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Grit::Git (0.42): /usr/bin/env git --git-dir='/home/maanpelt/yousource/gitorious/vendor/grit/test/dot_git' rev-parse 'HEAD' Rendered layouts/_common_head (9.7ms) Rendered layouts/_login_logout (1.5ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 3142ms (View: 3133, DB: 3) | 200 OK [http://test.host/johans-project/johansprojectrepos/trees/ticket-%252342] SQL (1.4ms) ROLLBACK SQL (0.0ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:38' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing TreesController#index (for 0.0.0.0 at 2010-07-15 11:35:38) [GET] Parameters: {"project_id"=>"johans-project", "action"=>"index", "controller"=>"trees", "repository_id"=>"johansprojectrepos"} Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`project_id` = 1 AND `repositories`.`name` = 'johansprojectrepos') LIMIT 1 WARNING: Can't mass-assign these protected attributes: subdomain Redirected to http://test.host/johans-project/johansprojectrepos/trees/ticket-%2342 Completed in 4ms (DB: 3) | 302 Found [http://test.host/johans-project/johansprojectrepos/trees] SQL (14.7ms) ROLLBACK SQL (0.1ms) BEGIN Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) AND ((`repositories`.`kind` = 0) AND (`repositories`.project_id = 1 AND (kind != 1))) ORDER BY repositories.created_at asc LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 Repository Update (0.2ms) UPDATE `repositories` SET `ready` = 1, `updated_at` = '2010-07-15 08:35:38' WHERE `id` = 1 SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#openid_build (for 0.0.0.0 at 2010-07-15 11:35:38) [GET] Parameters: {"action"=>"openid_build", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login Rendering template within layouts/application Rendering users/openid_build WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 30ms (View: 29, DB: 16) | 200 OK [http://test.host/users/openid_build] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#openid_create (for 0.0.0.0 at 2010-07-15 11:35:38) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "fullname"=>"Moe Schmoe", "login"=>"schmoe", "email"=>"moe@schmoe.example"}, "action"=>"openid_create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'schmoe') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'moe@schmoe.example') LIMIT 1 User Create (0.3ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES(NULL, NULL, '2010-07-15 08:35:38', NULL, NULL, NULL, NULL, 1, 0, NULL, 'cb29c5392032d564017a05a58a5fe23b9c9208a7', 'Moe Schmoe', NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, 'http://moe.example/', 'schmoe', NULL, 'moe@schmoe.example', '2010-07-15 08:35:38') [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'schmoe' AND `users`.id <> 164) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'moe@schmoe.example' AND `users`.id <> 164) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-07-15 08:35:38' WHERE `id` = 164 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `activated_at` = '2010-07-15 08:35:38', `activation_code` = NULL, `updated_at` = '2010-07-15 08:35:38' WHERE `id` = 164 [paperclip] Saving attachments. Sent mail to moe@schmoe.example Date: Thu, 15 Jul 2010 11:35:38 +0300 From: Gitorious To: moe@schmoe.example Subject: [Gitorious] Your account has been activated! Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello schmoe, your account has been activated. You can add your public SSH key here http://tiuht.it.jyu.fi/~schmoe as well as change your details. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/ Completed in 30ms (DB: 2) | 302 Found [http://test.host/users/openid_create?user%5Bemail%5D=moe%40schmoe.example&user%5Bfullname%5D=Moe+Schmoe&user%5Blogin%5D=schmoe&user%5Bterms_of_use%5D=1] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#openid_build (for 0.0.0.0 at 2010-07-15 11:35:38) [GET] Parameters: {"action"=>"openid_build", "controller"=>"users"} Redirected to http://test.host/users/new Filter chain halted as [:require_identity_url_in_session] rendered_or_redirected. Completed in 6ms (DB: 1) | 302 Found [http://test.host/users/openid_build] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#openid_create (for 0.0.0.0 at 2010-07-15 11:35:38) [POST] Parameters: {"user"=>{}, "action"=>"openid_create", "controller"=>"users"} SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/application Rendering users/openid_build WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.8ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 38ms (View: 33, DB: 1) | 200 OK [http://test.host/users/openid_create?] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#show (for 0.0.0.0 at 2010-07-15 11:35:38) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Favorite Load (0.2ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.5ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 53ms (View: 39, DB: 3) | 200 OK [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `activation_code` = '123', `updated_at` = '2010-07-15 08:35:39' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#show (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to http://test.host/ Filter chain halted as [:require_public_user] rendered_or_redirected. Completed in 2ms (DB: 1) | 302 Found [http://test.host/~johan] SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#show (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 1 AND archived_by_recipient = 0 AND recipient_id = 1) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 1)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 3 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (6.0ms) Rendered searches/_search_box_global (1.6ms) Rendered layouts/_common_footer (1.1ms) Completed in 55ms (View: 38, DB: 5) | 200 OK [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#show (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.5ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.1ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 2)  Rendered layouts/_login_logout (4.9ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 49ms (View: 34, DB: 4) | 200 OK [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#activate (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"activation_code"=>"8f24789ae988411ccf33ab0c30fe9106fab32e9a", "action"=>"activate", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = '8f24789ae988411ccf33ab0c30fe9106fab32e9a') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `activated_at` = '2010-07-15 08:35:39', `activation_code` = NULL, `updated_at` = '2010-07-15 08:35:39' WHERE `id` = 2 [paperclip] Saving attachments. Sent mail to moe@example.com Date: Thu, 15 Jul 2010 11:35:39 +0300 From: Gitorious To: moe@example.com Subject: [Gitorious] Your account has been activated! Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello moe, your account has been activated. You can add your public SSH key here http://tiuht.it.jyu.fi/~moe as well as change your details. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/ Completed in 11ms (DB: 2) | 302 Found [http://test.host/users/activate/8f24789ae988411ccf33ab0c30fe9106fab32e9a] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.0ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#activate (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"activation_code"=>"fubar", "action"=>"activate", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = 'fubar') LIMIT 1 Redirected to http://test.host/ Completed in 2ms (DB: 1) | 302 Found [http://test.host/users/activate/fubar] User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'moe@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#feed to atom (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"format"=>"atom", "action"=>"feed", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) ORDER BY events.created_at desc, events.created_at asc LIMIT 30 Rendering users/feed Completed in 6ms (View: 4, DB: 1) | 200 OK [http://test.host/~johan/feed.atom] Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) ORDER BY created_at desc, events.created_at asc LIMIT 30 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `public_email` = 0, `updated_at` = '2010-07-15 08:35:39' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#show (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.3ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) Rendered layouts/_login_logout (1.1ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 41ms (View: 28, DB: 3) | 200 OK [http://test.host/~johan] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#pending_activation (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"action"=>"pending_activation", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 Redirected to http://test.host/ Filter chain halted as [:require_not_logged_in] rendered_or_redirected. Completed in 3ms (DB: 1) | 302 Found [http://test.host/users/pending_activation] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#pending_activation (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"action"=>"pending_activation", "controller"=>"users"} Rendering template within layouts/second_generation/application Rendering users/pending_activation WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 15ms (View: 14, DB: 0) | 200 OK [http://test.host/users/pending_activation] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#show (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) Rendered layouts/_login_logout (1.2ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.0ms) Completed in 42ms (View: 29, DB: 3) | 200 OK [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 449844885 AND `favorites`.watchable_type = 'MergeRequest') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:39', NULL, 'MergeRequest', 449844885, 1, '2010-07-15 08:35:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 Favorite Load (0.2ms) SELECT `favorites`.id FROM `favorites` WHERE (`favorites`.`user_id` = 1 AND `favorites`.watchable_id = 1 AND `favorites`.watchable_type = 'Project') LIMIT 1 Favorite Create (0.1ms) INSERT INTO `favorites` (`updated_at`, `action`, `watchable_type`, `watchable_id`, `user_id`, `created_at`, `notify_by_email`) VALUES('2010-07-15 08:35:39', NULL, 'Project', 1, 1, '2010-07-15 08:35:39', 0) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#show (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.user_id = 1)  Tagging Load (0.2ms) SELECT `taggings`.* FROM `taggings` WHERE (`taggings`.`taggable_id` = 1 and `taggings`.`taggable_type` = 'Project')  Repository Load (0.2ms) SELECT `repositories`.* FROM `repositories` WHERE (`repositories`.project_id = 1 AND (kind != 1)) ORDER BY repositories.created_at asc Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.user_id = 1) AND ((action != 5) AND (`events`.user_id = 1)) ORDER BY events.created_at desc, events.created_at asc, events.created_at asc LIMIT 0, 30 Message Load (0.2ms) SELECT * from messages WHERE ((sender_id != 1 AND archived_by_recipient = 0 AND recipient_id = 1) OR (has_unread_replies = 1 AND archived_by_recipient = 0 AND sender_id = 1)) AND in_reply_to_id IS NULL ORDER BY last_activity_at DESC LIMIT 3 Favorite Load (0.1ms) SELECT * FROM `favorites` WHERE (`favorites`.user_id = 1)  MergeRequest Load (0.1ms) SELECT * FROM `merge_requests` WHERE (`merge_requests`.`id` = 449844885)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Rendering template within layouts/application Rendering users/show Repository Load (0.4ms) SELECT `repositories`.* FROM `repositories` INNER JOIN `committerships` ON `repositories`.id = `committerships`.repository_id WHERE ((`committerships`.committer_type = 'User') AND (`committerships`.committer_id = 1) AND ((repositories.kind NOT IN (1,4))))  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Repository Load (0.1ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 2)  Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Group Load (0.2ms) SELECT `groups`.* FROM `groups` INNER JOIN `memberships` ON `groups`.id = `memberships`.group_id WHERE ((`memberships`.user_id = 1))  WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (7.0ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.2ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 57ms (View: 39, DB: 6) | 200 OK [http://test.host/~johan] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#watchlist to atom (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"format"=>"atom", "action"=>"watchlist", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Cache hit: paginated_events_in_watchlist:1:1 ({:expires_in=>1200 seconds}) Rendering users/feed Completed in 6ms (View: 4, DB: 1) | 200 OK [http://test.host/~johan/watchlist.atom] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `identity_url` = 'http://johan.someprovider.com/', `updated_at` = '2010-07-15 08:35:39' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#update_password (for 0.0.0.0 at 2010-07-15 11:35:39) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = '6ad9975bddc52117c30c24d002f981691b44409f', `updated_at` = '2010-07-15 08:35:39' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 12ms (DB: 2) | 302 Found [https://test.host/~johan/update_password?user%5Bcurrent_password%5D=test&user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#edit (for 0.0.0.0 at 2010-07-15 11:35:39) [GET] Parameters: {"action"=>"edit", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Rendering template within layouts/application Rendering users/edit WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.7ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.5ms) Rendered searches/_search_box_global (1.4ms) Rendered layouts/_common_footer (1.1ms) Completed in 39ms (View: 35, DB: 2) | 200 OK [https://test.host/~johan/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#password (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"action"=>"password", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Rendering template within layouts/application Rendering users/password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (11.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.9ms) Rendered searches/_search_box_global (1.7ms) Rendered layouts/_common_footer (1.2ms) Completed in 40ms (View: 36, DB: 1) | 200 OK [https://test.host/~johan/password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#password (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"action"=>"password", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [https://test.host/~johan/password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#update (for 0.0.0.0 at 2010-07-15 11:35:40) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = '6ad9975bddc52117c30c24d002f981691b44409f', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 12ms (DB: 2) | 302 Found [https://test.host/~johan?user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#update_password (for 0.0.0.0 at 2010-07-15 11:35:40) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.3ms) UPDATE `users` SET `crypted_password` = '6ad9975bddc52117c30c24d002f981691b44409f', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 12ms (DB: 2) | 302 Found [https://test.host/~johan/update_password?user%5Bcurrent_password%5D=test&user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.6ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#update_password (for 0.0.0.0 at 2010-07-15 11:35:40) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 Rendering template within layouts/application Rendering users/password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (6.9ms) SQL (0.3ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.`archived_by_recipient` = 0 AND `messages`.`aasm_state` = 'unread') AND (`messages`.recipient_id = 1)  Rendered layouts/_login_logout (5.5ms) Rendered searches/_search_box_global (1.5ms) Rendered layouts/_common_footer (1.1ms) Completed in 31ms (View: 26, DB: 2) | 200 OK [https://test.host/~johan/update_password?user%5Bcurrent_password%5D=notthecurrentpassword&user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#update_password (for 0.0.0.0 at 2010-07-15 11:35:40) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 1) | 302 Found [https://test.host/~johan/update_password?user%5Bcurrent_password%5D=test&user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = 'foo.png', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#avatar (for 0.0.0.0 at 2010-07-15 11:35:40) [DELETE] Parameters: {"action"=>"avatar", "id"=>"johan", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `avatar_file_name` = NULL, `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 13ms (DB: 2) | 302 Found [https://test.host/~johan/avatar] User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = NULL, `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#update_password (for 0.0.0.0 at 2010-07-15 11:35:40) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "password"=>"[FILTERED]"}, "action"=>"update_password", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = '6ad9975bddc52117c30c24d002f981691b44409f', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/~johan Completed in 12ms (DB: 2) | 302 Found [https://test.host/~johan/update_password?user%5Bpassword%5D=fubar&user%5Bpassword_confirmation%5D=fubar] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#edit (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"action"=>"edit", "id"=>"johan", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'johan') LIMIT 1 Redirected to https://test.host:80/~moe Filter chain halted as [:require_current_user] rendered_or_redirected. Completed in 4ms (DB: 2) | 302 Found [https://test.host/~johan/edit] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#forgot_password (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"action"=>"forgot_password", "controller"=>"users"} Rendering template within layouts/second_generation/application Rendering users/forgot_password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 19ms (View: 18, DB: 0) | 200 OK [https://test.host/users/forgot_password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#show (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"action"=>"show", "id"=>"johan", "controller"=>"users"} Redirected to http://test.host/ Filter chain halted as [:public_and_logged_in] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [http://test.host/~johan] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#new (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"action"=>"new", "controller"=>"users"} Redirected to https://test.host:80/ Filter chain halted as [:public_and_logged_in] rendered_or_redirected. Completed in 1ms (DB: 0) | 302 Found [https://test.host/users/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  Processing UsersController#activate (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"activation_code"=>"8f24789ae988411ccf33ab0c30fe9106fab32e9a", "action"=>"activate", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = '8f24789ae988411ccf33ab0c30fe9106fab32e9a') LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `activated_at` = '2010-07-15 08:35:40', `activation_code` = NULL, `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 2 [paperclip] Saving attachments. Sent mail to moe@example.com Date: Thu, 15 Jul 2010 11:35:40 +0300 From: Gitorious To: moe@example.com Subject: [Gitorious] Your account has been activated! Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello moe, your account has been activated. You can add your public SSH key here http://tiuht.it.jyu.fi/~moe as well as change your details. Thank you http://tiuht.it.jyu.fi SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/ Completed in 11ms (DB: 1) | 302 Found [http://test.host/users/activate/8f24789ae988411ccf33ab0c30fe9106fab32e9a] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'moe@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#activate (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"activation_code"=>"fubar", "action"=>"activate", "controller"=>"users"} User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = 'fubar') LIMIT 1 Redirected to http://test.host/ Completed in 2ms (DB: 1) | 302 Found [http://test.host/users/activate/fubar] User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'moe@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#forgot_password (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"action"=>"forgot_password", "controller"=>"users"} Rendering template within layouts/second_generation/application Rendering users/forgot_password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 16ms (View: 15, DB: 0) | 200 OK [https://test.host/users/forgot_password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#forgot_password_create (for 0.0.0.0 at 2010-07-15 11:35:40) [POST] Parameters: {"user"=>{"email"=>"johan@johansorensen.com"}, "action"=>"forgot_password_create", "controller"=>"users"} Redirected to https://test.host:80/users/forgot_password Completed in 1ms (DB: 0) | 302 Found [https://test.host/users/forgot_password_create?user%5Bemail%5D=johan%40johansorensen.com] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#forgot_password_create (for 0.0.0.0 at 2010-07-15 11:35:40) [POST] Parameters: {"user"=>{"email"=>"xxx"}, "action"=>"forgot_password_create", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'xxx') LIMIT 1 Redirected to https://test.host:80/users/forgot_password Completed in 2ms (DB: 0) | 302 Found [https://test.host/users/forgot_password_create?user%5Bemail%5D=xxx] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  Processing UsersController#forgot_password_create (for 0.0.0.0 at 2010-07-15 11:35:40) [POST] Parameters: {"user"=>{"email"=>"johan@johansorensen.com"}, "action"=>"forgot_password_create", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`email` = 'johan@johansorensen.com') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.3ms) UPDATE `users` SET `password_key` = 'secret', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/ Completed in 9ms (DB: 1) | 302 Found [https://test.host/users/forgot_password_create?user%5Bemail%5D=johan%40johansorensen.com] SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `password_key` = 's3kr1t', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#reset_password (for 0.0.0.0 at 2010-07-15 11:35:40) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "password"=>"[FILTERED]"}, "token"=>"s3kr1t", "action"=>"reset_password", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`password_key` = 's3kr1t') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/reset_password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 27ms (View: 21, DB: 2) | 200 OK [https://test.host/users/reset_password/s3kr1t?user%5Bpassword%5D=qwertyasdf&user%5Bpassword_confirmation%5D=asdf] User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Load (0.2ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `password_key` = 's3kr1t', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#reset_password (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"token"=>"invalid", "action"=>"reset_password", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`password_key` = 'invalid') LIMIT 1 Redirected to https://test.host:80/users/forgot_password Completed in 2ms (DB: 2) | 302 Found [https://test.host/users/reset_password/invalid] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `password_key` = 's3kr1t', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#reset_password (for 0.0.0.0 at 2010-07-15 11:35:40) [GET] Parameters: {"token"=>"s3kr1t", "action"=>"reset_password", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`password_key` = 's3kr1t') LIMIT 1 Rendering template within layouts/second_generation/application Rendering users/reset_password WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 17ms (View: 16, DB: 1) | 200 OK [https://test.host/users/reset_password/s3kr1t] SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  SQL (0.0ms) SAVEPOINT active_record_1 User Update (0.2ms) UPDATE `users` SET `password_key` = 's3kr1t', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Processing UsersController#reset_password (for 0.0.0.0 at 2010-07-15 11:35:40) [PUT] Parameters: {"user"=>{"password_confirmation"=>"[FILTERED]", "password"=>"[FILTERED]"}, "token"=>"s3kr1t", "action"=>"reset_password", "controller"=>"users"} User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`password_key` = 's3kr1t') LIMIT 1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'johan' AND `users`.id <> 1) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'johan@johansorensen.com' AND `users`.id <> 1) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `crypted_password` = '8b80416afbeecd596f1e9ad5b37853f291338960', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 1 [paperclip] Saving attachments. SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/sessions/new Completed in 9ms (DB: 2) | 302 Found [https://test.host/users/reset_password/s3kr1t?user%5Bpassword%5D=qwertyasdf&user%5Bpassword_confirmation%5D=qwertyasdf] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'johan@johansorensen.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.7ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-07-15 11:35:40) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('ef4cedb672a33e54436726a82ded4431a55f41ef', NULL, '2010-07-15 08:35:40', NULL, NULL, NULL, '22920d60530696969b4ff74b874cb25eb97491ed', 1, 0, NULL, '958a3d81314f3a26bc5586acb3f5c3bd8d038a7a', NULL, NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'quire', NULL, 'quire@example.com', '2010-07-15 08:35:40') Sent mail to quire@example.com Date: Thu, 15 Jul 2010 11:35:40 +0300 From: Gitorious To: quire@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is quire Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/958a3d81314f3a26bc5586acb3f5c3bd8d038a7a Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire' AND `users`.id <> 165) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com' AND `users`.id <> 165) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 165 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/users/pending_activation Completed in 23ms (DB: 2) | 302 Found [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-07-15 11:35:40) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('ef4cedb672a33e54436726a82ded4431a55f41ef', NULL, '2010-07-15 08:35:40', NULL, NULL, NULL, '22920d60530696969b4ff74b874cb25eb97491ed', 1, 0, NULL, '0f4f26450fa2581e10340c3b536a37f8d6132214', NULL, NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'quire', NULL, 'quire@example.com', '2010-07-15 08:35:40') Sent mail to quire@example.com Date: Thu, 15 Jul 2010 11:35:40 +0300 From: Gitorious To: quire@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is quire Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/0f4f26450fa2581e10340c3b536a37f8d6132214 Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire' AND `users`.id <> 166) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com' AND `users`.id <> 166) LIMIT 1 User Update (0.3ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-07-15 08:35:40' WHERE `id` = 166 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/users/pending_activation Completed in 247ms (DB: 2) | 302 Found [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-07-15 11:35:40) [POST] Parameters: {"user"=>{"terms_of_use"=>nil, "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.2ms) Rendered users/_form (11.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 38ms (View: 30, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-07-15 11:35:40) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>nil}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.1ms) Rendered users/_form (9.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 37ms (View: 28, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-07-15 11:35:40) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>nil, "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.2ms) Rendered users/_form (9.9ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 36ms (View: 27, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-07-15 11:35:40) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.1ms) Rendered users/_form (7.4ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.1ms) Completed in 32ms (View: 25, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  Processing UsersController#create (for 0.0.0.0 at 2010-07-15 11:35:41) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering template within layouts/second_generation/application Rendering users/new Rendered licenses/_tos_link (0.1ms) Rendered users/_form (9.7ms) WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_footer (1.0ms) Completed in 36ms (View: 27, DB: 1) | 200 OK [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#create (for 0.0.0.0 at 2010-07-15 11:35:41) [POST] Parameters: {"user"=>{"terms_of_use"=>"1", "password_confirmation"=>"[FILTERED]", "login"=>"quire", "password"=>"[FILTERED]", "email"=>"quire@example.com"}, "action"=>"create", "controller"=>"users"} WARNING: Can't mass-assign these protected attributes: login SQL (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 User Create (0.2ms) INSERT INTO `users` (`salt`, `avatar_updated_at`, `updated_at`, `activated_at`, `avatar_file_name`, `avatar_file_size`, `crypted_password`, `wants_email_notifications`, `default_favorite_notifications`, `remember_token_expires_at`, `activation_code`, `fullname`, `url`, `is_admin`, `suspended_at`, `aasm_state`, `public_email`, `avatar_content_type`, `remember_token`, `ssh_key_id`, `identity_url`, `login`, `password_key`, `email`, `created_at`) VALUES('8d9357e09f4e154525950727519d0c76b531e420', NULL, '2010-07-15 08:35:41', NULL, NULL, NULL, 'edfeec13a196ed8f44f850fd42796effee386bfb', 1, 0, NULL, '15691b1b8413098d1fed475acd68bd72a6d651fb', NULL, NULL, 0, NULL, 'pending', 1, NULL, NULL, NULL, NULL, 'quire', NULL, 'quire@example.com', '2010-07-15 08:35:41') Sent mail to quire@example.com Date: Thu, 15 Jul 2010 11:35:41 +0300 From: Gitorious To: quire@example.com Subject: [Gitorious] Please activate your new account Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Hello, Your tiuht.it.jyu.fi account has been created, your username is quire Please visit this url to activate your account: http://tiuht.it.jyu.fi/users/activate/15691b1b8413098d1fed475acd68bd72a6d651fb Thank you http://tiuht.it.jyu.fi [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire' AND `users`.id <> 167) LIMIT 1 User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com' AND `users`.id <> 167) LIMIT 1 User Update (0.2ms) UPDATE `users` SET `aasm_state` = 'terms_accepted', `updated_at` = '2010-07-15 08:35:41' WHERE `id` = 167 [paperclip] Saving attachments. SQL (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to https://test.host:80/users/pending_activation Completed in 24ms (DB: 2) | 302 Found [https://test.host/users?user%5Bemail%5D=quire%40example.com&user%5Blogin%5D=quire&user%5Bpassword%5D=quire&user%5Bpassword_confirmation%5D=quire&user%5Bterms_of_use%5D=1] User Load (0.3ms) SELECT * FROM `users` WHERE (email = 'quire@example.com' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (1.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#edit (for 0.0.0.0 at 2010-07-15 11:35:41) [GET] Parameters: {"action"=>"edit", "controller"=>"users"} Redirected to https://test.host/users/edit Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 1) | 302 Found [http://test.host/users/edit] SQL (0.2ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#forgot_password (for 0.0.0.0 at 2010-07-15 11:35:41) [GET] Parameters: {"action"=>"forgot_password", "controller"=>"users"} Redirected to https://test.host/users/forgot_password Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/forgot_password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#new (for 0.0.0.0 at 2010-07-15 11:35:41) [GET] Parameters: {"action"=>"new", "controller"=>"users"} Redirected to https://test.host/users/new Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/new] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#password (for 0.0.0.0 at 2010-07-15 11:35:41) [GET] Parameters: {"action"=>"password", "controller"=>"users"} Redirected to https://test.host/users/password Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#reset_password (for 0.0.0.0 at 2010-07-15 11:35:41) [GET] Parameters: {"action"=>"reset_password", "controller"=>"users"} Redirected to https://test.host/users/reset_password Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/reset_password] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#create (for 0.0.0.0 at 2010-07-15 11:35:41) [POST] Parameters: {"action"=>"create", "controller"=>"users"} Redirected to https://test.host/users Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#forgot_password_create (for 0.0.0.0 at 2010-07-15 11:35:41) [POST] Parameters: {"action"=>"forgot_password_create", "controller"=>"users"} Redirected to https://test.host/users/forgot_password_create Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/forgot_password_create] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#update (for 0.0.0.0 at 2010-07-15 11:35:41) [PUT] Parameters: {"action"=>"update", "controller"=>"users"} Redirected to https://test.host/users/update Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/update] SQL (0.1ms) ROLLBACK SQL (0.0ms) BEGIN Processing UsersController#update_password (for 0.0.0.0 at 2010-07-15 11:35:41) [PUT] Parameters: {"action"=>"update_password", "controller"=>"users"} Redirected to https://test.host/users/update_password Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [http://test.host/users/update_password] SQL (0.1ms) ROLLBACK ActiveMessaging: adapter wmq not loaded: no such file to load -- wmq/wmq ActiveMessaging: adapter reliable_msg not loaded: no such file to load -- reliable-msg ActiveMessaging: Loading /home/maanpelt/yousource/gitorious/app/processors/application.rb ** [localized_dates] localized_dates plugin loaded. ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/pt-BR.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/es.rb ** [localized_dates] loading file /home/maanpelt/yousource/gitorious/config/locales/en.yml ** [localized_dates] locales loaded from config/locales. SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 ** ultrasphinx: configuration file not found for "test" environment ** ultrasphinx: please run 'rake ultrasphinx:configure' ** ultrasphinx: spelling support not available (raspell configuration raised "uninitialized constant Ultrasphinx::Spell::Aspell") MergeRequest Columns (1.0ms) SHOW FIELDS FROM `merge_requests` User Columns (1.0ms) SHOW FIELDS FROM `users` Comment Columns (0.8ms) SHOW FIELDS FROM `comments` Project Columns (0.7ms) SHOW FIELDS FROM `projects` Repository Columns (0.9ms) SHOW FIELDS FROM `repositories` SQL (0.1ms) BEGIN Repository Load (0.3ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing ApplicationController#index (for 127.0.0.1 at 2010-07-15 11:35:45) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"git.gitorious.org", :method=>:get, :subdomain=>"git", :host=>"git.gitorious.org", :domain=>"gitorious.org", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:47:in `__bind_1279182945_652647' /test/integration/git_http_cloning_test.rb:46:in `each' /test/integration/git_http_cloning_test.rb:46:in `__bind_1279182945_652647' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone disabling of http cloning should not allow http cloning if denied by configuration. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) Processing ApplicationController#index (for 127.0.0.1 at 2010-07-15 11:35:45) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"git.gitorious.local", :method=>:get, :subdomain=>"git", :host=>"git.gitorious.local", :domain=>"gitorious.local", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:47:in `__bind_1279182945_652647' /test/integration/git_http_cloning_test.rb:46:in `each' /test/integration/git_http_cloning_test.rb:46:in `__bind_1279182945_652647' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone disabling of http cloning should not allow http cloning if denied by configuration. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) Processing ApplicationController#index (for 127.0.0.1 at 2010-07-15 11:35:45) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"git.foo.com", :method=>:get, :subdomain=>"git", :host=>"git.foo.com", :domain=>"foo.com", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:47:in `__bind_1279182945_652647' /test/integration/git_http_cloning_test.rb:46:in `each' /test/integration/git_http_cloning_test.rb:46:in `__bind_1279182945_652647' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone disabling of http cloning should not allow http cloning if denied by configuration. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  Processing ApplicationController#index (for 127.0.0.1 at 2010-07-15 11:35:45) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"gitorious.local", :method=>:get, :subdomain=>nil, :host=>"gitorious.local", :domain=>"gitorious.local", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:56:in `__bind_1279182945_913574' /test/integration/git_http_cloning_test.rb:55:in `each' /test/integration/git_http_cloning_test.rb:55:in `__bind_1279182945_913574' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone should not set X-Sendfile for hosts that do not allow HTTP cloning. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) Processing ApplicationController#index (for 127.0.0.1 at 2010-07-15 11:35:45) [GET] ActionController::RoutingError (No route matches "/projects/johans-project/projects/johansprojectrepos.git/repositories/HEAD" with {:host_with_port=>"foo.local", :method=>:get, :subdomain=>nil, :host=>"foo.local", :domain=>"foo.local", :port=>80}): vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path_without_filtering' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' lib/route_filters/repository_owner_namespacing.rb:69:in `around_recognize' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send' vendor/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:12:in `run' vendor/plugins/routing-filter/lib/routing_filter.rb:59:in `recognize_path' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:441:in `recognize' vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:436:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' rack (1.0.1) lib/rack/head.rb:9:in `call' rack (1.0.1) lib/rack/methodoverride.rb:24:in `call' vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call' vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call' vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `call' rack (1.0.1) lib/rack/lock.rb:11:in `synchronize' rack (1.0.1) lib/rack/lock.rb:11:in `call' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' rack (1.0.1) lib/rack/lint.rb:47:in `_call' rack (1.0.1) lib/rack/lint.rb:35:in `call' vendor/rails/actionpack/lib/action_controller/integration.rb:316:in `process' vendor/rails/actionpack/lib/action_controller/integration.rb:197:in `get' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `__send__' vendor/rails/actionpack/lib/action_controller/integration.rb:499:in `get' /test/integration/git_http_cloning_test.rb:56:in `__bind_1279182945_913574' /test/integration/git_http_cloning_test.rb:55:in `each' /test/integration/git_http_cloning_test.rb:55:in `__bind_1279182945_913574' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Request with git clone should not set X-Sendfile for hosts that do not allow HTTP cloning. ' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' vendor/rails/actionpack/lib/action_controller/integration.rb:657:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' /usr/lib/ruby/1.8/test/unit.rb:278 rake (0.8.7) lib/rake/rake_test_loader.rb:4 Rendering rescues/layout (not_found) SQL (0.5ms) ROLLBACK SQL (0.0ms) BEGIN Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`id` = 1)  SQL (0.2ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos' AND `repositories`.`project_id` = 1) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Cloner Create (0.2ms) INSERT INTO `cloners` (`country_code`, `protocol`, `date`, `country`, `ip`, `repository_id`) VALUES(NULL, 'http', '2010-07-15 08:35:46', NULL, '192.71.1.2', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 Cloner Load (0.2ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1) ORDER BY cloners.id DESC LIMIT 1 SQL (0.1ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  Cloner Load (0.1ms) SELECT * FROM `cloners` WHERE (`cloners`.repository_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos' AND `repositories`.`project_id` = 1) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Cloner Create (0.2ms) INSERT INTO `cloners` (`country_code`, `protocol`, `date`, `country`, `ip`, `repository_id`) VALUES(NULL, 'http', '2010-07-15 08:35:46', NULL, '192.71.1.2', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  SQL (0.1ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'johans-project') LIMIT 1 Repository Load (0.2ms) SELECT * FROM `repositories` WHERE (`repositories`.`name` = 'johansprojectrepos' AND `repositories`.`project_id` = 1) LIMIT 1 SQL (0.1ms) SAVEPOINT active_record_1 Cloner Create (0.2ms) INSERT INTO `cloners` (`country_code`, `protocol`, `date`, `country`, `ip`, `repository_id`) VALUES(NULL, 'http', '2010-07-15 08:35:46', NULL, '192.71.1.2', 1) SQL (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) SELECT count(*) AS count_all FROM `cloners` WHERE (`cloners`.repository_id = 1)  SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN SQL (0.4ms) ROLLBACK SQL (0.0ms) BEGIN Processing ProjectsController#show to txt (for 127.0.0.1 at 2010-07-15 11:35:46) [GET] Parameters: {"format"=>"txt", "action"=>"show", "id"=>"robots", "controller"=>"projects"} Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`slug` = 'robots') LIMIT 1 Rendering /home/maanpelt/yousource/gitorious/public/404.html (404) SQL (0.4ms) ROLLBACK